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 27th November 2006, 07:38
safoo safoo is offline
Junior Member
 
Join Date: Nov 2006
Posts: 20
Thanks: 2
Thanked 0 Times in 0 Posts
Default 550-The recipient cannot be verified email problem

Seems to be a simple problem, but I can not figure this one out:

I have a Ubuntu server setup using the perfect setup for 6.06 and with Ispconfig. This server's hostname is server.anaselectronics.com.

anaselectronics.com is on the main IP of the system. On a 2nd IP, I have asuslaptops.net. Both of these sites are setup through Ispconfig. I can send and receive emails to both domains successfully from:
- from email address of one domain to the other domain
- from php scripts on the server using the php mail() function
- from my gmail account

The problem I have occurs when sending email from a different server housed at a different datacenter. The hostname is server.nyxmotorsports.com and the domain being used for sending the email is case-mod.com.

When sending email from something@case-mod.com to anything@anaselectronics.com, the emails go through just fine.

When sending email from something@case-mod.com to anything@asuslaptops.net, I get the following errors:

If sending from thunderbird, it says
Quote:
An error occurred while sending mail. The mail server responded: "The recipient cannot be verified. Please check all recipients of this message to verify they are valid." Please verify that your email address is correct in your Mail preferences and try again.
If sending mail from telnet mail.case-mod.com 25, it accepts RCPT TO: <anything@anaselectronics.com>, but RCPT TO:<anything@asuslaptops.net> returns
Quote:
550-"The recipient cannot be verified. Please check all recipients of this
550 message to verify they are valid."
If sending from the php mail() function using a php script on case-mod.com server, emails sent to anything@anaselectronics.com go through. Any emails sent to anything@asuslaptops.net do not come through and bounce back after few hours:
Quote:
A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:

anything@asuslaptops.net
Unrouteable address
So basically, it seems the site setup on the main IP of the server can receive emails without any problems. The problem I am having here seems to occur on a domain that is setup on a secondary IP in Ispconfig.

Thanks in advance for any help.

Last edited by safoo; 27th November 2006 at 21:10.
Reply With Quote
Sponsored Links
  #2  
Old 27th November 2006, 07:52
safoo safoo is offline
Junior Member
 
Join Date: Nov 2006
Posts: 20
Thanks: 2
Thanked 0 Times in 0 Posts
Default

var/log/mail.log shows the following just after trying to send an email to anything@asuslaptops.net from thunderbird:

Quote:
Nov 26 22:47:42 server postfix/qmgr[697]: 736C53127D7: from=<root@www.case-mod.com>, size=790, nrcpt=1 (queue active)
Nov 26 22:47:42 server postfix/qmgr[697]: 0A1883127CE: from=<root@www.case-mod.com>, size=790, nrcpt=1 (queue active)
Nov 26 22:47:42 server postfix/qmgr[697]: 055763127D6: from=<root@www.case-mod.com>, size=790, nrcpt=1 (queue active)
Nov 26 22:47:42 server postfix/qmgr[697]: E10353127DA: from=<root@www.case-mod.com>, size=790, nrcpt=1 (queue active)
Nov 26 22:47:45 server postfix/smtp[717]: certificate verification failed for www.case-mod.com: num=18:self signed certificate
Nov 26 22:47:45 server postfix/smtp[717]: certificate peer name verification failed for www.case-mod.com: CommonName mis-match: aet.rackshack.net
Nov 26 22:47:45 server postfix/smtp[705]: certificate verification failed for www.case-mod.com: num=18:self signed certificate
Nov 26 22:47:45 server postfix/smtp[713]: certificate verification failed for www.case-mod.com: num=18:self signed certificate
Nov 26 22:47:45 server postfix/smtp[705]: certificate peer name verification failed for www.case-mod.com: CommonName mis-match: aet.rackshack.net
Nov 26 22:47:45 server postfix/smtp[713]: certificate peer name verification failed for www.case-mod.com: CommonName mis-match: aet.rackshack.net
Nov 26 22:47:45 server postfix/smtp[721]: certificate verification failed for www.case-mod.com: num=18:self signed certificate
Nov 26 22:47:45 server postfix/smtp[721]: certificate peer name verification failed for www.case-mod.com: CommonName mis-match: aet.rackshack.net
Nov 26 22:47:45 server postfix/smtp[713]: certificate verification failed for www.case-mod.com: num=18:self signed certificate
Nov 26 22:47:45 server postfix/smtp[705]: certificate peer name verification failed for www.case-mod.com: CommonName mis-match: aet.rackshack.net
Nov 26 22:47:45 server postfix/smtp[713]: certificate peer name verification failed for www.case-mod.com: CommonName mis-match: aet.rackshack.net
Nov 26 22:47:45 server postfix/smtp[721]: certificate verification failed for www.case-mod.com: num=18:self signed certificate
Nov 26 22:47:45 server postfix/smtp[721]: certificate peer name verification failed for www.case-mod.com: CommonName mis-match: aet.rackshack.net
Nov 26 22:47:45 server postfix/smtp[717]: Server certificate could not be verified
Nov 26 22:47:45 server postfix/smtp[705]: Server certificate could not be verified
Nov 26 22:47:45 server postfix/smtp[713]: Server certificate could not be verified
Nov 26 22:47:45 server postfix/smtp[721]: Server certificate could not be verified
Nov 26 22:47:45 server postfix/smtp[717]: 055763127D6: to=<root@www.case-mod.com>, orig_to=<root>, relay=www.case-mod.com[216.40.245.93], delay=318162, status=deferred (host www.case-mod.com[216.40.245.93] said: 451 Temporary local problem - please try later (in reply to RCPT TO command))Nov 26 22:47:45 server postfix/smtp[705]: 736C53127D7: to=<root@www.case-mod.com>, orig_to=<root>, relay=www.case-mod.com[216.40.245.93], delay=231761, status=deferred (host www.case-mod.com[216.40.245.93] said: 451 Temporary local problem - please try later (in reply to RCPT TO command))Nov 26 22:47:45 server postfix/smtp[721]: E10353127DA: to=<root@www.case-mod.com>, orig_to=<root>, relay=www.case-mod.com[216.40.245.93], delay=404562, status=deferred (host www.case-mod.com[216.40.245.93] said: 451 Temporary local problem - please try later (in reply to RCPT TO command))Nov 26 22:47:45 server postfix/smtp[713]: 0A1883127CE: to=<root@www.case-mod.com>, orig_to=<root>, relay=www.case-mod.com[216.40.245.93], delay=145362, status=deferred (host www.case-mod.com[216.40.245.93] said: 451 Temporary local problem - please try later (in reply to RCPT TO command))
Another question: currently the MX records for asuslaptops.net points to it's IP address. Should these point to anaselectronics.com instead?

