OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: How can i exclude a user or a host from smtpd_sender_restrictions?

From: AlxFrag (alxfraggmail.com)
Date: Wed Feb 13 2008 - 10:35:05 CST


Charles Marcus wrote:
> On 2/13/2008, AlxFrag (alxfraggmail.com) wrote:
>> In main.cf i have:
>
> Please provide full postcinf -n output, not manual snips from main.cf...
>
ok...

*****************************************************************
alias_maps = hash:/usr/local/mailman/data/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
header_checks = regexp:/etc/postfix/header_checks
html_directory = no
local_recipient_maps = ldap:/etc/postfix/local_recipients.cf
mail_owner = postfix
mailbox_transport = virtual
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
message_size_limit = 20480000
mydomain = mydomain
mynetworks = 127.0.0.1,my_other_ips
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
recipient_delimiter = +
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtp_helo_name = mydomain
smtpd_recipient_restrictions =
permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
smtpd_restriction_classes = verify_login
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_path = smtpd
smtpd_sender_login_maps = ldap:/etc/postfix/local_recipients.cf
smtpd_sender_restrictions = check_sender_access
hash:/etc/postfix/block_senders,hash:/etc/postfix/my_domains,reject_authenticated_sender_login_mismatch
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/usr/local/mailman/data/virtual-mailman
hash:/etc/postfix/alias_domains mysql:/etc/postfix/vacation_mysql
virtual_gid_maps = ldap:/etc/postfix/virtual_gid.cf
virtual_mailbox_base = /
virtual_mailbox_domains = mydomain
virtual_mailbox_maps = ldap:/etc/postfix/virtual_mailbox_maps.cf
virtual_minimum_uid = 100
virtual_uid_maps = ldap:/etc/postfix/virtual_uid.cf
*******************************************************************************************