I have a Debian Lenny mail server with the most recent versions of Postfix & Dovecot, and delivering mail to users via a canonical db file. Sending mail is no problem, and any user NOT in the canonical file can receive mail. However, all mail to users in the canonical file are receiving mail. It's not bounced, just dropped. These are my main.cf and master.cf files, did I set something incorrectly or leave anything out?
Main.cf
Code:
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
program_directory = /usr/lib/postfix
biff = no
append_dot_mydomain = no
myhostname = (my server)
mydomain = (my server)
myorigin = $mydomain
alias_maps = hash:/etc/aliases
canonical_maps = hash:/etc/postfix/canonical
alias_database = hash:/etc/aliases
allow_mail_to_commands = alias,forward,include
inet_interfaces = all
mynetworks = 192.168.0.0/28, 127.0.0.0/8
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, www.$mydomain, mail.$mydomain
home_mailbox = Maildir/
mailbox_size_limit = 0
recipient_delimiter = +
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $mydomain
smtpd_recipient_restrictions = permit_mynetworks, permit_auth_destination, permit_sasl_authenticated, reject
permit_sasl_authenticated, check_relay_domains, reject
notify_classes = policy, resource, software, bounce
broken_sasl_auth_clients = yes
content_filter = smtp-amavis:[127.0.0.1]:10024
Master.cf
Code:
smtp inet n - - - - smtpd
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - - 300 1 qmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
flush unix n - - 1000? 0 flush
smtp unix - - - - - smtp
showq unix n - - - - showq
error unix - - - - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
cyrus unix - n n - - pipe
flags=R user=cyrus argv=/usr/sbin/cyrdeliver -e -m ${extension} ${user}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -d -t$nexthop -f$sender $recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
smtp-amavis unix - - n - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yes
127.0.0.1:10025 inet n - n - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o smtpd_error_sleep_time=0
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000
smtps inet n - n - - smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
Some other info
Yes, both /etc/aliases & /etc/postfix/canonical exist
/etc/aliases is in the format "alias : username"
/etc/postfix/canonical is in the format "username (tab) alias"
I've also run the commands "newaliases" & "postmap /etc/postfix/canonical" after adding the users to each file.
Thank you very much!