-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 7 Mar 2013, Shridhar S Shetty wrote:

when filter_recipient tempfails a single recipient in a a multi recipient 
email, the tempfail code is returned back to the email client and the message 
is not delivered further.

Please note this happens *only* when the email is sent using email 
client(thunderbird/outlook etc) and not when sent directly using sendmail. In 
the latter case only the individual recipient gets tempfailed and message is 
delivered to rest of the recipients.

What shall the client do in this case, it could split the message and put the tempfail'ed one into one sort of outbox, some MUAs put the entire message into the outbox, waiting for success. IMHO, all MUAs let the user decide, what to do; I think thjat this is the right thing to do, but the responses of Thunderbird & Co are not worded so, that a normal user understands them.

a brief code snippet of filter_recipient
--------------
sub filter_recipient {
 my ($check_flag_blockuser) = config_check($user,$domain,6);
 if($check_flag_blockuser == 1){
      return('TEMPFAIL', "User $recivor is temporarily blocked","450","4.2.1");
 }
 some other checks
 return ("CONTINUE","ok");
}
--------------

Any assist would be greatly appreciated.

I skip some tests of internal users if the sender is authentificated. S/he gets the DSN then eventually.

- -- Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBUTiS1p8mjdm1m0FfAQK2hAf9F3SORXatCZCvudMCE7VpAKGddSvf+u9s
Jz4H7iTcp1Ncwb+DHravIMbsq0rGiE5ylMrOWK1Xl9iR+19FQHZH8GjZmXaHPkwb
VIrfVVZZAlNXAww+DfPAGFeWNGsh8YMgLBj8qZa0wfhnaWnLR9Au6kfRYhdDua72
TllrvrCSGZSSmwfjIjKuCoqwPOHiNnCm2x2A0E1ozr+ZI+ousTOKfIAH7C+76B73
7YD8vOcGjLULjzfDnMtnSdInRELfacJjmWyjK9vsRZ224rJdaXTGGNqJe2xx24pH
993ns6GBKXu5SLDvx9HHQW4E67wvwoMabRBVSXOKNROgnQZrvGXXYQ==
=0FFQ
-----END PGP SIGNATURE-----
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to