Hi all

I use MIMEDefang as a Relay in front of other mailservers.

I do a md_check_against_smtp_server to check if the sender/recipient pair is 
valid. So I can reject emails to invalid recipients directly without need to 
bounce them.

Now I have come across the situation where I have a server which also does 
some basic filtering and rejects emails after the 'DATA' part. At the moment 
I have to send a bounce for those emails which, in case of unrecognized spam, 
is sent to the fake address.

Example:

HOST A => MIMEDefang => HOST B

** HOST A Connects to MIMEDefang.
<= mail from:<[EMAIL PROTECTED]>
=> 200 OK
<= rcpt to:<[EMAIL PROTECTED]>
** check_recipient md_check_against_smtp_server connecting to HOST B
=> 200 OK
<= DATA
=> 200 OK send your DATA
<= da...................ta (including attachement)
** MIMEDefang does not find anything bad and return 200 QUEUED to HOST A
=> 550 EXE Files not accepted on HOST B
** MIMEDefang has to bounce as it already accepted the mail from HOST A

Is there a way to delay the 200 Queued message until I get the return code to 
'DATA' from HOST B to pass this code to HOST A?

Regards

Benoit Panizzon
-- 
I m p r o W a r e   A G    -    System Services
______________________________________________________

Zurlindenstrasse 29             Tel  +41 61 826 93 00
CH-4133 Pratteln                Fax  +41 61 826 93 01
Schweiz                         Web  http://www.imp.ch
______________________________________________________

Attachment: pgprDr8tsTcA6.pgp
Description: 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