|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Re: access table format
From: Lars Hecking (lhecking
nmrc.ucc.ie)Date: Mon Feb 07 2000 - 09:33:29 CST
- Next message: Ralf Hildebrandt: "Re: access table format"
- Previous message: Ralf Hildebrandt: "Re: access table format"
- In reply to: Jean-Francois Rouanet: "access table format"
- Reply: Lars Hecking: "Re: access table format"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jean-Francois Rouanet writes:
> Could someone give me some clarifications on the syntax of the access
> table? I am trying to reject mail from some users and if I use the
> following syntax:
> user
your.domain.foo REJECT
> it's OK but if I try to personalize the error message like this:
> user
your.domain.foo [45]xx your mail has been rejected blabla...
> the mail is not rejected.
> I am new to Postfix and not a unix expert so I believe I'am missing
> something. What's the exact meaning of [45]xx?
>
> I have tried [45]01 blabla..., 4501 blabla... 01 blabla with no luck.
> Thank you and sorry for my poor english.
Just treat it like a pseudo-regular expression. [45]xx stands for a
three digit SMTP reply code as defined in RFC 821 Appendix E. Go to
www.faqs.org to read more about RFC 821. You should not just make up
your own error codes, but stay within the RFC.
An error code starting with 4 is a temporary error, and the client
is invited to retry. 5 signifies a permanent error.
- Next message: Ralf Hildebrandt: "Re: access table format"
- Previous message: Ralf Hildebrandt: "Re: access table format"
- In reply to: Jean-Francois Rouanet: "access table format"
- Reply: Lars Hecking: "Re: access table format"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]