Matti Haack wrote:
> Mybe you should better send Error 554 (Transaction failed)
> instead of 500 (Command not recognized 'command')

I use:
~~~

550 5.7.7 [BLOCK REASON] Mail appears infected with '$infection'. Clean
and resend. This attempt has been logged.


Because (http://www.asspsmtp.org/wiki/SMTP_Error_Codes):
~~~

550 - Requested action not taken: mailbox unavailable

    /e.g., mailbox not found, no access, or command rejected for policy
    reasons/


5.x.x - Permanent Failure
    A failure which is not likely to be resolved by resending the
    message in the current form. Some change to the message or the
    destination must be made for successful delivery.


x.7.7 - Message integrity failure

    A transport system otherwise authorized to validate a message was
    unable to do so because the message was corrupted or altered. This
    may be useful as a permanent, transient persistent, or successful
    delivery code.






-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to