Apologies for sending this to the list as well, but it doesn't work.
I've put smtpaddress in all sorts of places: at the start with a default
section (as below), all around a user line. *Still* fetchmail tries to send
an error email from FETCHMAIL-DAEMON(_at_)localhost(_dot_) (Which Courier
rejects.)
What am I doing wrong? (My testing .fetchmailrc file included, passwords and
uids munged.)
Wade.
---
defaults
smtpaddress globalhost.com.au
poll mail.eherald.com.au protocol pop3
user "****(_at_)eherald(_dot_)com(_dot_)au" there password **** is
****(_at_)globalhost(_dot_)com(_dot_)au here
---
-----Original Message-----
From: Wade Bowmer
Sent: Tuesday, 26 June 2001 9:08 AM
To: 'Matt Armstrong'
Subject: RE: [fetchmail]Fetchmail and Courier SMTP
-----Original Message-----
From: Matt Armstrong [mailto:matt(_at_)lickey(_dot_)com]
Wade Bowmer <wbowmer(_at_)globalhost(_dot_)com(_dot_)au> writes:
Basically, Courier SMTP doesn't like @localhost as a
domain name. It
returns 517 Syntax Error when that happens. This creates a problem
because Fetchmail reports errors as from
FETCHMAIL-DAEMON(_at_)localhost
and it's not clear (to me) how to change that. Or if it can be
changed.
Try the 'smtpaddress' option. I have this:
defaults
smtpaddress lickey.com
And fetchmail uses lickey.com instead of localhost.
Ah hah - thank you! Looking at the description on the man
page, I'm not surprised I overlooked it :-/.
Wade.