Hi,

Sorry for the informations missing. Here they are. This is running on a 
vserver, which are behind a iptables firewall, and the local IPs are in the 
range 10.0.32.0/24.



Daniel


--------------------------------------------------------
Modification from the original master.cf

--------------------------------------------------------

smtp-amavis unix -      -       n       -       2       lmtp
  -o lmtp_data_done_timeout=1200
  -o lmtp_send_xforward_command=yes
  -o disable_dns_lookups=yes
  -o max_use=20

10.0.32.13:10025 inet n  -       n       -       -       smtpd
  -o content_filter=
  -o local_recipient_maps=
  -o relay_recipient_maps=
  -o smtpd_restrictions_classes=
  -o smtpd_helo_restrictions=
  -o smtpd_sender_restrictions=
  -o smtpd_client_restrictions=
  -o smtpd_recipient_restrictions=permit_mynetworks,reject
  -o mynetworks=127.0.0.0/8,10.0.32.0/24
  -o strict_rfc821_envelopes=yes
  -o smtpd_error_sleep_time=0
  -o smtpd_soft_error_limit=1001
  -o smtpd_hard_error_limit=1000
  -o receive_override_options=no_header_body_checks


--------------------------------------------------------

postconf -n
--------------------------------------------------------
alias_database = hash:/etc/mail/aliases
alias_maps = hash:/etc/mail/aliases
allow_percent_hack = no
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[10.0.32.13]:10024
daemon_directory = /usr/lib64/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
debug_peer_list = localhost
default_destination_concurrency_limit = 2
disable_vrfy_command = yes
home_mailbox = maildir/
html_directory = /usr/share/doc/postfix-2.5.6/html
local_destination_concurrency_limit = 2
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
message_size_limit = 20480000
mynetworks = 10.0.32.0/24, 127.0.0.0/8
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.5.6/readme
receive_override_options = no_address_mappings
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_mynetworks,
    permit_sasl_authenticated,
    reject_non_fqdn_hostname,
    reject_non_fqdn_sender,
    reject_non_fqdn_recipient,
    reject_unauth_destination,
    reject_rbl_client opm.blitzed.org,
    reject_rbl_client list.dsbl.org,
    reject_rbl_client bl.spamcop.net,
    reject_rbl_client sbl.spamhaus.org,
    reject_rbl_client dnsbl.ahbl.org,
    reject_rhsbl_sender rhsbl.ahbl.org
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_local_domain = mydomain.com
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = reject_unknown_sender_domain
swap_bangpath = no
unknown_local_recipient_reject_code = 550
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:207
virtual_mailbox_base = /usr/local/virtual
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_limit = 51200000
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 100
virtual_transport = virtual
virtual_uid_maps = static:207


--------------------------------------------------------
Extract from my log where one mail is sent twice

--------------------------------------------------------
Feb 19 22:23:15 homer postfix/smtpd[3711]: connect from 
xxxxxxxxxx[xxx.xxx.xxx.xxx]
Feb 19 22:23:16 homer postfix/smtpd[3711]: 1B292370557: 
client=xxxxxxxxxx[xxx.xxx.xxx.xxx], sasl_method=PLAIN, 
sasl_username=jac...@mydomain.com
Feb 19 22:23:16 homer postfix/cleanup[3893]: 1B292370557: message-id=
Feb 19 22:23:16 homer postfix/qmgr[3176]: 1B292370557: from=, size=796, nrcpt=1 
(queue active)
Feb 19 22:23:16 homer postfix/smtpd[3711]: disconnect from 
xxxxxxxxxx[xxx.xxx.xxx.xxx]
Feb 19 22:23:16 homer postfix/pickup[3175]: 4774B3706C6: uid=207 from=
Feb 19 22:23:16 homer postfix/cleanup[3893]: 4774B3706C6: message-id=
Feb 19 22:23:16 homer postfix/qmgr[3176]: 4774B3706C6: from=, size=686, nrcpt=1 
(queue active)
Feb 19 22:23:19 homer postfix/smtpd[3910]: connect from 
mail.mydomain.com[10.0.32.13]
Feb 19 22:23:19 homer postfix/smtpd[3910]: 81995370679: 
client=homer.mydomain.com[10.0.32.13]   
Feb 19 22:23:19 homer postfix/cleanup[3893]: 81995370679: message-id=
Feb 19 22:23:19 homer postfix/qmgr[3176]: 81995370679: from=, size=1269, 
nrcpt=1 (queue active)
Feb 19 22:23:19 homer postfix/smtpd[3910]: disconnect from 
homer.mydomain.com[10.0.32.13]
Feb 19 22:23:19 homer postfix/qmgr[3176]: 1B292370557: removed
Feb 19 22:23:19 homer postfix/lmtp[3894]: 1B292370557: to=, 
relay=10.0.32.13[10.0.32.13]:10024, delay=3.5, delays=0.1/0.01/0/3.4, 
dsn=2.0.0, status=sent (250 2.0.0 Ok, id=21166-10, from 
MTA([10.0.32.13]:10025): 250 2.0.0 Ok: queued as 81995370679)
Feb 19 22:23:19 homer postfix/smtpd[3910]: connect from 
homer.mydomain.com[10.0.32.13]
Feb 19 22:23:19 homer postfix/smtpd[3910]: 9ACC2370557: 
client=homer.mydomain.com[10.0.32.13]   
Feb 19 22:23:19 homer postfix/cleanup[3893]: 9ACC2370557: message-id=
Feb 19 22:23:19 homer postfix/qmgr[3176]: 9ACC2370557: from=, size=1159, 
nrcpt=1 (queue active)
Feb 19 22:23:19 homer postfix/smtpd[3910]: disconnect from 
homer.mydomain.com[10.0.32.13]
Feb 19 22:23:19 homer postfix/lmtp[3900]: 4774B3706C6: to=, 
relay=10.0.32.13[10.0.32.13]:10024, delay=3.4, delays=0.05/0.01/0/3.3, 
dsn=2.0.0, status=sent (250 2.0.0 Ok, id=21929-10, from 
MTA([10.0.32.13]:10025): 250 2.0.0 Ok: queued as 9ACC2370557)
Feb 19 22:23:19 homer postfix/qmgr[3176]: 4774B3706C6: removed
Feb 19 22:23:20 homer postfix/smtp[3913]: 81995370679: to=, 
relay=mx4.hotmail.com[65.54.244.104]:25, delay=0.6, delays=0.01/0.01/0.25/0.34, 
dsn=2.0.0, status=sent (250   Queued mail for delivery)
Feb 19 22:23:20 homer postfix/qmgr[3176]: 81995370679: removed
Feb 19 22:23:20 homer postfix/smtp[3914]: 9ACC2370557: to=, 
relay=mx3.hotmail.com[65.54.244.72]:25, delay=0.56, delays=0.01/0.01/0.25/0.31, 
dsn=2.0.0, status=sent (250   Queued mail for delivery)
Feb 19 22:23:20 homer postfix/qmgr[3176]: 9ACC2370557: removed

Reply via email to