|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Jan Ková (webmaster
novibra.cz)Date: Tue Dec 18 2001 - 06:55:04 CST
Hello.
I have a problem with check_recipient_access. I'll describe first what I
want to do.
I have two groups of users. Privileged users should have the right send
e-mails in our domain and also out to different domains. And they should be
able to receive e-mails from all domains.
Other users should be able to send e-mail only to our domain and receive
e-mails only from our domain.
The restriction for sending an e-mail is working, but I can not make the
restriction for receiving to work. I am sending complete main.cf for sure
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
myhostname = mamut.novibra.cz
mydomain = novibra.cz
myorigin = $myhostname
myorigin = $mydomain
mydestination = $myhostname, localhost.$mydomain, $mydomain
alias_maps = hash:/etc/aliases
local_destination_concurrency_limit = 2
default_destination_concurrency_limit = 10
debug_peer_level = 2
debugger_command =
PATH=/usr/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
biff = no
local_recipient_maps = $alias_maps, unix:passwd.byname
body_checks = regexp:/etc/postfix/body_checks
smtpd_recipient_restrictions =
check_sender_access hash:/etc/postfix/restricted_senders
check_recipient_access hash:/etc/postfix/restricted_recipients
permit_mynetworks
check_relay_domains
smtpd_restriction_classes = local_only
local_only = check_recipient_access hash:/etc/postfix/local_domains, reject
The files restricted_senders and restricted_recipients are same. The format
is:
osouch
novibra.cz local_only
pulcova
novibra.cz local_only
etc.
The file local_domains contains this:
novibra.cz OK
Where could be a problem? E-mail from outside of novibra.cz was successfully
delivered to osouch
novibra.cz
What exactly is checked? The address <from:> or the address of the machine
that relays me the e-mail?
Thank you
<signature>
Jan Kovar - IT ADMIN
Novibra Boskovice s.r.o.
phone: +420501528118
email: webmaster
novibra.cz
www: http://www.novibra.cz/
</signature>
-
To unsubscribe, send mail to majordomo
postfix.org with content
(not subject): unsubscribe postfix-users
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]