Here are configurations:
Postfix version 2.11.3
postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
allow_percent_hack = no
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
home_mailbox = Maildir/
inet_interfaces = all
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
mailbox_size_limit = 0
mydestination = myserver.hide_example.com, localhost.hide_example.com, localhost
myhostname = myserver.hide_example.com
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
myorigin = /etc/mailname
queue_directory = /var/spool/postfix
readme_directory = no
recipient_delimiter = +
sender_bcc_maps = hash:/etc/postfix/bcc
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = permit_sasl_authenticated reject_unauth_destination permit_inet_interfaces reject_unknown_client
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous noplaintext
smtpd_sasl_type = dovecot
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
virtual_alias_maps = hash:/etc/postfix/virtual
postconf -M
smtp inet n - - - - smtpd -o smtpd_sasl_auth_enable=yes
pickup unix n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr unix n - n 300 1 qmgr
tlsmgr unix - - - 1000? 1 tlsmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
trace unix - - - - 0 bounce
verify unix - - - - 1 verify
flush unix n - - 1000? 0 flush
proxymap unix - - n - - proxymap
proxywrite unix - - n - 1 proxymap
smtp unix - - - - - smtp
relay unix - - - - - smtp
showq unix n - - - - showq
error unix - - - - - error
retry unix - - - - - error
discard unix - - - - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - - - - lmtp
anvil unix - - - - 1 anvil
scache unix - - - - 1 scache
maildrop unix - n n - - pipe flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
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 -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}
mailman unix - n n - - pipe flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop} ${user}
submission inet n - - - - smtpd -o smtpd_tls_security_level=encrypt -o smtpd_sasl_auth_enable=yes -o smtpd_sasl_type=dovecot -o smtpd_sasl_path=private/auth -o smtpd_sasl_security_options=noanonymous -o smtpd_sasl_local_domain=$myhostname -o smtpd_client_restrictions=permit_sasl_authenticated,reject -o smtpd_sender_login_maps=hash:/etc/postfix/virtual -o smtpd_sender_restrictions=reject_sender_login_mismatch -o smtpd_recipient_restrictions=reject_non_fqdn_recipient,reject_unknown_recipient_domain,permit_sasl_authenticated,reject
smtp-14563106839717 unix - - - - - smtp -o smtp_bind_address=xxx.xxx.xxx.xxx
doveconf -n
# 2.2.13: /etc/dovecot/dovecot.conf
OS: Linux 3.16.0-4-amd64 x86_64 Debian 8.7
auth_mechanisms = plain login
disable_plaintext_auth = no
mail_location = maildir:~/Maildir
namespace inbox {
inbox = yes
location =
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox “Sent Messages” {
special_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
prefix =
}
passdb {
driver = pam
}
protocols = imap pop3 pop3
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0666
user = postfix
}
}
service imap-login {
inet_listener imaps {
port = 993
ssl = yes
}
}
ssl = no
userdb {
driver = passwd
}
more /etc/procmailrc
LOGFILE=/var/log/procmail.log
TRAP=/etc/webmin/virtual-server/procmail-logger.pl
:0wi
VIRTUALMIN=|/etc/webmin/virtual-server/lookup-domain.pl $LOGNAME
EXITCODE=$?
:0
- ?/usr/bin/test “$EXITCODE” = “73”
/dev/null
EXITCODE=0
:0 - ?/usr/bin/test “$VIRTUALMIN” != “”
{
INCLUDERC=/etc/webmin/virtual-server/procmail/$VIRTUALMIN
}
DEFAULT=$HOME/Maildir/
ORGMAIL=$HOME/Maildir/
DROPPRIVS=yes
:0
$DEFAULT
Error log /var/log/mail.info
Feb 10 09:57:12 myserver postfix/smtpd[28560]: connect from localhost[127.0.0.1]
Feb 10 09:57:12 myservers postfix/smtpd[28560]: C5DA71760831: client=localhost[127.0.0.1]
Feb 10 09:57:12 myservers postfix/cleanup[28356]: C5DA71760831: message-id=1486695432.28525@mydomains.example
Feb 10 09:57:12 myservers postfix/qmgr[2001]: C5DA71760831: from=user_a@mydomains.example, size=678, nrcpt=1 (queue active)
Feb 10 09:57:12 myservers postfix/smtpd[28560]: disconnect from localhost[127.0.0.1]
Feb 10 09:57:12 myservers dovecot: imap(user_a@mydomains.example): Connection closed in=781 out=2433
Feb 10 09:57:12 myservers postfix/local[28566]: C5DA71760831: to=user_b-mydomains.example@myservers.com, orig_to=user_b@mydomains.example, relay=local, delay=0.09, delays=0.04/0/0/0.04, dsn=5.2.0, status=bounced (can’t create user output file)
Feb 10 09:57:12 myservers postfix/cleanup[28356]: DBB201761DF6: message-id=20170210025712.DBB201761DF6@myservers.com
Feb 10 09:57:12 myservers postfix/bounce[28576]: C5DA71760831: sender non-delivery notification: DBB201761DF6
Feb 10 09:57:12 myservers postfix/qmgr[2001]: DBB201761DF6: from=<>, size=2580, nrcpt=1 (queue active)
Feb 10 09:57:12 myservers postfix/qmgr[2001]: C5DA71760831: removed
Feb 10 09:57:12 myservers postfix/local[28566]: DBB201761DF6: to=<user_a-mydomains.example@myservers.hide_example.com>, orig_to=user_a@mydomains.example, relay=local, delay=0.03, delays=0/0/0/0.03, dsn=5.2.0, status=bounced (can’t create user output file)
Feb 10 09:57:12 myservers postfix/qmgr[2001]: DBB201761DF6: removed
Related to virtual /etc/postfix/virtual
…
user_a@mydomains.example user_a-mydomains.example
user_b@mydomains.example user_b-mydomains.example
…
It was working before postfix distribution upgrade (debian_version 8.7). This server can not send between its virtual user/domain, cannot send to external, and cannot receive from external.
Thank you
IGAM