Postfix not sending mail

2 posts / 0 new
Last post
#1 Wed, 10/14/2015 - 16:21
JackB

Postfix not sending mail

Hey there,

Since I updated to virtualmin/webmin 1.77, I have a big mail queue that will not process.

Any ideas?

Regards

Wed, 10/14/2015 - 16:24
JackB

In the mail queue I get the following error:

delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[74.125.68.26]:25: Connection timed out

for wherever it is trying to deliver to

Here is my postconf -n output.

# postconf -n
postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restr                                                     ictions
postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restr                                                     ictions
postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restric                                                     tions
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 = sys01.blacksailsoftware.com, localhost.blacksailsoftware.com, ,                                                      localhost
myhostname = sys01.blacksailsoftware.com
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
myorigin = /etc/mailname
readme_directory = no
recipient_delimiter = +
relayhost =
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_mynetworks permit_sasl_authenticated rejec                                                     t_unauth_destination
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_una                                                     uth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /etc/postfix/postfix.ca.pem
smtpd_tls_cert_file = /etc/postfix/postfix.cert.pem
smtpd_tls_key_file = /etc/postfix/postfix.key.pem
smtpd_tls_mandatory_ciphers = high
smtpd_tls_mandatory_protocols = SSLv3, TLSv1
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
virtual_alias_maps = hash:/etc/postfix/virtual

Here is my output of grep '^[^#]' /etc/postfix/master.cf

# grep '^[^#]' /etc/postfix/master.cf
94.23.147.120:smtp      inet    n       -       -       -       -       smtpd -o smtpd_sasl_auth_enable=yes
smtps   inet    n       -       -       -       -       smtpd -o syslog_name=postfix/smtps -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes -o smtpd_reject_unlisted_recipient=no -o smtpd_client_restrictions=$mua_client_restrictions -o smtpd_helo_restrictions=$mua_helo_restrictions -o smtpd_sender_restrictions=$mua_sender_restrictions -o smtpd_recipient_restrictions= -o smtpd_relay_restrictions=permit_sasl_authenticated,reject -o milter_macro_daemon_name=ORIGINATING
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}
94.23.147.120:submission        inet    n       -       -       -       -       smtpd -o smtpd_sasl_auth_enable=yes
176.31.15.240:smtp      inet    n       -       -       -       -       smtpd -o smtpd_sasl_auth_enable=yes -o smtpd_tls_cert_file=/home/lovemespankme/ssl.cert -o smtpd_tls_key_file=/home/lovemespankme/ssl.key -o smtpd_tls_CAfile=/home/lovemespankme/ssl.ca
127.0.0.1:smtp  inet    n       -       -       -       -       smtpd -o smtpd_sasl_auth_enable=yes
176.31.15.240:submission        inet    n       -       -       -       -       smtpd -o smtpd_sasl_auth_enable=yes -o smtpd_tls_cert_file=/home/lovemespankme/ssl.cert -o smtpd_tls_key_file=/home/lovemespankme/ssl.key -o smtpd_tls_CAfile=/home/lovemespankme/ssl.ca
127.0.0.1:submission    inet    n       -       -       -       -       smtpd -o smtpd_sasl_auth_enable=yes

Thanks

Topic locked