Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 27th October 2007, 21:03
dbrooke dbrooke is offline
Junior Member
 
Join Date: Oct 2007
Location: wisconsin, USA
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default Another Mail Delivery Issue - Ubuntu Perfect Server 7.1x

Hello,

I installed the above mentioned earlier. The install looks
pretty good, I can connect to my account created with ISPConfig
just fine with a mail client
etc... however, when sending mail to my account.. it appears
it never gets there.

Right now, this is just an internal account using local
hostnames etc...

the local address should be: mail.elatia.net.. however,
the logs look like it's attempting to post to mail.elatia.com.
I must have munged something up (switched out the .net for the .com
somewhere during setup). Here is a /var/log/mail.log snippet:

Oct 23 22:00:08 ubuntu postfix/smtp[27356]: connect to mail.elatia.com[69.25.47.164]: No route to host (port 25)
Oct 23 22:00:38 ubuntu postfix/smtp[27356]: connect to mail.elatia.com[66.150.161.57]: Connection timed out (port 25)
Oct 23 22:00:38 ubuntu postfix/smtp[27356]: 27F223FA52: to=<root@mail.elatia.com>, relay=none, delay=37, delays=0.01/0/37/0, dsn=4.4.1, status=deferred (connect to mail.elatia.com[66.150.161.57]: Connection timed out)


Can someone help me get this configured to the right domain? This
is my first linux server install, so I apologize if this is a simple
fix.

Thanks,
Donovan
Reply With Quote
Sponsored Links
  #2  
Old 27th October 2007, 22:15
dbrooke dbrooke is offline
Junior Member
 
Join Date: Oct 2007
Location: wisconsin, USA
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Found mail.elatia.com
in /etc/mailname

I vim'ed to mail.elatia.net

I then reloaded the config file for postfix.

Still the same error in /var/log/mail.log:

Oct 27 14:06:48 ubuntu postfix/smtp[21695]: connect to mail.elatia.com[66.150.161.57]: Connection timed out (port 25)
Oct 27 14:06:48 ubuntu postfix/smtp[21695]: E5A233FA5C: to=<root@mail.elatia.com>, relay=none, delay=311807, delays=311755/0.08/51/0, dsn=4.4.1, status=deferred (connect to mail.elatia.com[66.150.161.57]: Connection timed out)

I also restarted postfix.. and no go.

Could this be in another app? I grepped the dovecot directory for 'elatia.com'.. and couldn't find anything.

TIA,
Donovan
Reply With Quote
  #3  
Old 28th October 2007, 13:06
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,490
Thanks: 835
Thanked 5,533 Times in 4,351 Posts
Default

Please post the output of:

netstat -tap

and:

iptables -L

I guess that mail.elatia.com is your local server, were you installed ISPConfig?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 28th October 2007, 20:07
dbrooke dbrooke is offline
Junior Member
 
Join Date: Oct 2007
Location: wisconsin, USA
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till
Please post the output of:

