Postfix not sending emails, no errors returned

I can receive email from anyone, and I can send email to other domains on my server.

When I try to send email to an @gmail.com address, for example, the email shows up in my Mail Queue, but they just sit there. I’ve tried flushing the queue, but they still just sit there.

There is nothing in the “Status” column to alert me to any problems…

# sh postfinger.sh

postfinger - postfix configuration on Tue Oct 13 20:39:28 CDT 2015
version: 1.30

Warning: postfinger output may show private configuration information,
such as ip addresses and/or domain names which you do not want to show
to the public.  If this is the case it is your responsibility to modify
the output to hide this private information.  [Remove this warning with
the --nowarn option.]

--System Parameters--
mail_version = 2.10.1
hostname = bit-01
uname = Linux bit-01 2.6.32-042stab108.5 #1 SMP Wed Jun 17 20:20:17 MSK 2015 x86_64 x86_64 x86_64 GNU/Linux

--Packaging information--
looks like this postfix comes from RPM package: postfix-2.10.1-6.el7.x86_64

--main.cf non-default parameters--
alias_maps = hash:/etc/aliases
allow_percent_hack = no
broken_sasl_auth_clients = yes
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
home_mailbox = Maildir/
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
mailbox_size_limit = 0
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost
mydomain = *****.com
myhostname = ***.***.*****.com
mynetworks_style = host
newaliases_path = /usr/bin/newaliases.postfix
readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES
sample_directory = /usr/share/doc/postfix-2.10.1/samples
sender_bcc_maps = hash:/etc/postfix/bcc
sendmail_path = /usr/sbin/sendmail.postfix
smtp_sasl_auth_enable = yes
smtpd_banner = ***.***.*****.com ESMTP Hello
smtpd_client_restrictions = permit_inet_interfaces permit_tls_all_clientcerts
smtpd_helo_required = yes
smtpd_tls_cert_file = /etc/postfix/cert/postfix.pem
smtpd_use_tls = yes
virtual_alias_maps = hash:/etc/postfix/virtual

--master.cf--
smtp    inet    n       -       n       -       -       smtpd -o smtpd_sasl_auth_enable=yes
pickup    unix  n       -       n       60      1       pickup
cleanup   unix  n       -       n       -       0       cleanup
qmgr      unix  n       -       n       300     1       qmgr
tlsmgr    unix  -       -       n       1000?   1       tlsmgr
rewrite   unix  -       -       n       -       -       trivial-rewrite
bounce    unix  -       -       n       -       0       bounce
defer     unix  -       -       n       -       0       bounce
trace     unix  -       -       n       -       0       bounce
verify    unix  -       -       n       -       1       verify
flush     unix  n       -       n       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
proxywrite unix -       -       n       -       1       proxymap
smtp      unix  -       -       n       -       -       smtp
relay     unix  -       -       n       -       -       smtp
showq     unix  n       -       n       -       -       showq
error     unix  -       -       n       -       -       error
retry     unix  -       -       n       -       -       error
discard   unix  -       -       n       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
anvil     unix  -       -       n       -       1       anvil
scache    unix  -       -       n       -       1       scache
submission      inet    n       -       n       -       -       smtpd -o smtpd_sasl_auth_enable=yes

-- end of postfinger output --

Howdy,

What do you see in the mail log whenever sending an email?

You can see that in /var/log/mail.log or /var/log/maillog.

-Eric

/var/log/mail.log does not exist, and I only see login failures in my /var/log/maillog which aren’t even from any of my send mail attempts… there is nothing in that file that correlates to any of my send mail attempts… :frowning:

Howdy,

Hmm, that sounds unusual!

What you may want to do is give Postfix a restart, and after doing that, look var /var/log/maillog to see if any errors show up.

If there’s a configuration issue of some sort, that would show up in the logs at that point.

-Eric