Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th November 2006, 18:57
CODAC CODAC is offline
Junior Member
 
Join Date: Nov 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy mail for aol.com loops back to myself

Hi
Can someone please help me figure out what is wrong. My users keep gettinng loops back to myself error message from postfix. How can I fix this. It happens to other email address like yahoo and cox. Any help would be great

Thanks
Reply With Quote
Sponsored Links
  #2  
Old 29th November 2006, 10:45
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,782
Thanks: 821
Thanked 5,334 Times in 4,184 Posts
Default

Please post an excerpt of your mail.log and your main.cf file with comments stripped.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 29th November 2006, 16:55
CODAC CODAC is offline
Junior Member
 
Join Date: Nov 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Talking Heres my main.cf and partial mail log

Main.cf
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no


append_dot_mydomain = no


#delay_warning_time = 4h

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache



myhostname = mail.codacinc.org
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
#mydestination = mail.codacinc.org, localhost.codacinc.org, localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom

virtual_maps = hash:/etc/postfix/virtusertable

mydestination = /etc/postfix/local-host-names


mail.log

[SIZE="3"]Nov 28 23:59:03 mail postfix/master[23860]: daemon started -- version 2.2.10, configuration /etc/postfix
Nov 28 23:59:28 mail courierpop3login: Connection, ip=[::ffff:216.41.112.74]
Nov 28 23:59:28 mail courierpop3login: LOGIN, user=jroberts, ip=[::ffff:216.41.112.74]
Nov 28 23:59:28 mail courierpop3login: LOGOUT, user=jroberts, ip=[::ffff:216.41.112.74], top=0, retr=0, time=0
Nov 29 00:00:28 mail courierpop3login: Connection, ip=[::ffff:216.41.112.74]
Nov 29 00:00:28 mail courierpop3login: LOGIN, user=jroberts, ip=[::ffff:216.41.112.74]
Nov 29 00:00:28 mail courierpop3login: LOGOUT, user=jroberts, ip=[::ffff:216.41.112.74], top=0, retr=0, time=0
Nov 29 00:00:42 mail postfix/smtpd[24107]: connect from unknown[203.90.76.66]
Nov 29 00:00:46 mail postfix/smtpd[24107]: 0635CD8ADD: client=unknown[203.90.76.66]
Nov 29 00:00:54 mail postfix/cleanup[24112]: 0635CD8ADD: message-id=<000b01c71373$85533ca0$630a3683@technical5>
Nov 29 00:01:05 mail postfix/qmgr[23862]: 0635CD8ADD: from=<tonancyfu@let.uu.nl>, size=30737, nrcpt=1 (queue active)
Nov 29 00:01:06 mail postfix/smtpd[24107]: disconnect from unknown[203.90.76.66]
Nov 29 00:01:21 mail procmail[24118]: Couldn't rename bogus "/var/mail/codac" into "/var/mail/BOGUS.codac.dWUD"
Nov 29 00:01:22 mail postfix/pickup[23861]: C5241D8B43: uid=10074 from=<codac>
Nov 29 00:01:22 mail postfix/cleanup[24112]: C5241D8B43: message-id=<20061129050122.C5241D8B43@mail.codacinc.org>
Nov 29 00:01:22 mail postfix/qmgr[23862]: C5241D8B43: from=<codac@mail.codacinc.org>, size=385, nrcpt=1 (queue active)
Nov 29 00:01:22 mail postfix/local[24138]: C5241D8B43: to=<admispconfig@localhost.localdomain>, relay=local, delay=1, status=sent (delivered to command: /usr/bin/procmail -f-)
Nov 29 00:01:22 mail postfix/qmgr[23862]: C5241D8B43: removed
Nov 29 00:01:26 mail postfix/local[24117]: 0635CD8ADD: to=<codac@mail.codacinc.org>, orig_to=<codac@codacinc.org>, relay=local, delay=41, status=sent (delivered to command: /usr/bin/procmail -f-)
Nov 29 00:01:26 mail postfix/qmgr[23862]: 0635CD8ADD: removed
Nov 29 00:01:27 mail postfix/smtpd[24107]: connect from r190-64-89-51.dialup.adsl.anteldata.net.uy[190.64.89.51]
Nov 29 00:01:28 mail courierpop3login: Connection, ip=[::ffff:216.41.112.74]
Nov 29 00:01:28 mail courierpop3login: LOGIN, user=jroberts, ip=[::ffff:216.41.112.74]
Nov 29 00:01:28 mail courierpop3login: LOGOUT, user=jroberts, ip=[::ffff:216.41.112.74], top=0, retr=0, time=0
Nov 29 00:01:28 mail postfix/smtpd[24107]: NOQUEUE: reject: RCPT from r190-64-89-51.dialup.adsl.anteldata.net.uy[190.64.89.51]: 550 <andes@codacinc.org>: Recipient address rejected: User unknown in local recipient table; from=<Dairy@knoth.nl> to=<andes@codacinc.org> proto=ESMTP helo=<r190-64-84-137.dialup.adsl.anteldata.net.uy>
Nov 29 00:01:29 mail postfix/smtpd[24107]: lost connection after RCPT from r190-64-89-51.dialup.adsl.anteldata.net.uy[190.64.89.51]
Nov 29 00:01:29 mail postfix/smtpd[24107]: disconnect from r190-64-89-51.dialup.adsl.anteldata.net.uy[190.64.89.51]
Nov 29 00:02:30 mail courierpop3login: Connection, ip=[::ffff:216.41.112.74]
Reply With Quote
  #4  