netstat -tap
root@ubuntu:/home/# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:mysql *:* LISTEN 4156/mysqld
tcp 0 0 *:81 *:* LISTEN 17368/ispconfig_htt
tcp 0 0 ubuntu.elatia.ne:domain *:* LISTEN 9663/named
tcp 0 0 localhost.locald:domain *:* LISTEN 9663/named
tcp 0 0 localhost.loostgresql *:* LISTEN 4232/postgres
tcp 0 0 *:smtp *:* LISTEN 30328/master
tcp 0 0 localhost.localdoma:953 *:* LISTEN 9663/named
tcp 1261 0 ubuntu.elatia.net:43671 unknown.sagonet.net:www CLOSE_WAIT 17550/freshclam
tcp 1261 0 ubuntu.elatia.net:43672 unknown.sagonet.net:www CLOSE_WAIT 17550/freshclam
tcp6 0 0 *:imaps *:* LISTEN 4304/couriertcpd
tcp6 0 0 *op3s *:* LISTEN 4344/couriertcpd
tcp6 0 0 *op3 *:* LISTEN 4322/couriertcpd
tcp6 0 0 *:imap2 *:* LISTEN 4284/couriertcpd
tcp6 0 0 *:www *:* LISTEN 3453/apache2
tcp6 0 0 *:ftp *:* LISTEN 30295/proftpd: (acc
tcp6 0 0 *:ssh *:* LISTEN 4062/sshd
tcp6 0 0 *:smtp *:* LISTEN 30328/master
tcp6 0 0 ip6-localhost:953 *:* LISTEN 9663/named
tcp6 0 0 *:https *:* LISTEN 3453/apache2
tcp6 0 0 ubuntu.elatia.net:ssh ::ffff:10.0.1.2%8:51529 ESTABLISHED9188/sshd:

Quote:
Originally Posted by till

and:

iptables -L

I guess that mail.elatia.com is your local server, were you installed ISPConfig?
root@ubuntu:/home/# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination


--

Hmmm, still not getting mail *to* my account.??

--


End of mail log:
--
=deferred (connect to mail.elatia.com[66.150.161.57]: Connection timed out)Oct 28 12:49:04 ubuntu postfix/qmgr[30338]: 79FB53FA66: from=<>, size=2271, nrcpt=1 (queue active)Oct 28 12:49:37 ubuntu postfix/smtp[9081]: connect to mail.elatia.com[69.25.47.164]: Connection timed out (port 25)Oct 28 12:50:07 ubuntu postfix/smtp[9081]: connect to mail.elatia.com[66.150.161.57]: Connection timed out (port 25)Oct 28 12:50:07 ubuntu postfix/smtp[9081]: 79FB53FA66: to=<root@mail.elatia.com>, relay=none, delay=354005, delays=353942/0.02/64/0, dsn=4.4.1, status=deferred (connect to mail.elatia.com[66.150.161.57]: Connection timed out)Oct 28 12:54:04 ubuntu postfix/qmgr[30338]: 27F223FA52: from=<>, size=2270, nrcpt=1 (queue active)Oct 28 12:54:07 ubuntu postfix/smtp[9149]: connect to mail.elatia.com[66.150.161.57]: No route to host (port 25)Oct 28 12:54:37 ubuntu postfix/smtp[9149]: connect to mail.elatia.com[69.25.47.164]: Connection timed out (port 25)Oct 28 12:54:38 ubuntu postfix/smtp[9149]: 27F223FA52: to=<root@mail.elatia.com>, relay=none, delay=399276, delays=399243/0.02/33/0, dsn=4.4.1, status=deferred (connect to mail.elatia.com[69.25.47.164]: Connection timed out)Oct 28 13:02:16 ubuntu courierpop3login: Connection, ip=[::ffff:10.0.1.2]Oct 28 13:02:19 ubuntu courierpop3login: LOGIN, user=web2_dbrooke, ip=[::ffff:10.0.1.2]Oct 28 13:02:19 ubuntu courierpop3login: LOGOUT, user=web2_dbrooke, ip=[::ffff:10.0.1.2], top=0, retr=0, rcvd=12, sent=39, time=0Oct 28 13:04:04 ubuntu postfix/qmgr[30338]: 8EEB93FA49: from=<>, size=2270, nrcpt=1 (queue active)Oct 28 13:04:04 ubuntu postfix/qmgr[30338]: 656CA3FA61: from=<>, size=2270, nrcpt=1 (queue active)(END)
--


Thanks,
Donovan
Reply With Quote
  #5  
Old 29th October 2007, 09:23
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,490
Thanks: 835
Thanked 5,533 Times in 4,351 Posts
Default

Is your server behind a router? If yes, make sure that you opened port 25 on your router and forwarded it to your server.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 29th October 2007, 21:33
dbrooke dbrooke is offline
Junior Member
 
Join Date: Oct 2007
Location: wisconsin, USA
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till
Is your server behind a router? If yes, make sure that you opened port 25 on your router and forwarded it to your server.
Yes, but this mail server is a LAN server only right now.. In otherwords, I'm trying to send mail to the server within the LAN via /etc/hosts listings.

I think I may have found the reason why I'm not getting mail to the account.

It appears that ISPconfig created an alias that rewrites dbrooke@elatia.net to
web2_dbrooke@ubuntu.elatia.net, but I think it should be "web2_dbrooke@elatia.net". Is there a place in ISPConfig to fix this.. or do have to fix the alias individually?

If individually, some guidance would be appreciated.

Below is the recent /var/log/mail.log to where a postfix talklist guy suggested the problem above: (from a postfix reload and restart)

--
Oct 29 13:11:11 ubuntu postfix/master[1802]: daemon started -- version 2.4.5, configuration /etc/postfix
Oct 29 13:11:12 ubuntu postfix/qmgr[1804]: BE1773FA80: from=<>, size=2999, nrcpt=1 (queue active)
Oct 29 13:11:12 ubuntu postfix/qmgr[1804]: 341D03FA54: from=<lists@euca.us>, size=5173, nrcpt=1 (queue active)
Oct 29 13:11:12 ubuntu postfix/qmgr[1804]: F37E43FA5D: from=<>, size=2990, nrcpt=1 (queue active)
Oct 29 13:11:12 ubuntu postfix/qmgr[1804]: 91C993FA5E: from=<>, size=2990, nrcpt=1 (queue active)
Oct 29 13:11:12 ubuntu postfix/qmgr[1804]: 536283FA85: from=<>, size=2830, nrcpt=1 (queue active)
Oct 29 13:11:12 ubuntu postfix/qmgr[1804]: ECF433FA7C: from=<>, size=2990, nrcpt=1 (queue active)
Oct 29 13:11:31 ubuntu postfix/smtpd[1818]: connect from unknown[10.0.1.2]
Oct 29 13:11:31 ubuntu postfix/smtpd[1818]: 3936B3FA66:client=unknown[10.0.1.2]
Oct 29 13:11:31 ubuntu postfix/cleanup[1821]: 3936B3FA66: message-id=<47262252.1080104@euca.us>
Oct 29 13:11:31 ubuntu postfix/qmgr[1804]: 3936B3FA66: from=<lists@euca.us>, size=881, nrcpt=1 (queue active)
Oct 29 13:11:31 ubuntu postfix/smtpd[1818]: disconnect from unknown[10.0.1.2]
Oct 29 13:11:31 ubuntu postfix/smtp[1822]: 3936B3FA66: to=<web2_dbrooke@ubuntu.elatia.net>, orig_to=<dbrooke@elatia.net>, relay=none, delay=0.09, delays=0.07/0.02/0/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=ubuntu.elatia.net type=AAAA: Host not found)
Oct 29 13:11:31 ubuntu postfix/cleanup[1821]: 4DF9C3FA92: message-id=<20071029181131.4DF9C3FA92@mail.elatia.net>
Oct 29 13:11:31 ubuntu postfix/qmgr[1804]: 4DF9C3FA92: from=<>, size=2830, nrcpt=1 (queue active)
Oct 29 13:11:31 ubuntu postfix/bounce[1823]: 3936B3FA66: sender non-delivery notification: 4DF9C3FA92
Oct 29 13:11:31 ubuntu postfix/qmgr[1804]: 3936B3FA66: removed
Oct 29 13:11:35 ubuntu courierpop3login: Connection, ip=[::ffff:10.0.1.2]
Oct 29 13:11:35 ubuntu courierpop3login: LOGIN, user=web2_dbrooke, ip=[::ffff:10.0.1.2]
Oct 29 13:11:35 ubuntu courierpop3login: LOGOUT, user=web2_dbrooke, ip=[::ffff:10.0.1.2], top=0, retr=0, rcvd=12, sent=39, time=0, stls=1Oct 29 13:11:42 ubuntu postfix/smtp[1807]: connect to post.pacific-coast.com[207.67.226.13]: Connection timed out (port 25)(END)
--