What should be in /etc/mailname...I currently have "www.anaselectronics.com"

Last edited by safoo; 27th November 2006 at 20:59.
Reply With Quote
  #3  
Old 27th November 2006, 21:01
safoo safoo is offline
Junior Member
 
Join Date: Nov 2006
Posts: 20
Thanks: 2
Thanked 0 Times in 0 Posts
Default another question

Do you I need to list additional IP's in /etc/hosts. Currently I have:

Code:
127.0.0.1       localhost.localdomain localhost
8.14.145.114    server.anaselectronics.com server
Do I need to add 8.14.145.115 asuslaptops.net asuslaptops?
Reply With Quote
  #4  
Old 28th November 2006, 10:39
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,488
Thanks: 813
Thanked 5,259 Times in 4,123 Posts
Default

Is asuslaptops.net registered in DNS and does it have a A-Record that points to your server IP address?

Quote:
Another question: currently the MX records for asuslaptops.net points to it's IP address. Should these point to anaselectronics.com instead?
Yes.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 28th November 2006, 16:23
safoo safoo is offline
Junior Member
 
Join Date: Nov 2006
Posts: 20
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till
Is asuslaptops.net registered in DNS and does it have a A-Record that points to your server IP address?
The main IP of the server is 8.14.146.114. I have a 2nd IP of 8.14.146.115.

In Ispconfig, anaselectronics.com has IP set to 8.14.145.114 and asuslaptops.net is set to 8.14.146.115

In DNS, which is set through my registrar, the A and MX records for asuslaptops.net both point to 8.14.146.115.

So you are saying that the A record should point to 8.14.146.115 and the MX record point to 8.14.146.114?
Reply With Quote
  #6  
Old 28th November 2006, 18:51
safoo safoo is offline
Junior Member
 
Join Date: Nov 2006
Posts: 20
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Ok...I have changed the MX record for asuslaptops.net. It doesn't solve my problem of the emails being rejected when emailed from case-mod.com.

As i mentioned, sending from gmail works just right. What I think it happening is that my postfix is rejecting email from case-mod.com perhaps due to some setting it doesn't like for email received from case-mod.com . Any way to find out why this is happening?

Last edited by safoo; 28th November 2006 at 21:06.
Reply With Quote
  #7  
Old 29th November 2006, 10:47
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,488
Thanks: 813
Thanked 5,259 Times in 4,123 Posts
Default

Quote:
Nov 26 22:47:45 server postfix/smtp[717]: 055763127D6: to=<root@www.case-mod.com>, orig_to=<root>, relay=www.case-mod.com[216.40.245.93], delay=318162, status=deferred (host www.case-mod.com[216.40.245.93] said: 451 Temporary local problem - please try later (in reply to RCPT TO command))Nov 26 22:47:45 server postfix/smtp[705]: 736C53127D7: to=<root@www.case-mod.com>, orig_to=<root>, relay=www.case-mod.com[216.40.245.93], delay=231761, status=deferred (host www.case-mod.com[216.40.245.93] said: 451 Temporary local problem - please try later (in reply to RCPT TO command))
The configuration problem for this error is on case-mod.com. Is case-mod.com hosted on your server?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 29th November 2006, 19:55
safoo safoo is offline
Junior Member
 
Join Date: Nov 2006
Posts: 20
Thanks: 2
Thanked 0 Times in 0 Posts
 
Default

Thanks for the direction, Till.

After more reading, I saw some mention of /etc/localdomains file. It seems on case-mod.com server, it showed asuslaptops.net as a localdomain. Deleting that entry from cpanel seems to have fixed the issue.

You were correct that it was a problem on that server.

Last edited by safoo; 29th November 2006 at 21:06.
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
Postfix Email Delivery Problem sedat1903 HOWTO-Related Questions 2 22nd December 2008 11:19
Email aliases problem rosa hsiao General 12 21st September 2006 16:01
Weird problem when sending email from a PHP form. edge Installation/Configuration 5 5th September 2006 16:57
Problem with 'CC' & 'BCC' email not being delivered. snowfly HOWTO-Related Questions 10 20th July 2006 12:36
ISPConfig 2.2.0 problem with email addresses DataJet General 1 29th March 2006 13:29


All times are GMT +2. The time now is 05:38.


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