CentOs, ISP Config 3.0.3.3, from the perfect server setup.
I can log in with Squirrelmail from anywhere and I can send mail from Squirrelmail to anywhere.
I can ONLY receive mail from within, that is, testATkateslabDOTcom & katiijATkateslabDOTcom can send and receive to each other without problems. I can also telnet into the server and successfully send mail using an outside "from" address.
Any mail sent from the outside world will not arrive, and I am not familiar enough with mail logs to be able to identify the problem.
I have tried to add it as an account in Outlook, which gives me the following error (which I also get when trying to manually send mail via external telnet ):
Code:
Send test e-mail message: Your outgoing (SMTP) e-mail server has reported an internal error. If you continue to receive this message, contact your server administrator or Internet service provider (ISP). The server responded: 451 Please try again later
I have checked my dns against many online tools and it checks out OK.
From reading related posts, I believe the following files hold pertinent information:
Tail of maillog right after I send an email from my gmail account (it is similiar no matter the sender)
Code:
Aug 6 21:43:01 isp postfix/smtpd[15122]: send attr request = disconnect
Aug 6 21:43:01 isp postfix/smtpd[15122]: send attr ident = smtp:69.17.24.150
Aug 6 21:43:01 isp postfix/smtpd[15122]: private/anvil: wanted attribute: status
Aug 6 21:43:01 isp postfix/smtpd[15122]: input attribute name: status
Aug 6 21:43:01 isp postfix/smtpd[15122]: input attribute value: 0
Aug 6 21:43:01 isp postfix/smtpd[15122]: private/anvil: wanted attribute: (list terminator)
Aug 6 21:43:01 isp postfix/smtpd[15122]: input attribute name: (end)
Aug 6 21:43:01 isp postfix/smtpd[15122]: disconnect from unknown[69.17.24.150]
Aug 6 21:43:01 isp postfix/smtpd[15122]: master_notify: status 1
Aug 6 21:43:01 isp postfix/smtpd[15122]: connection closed
Aug 6 21:43:09 isp postfix/smtpd[12596]: < unknown[209.85.220.179]: RSET
Aug 6 21:43:09 isp postfix/smtpd[12596]: > unknown[209.85.220.179]: 250 2.0.0 Ok
Aug 6 21:43:09 isp postfix/smtpd[12596]: < unknown[209.85.220.179]: QUIT
Aug 6 21:43:09 isp postfix/smtpd[12596]: > unknown[209.85.220.179]: 221 2.0.0 Bye
Aug 6 21:43:09 isp postfix/smtpd[12596]: match_hostname: unknown ~? 127.0.0.0/8
Aug 6 21:43:09 isp postfix/smtpd[12596]: match_hostaddr: 209.85.220.179 ~? 127.0.0.0/8
Aug 6 21:43:09 isp postfix/smtpd[12596]: match_hostname: unknown ~? 172.18.7.0/24
Aug 6 21:43:09 isp postfix/smtpd[12596]: match_hostaddr: 209.85.220.179 ~? 172.18.7.0/24
Aug 6 21:43:09 isp postfix/smtpd[12596]: match_list_match: unknown: no match
Aug 6 21:43:09 isp postfix/smtpd[12596]: match_list_match: 209.85.220.179: no match
Aug 6 21:43:09 isp postfix/smtpd[12596]: send attr request = disconnect
Aug 6 21:43:09 isp postfix/smtpd[12596]: send attr ident = smtp:209.85.220.179
Aug 6 21:43:09 isp postfix/smtpd[12596]: private/anvil: wanted attribute: status
Aug 6 21:43:09 isp postfix/smtpd[12596]: input attribute name: status
Aug 6 21:43:09 isp postfix/smtpd[12596]: input attribute value: 0
Aug 6 21:43:09 isp postfix/smtpd[12596]: private/anvil: wanted attribute: (list terminator)
Aug 6 21:43:09 isp postfix/smtpd[12596]: input attribute name: (end)
Aug 6 21:43:09 isp postfix/smtpd[12596]: disconnect from unknown[209.85.220.179]
Aug 6 21:43:09 isp postfix/smtpd[12596]: master_notify: status 1
Aug 6 21:43:09 isp postfix/smtpd[12596]: connection closed
Aug 6 16:43:17 isp postfix/anvil[12599]: statistics: max connection rate 2/60s for (smtp:209.85.220.179) at Aug 6 16:42:57
Aug 6 16:43:17 isp postfix/anvil[12599]: statistics: max connection count 1 for (smtp:69.17.24.150) at Aug 6 16:33:48
Aug 6 16:43:17 isp postfix/anvil[12599]: statistics: max cache size 2 at Aug 6 16:42:52
master.cf most comments removed
Code:
#
==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
smtp inet n - - - - smtpd -v
#submission inet n - n - - smtpd
# -o smtpd_enforce_tls=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#smtps inet n - n - - smtpd
# -o smtpd_tls_wrappermode=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#628 inet n - n - - qmqpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 oqmgr
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
smtp unix - - n - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - n - - smtp
-o fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - n - - showq
error 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
#
# ====================================================================
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient} ${extension} ${recipient} ${user} ${nexthop} ${sender}
old-cyrus unix - n n - - pipe
flags=R user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -m ${extension} ${user}
cyrus unix - n n - - pipe
user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m ${extension} ${user}
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=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
dovecot unix - n n - - pipe
flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -f ${sender} -d ${user}@${nexthop}
amavis unix - - - - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
127.0.0.1:10025 inet n - - - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
-o smtpd_bind_address=127.0.0.1
main.cf (with comments removed)
Code:
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
myorigin = $mydomain
inet_interfaces = all
mydestination = mail.kateslab.com
unknown_local_recipient_reject_code = 550
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
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
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.3.3/samples
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
myhostname = mail.kateslab.com
#mynetworks = 127.0.0.0/8 [::1]/128
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /var/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination
smtpd_use_tls = yes
smtpd_tls_security_level = may
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
maildrop_destination_concurrency_limit = 1
maildrop_destination_recipient_limit = 1
virtual_transport = dovecot
header_checks = regexp:/etc/postfix/header_checks
mime_header_checks = regexp:/etc/postfix/mime_header_checks
nested_header_checks = regexp:/etc/postfix/nested_header_checks
body_checks = regexp:/etc/postfix/body_checks
dovecot_destination_recipient_limit = 1
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
receive_override_options = no_address_mappings
content_filter = amavis:[127.0.0.1]:10024
# relayhost =
mailbox_size_limit = 0
message_size_limit = 0
/etc/hosts
Code:
127.0.0.1 localhost.localdomain localhost
69.17.24.179 mail.kateslab.com mail
I hope this is all you need. Thanks in advance for your help.
Recent comments
13 hours 24 min ago
14 hours 24 min ago
18 hours 11 min ago
19 hours 25 min ago
23 hours 1 min ago
1 day 6 hours ago
1 day 15 hours ago
1 day 16 hours ago
2 days 7 hours ago
2 days 10 hours ago