Thanks!

Donovan
Reply With Quote
  #7  
Old 29th October 2007, 21:43
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,490
Thanks: 835
Thanked 5,533 Times in 4,351 Posts
Default

Quote:
It appears that ISPconfig created an alias that rewrites dbrooke@elatia.net to
web2_dbrooke@ubuntu.elatia.net, but I think it should be "web2_dbrooke@elatia.net". Is there a place in ISPConfig to fix this.. or do have to fix the alias individually?
There is nothing wrong with that, its the intended behaviour. Make sure that ubuntu.elatia.net is set in DNS or the local hosts file to point to your server.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 29th October 2007, 22:05
dbrooke dbrooke is offline
Junior Member
 
Join Date: Oct 2007
Location: wisconsin, USA
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till
There is nothing wrong with that, its the intended behaviour. Make sure that ubuntu.elatia.net is set in DNS or the local hosts file to point to your server.

This is my /etc/hosts:

root@ubuntu:/home/donovan# less /etc/hosts

127.0.0.1 localhost.localdomain localhost ubuntu.elatia.net
# 127.0.1.1 ubuntu.elatia.net ubuntu
10.0.1.200 ubuntu.elatia.net ubuntu
10.0.1.200 mail.elatia.net Mail
10.0.1.200 ns1.elatia.net ns1
10.0.1.200 ns2.elatia.net ns2


# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback ubuntu.elatia.net
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
/etc/hosts (END)
--

Shouldn't this take care of the routing? It appears the logs indicated that "ubuntu.elatia.net" domain does not exist.. but yet my hosts file above is set.??

Donovan
Reply With Quote
  #9  
Old 30th October 2007, 12:53
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,490
Thanks: 835
Thanked 5,533 Times in 4,351 Posts
Default

Is ubuntu.elatia.net listed in /etc/postfix/local-host-names? If not, add it at the end of the file and restart postfix.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #10  
Old 30th October 2007, 17:23
dbrooke dbrooke is offline
Junior Member
 
Join Date: Oct 2007
Location: wisconsin, USA
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by till
Is ubuntu.elatia.net listed in /etc/postfix/local-host-names? If not, add it at the end of the file and restart postfix.

Well, I've looked at that a bunch of times and the answer is technically, no. However, there was something similar so I didn't think it was an issue... I don't know what the .localdomain thing does. Here is the file:

--
localhost
ubuntu.elatia.net.localdomain
localhost.ubuntu.elatia.net.localdomain
localhost.elatia.net.localdomain
localhost.localdomain
dbrooke.elatia.net
elatia.net
---

I'll try putting just ubuntu.elatia.net below that.

thanks,
Donovan
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
Filtering emails using Spamassassin and Clamav for Exchange 2000 Server Rocky Server Operation 19 11th March 2008 09:27
Trying to install - Ubuntu 6.xx LTS for a mail server Happy Installation/Configuration 8 18th August 2007 12:44
Setting up a backup mail server setup with two installations of ISPConfig zitch Tips/Tricks/Mods 7 30th December 2006 11:07
About installing ddclient satimis Server Operation 32 21st December 2006 04:51
Request: Perfect Ubuntu 6.06 LTS - Automatic LAMP Server Installation (co-location) Anim Suggest HOWTO 19 6th June 2006 12:30


All times are GMT +2. The time now is 08:26.


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