Centos 7 Email Only Local

2 posts / 0 new
Last post
#1 Tue, 04/26/2016 - 13:41
signalleads

Centos 7 Email Only Local

Only Able to Send Email Locally. Sometimes. (1 out of 10) I will receive an email from an external address. 9 out of 10 it will say No Such User Here. Outgoing mail says sent, but is not received on remote servers.

[root@localhost jeremy]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
allow_percent_hack = no
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
inet_protocols = all
mail_owner = postfix
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, localhost, ns1.jeremyhuskey.com
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/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
setgid_group = postdrop
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/virtual
Tue, 04/26/2016 - 15:19
andreychek

Howdy,

You had mentioned earlier that you weren't seeing any messages at all in /var/log/maillog... that's concerning, that log should be full of wonderful information.

I'm curious what output you see when running this command:

netstat -anlp | grep :25

That will show what is listening on port 25 of your server.

Also, if you go into System Settings -> Re-Check Config, does it detect any problems?

-Eric

Topic locked