Help on Postfix 2.1.5 main.cf
Hi all,
I have totally no idea on how to configure mail servers. I have read several articles and tutorials but it seems I am getting more confused.
There is one mail server up running in my network. But I need to block emails from particular sender/domain because they are sending chunks of emails to some of the users here. How can I configure that?
My main.cf is this:
###################################################################################
### DEFINE OUR SMTPD RESTRICTIONS, RELAY CONTROL, RBL BLOCKING ETC
# HELO restrictions:
smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_helo_restrictions =
permit_mynetworks,
permit
# Sender restrictions:
smtpd_sender_restrictions =
permit_mynetworks,
reject_non_fqdn_sender,
reject_unknown_sender_domain,
permit
# Recipient restrictions:
smtpd_recipient_restrictions =
reject_unauth_pipelining,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unknown_sender_domain,
reject_unknown_recipient_domain,
permit_sasl_authenticated,
permit_mynetworks,
reject_unauth_destination,
check_sender_access
hash:/etc/postfix/sender_access,
reject_rbl_client zen.spamhaus.org,
reject_rbl_client bl.spamcop.net,
reject_rbl_client list.dsbl.org,
reject_rbl_client cbl.abuseat.org,
reject_rbl_client dnsbl.njabl.org,
permit
# check_recipient_access,
# Additional Configuration
mail_name = Mymailname
bounce_queue_lifetime = 6h
local_recipient_maps =
luser_relay =
mailbox_size_limit = 20480000
message_size_limit = 10240000
default_destination_recipient_limit = 1
# Amavisd-new Configuration
content_filter=smtp-amavis:[127.0.0.1]:10024
smtp-amavis_destination_concurrency_limit=10
Is there a place where I can set the senders/domains parameters? Please help. I am totally out of idea.
Allan
|