Hi all,
I succeed to limit some local users to send mail only on my local
domain, but I would like to limit the mail received ONLY from the local
users too for these users, no mails from internet (others domains).
There is my actual Postfix config:
/etc/postfix/main.cf:
...
smtpd_recipient_restrictions = check_sender_access
hash:/etc/postfix/restricted_senders
permit_mynetworks
reject_unauth_destination
reject_unknown_sender_domain
permit
smtpd_restriction_classes = local_only
local_only = check_recipient_access hash:/etc/postfix/local_domains, reject
...
/etc/postfix/restricted_senders:
...
[EMAIL PROTECTED] addr_class_1
[EMAIL PROTECTED] addr_class_1
[EMAIL PROTECTED] addr_class_1
[EMAIL PROTECTED] addr_class_1
...
/etc/postfix/local_domains:
mjc-idf.asso.fr OK
gw.mjc-idf.asso.fr OK
/etc/postfix/addr_class_1:
mjc-idf.asso.fr OK
--------------------------------------
What I have to add to restrict the received mail only from local domain
for these users ?
Thanks in advance for your help.
Sam.
--
Sam Przyswa - Chef de projet
Email: [EMAIL PROTECTED]
Arial Concept - Intégrateur Internet
36, rue de Turin - 75008 - Paris - France
Tel: 01 40 54 86 04 - Fax: 01 40 54 83 01
Fax privé: 09 57 12 27 22
Skype ID: arial-concept
Web: http://www.arial-concept.com
--
Ce message a été vérifié par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a été trouvé.
For all your IT requirements visit: http://www.transtec.co.uk