Can send but can't receive mails
08-03-2016, 11:51 PM
(This post was last modified: 08-04-2016, 02:24 AM by wljin.)
I can send mails but cannot receive any mails. if i run
Code:
root@panel:~# tail -f /var/log/mail.log
Aug 3 16:33:37 panel postfix/qmgr[17682]: D1E33124E37: from=<>, size=2802, nrcpt=1 (queue active)
Aug 3 16:33:37 panel postfix/qmgr[17682]: 8BEDB120451: from=<>, size=2807, nrcpt=1 (queue active)
Aug 3 16:33:37 panel postfix/qmgr[17682]: 513B712042D: from=<root@panel.[size=small][font=Monaco, Consolas, Courier, monospace]website[/font][/size].com>, size=825, nrcpt=1 (queue active)
Aug 3 16:33:37 panel postfix/qmgr[17682]: 6A5F7124E36: from=<root@panel.[size=small][font=Monaco, Consolas, Courier, monospace]website[/font][/size].com>, size=749, nrcpt=1 (queue active)
Aug 3 16:33:37 panel postfix/qmgr[17682]: 33D1A1202CB: from=<>, size=2807, nrcpt=1 (queue active)
Aug 3 16:33:37 panel postfix/smtp[17937]: 513B712042D: to=<root@panel.website.com>, orig_to=<root>, relay=none, delay=381271, delays=381271/0.04/0.11/0, dsn=4.4.6, status=SOFTBOUNCE (mail for panel.[size=small][font=Monaco, Consolas, Courier, monospace]website[/font][/size].com loops back to myself)
Aug 3 16:33:37 panel postfix/smtp[17935]: D1E33124E37: to=<root@panel.[size=small][font=Monaco, Consolas, Courier, monospace]website[/font][/size].com>, relay=none, delay=294197, delays=294196/0.07/0.14/0, dsn=4.4.6, status=SOFTBOUNCE (mail for panel.[size=small][font=Monaco, Consolas, Courier, monospace]website[/font][/size].com loops back to myself)
Aug 3 16:33:37 panel postfix/smtp[17936]: 8BEDB120451: to=<root@panel.[size=small][font=Monaco, Consolas, Courier, monospace]website[/font][/size].com>, relay=none, delay=340279, delays=340279/0.03/0.13/0, dsn=4.4.6, status=SOFTBOUNCE (mail for panel.[size=small][font=Monaco, Consolas, Courier, monospace]website[/font][/size].com loops back to myself)
Aug 3 16:33:37 panel postfix/smtp[17939]: 33D1A1202CB: to=<root@panel.[size=small][font=Monaco, Consolas, Courier, monospace]website[/font][/size].com>, relay=none, delay=277997, delays=277997/0.06/0.13/0, dsn=4.4.6, status=SOFTBOUNCE (mail for panel.[size=small][font=Monaco, Consolas, Courier, monospace]website[/font][/size].com loops back to myself)
Aug 3 16:33:37 panel postfix/smtp[17938]: 6A5F7124E36: to=<root@panel.[size=small][font=Monaco, Consolas, Courier, monospace]website[/font][/size].com>, orig_to=<root>, relay=none, delay=294395, delays=294395/0.05/0.14/0, dsn=4.4.6, status=SOFTBOUNCE (mail for panel.[size=small][font=Monaco, Consolas, Courier, monospace]website[/font][/size].com loops back to myself)
Aug 3 16:43:37 panel postfix/qmgr[17682]: 820F8124B6F: from=<root@panel.[size=small][font=Monaco, Consolas, Courier, monospace]website[/font][/size].com>, size=855, nrcpt=1 (queue active)
Aug 3 16:43:37 panel postfix/smtp[18152]: 820F8124B6F: to=<root@panel.website.com>, orig_to=<root>, relay=none, delay=121705, delays=121705/0.06/0.07/0, dsn=4.4.6, status=SOFTBOUNCE (mail for panel.website.com loops back to myself)
Code:
main.cf
# postfix config file
# uncomment for debugging if needed
soft_bounce=yes
# postfix main
mail_owner = postfix
setgid_group = postdrop
delay_warning_time = 4
# postfix paths
html_directory = no
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
queue_directory = /var/spool/postfix
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.2.2/samples
readme_directory = /usr/share/doc/postfix-2.2.2/README_FILES
# network settings
inet_interfaces = all
mydomain = panel.site.com
myhostname = panel.site.com
mynetworks = 127.0.0.1, XXX.XXX.XXX.XXX
mydestination = localhost.$mydomain, localhost
relay_domains = proxy:mysql:/etc/sentora/configs/postfix/mysql-relay_domains_maps.cf
# mail delivery
recipient_delimiter = +
# mappings
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
= hash:/etc/postfix/transport
=
# virtual setup
virtual_alias_maps = proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_alias_maps.cf,
regexp:/etc/sentora/configs/postfix/virtual_regexp
virtual_mailbox_base = /var/sentora/vmail
virtual_mailbox_domains = proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_domains_maps.cf
virtual_mailbox_maps = proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_mailbox_maps.cf
virtual_minimum_uid = 999
virtual_uid_maps = static:999
virtual_gid_maps = static:8
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1
# debugging
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
# authentication
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
# tls config
smtp_use_tls = no
smtpd_use_tls = no
= yes
= 1
= yes
= 3600s
= dev:/dev/urandom
= btree:$data_directory/smtp_tls_session_cache
# Change mail.example.com.* to your host name
= /etc/pki/tls/private/mail.example.com.key
= /etc/pki/tls/certs/mail.example.com.crt
# smtpd_tls_CAfile = /etc/pki/tls/root.crt
# rules restrictions
smtpd_client_restrictions =
smtpd_helo_restrictions =
smtpd_sender_restrictions =
smtpd_recipient_restrictions = permit_sasl_authenticated,
permit_mynetworks,
reject_unauth_destination,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain
# uncomment for realtime black list checks. (Warn: will also reject false positive)
# ,reject_rbl_client zen.spamhaus.org
# ,reject_rbl_client bl.spamcop.net
# ,reject_rbl_client dnsbl.sorbs.net
smtpd_helo_required = yes
unknown_local_recipient_reject_code = 550
disable_vrfy_command = yes
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_banner = $myhostname ESMTP
message_size_limit = 20480000