hello
I use sender_canonical_maps to rewrite sender addresses
since years.
Due to end of support of vexira anti-virus for mail server
I moved to the amavis-new + clamav + spamassassin
installed from FreeBSD ports.
Everything works well except the sender_canonical_maps
which does not seems to be read/executed anymore.
see below the postconf -n trace
Thanks for any idea :-)
2bounce_notice_recipient = postmaster
address_verify_sender = postmaster
alias_database = hash:/etc/mail/aliases,
ldap:/usr/local/etc/postfix/ldap-aliases.cf
alias_maps = hash:/etc/mail/aliases,
ldap:/usr/local/etc/postfix/ldap-aliases.cf
bounce_notice_recipient = blackhole
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/local/libexec/postfix
data_directory = /var/db/postfix
debug_peer_level = 2
debugger_command = PATH=/usr/bin:/usr/X11R6/bin xxgdb
$daemon_directory/$process_name $process_id & sleep 5
default_privs = nobody
delay_notice_recipient = postmaster
disable_vrfy_command = yes
enable_long_queue_ids = yes
error_notice_recipient = postmaster
forward_path = $home/.forward${recipient_delimiter}${extension},
$home/.forward, /var/forward/$user/.forward
html_directory = /usr/local/share/doc/postfix
inet_interfaces = all
inet_protocols = ipv4
local_recipient_maps = hash:/etc/mail/aliases, unix:passwd.byname,
ldap:/usr/local/etc/postfix/ldap-aliases.cf
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_delivery_lock = fcntl, dotlock
mailbox_size_limit = 0
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
message_size_limit = 0
mydestination = $myhostname, esiee.fr , istm.fr, mail.istm.fr,
esiee-management.fr, esiee-paris.fr, esieeparis.fr
mydomain = esiee.fr
myhostname = mail.esiee.fr
mynetworks = xxx.xxx.0.0/16, 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/local/bin/newaliases
parent_domain_matches_subdomains =
queue_directory = /var/spool/postfix
queue_minfree = 1073741824
readme_directory = /usr/local/share/doc/postfix
relay_domains = esiee.fr, istm.fr, esiee-management.fr, esiee-paris.fr,
esieeparis.fr, advancity.eu
relayhost = [x.x.x.x]
relocated_maps = hash:/usr/local/etc/postfix/relocated
sample_directory = /usr/local/etc/postfix
sender_bcc_maps = hash:/usr/local/etc/postfix/sender_bcc
sender_canonical_maps = hash:/usr/local/etc/postfix/sender_canonical
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtpd_banner = $myhostname ESMTP
smtpd_client_restrictions = hash:/usr/local/etc/postfix/access
smtpd_error_sleep_time = 1s
smtpd_etrn_restrictions = reject
smtpd_helo_restrictions =
smtpd_recipient_limit = 200
smtpd_recipient_restrictions = reject_invalid_hostname,
reject_non_fqdn_sender, reject_unknown_recipient_domain,
reject_unauth_pipelining, permit_mynetworks, reject_unauth_destination,
check_recipient_access hash:/usr/local/etc/postfix/bad_recipients, permit
smtpd_sender_restrictions = permit_mynetworks,check_sender_access
hash:/usr/local/etc/postfix/restrictions_access
strict_rfc821_envelopes = yes
transport_maps = hash:/usr/local/etc/postfix/transport
unknown_address_reject_code = 554
virtual_alias_domains = hash:/usr/local/etc/postfix/virtual_alias_domains
virtual_alias_maps = hash:/usr/local/etc/postfix/virtual_alias_maps