HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   email server setup issue (http://www.howtoforge.com/forums/showthread.php?t=60777)

tenchi21 3rd March 2013 05:49

email server setup issue
 
I recently decided to start hosting my own sites again like I used to. But I have ran into a problem and can not figure it out on my own so far. I got a final data dump from my old host but they used cpanel instead of ispconfig so I can't do a quick import. What I need to know how to do is

they used details like this for emails

UserName@website.tld

and my ISPconfig 3 keeps making it as

UserName@mail.website.tld

even when I try to change it it seems to revert back to mail.website.tld.


any ideas ?

James

till 4th March 2013 12:36

ISPConfig uses UserName@website.tld and not UserName@mail.website.tld as smtp, pop3 and imap username. My guess is that you use wenmail and missed to set the correct sender address under option in squirrelmail.

tenchi21 4th March 2013 18:04

what I have set are

ISPConfig 3 Settings
Mail Domain
domain: domain.tld
active: check

Mailbox
Email: username @ domain.tld
enable receiving: check

Thunderbird

IMAP Mail Server
Server name: mail.domain.tld
user name: UserName@domain.tld

when i try to receive or send mail from that account it times out or bounces back.

edit: I just logged into the webmail page and tried to send a test email from that account to a generic yahoo account of mine and it failed. says "ERROR: Message not sent. Server replied: " and nothing else after that.

tenchi21 5th March 2013 20:34

so does this mean that know one knows the answer ? on how to fix this ?

Parsec 6th March 2013 06:35

Not enough info to decipher

You need to watch your mail.log next time you try and send one from webmail and see what the mailserver does with it. What the mailserver says is important.

tenchi21 11th March 2013 22:03

okay here is my mail.log details from the recent tests

Quote:

Mar 11 14:36:22 server1 postfix/smtp[4482]: 11105C0D80: to=<GenericEmail@yahoo.com>, relay=none, delay=40685, delays=40534/0.13/150/0, dsn=4.4.1, status=deferred (connect to mta6.am0.yahoodns.net[98.139.54.60]:25: Connection timed out)
Mar 11 14:40:01 server1 postfix/smtpd[4602]: connect from localhost.localdomain[127.0.0.1]
Mar 11 14:40:01 server1 dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
Mar 11 14:40:01 server1 dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
Mar 11 14:40:01 server1 postfix/smtpd[4602]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Mar 11 14:40:01 server1 postfix/smtpd[4602]: disconnect from localhost.localdomain[127.0.0.1]
Mar 11 14:45:02 server1 dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
Mar 11 14:45:02 server1 postfix/smtpd[4675]: connect from localhost.localdomain[127.0.0.1]
Mar 11 14:45:02 server1 dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
Mar 11 14:45:02 server1 postfix/smtpd[4675]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Mar 11 14:45:02 server1 postfix/smtpd[4675]: disconnect from localhost.localdomain[127.0.0.1]
Mar 11 14:50:02 server1 postfix/smtpd[4747]: connect from localhost.localdomain[127.0.0.1]
Mar 11 14:50:02 server1 dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
Mar 11 14:50:02 server1 dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
Mar 11 14:50:02 server1 postfix/smtpd[4747]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Mar 11 14:50:02 server1 postfix/smtpd[4747]: disconnect from localhost.localdomain[127.0.0.1]
Mar 11 14:53:52 server1 postfix/qmgr[1816]: ED044C0D82: from=<LocalEmail@domain.tld>, size=1312, nrcpt=2 (queue active)
Mar 11 14:54:22 server1 postfix/smtp[4791]: connect to mta5.am0.yahoodns.net[66.94.237.139]:25: Connection timed out
Mar 11 14:54:52 server1 postfix/smtp[4791]: connect to mta5.am0.yahoodns.net[66.94.238.147]:25: Connection timed out
Mar 11 14:55:01 server1 postfix/smtpd[4826]: connect from localhost.localdomain[127.0.0.1]
Mar 11 14:55:01 server1 dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
Mar 11 14:55:01 server1 dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
Mar 11 14:55:01 server1 postfix/smtpd[4826]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Mar 11 14:55:01 server1 postfix/smtpd[4826]: disconnect from localhost.localdomain[127.0.0.1]
Mar 11 14:55:23 server1 postfix/smtp[4791]: connect to mta5.am0.yahoodns.net[98.138.112.38]:25: Connection timed out
Mar 11 14:55:53 server1 postfix/smtp[4791]: connect to mta7.am0.yahoodns.net[74.6.136.244]:25: Connection timed out
Mar 11 14:56:23 server1 postfix/smtp[4791]: connect to mta7.am0.yahoodns.net[98.136.216.26]:25: Connection timed out
Mar 11 14:56:23 server1 postfix/smtp[4791]: ED044C0D82: to=<GenericEmail@yahoo.com>, relay=none, delay=41342, delays=41192/0.09/150/0, dsn=4.4.1, status=deferred (connect to mta7.am0.yahoodns.net[98.136.216.26]:25: Connection timed out)

Parsec 11th March 2013 23:29

Code:

Mar 11 14:56:23 server1 postfix/smtp[4791]: ED044C0D82: to=<GenericEmail@yahoo.com>, relay=none, delay=41342, delays=41192/0.09/150/0, dsn=4.4.1, status=deferred (connect to mta7.am0.yahoodns.net[98.136.216.26]:25: Connection timed out)
Something wrong with your internet setup, routing or the interface setting in postfix. Try pinging that server from the console, if it responds then it's possible it's a postfix interface issue. Also try sendng email to somewhere else.

tenchi21 11th March 2013 23:43

from my personal computer
$ ping 98.136.216.26
PING 98.136.216.26 (98.136.216.26) 56(84) bytes of data.
64 bytes from 98.136.216.26: icmp_req=1 ttl=50 time=79.6 ms
64 bytes from 98.136.216.26: icmp_req=2 ttl=50 time=79.1 ms
64 bytes from 98.136.216.26: icmp_req=3 ttl=50 time=80.6 ms
64 bytes from 98.136.216.26: icmp_req=4 ttl=50 time=79.0 ms
--- 98.136.216.26 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 79.011/79.624/80.658/0.679 ms

from the server
$ ping 98.136.216.26
PING 98.136.216.26 (98.136.216.26) 56(84) bytes of data.
64 bytes from 98.136.216.26: icmp_req=1 ttl=50 time=80.7 ms
64 bytes from 98.136.216.26: icmp_req=2 ttl=50 time=95.5 ms
64 bytes from 98.136.216.26: icmp_req=3 ttl=50 time=95.9 ms
64 bytes from 98.136.216.26: icmp_req=4 ttl=50 time=79.4 ms
--- 98.136.216.26 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 79.429/87.904/95.939/7.840 ms

Parsec 11th March 2013 23:59

/etc/postfic/main.cf - What's the values for:

inet_interfaces
inet_protocols
mynetworks

And.. you wouldn't happen to be on an intenet connection who's provider blocks port 25 would you?
Check by using at the console:

telnet mta7.am0.yahoodns.net 25

tenchi21 12th March 2013 01:33

okay seems that file is blank, and I do use comcast and seems comcast does block port 25 and says to use 465 instead. :(

I originally used this guide for my setup
http://www.howtoforge.com/perfect-se...ot-ispconfig-3


All times are GMT +2. The time now is 11:32.

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