|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
(no subject)
alessandro.arciero
procne.it
Date: Mon Mar 08 2004 - 07:55:56 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Magnus Bäck wrote:
> alessandro arciero wrote:
>
>> How can I reject mails for some local users coming from outside ?
>
>
> Use check_recipient_access, and place the restriction after permit_mynetworks.
Example:
>
> smtpd_recipient_restrictions =
> permit_mynetworks,
> check_sender_access hash:/etc/postfix/recip_access
> reject_unauth_destination
>
> http://www.postfix.org/uce.html
>
I'm sorry , but I cannot understand. In the example you sent all the mails for
a local users can be rejected,
the local too.
My goal is:
user0
localdomain.it can receive mail ONLY from generic_user
localdomain.it
you suggest to use "check_recipient_access" but in the
"smtpd_recipient_restrictions" you wrote
"check_sender_access". is it a mistake ?
tnx again :-)
alessandro
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]