Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: MSmith on August 17, 2004, 10:48:37 PM
-
Server in question is 5.12 (Yes,I know, but it's behind a firewall and ONLY does multidrop email retrieval).
Stopped retrieving after reconfiguration by ISP. (AUTHFAIL)
This thread directly addressed my problem:
http://forums.contribs.org/index.php?topic=11666.0
So I issued the fetchmail command with the --auth password switch, and voila, Fetchmail fetched a bunch of emails.
However, those emails did NOT show up in the users' mailboxes. Stupid me thought fetchmail would automagically deliver them, so what happened and can I fix it?
Next question: the poster in the thread indicated he'd added the "--auth password" somehow to the fetchmail template; anybody got a clue how he did that? I'm poking around myself and will answer my own question if I can, but help would be good too.
Thanks for thinking about this one, y'all.
-
By modifying /etc/fetchmail directly, I was able to get fetchmail to do its job properly. (See copy of /etc/fetchmail below). However, I still don't know what happened to the 25 emails I stupidly downloaded to who-knows-where or how to modify the template to get the desired result.
***** = What I inserted & where
!/bin/sh
#------------------------------------------------------------
# DO NOT MODIFY THIS FILE! It is updated automatically by the
# e-smith server and gateway software. Instead, modify the source
# template in an /etc/e-smith/templates-custom directory. For more
# information, see http://www.e-smith.org/custom/
#
# copyright (C) 2001 e-smith, inc.
#------------------------------------------------------------
# multi-drop configuration; fetchmail retrieves all mail from a remote POP mailbox:
/usr/bin/fetchmail --syslog --silent --fetchmailrc - <<EOF
set postmaster "postmaster"
set bouncemail
set properties ""
poll (*OBFUSCATED SERVER HERE*)
protocol POP3
no dns
localdomains (*MYDOMAIN*)
***** auth password
username (*USERNAME*) password (*PASS*) to * here
smtphost localhost
smtpaddress (*MYDOMAIN*)
fetchall
forcecr
EOF
-
All emails ended up being forwarded to the administrator set up in the email settings; so it left the server, which is why I couldn't find it. So no real worries there. Still want to know how to modify that template though.