|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Testing the restrictions
From: Ralf Hildebrandt (Ralf.Hildebrandt
charite.de)
Date: Tue Jul 01 2003 - 15:11:10 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
* Roelandts, Guy <guy.roelandts
hp.com>:
> Ralf advised me to use a syntax to write some restrictions on whom could send
> mail through a postfix system. I did test it but the check does not work, being new to
> Postfix I don't know if my syntax is correct.
>
> To re-call what I want to achieve is deny people to use mydomain.com in the Mail From:
> part if they are not in mynetworks. I tried :
>
> smtpd_recipient_restrictions =
> permit_mynetworks
> reject_unauth_destination
> check_sender_access hash:/etc/postfix/sender_access
> reject_unknown_sender_domain
> reject_non_fqdn_recipient
> permit
> and in the sender_access db I wrote :
>
> mydomain.com 554 mydomain.com from outside? Are you crazy
You must edit "/etc/postfix/sender_access" and then
"postmap /etc/postfix/sender_access"
> what am I doing wrong ?? How could I check if Postfix ever checks in
> the db?? Note that the reject_unknown_sender_domain does not work
> either ...
Show complete logs of a mail that should have been rejected.
--
Ralf Hildebrandt Ralf.Hildebrandt
charite.de
my current spamtrap spamtrap
charite.de
http://www.arschkrebs.de/postfix/ Tel. +49 (0)30-450 570-155
Radioactive cats have 18 half-lives.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]