#1  
Old 27th December 2008, 21:31
xelios xelios is offline
Junior Member
 
Join Date: Dec 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Mails working randomly

Hello.

I configured a Debian server with ISPConfig following the complete guide "The Perfect Setup - Debian Etch".
I host several sites on this server. Websites are working but that's not the case concerning emails.

Imagine I have two websites, emails should be like this :
  1. first.com : using Google Apps :
    • Remote Mailserver
    • no Mx record
  2. second.com : redirects to first.com's Google Apps :
    • Local Mailserver
    • MX record
    • Email redirection in the user ISP settings

The problem is that it seems to work randomly. Once it redirects and everything is ok, once it gives
Code:
<user1@first.com> (expanded from <user2@second.com>): unknown user: "user1"
Any clue about this ? I completely re-installed the private server twice but it still doesn't work. Thank's a lot.

PS : sorry if my English is bad. ;-)
Reply With Quote
Sponsored Links
  #2  
Old 28th December 2008, 00:51
xelios xelios is offline
Junior Member
 
Join Date: Dec 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I just made a quick test. I sent 4 mails to the same second account. The result is :
  • 2 mails well redirected
  • 1 mail was in the local inbox (RoundCube)
  • 1 mail gave an "undelivered..."

What happens ?? How is it possible ?
Reply With Quote
  #3  
Old 28th December 2008, 13:26
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

What's in the mail log when an email ends up in the local inbox and when you get an "undelivered"?
__________________
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
  #4  
Old 28th December 2008, 13:48
xelios xelios is offline
Junior Member
 
Join Date: Dec 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you for the answer.

Well, right now I don't receive them locally on the server. Only "undelivered" :
Code:
Dec 28 13:41:06 imapd: Connection, ip=[::ffff:127.0.0.1]
Dec 28 13:41:06 imapd: LOGIN, user=befox, ip=[::ffff:127.0.0.1], protocol=IMAP
Dec 28 13:41:07 imapd: LOGOUT, user=befox, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=46, sent=432, time=0
Dec 28 13:41:30 postfix/smtpd[17075]: connect from web25806.mail.ukl.yahoo.com[217.12.10.191]
Dec 28 13:41:30 postfix/smtpd[17075]: E4659FE249: client=web25806.mail.ukl.yahoo.com[217.12.10.191]
Dec 28 13:41:30 postfix/cleanup[17078]: E4659FE249: message-id=<803955.20385.qm@web25806.mail.ukl.yahoo.com>
Dec 28 13:41:31 postfix/qmgr[16604]: E4659FE249: from=<>, size=1781, nrcpt=1 (queue active)
Dec 28 13:41:31 postfix/smtpd[17075]: disconnect from web25806.mail.ukl.yahoo.com[217.12.10.191]
Dec 28 13:41:31 postfix/cleanup[17078]: 22A90FE24A: message-id=<803955.20385.qm@web25806.mail.ukl.yahoo.com>
Dec 28 13:41:31 postfix/qmgr[16604]: 22A90FE24A: from=<>, size=1911, nrcpt=1 (queue active)
Dec 28 13:41:31 postfix/local[17079]: E4659FE249: to=<befox@r16648.ovh.net>, orig_to=<user2@second.com>, relay=local, delay=0.31, delays=0.21/0.01/0/0.09, dsn=2.0.0$
Dec 28 13:41:31 postfix/qmgr[16604]: E4659FE249: removed
Dec 28 13:41:31 postfix/local[17079]: 22A90FE24A: to=<user1@first.com>, orig_to=<user2@second.com>, relay=local, delay=0.24, delays=0.08/0/0/0.15, dsn=5.1.1, sta$
Dec 28 13:41:31 postfix/cleanup[17078]: 5C7D7FE24D: message-id=<20081228124131.5C7D7FE24D@r16648.ovh.net>
Dec 28 13:41:31 postfix/qmgr[16604]: 5C7D7FE24D: from=<>, size=3658, nrcpt=1 (queue active)
Dec 28 13:41:31 postfix/bounce[17080]: 22A90FE24A: sender non-delivery notification: 5C7D7FE24D
Dec 28 13:41:31 postfix/qmgr[16604]: 22A90FE24A: removed
Dec 28 13:41:31 postfix/smtp[17081]: 5C7D7FE24D: host c.mx.mail.yahoo.com[216.39.53.3] refused to talk to me: 421 Message from (91.121.203.172) temporarily deferred$
Dec 28 13:41:32 postfix/smtp[17081]: 5C7D7FE24D: to=<>, relay=b.mx.mail.yahoo.com[66.196.97.250]:25, delay=1.2, delays=0.13/0.01/0.45/0.56, dsn=2.0.$
Dec 28 13:41:32 postfix/qmgr[16604]: 5C7D7FE24D: removed
Plus, if I ask for a redirection to a normal Gmail address, it works fine.

But it doens't work with a Google Apps account with MX configured on the server. It seems the server looks for the Google Apps account (user1@first.com) on the the server, in the undeliverd mail :
Code:
<user1@first.com> (expanded from <user2@second.com>): unknown user: "user1"

Last edited by xelios; 20th January 2009 at 02:06.
Reply With Quote
  #5  
Old 29th December 2008, 12:49
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
Dec 28 13:41:31 postfix/smtp[17081]: 5C7D7FE24D: host c.mx.mail.yahoo.com[216.39.53.3] refused to talk to me: 421 Message from (91.121.203.172) temporarily deferred$
Please make sure your server isn't blacklisted: http://mxtoolbox.com/blacklists.aspx
__________________
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
  #6  
Old 29th December 2008, 12:57
xelios xelios is offline
Junior Member
 
Join Date: Dec 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Checked. No, it isn't blacklisted...
Reply With Quote
  #7  
Old 30th December 2008, 12:53
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

Do your email domains have SPF records? Does your mail server have a PTR record?
__________________
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
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
DNS stop working MZH General 3 22nd February 2008 11:10
SuSE + Postfix = some mails get lost v8hadas Installation/Configuration 4 29th November 2007 21:29
ISPConfig - receivng mails from external not working gallen Server Operation 1 30th November 2006 09:17
spamassassin stop working after woody to sarge update shark_tico Server Operation 1 19th October 2006 14:01
Sending mails to remote domains is not working. nandhu HOWTO-Related Questions 17 20th February 2006 20:27


All times are GMT +2. The time now is 20:57.


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