On Sunday 22 February 2004 11:35, Bill Taroli wrote:
>    jeff courieresmtpd: [ID 702911 mail.info] started,ip=[::ffff:127.0.0.1]
>    jeff courieresmtpd: [ID 702911 mail.error]
> error,relay=::ffff:127.0.0.1,from=<[EMAIL PROTECTED]>,to=<[EMAIL PROTECTED]
>ost>: 513 Syntax error.
>
> I wonder if it might be due to "[EMAIL PROTECTED]" as the address fetchmail
> tries to use... but I haven't read enough to figure out how to force
> something else so far. Any ideas?

Yeah, that's the problem.  Fetchmail is sticking a "localhost" as the domain 
since nothing is specified.  You do need to have fetchmail speak smtp to 
courier to get the global filtering.  So now you just need fetchmail to map 
user names properly.

There are a couple of ways to do this.  You can explicitly list out which 
remote account should be mapped to which local account. 

user "user" with pass "pass" is "[EMAIL PROTECTED]" here

Now all mail from the "user" account on the remote server will be sent to 
courier as

RCPT TO: <[EMAIL PROTECTED]>

You can also use the "smtpaddress" option to specify the domain that is added.  
So "smtpaddress mydomain.com" will result in the above logged message being 
sent to courier as

RCPT TO: <[EMAIL PROTECTED]>

I prefer the former option since it lets you set exactly what you want and 
leaves nothing to chance, but I think either of those should probably solve 
your problem.  See the fetchmail man page for the myriad of options! :-)

HTH.

Jeff Jansen



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to