#1  
Old 7th April 2009, 12:13
neilsaab neilsaab is offline
Junior Member
 
Join Date: Oct 2008
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
Default Email Issues

Hi guys,

I am having some email issues with my installation of ispconfig 2.2.25. If I send an email to any of my users on any of my domains, the email obviously reaches the server but I then get an error message returned from my server.
I know this has to be a simple config error, almost certainly on my part, but I really want to get this sorted out please.

This is what I get from the server.

HTML Code:
This is the mail system at host cpc2-norw3-0-0-cust15.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                   The mail system

<web6_thorpelegion@cpc2-norw3-0-0-cust15.localdomain> (expanded from
    <neil@thorpe-britishlegion.org.uk>): Host or domain name not found. Name
    service error for name=cpc2-norw3-0-0-cust15.localdomain type=A: Host not
    found
HTML Code:
Reporting-MTA: dns; cpc2-norw3-0-0-cust15
X-Postfix-Queue-ID: 7FE8EF504DC
X-Postfix-Sender: rfc822; neil.cordner@ntlworld.com
Arrival-Date: Tue,  7 Apr 2009 11:02:58 퍝㐅Ⓟ詶ꕅ꘧Ꞷ럜끹뺭蚊垠誉?춧ꊼ㟓䜮닝禖蜚闚♪⧎긨⊝ꥑ秈ꦉ: rfc822;neil@thorpe-britishlegion.org.uk
Action: failed
Status: 5.4.4
Diagnostic-Code: X-Postfix; Host or domain name not found. Name service error
    for name=cpc2-norw3-0-0-cust15.localdomain type=A: Host not found
Any help or pointers in the right direction would be greatly appreciated.

Neil
Reply With Quote
Sponsored Links
  #2  
Old 8th April 2009, 12:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Do you use cpc2-norw3-0-0-cust15.localdomain in /etc/postfix/main.cf? What are the outputs of
Code:
hostname
and
Code:
hostname -f
? What's in /etc/hosts?
__________________
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
  #3  
Old 8th April 2009, 15:59
neilsaab neilsaab is offline
Junior Member
 
Join Date: Oct 2008
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
Do you use cpc2-norw3-0-0-cust15.localdomain in /etc/postfix/main.cf? What are the outputs of
Code:
hostname
and
Code:
hostname -f
? What's in /etc/hosts?
Thanks for the response.

The strange hostname is due to Virgin. In order to use a static IP they insist on setting the hostname via dhcp.

Both hostname and hostname -f give
HTML Code:
cpc2-norw3-0-0-cust15.pete.cable.ntl.com
/etc/postfix/main.cf has
HTML Code:
myhostname = cpc2-norw3-0-0-cust15
This is /etc/hosts
HTML Code:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost
82.22.68.16             cpc2-norw3-0-0-cust15.pete.cable.ntl.com cpc2-norw3-0-0-cust15
::1             localhost6.localdomain6 localhost6
Reply With Quote
  #4  
Old 9th April 2009, 14:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Please run
Code:
postconf -e 'myhostname = cpc2-norw3-0-0-cust15.pete.cable.ntl.com'
/etc/init.d/postfix restart
__________________
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
The Following User Says Thank You to falko For This Useful Post:
neilsaab (9th April 2009)
  #5  
Old 9th April 2009, 18:00
neilsaab neilsaab is offline
Junior Member
 
Join Date: Oct 2008
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
 
Default

Thanks Falko, worked a treat. I knew it would be something silly I'd missed.
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
hotmail rejects outgoing email nzimas Server Operation 3 1st May 2009 03:39
Edgy Email Relay Access Denied Issues 3DPeruna HOWTO-Related Questions 2 19th January 2007 23:18
Email Issues rmarini Installation/Configuration 1 8th August 2006 17:41
Email issues Digiorb Installation/Configuration 3 9th July 2006 13:31
email forwarding locally consumes all resources rdells General 20 1st May 2006 19:43


All times are GMT +2. The time now is 00:42.


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