Old 30th November 2006, 15:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Originally Posted by CODAC
My users keep gettinng loops back to myself error message from postfix.
I don't see such a message in the log excerpt you posted. Please post the exact error message.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 30th November 2006, 15:58
CODAC CODAC is offline
Junior Member
 
Join Date: Nov 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Wink Here You go

ov 29 11:26:37 mail courierpop3login: Connection, ip=[::ffff:127.0.0.1]
Nov 29 11:26:37 mail courierpop3login: LOGIN, user=jroberts, ip=[::ffff:127.0.0.1]
Nov 29 11:26:37 mail courierpop3login: LOGOUT, user=jroberts, ip=[::ffff:127.0.0.1], top=0, retr=0, time=0
Nov 29 11:27:14 mail postfix/smtpd[15503]: connect from localhost.localdomain[127.0.0.1]
Nov 29 11:27:14 mail postfix/smtp[15701]: warning: host d.mx.mail.yahoo.com[0.0.0.0] greeted me with my own hostname mail.codacinc.org
Nov 29 11:27:14 mail postfix/smtp[15701]: warning: host d.mx.mail.yahoo.com[0.0.0.0] replied to HELO/EHLO with my own hostname mail.codacinc.org
Nov 29 11:27:14 mail postfix/smtp[15701]: 2DD4ED80CF: to=<ginamc04@yahoo.com>, relay=d.mx.mail.yahoo.com[0.0.0.0], delay=37, status=bounced (mail for yahoo.com loops back to myself)
Nov 29 11:27:14 mail postfix/smtpd[15503]: disconnect from localhost.localdomain[127.0.0.1]
Nov 29 11:27:14 mail postfix/cleanup[15510]: 7D9CAD8985: message-id=<20061129162714.7D9CAD8985@mail.codacinc.org>
Reply With Quote
  #6  
Old 1st December 2006, 16:02
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Originally Posted by CODAC
Nov 29 11:27:14 mail postfix/smtp[15701]: warning: host d.mx.mail.yahoo.com[0.0.0.0] greeted me with my own hostname mail.codacinc.org
There seems to be something wrong with name resolution on your system.

What's in /etc/resolv.conf and /etc/hosts? What's the output of
Code:
ifconfig
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 8th December 2006, 15:29
CODAC CODAC is offline
Junior Member
 
Join Date: Nov 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Smile

resolv.conf

nameserver 216.41.101.15
nameserver 209.126.137.108
nameserver 69.10.134.195

hosts

127.0.0.1 localhost.localdomain localhost
192.168.200.100 mail.codacinc.org mail

ifconfig

eth0 Link encap:Ethernet HWaddr 00:0F:FE:B1:2D:BA
inet addr:192.168.200.100 Bcast:192.168.200.255 Mask:255.255.255.0
inet6 addr: fe80::20f:feff:feb1:2dba/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:804679 errors:1073 dropped:0 overruns:0 frame:1073
TX packets:767507 errors:0 dropped:0 overruns:0 carrier:1537
collisions:4099 txqueuelen:1000
RX bytes:238695034 (227.6 MiB) TX bytes:234473475 (223.6 MiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:16953 errors:0 dropped:0 overruns:0 frame:0
TX packets:16953 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:15059757 (14.3 MiB) TX bytes:15059757 (14.3 MiB)

Thanks sorry for the late reply I've been away
Reply With Quote
  #8  
Old 9th December 2006, 14:25
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

What's the output of
Code:
dig d.mx.mail.yahoo.com
on your system?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 21st June 2007, 17:40
av1611 av1611 is offline
Member
 
Join Date: Jun 2007
Posts: 49
Thanks: 0
Thanked 1 Time in 1 Post
Default Similar Problem

FORUM MOD: This might be better as a new thread, but I posted here...

I had a similar problem with ISPConfig and wanted to let the world know what happened and how I fixed it.

I installed ISPConfig on a new FC6 server. I set up my first account, and then set up an email user for that account. then I sent an email to that user from another domain. The email arrived, and so did a zillion bounce messages. Here is what was in the maillog file (hand typed...)

...<snip>...to=<admispconfig@localhost.localdomain .mydomain.com>, relay=none, <snip>, status=bounced (mail for localhost.localdomain.mydomain.com loops back to myself)

I am not an expert at this but if the email was delivered to the mailbox, why was there also a bounce to begin with? I fixed the bounce by doing this:

I added this line to the bottom of /etc/postfix/local-host-names

localhost.localdomain.mydomain.com

then restarted postfix. Seems to work now.

Can someone give me a hint as to why the bounce was generated to begin with?
Can someone tell me if I really fixed this or just put a "bandaid" on a misconfiguration?

Thanks

osprey * at * blmservices * dot * com
Reply With Quote
  #10  
Old 21st June 2007, 23:35
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,782
Thanks: 821
Thanked 5,334 Times in 4,184 Posts
Default

The answer for this error is always the same

If you have a error message containing the words "loops back to myself", take the domain that is mentioned in the error message and append it to the file /etc/postfix/local-host-names and restart postfix.

So, to make it short, your fix was correct
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

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
Not receiving any incoming mail. Jcorrea920 General 11 3rd April 2010 13:08
Diagnostic-Code: X-Postfix; mail for sd-xxxx.dedibox.fr loops back to myself Steen Installation/Configuration 7 3rd April 2009 12:56
Postfix : mail loops back vincentthe Installation/Configuration 1 14th November 2006 10:38
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 12:16
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs ebbay Installation/Configuration 9 4th March 2006 11:47


All times are GMT +2. The time now is 10:09.


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