|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Allowing only specific users on a relay
Subject: Allowing only specific users on a relay
From: Andreas Siegert (afx
suse.de)
Date: Thu Dec 02 1999 - 07:02:34 CST
- Next message: Nicholas Waltham: "Postfix with Cyrus delivering using LMTP under RedHat Linux 6.1 intel"
- Previous message: Ralf Hildebrandt: "Re: need a technical answer"
- In reply to: Wietse Venema: "Re: Postfix snapshot 19991122 available"
- Reply: Liviu Daia: "Re: Allowing only specific users on a relay"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
if I want to limit which users can send mail to the internet, how can I do
this on a relay?
All inbound mail should apss easily, but outbound mail should only be accepted
if the sender appears in an acess list.
My idea is to use the following:
smtpd_sender_restrictions=
reject_unknown_client
reject_invalid_hostname
reject_unknown_hostname
reject_unknown_sender_domain
check_sender_access regex:internet.allowed
reject_non_fqdn_hostname
permit
where internet.allowed is the following
user1
site.de OK
user2
site.de OK
user3
site.de OK
...
usern
site.de OK
.*
site.de REJECT
will that work?
thx
afx
--
SuSE Muenchen GmbH Phone: +49-89-42769-0
Stahlgruberring 28 Fax: +49-89-42017701
D-81829 Muenchen, Germany
May the Source be with you!
- Next message: Nicholas Waltham: "Postfix with Cyrus delivering using LMTP under RedHat Linux 6.1 intel"
- Previous message: Ralf Hildebrandt: "Re: need a technical answer"
- In reply to: Wietse Venema: "Re: Postfix snapshot 19991122 available"
- Reply: Liviu Daia: "Re: Allowing only specific users on a relay"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This archive was generated by hypermail 2b27 : Thu Dec 02 1999 - 07:04:17 CST