#1  
Old 19th June 2007, 11:04
seangee seangee is offline
Junior Member
 
Join Date: Jun 2007
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
Default Almost there (Mail Delivery)

Hi all

I am almost there. Last night I (briefly) switched my router to deliver SMTP traffic to the new server.

My mail delivery works as follows.
1. mydomain.co.uk is hosted by one company who also manage the DNS entries.
2. I have created an entry for mail.mydomain.co.uk which points at my external static ip address.
3. I have set an auto forward for all mail to the domain to an address hosted by my ISP (sean@myisp.co.uk) - this is to give me an effective backup server.
4. My ISP then delivers all mail for %@myisp.co.uk to my static IP address by SMTP.

This works fine on my current server and I have compared the postfix settings between the two. The mail hits my server but then fails to get delivered. In this log entry the ip address is the external address for my router - i.e the static address for mail.mydomain.co.uk. I have set ispconfig to not publish DNS info. I have also created an entry in my hosts file 192.168.0.202 mail.mydomain.co.uk

Code:
Jun 19 09:09:57 deb-server postfix/qmgr[3453]: 39841E7D11: from=<my_address@mac.com>, size=1433, nrcpt=1 (queue active)
Jun 19 09:09:58 deb-server postfix/smtp[14025]: connect to mail.mydomain.co.uk[nnn.nn.nnn.nnn]: Connection refused (port 25)
Jun 19 09:09:58 deb-server postfix/smtp[14025]: 39841E7D11: to=<mydomain.co.uk_sean@mail.mydomain.co.uk>, orig_to=<sean@sean.myisp.co.uk>, relay=none, delay=35124, delays=35124/0.08/0.04/0, dsn=4.4.1, status=deferred (connect to mail.mydomain.co.uk[nnn.nn.nnn.nnn]: Connection refused)
I would appreciate any pointers on where to go from here.
Reply With Quote
Sponsored Links
  #2  
Old 19th June 2007, 11:17
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 34,647
Thanks: 794
Thanked 5,002 Times in 3,911 Posts
Default

Please make sure that mail.mydomain.co.uk is listed in /etc/postfix/local-host-names and that the IP for mail.mydomain.co.uk is the IP of your server.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 19th June 2007, 17:53
seangee seangee is offline
Junior Member
 
Join Date: Jun 2007
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thanks Tim.

I have added the entry to /etc/postfix/local-host-names. I assume that when you say "the IP for mail.mydomain.co.uk is the IP of your server." you mean the external IP of the router.

I'll give it a test late tonight to minimize potentially lost mails ...
Reply With Quote
  #4  
Old 19th June 2007, 21:26
seangee seangee is offline
Junior Member
 
Join Date: Jun 2007
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

Cool - everything is working now - so will probably migrate to the new server later in the week, so that I can rebuild the physical server.

Unless of course I just move the VM off my Vista PC onto a standard Linux installation

Thanks for the help along the way - hopefully I can start contributing soon
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 & mail forwarding loop varnik Server Operation 21 9th December 2008 15:13
Postfix reject connections gabrix Server Operation 27 25th January 2007 08:37
postfix-tls sasl2 mysql courier-authmysql gabrix Server Operation 4 12th January 2007 22:09
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 23:12.


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