10 messages in net.sourceforge.lists.courier-users[courier-users] Re: double bounce con...
FromSent OnAttachments
Charles FryMar 26, 2004 11:53 am 
Sam VarshavchikMar 26, 2004 3:47 pm 
Charles FryMar 27, 2004 4:15 am 
Sam VarshavchikMar 27, 2004 6:33 am 
Charles FryMar 27, 2004 7:28 am 
Sam VarshavchikMar 27, 2004 8:28 am 
Charles FryMar 28, 2004 6:08 pm 
Sam VarshavchikMar 28, 2004 6:28 pm 
Charles FryMar 29, 2004 7:10 am 
Sam VarshavchikMar 29, 2004 3:38 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Re: double bounce configurationActions...
From:Charles Fry (cour@frogcircus.org)
Date:Mar 27, 2004 7:28:43 am
List:net.sourceforge.lists.courier-users

Is there away to eliminate double bounces?

I am specifically concerned with the following scenario: Spam sent to inexistant local addresses is initially accepted by courier,

Courier does not accept mail to nonexistent local addresses.

Problem solved.

I just verified this not to be true in my case. I removed the default alias for my primary local domain, sent a message, and the message was accepted by SMTP and then resulted in a bounce message. Of course if their is a way to configure this differently I would love to know.

I setup the virtual domains using the webadmin tool. Looking at the configuration files, it appears to be adding an alias of the form:

@domain.org: domain

And then .courier-username files in the domain account deliver some of the mail to local users or forward it on to an external email address. What concerns me, however, is that any mail not matching one of the dotfiles is bounced, and when the From address was forged, a double bounce is then delivered to the postmaster.

Check whether the domain account home directory has global read and execute permissions. When receiving mail, courieresmtpd runs as the courier user. If it has read and execute permissions on the home directory it will refuse to accept any mail that does not have a matching .courier-username file.

I made all home directories world readable (the .courier files already were), and I still experience the same problem as before. Specifically, mail to non-existant local users and virtual domain addresses that are not handled by existing dotfiles is first accepted by SMTP and then results in the bounce message:

<<< 550 User unknown.

I would prefer behavior similar to that achieved with the BOFH filters, where SMTP connections addressed to addresses that could not be delivered/processed would simply be refused rather than accepted and then bounced.

Is there a way to configure courier to do this?

thanks, Charles