Marrco wrote:
> I didn't notice someone changed the wrong old default :)
>
> do you suggest just a 550 o something like 550 5.7.1 Message refuesed - 
> invalid header checks.
>
> What's assp standard for extended error codes ? 

SMTP status codes are fully detailed in the wiki article:

   http://www.asspsmtp.org/wiki/SMTP_Status_Codes

I compiled this article from multiple sources so it would would be a
one-stop-shop for understanding status codes and messages.

500 indicates a syntax error.  550 should be used for rejections.

I typically use 550 5.7.1:

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.x - Security or Policy Status :
The security or policy status codes report failures involving policies
such as per-recipient or per-host filtering and cryptographic
operations. Security and policy status issues are assumed to be under
the control of either or both the sender and recipient. Both the sender
and recipient must permit the exchange of messages and arrange the
exchange of necessary keys and certificates for cryptographic operations.

x.7.1 - Delivery not authorized, message refused :
The sender is not authorized to send to the destination. This can be the
result of per-host or per-recipient filtering. This memo does not
discuss the merits of any such filtering, but provides a mechanism to
report such. This is useful only as a permanent error.






-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to