pop3 / smtp configuration issues on vps

hi there,

i have recently created a new tld wich i transfered and pointed to my vps using webmin/virtualmin, the emails works just fine online with roundcube that i have installed.

Now i need to provide to this tld the chance of pop3/smtp in order to get the emails with outlook, but its beeing rejected from the server, i checked some posts here in the forum but i havent found any solution yet, it seems my vps doenst allow the connection with the port 25 also the port 143 (wich was the one used before on this tld). - this tld was using pop3 and smtp and mail.tld.net on outlook.

any ideias how can i make this work? i really need this working, thanks in advance

~wu

You need to provide more information for us to be able to reproduce this / get an idea what might be wrong. :slight_smile:

I.e. what is the actual domain name involved, what errors do you get exactly on the client, what gets logged in /var/log/mail.log (or the equivalent for your distro, which distro are you using?).

hi there,

i am using CentOS Linux 6.5 and the domain name is postalfree.net (new costumer) he was using cpanel before and he made several accounts wich he could connect with outlook, now i have changed the ip’s in order to point to my vps and he cannot connect his outlook anymore, i left the same password as before.

i am really a newbie on virtualmin and this system, does this help?

I tested the domain “postalfree.net” and I can’t see any immediate problems with it. The name and “mail.postalfree.net” resolves to the IP 80.241.212.154, and that IP answers properly on ports 25, 110 and 143.

So your client needs to tell you precisely what the issue is, what errors he gets, what hostnames he uses to connect to your server, what ports he uses, if he uses SSL, and so on. And you’d need to check the logs in /var/log for problems at the time when he tries to access mail. Can’t say much more really at this point…

Thank you so much for your reply, if i may ask you how can i check /var/log for problems?

Do you have SSH access to the server? Then you can log on to it and use either the usual shell commands (cd, ls, cat, less and so on) to show the file contents, or install the file manager “Midnight Commander”, usually in the package “mc”.

Otherwise Webmin has a log viewer module under “System -> System Logs”.

hi there and thank you once again for your reply, i found the system logs in webmin as you instructed and here is the contents (the las 20 lines):

Mar 17 11:56:43 vmi9003 dovecot: imap-login: Login: user=<postalfreeaccounts.postalfree>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=11814, secured
Mar 17 11:56:43 vmi9003 postfix/smtpd[11815]: connect from localhost.localdomain[127.0.0.1]
Mar 17 11:56:43 vmi9003 postfix/smtpd[11815]: 15030380BFA: client=localhost.localdomain[127.0.0.1], sasl_method=LOGIN, sasl_username=postalfreeaccounts.postalfree
Mar 17 11:56:43 vmi9003 postfix/cleanup[11818]: 15030380BFA: message-id=17ceaccca53a7dae2c90e5d7bc011152@dsgdrops.com
Mar 17 11:56:43 vmi9003 postfix/qmgr[20839]: 15030380BFA: from=<>, size=1977, nrcpt=1 (queue active)
Mar 17 11:56:43 vmi9003 postfix/smtpd[11815]: disconnect from localhost.localdomain[127.0.0.1]
Mar 17 11:56:43 vmi9003 dovecot: imap(postalfreeaccounts.postalfree): Disconnected: Logged out bytes=457/6448
Mar 17 11:56:45 vmi9003 postfix/smtp[11819]: 15030380BFA: to=Sara.Castro@omd.com, relay=mxb-00162901.gslb.pphosted.com[67.231.156.62]:25, delay=2.1, delays=0.07/0.02/1.2/0.75, dsn=2.0.0, status=sent (250 2.0.0 1jp0cc82es-1 Message accepted for delivery)
Mar 17 11:56:45 vmi9003 postfix/qmgr[20839]: 15030380BFA: removed
Mar 17 11:57:39 vmi9003 dovecot: imap-login: Login: user=<sofiapintocoelho.postalfree>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=11822, secured
Mar 17 11:57:39 vmi9003 dovecot: imap(sofiapintocoelho.postalfree): Disconnected: Logged out bytes=90/789
Mar 17 11:57:43 vmi9003 dovecot: imap-login: Login: user=<postalfreeaccounts.postalfree>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=11825, secured
Mar 17 11:57:43 vmi9003 dovecot: imap(postalfreeaccounts.postalfree): Disconnected: Logged out bytes=90/791
Mar 17 11:57:55 vmi9003 postfix/anvil[11651]: statistics: max connection rate 1/60s for (smtp:67.231.156.62) at Mar 17 11:54:34
Mar 17 11:57:55 vmi9003 postfix/anvil[11651]: statistics: max connection count 1 for (smtp:67.231.156.62) at Mar 17 11:54:34
Mar 17 11:57:55 vmi9003 postfix/anvil[11651]: statistics: max cache size 1 at Mar 17 11:54:34
Mar 17 11:58:39 vmi9003 dovecot: imap-login: Login: user=<sofiapintocoelho.postalfree>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=11992, secured
Mar 17 11:58:39 vmi9003 dovecot: imap(sofiapintocoelho.postalfree): Disconnected: Logged out bytes=90/789
Mar 17 11:58:42 vmi9003 dovecot: imap-login: Login: user=<postalfreeaccounts.postalfree>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=12004, secured
Mar 17 11:58:42 vmi9003 dovecot: imap(postalfreeaccounts.postalfree): Disconnected: Logged out bytes=90/791

I guess its this… I do have ssh access but i dont know how to se it very well…

~wu

Please enclose shell listings in [code][/code] tags, as to preserve line breaks and monospace font. Otherwise they become unreadable.

You’d need to look at the logs when you know that your client just made a connection attempt, otherwise the lines can very well be from something else. Best is to use the “tail -f” command to constantly watch the log WHILE your client is trying to connect.

But before you go chasing for problems in the log, first have your client give you the exact details I outlined before!

I can’t really offer you a crash course in Linux shell operation here. :slight_smile: That’s beyond the scope of giving free help in this forum.

Hi there,

I found the problem and it seems that the username must be like user.domain and not the full email address, so i made a few tests and it worked just fine so i guess this issue was solved, silly stuff indeed…

Even so i must say thank you to Locutus was amazing with the help and everything, indeed i made a good choice using virtualmin/webmin, i am very happy with the system and also with the comunity.

Thanks again!

~wu

Yes, you can configure in Virtualmin whether the username format is the full domain name, or just “user.domain” or similar.