Hi Jérôme.

Am Mittwoch, 3. Oktober 2007 schrieb Jérôme Blion:
> >> So, a mail is going out... and comes back within a nice DSN :) As the
> >> user used to sent the mail does not exist, it does a double bounce.

Why does the user not exist that sends the mail?

I assume that you run Apache with mod_php, if that's not true, there will be a 
similar way for your setup.

Go to your client's VHost configuration and set this:
        php_admin_value mail.force_extra_parameters "-f [EMAIL PROTECTED]"
where [EMAIL PROTECTED] is your client's e-mail-address.

So your client get's all the bounces and will be forced to do something 
against the abuse of his board.


> >> Is there an easy way to discard all these mails automatically?

For sure, but you just shouldn't want to discard bounces silently.


> Mails are relayed from my box to my provider's one. Now, the request is
> closed on my side.
> My provider's server sends me a DSN... 

You said your provider does not accept mail that cannot be delivered?


> My server can not deliver it. 

That's an error in your setup. Just set working return path addresses.


> If it answers 550, we will run in an infinite loop. So, the double bounce
> message is mailed to postmaster (me)

No, it won't.

Two possibilities:

1. your provider does what you tell, it won't accept mail from you it it can't 
be delivered. So your provider will never ever originate a DSN becaus either 
the message can be delivered or it can't. Either your mail gets through or 
it's stuck on your machine. Then your courier originates a DSN that cannot be 
delivered and results in a doublebounce to postmaster.

2. Your provider accepts your bounce. A bounce does not hav a return path. So 
if your provider is up to create a double bounce, it won't sent it back to 
you but to their postmaster.

No loop here.


> Is there a way to keep the request opened on my side until the last SMTP
> provides an answer?

Don't know what you mean. A SMTP session is just to one host. It's your 
provider's choice if there's a check for all recipients or just for the 
first. I think if they make a check, they'll do it for all recipients.

cu, Bernd

-- 
Was die FSK über den Film aussagt:
 FSK12: Der Held kriegt das Mädchen
 FSK14: Der Böse kriegt das Mädchen
 FSK18: Jeder kriegt das Mädchen

Attachment: signature.asc
Description: This is a digitally signed message part.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to