Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Noah Berlove on November 19, 2000, 07:37:56 PM
-
I am trying to setup fetchmail to download messages from various maiboxes. When I do not specify an smtphost (i.e. fetchmail sends to localhost), qmail can't send the messages and generates the following error: "Sorry. Although I'm listed as a best-preference MX or A for that host,it isn't in my control/locals file, so I don't treat it as local. (#5.4.6)".
If I specify an smtphost on the command line or in my .fetchmailrc file , fetchmail generates this error: "SMTP connect to mydomain.com falied" (where mydomain.com is the domain name of my e-smith box).
Any help with this problem would be greatly appreciated.
Noah
-
e-smith won't accept addresses of foo@localhost, as you've discovered. I'm not sure, though, why you're having the "connect to mydomain.com failed" error. Just for reference, this is how my .fetchmailrc is set up:
poll mail.earthlink.net protocol POP3:
user danb35 is dan@danb.mine.nu
password mypassword;
...where danb.mine.nu is my domain.
From a command line, see what "telnet localhost 25" does--it should connect.
-
My .fetchmailrc file had an entry that was equivalent to:
poll mail.earthlink.net protocol POP3:
user danb35 is dan
smtphost danb.mine.nu;
I changed it to be like the way you suggested (no 'smtphost' line; chanded user is to 'user@domain') and everything works fine now. Thanks.
Noah