|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: access file : DISCARD vs REJECT
From: Magnus Bäck (magnus
dsek.lth.se)
Date: Fri Apr 07 2006 - 03:57:00 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, April 7, 2006 10:42 am, Pascal Maes said:
> In main.cf, I have a rule for smtpd_recipient_restrictions which says :
>
> check_sender_access hash:/etc/postfix/access
>
> In the file access, I have the following line :
>
> name
domain.be REJECT
>
> and it works !
>
> mail from: name
domain.be
> 250 2.1.0 Ok
> rcpt to: pascal.maes
elec.ucl.ac.be
> 554 5.7.1 <name
domain.be>: Sender address rejected: Access denied
>
> If I replace REJECT by DISCARD, it doesn't work anymore (I receive
> the mail)
>
> mail from: name
domain.be
> 250 2.1.0 Ok
> rcpt to: pascal.maes
elec.ucl.ac.be
> 250 2.1.5 Ok
This doesn't prove that you receive the mail, it only proves that Postfix
doesn't reject the MAIL FROM and RCPT TO commands. Show logs instead.
--
Magnus Bäck
magnus
dsek.lth.se
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]