rahul wrote:

Hello All,
My mails are not working properly .. It loops back to myself ..
I am doing local testing ...
My maillog shows =>
# tail -f /var/log/maillog ======================================================================
Jul 17 16:36:27 localhost postfix/smtp[1318]: warning: host mail.sirindia1.com[192.168.1.67]
greeted me with my own hostname mail.sirindia1.com
Jul 17 16:36:27 localhost postfix/smtp[1318]: warning: host mail.sirindia1.com[192.168.1.67]
replied to HELO/EHLO with my own hostname mail.sirindia1.com
Jul 17 16:36:27 localhost postfix/smtpd[1314]: lost connection after EHLO from u
nknown[192.168.1.67]
Jul 17 16:36:27 localhost postfix/smtpd[1314]: disconnect from unknown[192.168.1.67]
Jul 17 16:36:27 localhost postfix/smtp[1318]: 3E81330946: to=<[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
1.com>, relay=mail.sirindia1.com[192.168.1.67], delay=20, status=bounced
(mail for mail.sirindia1.com loops back to myself)
========================================================================
It may be problem of DNS ..
But i am unable find out what is that problem ..
DNS entries are
========================================================================


========================================================================
I am sending mail to sirindia.com which is well configured on 192.168.1.60 ..
postconf -n gives the output ...
=======================================================================
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
fallback_transport = cyrus
inet_interfaces = all
local_recipient_maps =
mail_owner = postfix
mailbox_transport = lmtp:unix:/var/imap/socket/lmtp
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
mydestination =
mydomain = sirindia1.com
myhostname = mail.sirindia1.com
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /etc/postfix/readme
relay_domains = $myhostname, localhost.$mydomain, $mydomain,sirindia1.com,mail.$
mydomain, www.$mydomain <http://www.$mydomain>
sample_directory = /etc/postfix/samples
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
unknown_local_recipient_reject_code = 450
====================================================================================
I am using the lmtp ... & transport table ..
/etc/postfix/transport has following entry
sirindia1.com lmtp:sirindia1.com
======================================================================================
So .. How to overcome the problem ???

Yout postfix configuration is screwed, you list mail.sirindia.com in $relay_domains
so relay=smtp connects to mail.sirindia1.com and tries to deliver the message,
but conencts to the same postfix instance.
If you list mail.sirindia1.com in $relay_domains, try to change relay_transport
to lmtp:unix:.... , you configured the local transport to be lmtp not the relay.


Please redirect your future postings to the postfix lists, it's not a cyrus problem
here.


mitu

Reply via email to