SMTP issues

ank1t

Verified User
Joined
Dec 13, 2005
Messages
19
Hi

I installed Ioncube using steps mentioned here
PHP:
http://help.directadmin.com/item.php?id=395

The SMTP is being troublesome since then.
* I am able to receive emails in outlook
* I am able to send receive emails in roudcude
* I am NOT able to send mails using Outlook.

The message I see in /var/log/maillog is

PHP:
May  1 11:47:49 server dovecot: auth-worker(15829): shadow([email protected],ip.ip.ip.ip): unknown user
May  1 11:47:49 server dovecot: auth: passwd([email protected],ip.ip.ip.ip): unknown user

Error in Email Clients:

PHP:
[5/1/2012 11:58:43 AM] Mail and chat
[email protected]
Sending email failed. Maybe the SMTP server is not set up properly? Email queued.

I am not able to find solution of this error on forum.

Thanks.
 
Hello,

I really doubt the issue is anyhow directly related to IonCube itself. So you need to check /var/log/exim/mainlog in order to learn details on why sending out emails fail. The lines from /var/log/maillog are OK (search the forums to learn why they are OK).
 
I understand and see some explanation here "Why do I get shadow([email protected],127.0.0.1): unknown user when I can login just fine? Last Modified: Nov 6, 2007, 11:25 am
"
PHP:
http://help.directadmin.com/item.php?id=175

Here is log for a successfully received mail from /var/log/exim/mainlog

PHP:
2012-05-01 12:20:49 1SPGkB-0004xg-LM DKIM: d=gmail.com s=20120113 c=relaxed/relaxed a=rsa-sha256 [invalid - public key record (currently?) unavailable]
2012-05-01 12:20:49 1SPGkB-0004xg-LM <= [email protected] H=mail-lpp01m010-f49.google.com [209.85.215.49] P=esmtps X=TLSv1:RC4-SHA:128 S=1643 id=CAKH4LfyQntNhpu3qxkbSiRgLCna14urd=XRhGScsNK2Hj_2qAQ@mail.gmail.com T="test 6" from <[email protected]> for [email protected] 
2012-05-01 12:20:49 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1SPGkB-0004xg-LM
2012-05-01 12:20:49 1SPGkB-0004xg-LM => user <[email protected] > F=<[email protected]> R=virtual_user T=virtual_localdelivery S=1750
2012-05-01 12:20:49 1SPGkB-0004xg-LM Completed

I am able to receive emails using POP but since I installed ioncube I am not able to send mails using outlook or any other Email Client trying to log onto SMTP.

Ankit
 
I have combed through /var/log/exim/maillog and there seems to be no instance/log of request from [email protected] for sending mails.
I see instances of mail being received on "[email protected]" as seen in my post above but 0 instances of SMTP requests from a known user in last couple of hours.

Some sporadic SMTP requests from unknown users are seen [these users are not hosted on my server]:
PHP:
2012-05-01 12:50:35 unexpected disconnection while reading SMTP command from (localhost) [117.199.136.39]
2012-05-01 12:51:45 unexpected disconnection while reading SMTP command from 201-27-226-118.dsl.telesp.net.br [201.27.226.118]
2012-05-01 12:53:27 unexpected disconnection while reading SMTP command from (localhost) [202.138.250.212]

but that's that.

Also I found a seemingly related thread:
PHP:
http://www.directadmin.com/forum/showthread.php?t=39933?s=

and ran a command:
PHP:
/usr/local/directadmin/scripts/set_permissions.sh all
and the database has stopped working :(
 
The outlook gives this error:
http://i46.tinypic.com/zlp1l1.jpg

I have switched off the Windows Firewall and the server firewall as well. but no joy. :(.
Also its just not me but couple of clients complained that their outlook stopped working since yesterday.

the database issue is fixed. rebooted the server.
 
That's a very bad idea to reboot Linux server in order to fix any issue, that is not Windows OS.

Anyway, try:

1. Make sure exim is running and listening on 25 TCP.
2. Change port from 25 to 587 in OutLook
3. Check SMTP in a webmail (roundcube, squirrelmail, etc).
4. Hire somebody to fix the issue.
 
the entry: daemon_smtp_ports = 25 : 587 was already in /etc/exim.conf file.

I changed the port from 25 to 587 in Outlook and turned on authentication "Use same settings as incoming mail server" and was able able to send mail successfully through outlook.

Thanks a lot. :)
 
Then the issue was NOT roundcube related. Perhaps you updated something else, perhaps exim.conf? It's been a long time since the SpamBlocker versions of the exim.conf file have allowed email submission on port 25, but the Outlook error message is confusing.

I changed your message title so it won't be confusing to forum searchers.

Jeff
 
Back
Top