LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Email bounced back (https://www.linuxquestions.org/questions/linux-software-2/email-bounced-back-829560/)

alphatest 08-31-2010 11:24 AM

Email bounced back
 
hi,

anyone have clue....

this is error message -->mail for apex.com.my loops back to myself

see the log

Sep 1 08:20:22 milter postfix/bounce[9451]: 133FF291909A: sender non-delivery notification: 567262919095
Sep 1 08:20:22 milter postfix/qmgr[9322]: 567262919095: from=<>, size=6916, nrcpt=1 (queue active)
Sep 1 08:20:22 milter postfix/qmgr[9322]: 133FF291909A: removed
Sep 1 08:20:23 milter postfix/smtp[9383]: 302DD2919097: to=<eindia_sh@meridianmt.com>, relay=mail.global.frontbridge.com[65.55.88.22]:25, delay=3.5, delays=0.02/0/1.3/2.2, dsn=2.6.0, status=sent (250 2.6.0 <20100901002020.302DD2919097@milter.apex.com.my> Queued mail for delivery)
Sep 1 08:20:23 milter postfix/qmgr[9322]: 302DD2919097: removed
Sep 1 08:20:24 milter MailScanner[8819]: Spam Checks: Found 1 spam messages
Sep 1 08:20:24 milter postfix/smtp[9614]: 65ECD2919096: to=<lurlinepo@de.opel.com>, relay=gmemxb.imr.gm.com[192.85.154.90]:25, delay=5.8, delays=0.01/0/4.9/0.9, dsn=2.0.0, status=sent (250 2.0.0 o7VGLTMQ019904 Message accepted for delivery)
Sep 1 08:20:24 milter postfix/qmgr[9322]: 65ECD2919096: removed
Sep 1 08:20:24 milter MailScanner[8819]: Requeue: 506362919098.ADF31 to 2C20F2919096
Sep 1 08:20:24 milter MailScanner[8819]: Uninfected: Delivered 1 messages
Sep 1 08:20:24 milter postfix/qmgr[9322]: 2C20F2919096: from=<microfichelu6@rouramelamed.com>, size=3056, nrcpt=1 (queue active)
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)
Sep 1 08:20:24 milter postfix/smtpd[9611]: disconnect from unknown[210.19.31.173]
Sep 1 08:20:24 milter postfix/cleanup[9377]: 641DA2919097: message-id=<20100901002024.641DA2919097@milter.apex.com.my>
Sep 1 08:20:24 milter MailScanner[8819]: Deleted 1 messages from processing-database
Sep 1 08:20:24 milter MailScanner[8819]: Logging message 506362919098.ADF31 to SQL

xeleema 09-01-2010 04:40 AM

Greetingz!

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.

alphatest 09-02-2010 12:22 AM

email bounce back
 
i have already check my dns , etc/hosts

there's no issues

new log


Sep 2 21:19:16 milter postfix/smtp[3740]: B50FD2918E6C: to=<admin@apex.com.my>, relay=milter.apex.com.my[210.19.31.173]:25, delay=22, delays=22/0/0.01/0, dsn=5.4.6, status=bounced (mail for apex.com.my loops back to myself)
Sep 2 21:19:16 milter postfix/qmgr[3371]: B50FD2918E6C: removed
Sep 2 21:19:16 milter postfix/smtpd[3701]: disconnect from unknown[210.19.31.173]
Sep 2 21:19:16 milter MailScanner[3708]: Deleted 1 messages from processing-database
Sep 2 21:19:16 milter MailScanner[3708]: Logging message 669332918E83.A4981 to SQL
Sep 2 21:19:16 milter MailScanner[3386]: Requeue: 63C062918E6F.A5EDE to C4B6C2918E6C
Sep 2 21:19:16 milter postfix/qmgr[3371]: C4B6C2918E6C: from=<>, size=5343, nrcpt=1 (queue active)
Sep 2 21:19:16 milter MailScanner[3386]: Uninfected: Delivered 1 messages
Sep 2 21:19:16 milter postfix/smtpd[3701]: warning: 210.19.31.173: address not listed for hostname milter.apex.com.my
Sep 2 21:19:16 milter postfix/smtpd[3701]: connect from unknown[210.19.31.173]
Sep 2 21:19:16 milter postfix/smtp[3851]: warning: host milter.apex.com.my[210.19.31.173]:25 greeted me with my own hostname milter.apex.com.my
Sep 2 21:19:16 milter postfix/smtp[3851]: warning: host milter.apex.com.my[210.19.31.173]:25 replied to HELO/EHLO with my own hostname milter.apex.com.my
Sep 2 21:19:16 milter postfix/smtpd[3813]: connect from unknown[123.23.231.15]
Sep 2 21:19:16 milter postfix/smtp[3851]: C4B6C2918E6C: to=<admin@apex.com.my>, relay=milter.apex.com.my[210.19.31.173]:25, delay=22, delays=22/0/0/0, dsn=5.4.6, status=bounced (mail for apex.com.my loops back to myself)

