On Friday 10 October 2003 03:59, gb wrote: > Then I fetchmail to the isp mailbox with this config: > set syslog > poll pop.celentia.com > protocol pop3 > username [EMAIL PROTECTED] here is testuser there > wants mda "/usr/lib/courier/bin/sendmail %T"
<snip> > Oct 10 10:22:57 localhost courierd: > started,id=00121C12.3F85FBE1.00001794,from=<[EMAIL PROTECTED]>,module=esmtp > ,host=rh-possum,addr=<[EMAIL PROTECTED]> Oct 10 10:22:57 localhost > courierd: Waiting. shutdown time=none, wakeup time=none, > queuedelivering=1, inprogress=1 <snip> > The error I get in the log file says: > > Oct 10 11:20:52 localhost courieresmtp: > id=00121C12.3F860974.000018DB,from=<[EMAIL PROTECTED]>,addr=<[EMAIL PROTECTED] >ain>: No such domain. Oct 10 11:20:52 localhost courieresmtp: > id=00121C12.3F860974.000018DB,from=<[EMAIL PROTECTED]>,addr=<[EMAIL PROTECTED] >ain>,status: failure Oct 10 11:20:52 localhost courierd: > completed,id=00121C12.3F860974.000018DB > > > I have postmaster aliased to testuser in the aliases file, my me file > contains rh-possum.localdomain. You've got several different errors here. First if your "me" file contains "rh-possum.localdomain" then your fetchmail line needs to say username [EMAIL PROTECTED] here is testuser there Do you see the line from the courier log that says > started,id=00121C12.3F85FBE1.00001794,from=<[EMAIL PROTECTED]>,module=esmtp > ,host=rh-possum,addr=<[EMAIL PROTECTED]> Oct 10 10:22:57 localhost That "module=esmtp, host=rh-possum" means that courier is trying to send this message back out by smtp to the mail server "rh-possum". Since you use the "sendmail" command to submit it, the message is "accepted" by courier, but there's no way for it to send to "rh-possum" - which doesn't exist in dns and isn't a valid domain name (no top level) - so courier then rejects and bounces the message. For what it's worth, If you take out the mda line in fetchmailrc then fetchmail will connect to courier on localhost port 25 and try and submit the message via smtp. In that case this sort of addressing error would be immediately rejected by courier and fetchmail wouldn't flush the message from your ISP since it knows courier won't accept it. Lots of folks seem to use the "mda" option in fetchmail whereas I always use smtp because then fetchmail doesn't ever flush a message that courier won't accept. Fetchmail can also get just the headers and check the sender, the recipients, the size, etc. with courier so that it doesn't download the whole message until it knows that the message will be accepted. (I'd be curious to know if there are advantages to using the "mda" option over standard smtp that I don't realize.) After courier rejects the message it tries to send a bounce back to the From: address - "[EMAIL PROTECTED]" - which is still an unknown address and so that generate a double bounce back to the postmaster account. That's the log line you see > id=00121C12.3F860974.000018DB,from=<[EMAIL PROTECTED]>,addr=<[EMAIL PROTECTED] >ain>: No such domain. Oct 10 11:20:52 localhost courieresmtp: That <[EMAIL PROTECTED]> means it's a double bounce. This last error would seem to say that "[EMAIL PROTECTED]" is NOT a valid user on your system as courier cannot deliver the double-bounce to it. You aliased the postmaster account properly to "[EMAIL PROTECTED]" but courier doesn't think this is a valid local account. Are you sure "testuser" is a valid account on your system? What is it: system account, virtual userdb account, virtual mysql account, ... ? Change the fetchmail line to be "rh-possum.localdomain" and make sure that testuser is an actual mail account on your system. I think that if you do those two things then this should work fine. We use fetchmail with courier and are very happy with it. Jeff Jansen ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
