SMTP error codes?

SMTP error codes?

am 17.01.2007 12:48:32 von mario.lenz

Hi!

I'm playing around a bit with my new mail server at the moment and I
wanted to use a whitelist with allowed senders. Now I'm looking for the
correct error code to tell a sender he's not allowed to send me an
email. Should I use 550, 554 or something else? Any ideas?

Thanks in advance

Mario

Re: SMTP error codes?

am 18.01.2007 00:09:32 von Christian Danner

Hi Mario!

>I'm playing around a bit with my new mail server at the moment and I
>wanted to use a whitelist with allowed senders. Now I'm looking for the
>correct error code to tell a sender he's not allowed to send me an
>email. Should I use 550, 554 or something else? Any ideas?

I'd prefer 550.

From RFC 2821 (http://www.ietf.org/rfc/rfc2821.txt):

550 Requested action not taken: mailbox unavailable
(e.g., mailbox not found, no access, or command rejected
for policy reasons)

Regards

Christian
--
OmniMix .. protect your privacy
http://www.danner-net.de/om.htm

Re: SMTP error codes?

am 18.01.2007 00:25:12 von patrick

In news:1169034512.024264.300810@l53g2000cwa.googlegroups.com,
mario.lenz@gmx.net wrote:

> I'm playing around a bit with my new mail server at the moment and I
> wanted to use a whitelist with allowed senders. Now I'm looking for
> the correct error code to tell a sender he's not allowed to send me an
> email. Should I use 550, 554 or something else? Any ideas?

http://www.google.com/search?q=smtp+error+codes