Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Your log output seems to show what postfix is doing to several emails...which makes it harder to read and understand what your exact problem is, as "loops back to myself" isn't very specific about what's happening.
I'm guessing the "bounce back" that you're getting says the email was undeliverable?
ProTIP: Edit your post and put [CODE] and [/CODE] at that start and end of your log snippit.
As for what's happening, I would wager that the email you get from the mail server is telling you exactly what's wrong (like a "Code 550" or some such). Putting the error that is emailed back to you within your post would be a good idea.
ProTIP: After you have started a thread; if you are asked to add additional information, use the "Edit" button on your very first post in the thread and append the information there. That way new people that come across your thread can get the whole picture right away.
EDIT: I was able to find this nice bit of output in your logs;
Code:
Sep 1 08:20:24 milter postfix/smtpd[9611]: warning: 210.19.31.173: address not listed for hostname milter.apex.com.my
Sep 1 08:20:24 milter postfix/smtpd[9611]: connect from unknown[210.19.31.173]
Sep 1 08:20:24 milter postfix/smtp[9610]: warning: host milter.apex.com.my[210.19.31.173]:25 greeted me with my own hostname milter.apex.com.my
Sep 1 08:20:24 milter postfix/smtp[9610]: warning: host milter.apex.com.my[210.19.31.173]:25 replied to HELO/EHLO with my own hostname milter.apex.com.my
Sep 1 08:20:24 milter postfix/smtp[9610]: 2C20F2919096: to=<boo@apex.com.my>, relay=milter.apex.com.my[210.19.31.173]:25, delay=24, delays=24/0/0/0, dsn=5.4.6, status=bounced (mail for apex.com.my loops back to myself)
You look like you have an error (or a missing entry) in either you DNS or your /etc/hosts file.
Could be. Post your configurations, but be SURE to wrap your configs in [CODE] & [/CODE] tags, okay? This thread has almost one hundred views thusfar, however only one member has actually *responded* to your post to date.
Your first post comes across as a bit on the "hasty" side, so that might be turning people off. If you're new to the whole "asking people on a forum" thing, then you may want to read this article. It's helped me a great deal, as it applies to a whole lot more than just forums.
Line 109 inet_interfaces = all
Line 110 inet_interfaces = $myhostname
Is that what you're trying to do, or are you missing a "#" on Line 110?
Also, just as a test, you might want to narrow down Line 157 from this
Code:
Line 157 mydestination = localhost.$mydomain, localhost, mail.apex.com.my
To this
Code:
Line 157 mydestination = mail.apex.com.my
You also specify the FQDN for myhostname, and then provide a domain name.
Code:
Line 70 myhostname = milter.apex.com.my
Line 78 mydomain = apex.com.my
That means any calls to $myhostname.$mydomainname are going to look like "milter.apex.com.my.apex.com.my"
Check all of your *.cf files and make sure that's not happening.
If your DNS entries for your mail server are indeed correct, then you may want to change Line 70 from this;
i change follow by your post..but this error log show
code:
Sep 4 20:22:12 milter postfix/smtp[19505]: warning: host milter.apex.com.my[210.19.31.173]:25 replied to HELO/EHLO with my own hostname milter
Sep 4 20:22:12 milter postfix/smtp[19505]: DB37D29189E6: to=<nash@apex.com.my>, relay=milter.apex.com.my[210.19.31.173]:25, delay=21, delays=21/0/0.01/0, dsn=5.4.6, status=bounced (mail for apex.com.my loops back to myself)
Sep 4 20:22:12 milter postfix/smtpd[19508]: disconnect from unknown[210.19.31.173]
Sep 4 20:22:12 milter postfix/cleanup[19476]: BFD762918A07: message-id=<20100904122212.BFD762918A07@milter>
Sep 4 20:22:12 milter MailScanner[14449]: Deleted 1 messages from processing-database
Sep 4 20:22:12 milter MailScanner[14449]: Logging message BC49D2918A20.A4091 to SQL
Sep 4 20:22:12 milter MailScanner[19269]: BC49D2918A20.A4091: Logged to MailWatch SQL
Sep 4 20:22:12 milter postfix/bounce[19507]: DB37D29189E6: sender non-delivery notification: BFD762918A07
Sep 4 20:22:12 milter postfix/qmgr[19444]: BFD762918A07: from=<>, size=3085, nrcpt=1 (queue active)
Sep 4 20:22:12 milter postfix/qmgr[19444]: DB37D29189E6: removed
Sep 4 20:22:14 milter postfix/smtp[19460]: BFD762918A07: to=<rosiepuw@thepawmadrid.info>, relay=mx1.thepawmadrid.info[67.138.108.154]:25, delay=1.5, delays=0.02/0/0.57/0.96, dsn=2.0.0, status=sent (250 Message accepted for delivery)
Sep 4 20:22:14 milter postfix/qmgr[19444]: BFD762918A07: removed
Sep 4 20:22:16 milter MailScanner[15473]: Requeue: 3AF4B2918A78.A8659 to 48D8129189DC
Sep 4 20:22:16 milter MailScanner[15473]: Uninfected: Delivered 1 messages
Sep 4 20:22:16 milter postfix/qmgr[19444]: 48D8129189DC: from=<nik999@earthlink.com>, size=1139, nrcpt=1 (queue active)
Sep 4 20:22:16 milter postfix/smtpd[19473]: warning: 210.19.31.173: address not listed for hostname milter.apex.com.my
Sep 4 20:22:16 milter postfix/smtpd[19473]: connect from unknown[210.19.31.173]
Sep 4 20:22:16 milter postfix/smtp[19506]: warning: host milter.apex.com.my[210.19.31.173]:25 greeted me with my own hostname milter
Sep 4 20:22:16 milter postfix/smtp[19506]: warning: host milter.apex.com.my[210.19.31.173]:25 replied to HELO/EHLO with my own hostname milter
Sep 4 20:22:16 milter postfix/smtp[19506]: 48D8129189DC: to=<nik@apex.com.my>, relay=milter.apex.com.my[210.19.31.173]:25, delay=21, delays=21/0/0/0, dsn=5.4.6, status=bounced (mail for apex.com.my loops back to myself)
Sep 4 20:22:16 milter postfix/smtpd[19473]: disconnect from unknown[210.19.31.173]
Sep 4 20:22:16 milter postfix/cleanup[19483]: 5175929189E6: message-id=<20100904122216.5175929189E6@milter>
Sep 4 20:22:16 milter MailScanner[15473]: Deleted 1 messages from processing-database
Sep 4 20:22:16 milter MailScanner[15473]: Logging message 3AF4B2918A78.A8659 to SQL
Sep 4 20:22:16 milter MailScanner[19269]: 3AF4B2918A78.A8659: Logged to MailWatch SQL
Sep 4 20:22:16 milter postfix/qmgr[19444]: 5175929189E6: from=<>, size=2891, nrcpt=1 (queue active)
Sep 4 20:22:16 milter postfix/bounce[19525]: 48D8129189DC: sender non-delivery notification: 5175929189E6
Sep 4 20:22:16 milter postfix/qmgr[19444]: 48D8129189DC: removed
code:/
it should be something like this----> relay to 192.168.100.2(mail.apex.com.my local ip)> after connect to user email
then it's ok
------------------
code:
this config is set in transport
# When no transport is specified, Postfix uses the transport
# that matches the address domain class (see DESCRIPTION
# above). The following sends all mail for example.com and
# its subdomains to host gateway.example.com:
#
# example.com :[gateway.example.com]
# .example.com :[gateway.example.com]
#
# In the above example, the [] suppress MX lookups. This
# prevents mail routing loops when your machine is primary
# MX host for example.com.
#
# In the case of delivery via SMTP, one may specify host-
# name:service instead of just a host:
#
# example.com smtp:bar.example:2025
mail.apex.com.my :[192.168.100.2] /code:
Last edited by alphatest; 09-04-2010 at 12:31 AM.
Reason: adding new info
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.