Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 16th October 2008, 13:57
satimis satimis is offline
Senior Member
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
Default Postfix can't receive mails

Hi folks,

Debian Etch

The mail server can send mails via telnet but unable to receive mails. All mails sent to satimis@satimis.com were rejected.

$ tail /var/log/mail.log
Oct 16 09:16:13 xen01 postfix/smtpd[1651]: connect from web35208.mail.mud.yahoo.com[]
Oct 16 09:16:14 xen01 postfix/smtpd[1651]: 51DD82055B: client=web35208.mail.mud.yahoo.com[]
Oct 16 09:16:15 xen01 postfix/cleanup[1655]: 51DD82055B: message-id=<121684.97436.qm@web35208.mail.mud.yahoo.com>
Oct 16 09:16:15 xen01 postfix/qmgr[1574]: 51DD82055B: from=<satimis@yahoo.com>, size=1339, nrcpt=1 (queue active)
Oct 16 09:16:15 xen01 postfix/smtp[1656]: 51DD82055B: to=<satimis@satimis.com>, relay=none, delay=1.1, delays=1.1/0.01/0.05/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=mail.satimis.com type=A: Host not found)
Oct 16 09:16:15 xen01 postfix/cleanup[1655]: 358402056B: message-id=<20081016091615.358402056B@xen01.satimis.com>
Oct 16 09:16:15 xen01 postfix/qmgr[1574]: 358402056B: from=<>, size=3309, nrcpt=1 (queue active)
Oct 16 09:16:15 xen01 postfix/bounce[1658]: 51DD82055B: sender non-delivery notification: 358402056B
Oct 16 09:16:15 xen01 postfix/qmgr[1574]: 51DD82055B: removed
Oct 16 09:16:15 xen01 postfix/smtpd[1651]: disconnect from web35208.mail.mud.yahoo.com[]

# hostname -f

# postmap -q satimis@satimis.com mysql:/etc/postfix/mysql-virtual_domains.cf
# postmap -q satimis@satimis.com mysql:/etc/postfix/mysql-virtual_transports.cf
# postmap -q satimis@satimis.com mysql:/etc/postfix/mysql-virtual_forwardings.cf

all without printout

# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
inet_interfaces = all
mailbox_size_limit = 0
mydestination = xen01.satimis.com, mail.satimis.com, localhost, localhost.localdomain
myhostname = xen01.satimis.com
mynetworks =
myorigin = /etc/mailname
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
recipient_delimiter = +
relayhost =
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_create_maildirsize = yes
virtual_gid_maps = static:5000
virtual_mailbox_base = /home/vmail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_maildir_limit_message = "The user you are trying to reach is over quota."
virtual_overquota_bounce = yes
virtual_uid_maps = static:5000

Please help. TIA

Reply With Quote
Sponsored Links


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Undelivered Mail Returned to Sender Error202 General 5 7th May 2009 12:14
localhost postfix/master: fatal: bind port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 18:39
Mail System Error - Returned Mail tristanlee85 General 16 16th March 2008 10:40
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 16:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 16:36

All times are GMT +2. The time now is 00:48.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.