it's setting on postfix or mailscanner ?

xeleema 09-02-2010 01:40 AM

Quote:

Originally Posted by alphatest (Post 4085654)
it's setting on postfix or mailscanner?

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.

:)

alphatest 09-02-2010 01:29 PM

attached configuration
 
2 Attachment(s)
hi,

i need your help, i attached config for your info


thanks.

alphatest 09-02-2010 01:31 PM

i used postfix as a transport email filter pass to mail server

alphatest 09-02-2010 01:35 PM

other log
 
[/Sep 3 10:31:43 milter postfix/smtp[26594]: warning: host milter.apex.com.my[210.19.31.173]:25 replied to HELO/EHLO with my own hostname milter.apex.com.my
Sep 3 10:31:43 milter postfix/smtp[26594]: 7753C291935D: to=<content-filter@apex.com.my>, relay=milter.apex.com.my[210.19.31.173]:25, delay=20, delays=19/0.01/0/0, dsn=5.4.6, status=bounced (mail for apex.com.my loops back to myself)
Sep 3 10:31:43 milter MailScanner[26667]: Deleted 1 messages from processing-database
Sep 3 10:31:43 milter MailScanner[26667]: Logging message 9B5A529192EC.ABFB3 to SQL
Sep 3 10:31:43 milter MailScanner[26669]: 9B5A529192EC.ABFB3: Logged to MailWatch SQL
Sep 3 10:31:43 milter MailScanner[26614]: Virus and Content Scanning: Starting
Sep 3 10:31:43 milter postfix/smtp[26594]: 7753C291935D: to=<di@apex.com.my>, relay=milter.apex.com.my[210.19.31.173]:25, delay=20, delays=19/0.01/0/0, dsn=5.4.6, status=bounced (mail for apex.com.my loops back to myself)
Sep 3 10:31:43 milter postfix/smtp[26594]: 7753C291935D: to=<diahafinazfinaz@apex.com.my>, relay=milter.apex.com.my[210.19.31.173]:25, delay=20, delays=19/0.01/0/0, dsn=5.4.6, status=bounced (mail for apex.com.my loops back to myself)
Sep 3 10:31:43 milter postfix/smtp[26594]: 7753C291935D: to=<dly@apex.com.my>, relay=milter.apex.com.my[210.19.31.173]:25, delay=20, delays=19/0.01/0/0, dsn=5.4.6, status=bounced (mail for apex.com.my loops back to myself)
Sep 3 10:31:43 milter postfix/smtp[26594]: 7753C291935D: to=<elhoujjajipzb@apex.com.my>, relay=milter.apex.com.my[210.19.31.173]:25, delay=20, delays=19/0.01/0/0, dsn=5.4.6, status=bounced (mail for apex.com.my loops back to myself)
Sep 3 10:31:43 milter postfix/smtp[26594]: 7753C291935D: to=<faroub@apex.com.my>, relay=milter.apex.com.my[210.19.31.173]:25, delay=20, delays=19/0.01/0/0, dsn=5.4.6, status=bounced (mail for apex.com.my loops back to myself)
Sep 3 10:31:43 milter postfix/smtp[26594]: 7753C291935D: to=<farouk@apex.com.my>, relay=milter.apex.com.my[210.19.31.173]:25, delay=20, delays=19/0.01/0/0, dsn=5.4.6, status=bounced (mail for apex.com.my loops back to myself)
Sep 3 10:31:43 milter postfix/smtp[26594]: 7753C291935D: to=<felinamf@apex.com.my>, relay=milter.apex.com.my[210.19.31.173]:25, delay=20, delays=19/0.01/0/0, dsn=5.4.6, status=bounced (mail for apex.com.my loops back to myself)
Sep 3 10:31:43 milter postfix/smtp[26594]: 7753C291935D: to=<hafinazfinaz@apex.com.my>, relay=milter.apex.com.my[210.19.31.173]:25, delay=20, delays=19/0.01/0/0, dsn=5.4.6, status=bounced (mail for apex.com.my loops back to myself)
Sep 3 10:31:43 milter postfix/smtp[26594]: 7753C291935D: to=<ili@apex.com.my>, relay=milter.apex.com.my[210.19.31.173]:25, delay=20, delays=19/0.01/0/0, dsn=5.4.6, status=bounced (mail for apex.com.my loops back to myself)
Sep 3 10:31:43 milter postfix/smtpd[26566]: disconnect from unknown[210.19.31.173]
Sep 3 10:31:43 milter postfix/cleanup[26582]: 6589029192EC: message-id=<20100903023143.6589029192EC@milter.apex.com.my>
Sep 3 10:31:43 milter postfix/qmgr[539]: 6589029192EC: from=<>, size=5970, nrcpt=1 (queue active)
Sep 3 10:31:43 milter postfix/bounce[27859]: 7753C291935D: sender non-delivery notification: 6589029192EC
Sep 3 10:31:43 milter postfix/qmgr[539]: 7753C291935D: removed
Sep 3 10:31:43 milter postfix/smtp[27799]: 6589029192EC: host a.mx.mail.yahoo.com[67.195.168.31] refused to talk to me: 421 4.7.0 [GL01] Message from (210.19.31.173) temporarily deferred - 4.16.50. Please refer to http://postmaster.yahoo.com/errors/postmaster-21.html
Sep 3 10:31:44 milter postfix/smtp[27799]: 6589029192EC: host k.mx.mail.yahoo.com[98.139.54.60] refused to talk to me: 421 4.7.0 [GL01] Message from (210.19.31.173) temporarily deferred - 4.16.50. Please refer to http://postmaster.yahoo.com/errors/postmaster-21.html/]


i setup this mailscaner just for filter the incoming mail not outgoing ....but from log i see outgoing log also, why ?

can assist me with bounce back..

alphatest 09-03-2010 09:51 AM

my problem
 
any solving for my questions ?


thanks

xeleema 09-03-2010 03:02 PM

Quote:

Originally Posted by alphatest (Post 4087122)
any solving for my questions ?
thanks

You have something listed twice in your mail.cf
Code:

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;
Code:

Line 70  myhostname = milter.apex.com.my
To this;
Code:

Line 70  myhostname = milter

alphatest 09-03-2010 11:26 PM

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:

alphatest 09-03-2010 11:39 PM

config file
 
any file do you want for reference?

main.cf and transport file....

alphatest 09-04-2010 01:22 AM

email bounce back- Postfix problem solve
 
xleema...

my problem already solve.

i have modified main.cf and transport as below:-

code:[root@milter postfix]# /usr/sbin/postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
header_checks = regexp:/etc/postfix/header_checks
html_directory = no
inet_interfaces = all
local_recipient_maps =
local_transport = error:local mail delivery is disabled
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination =
mynetworks = 127.0.0.0/8 192.168.100.2
myorigin = example.com
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
recipient_delimiter = +
relay_domains = example.com, abc.com, ab.com #------> if used multi domains
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
[root@milter postfix]#

---------------------------------------
and edit transport

apex.com.my :[192.168.100.2]

code:/




thanks a lot for assist.

solved already.

xeleema 09-04-2010 02:06 AM

You're...welcome?
Thanks for marking this thread as solved.
Glad your problem was fixed by...um...fixing it.

xlimonta 07-09-2013 09:42 AM

same error : Email bounced
 
3 Attachment(s)
Jul 9 10:48:22 loki postfix/qmgr[3635]: 952866272C: from=<123@ccron.cu>, size=506, nrcpt=1 (queue active)
Jul 9 10:48:22 loki roundcube: User 123@ccron.cu [192.168.30.191]; Message for postmaster@ccron.cu; 250: 2.0.0 Ok: queued as 952866272C
Jul 9 10:48:22 loki postfix/smtp[17497]: 952866272C: to=<postmaster@ccron.cu>, relay=none, delay=0.33, delays=0.15/0.17/0.01/0, dsn=5.4.6, status=bounced (mail for ccron.cu loops back to myself)
Jul 9 10:48:22 loki postfix/cleanup[17490]: EDB1162739: message-id=<20130709144822.EDB1162739@loki.ccron.cu>
Jul 9 10:48:23 loki postfix/qmgr[3635]: EDB1162739: from=<>, size=2259, nrcpt=1 (queue active)
Jul 9 10:48:23 loki postfix/bounce[17499]: 952866272C: sender non-delivery notification: EDB1162739
Jul 9 10:48:23 loki postfix/qmgr[3635]: 952866272C: removed
Jul 9 10:48:23 loki postfix/smtp[17497]: EDB1162739: to=<123@ccron.cu>, relay=none, delay=0.07, delays=0.03/0.02/0.02/0, dsn=5.4.6, status=bounced (mail for ccron.cu loops back to myself)
Jul 9 10:48:23 loki postfix/qmgr[3635]: EDB1162739: removed
Jul 9 10:48:23 loki postfix/smtpd[17487]: disconnect from localhost[127.0.0.1]

Please some body , help me about, this mail, work fine sending mail to outside, but e-mail form outdoor and internal, don't have delivery notification, please help me
Sorry for my ugly English.

Tks a lot

Here is a config files:
1-Attachment 12892

2-Attachment 12893

3-Attachment 12894


All times are GMT -5. The time now is 03:43 AM.