L맆å†

Member
Feb 11, 2007
21
0
151
Mascouche, Quebec, Canada
Hi Support,

First of all I'm french (Quebec)

I got a dedicated server with CENTOS 6.4 x86_64 standard WHM 11.38.1 (build 15).

I created new emails in the cpanel:2082 but they don't work!

Code:
User/Email : [email][email protected]*********.com[/email]
Pass : **********

Secure SSL/TLS Settings
(Recommended)
Incoming Server: 	*********.com

    IMAP: Port 993 
    POP3: Port 995

Outgoing Server: 	*********.com

    SMTP: Port 465

Authentication is required for IMAP, POP3, and SMTP.

Non-SSL Settings
(NOT Recommended)
Incoming Server: 	mail.*********.com

    IMAP: Port 143
    POP3: Port 110

Outgoing Server: 	mail.*********.com

    SMTP: Port 26
Authentication is required for IMAP, POP3, and SMTP.
-----------------------------------------------------------------


And I'm sure is for that reason there's no emails going out of the website such as the inscription's email.

Any ideas ?
 
Last edited by a moderator:

ThinIce

Well-Known Member
Apr 27, 2006
352
9
168
Disillusioned in England
cPanel Access Level
Root Administrator
Two things to check if your website isn't sending email

1. How is it configured to send message (i.e. with an smtp account)
2. Is there anything relevant in the servers exim log? / are any errors being shown that may be indicative
 

L맆å†

Member
Feb 11, 2007
21
0
151
Mascouche, Quebec, Canada
Two things to check if your website isn't sending email

1. How is it configured to send message (i.e. with an smtp account)
I don't know what to say: PHP? For 7 years (5 differents servers) no problem only with this last one.


2. Is there anything relevant in the servers exim log? / are any errors being shown that may be indicative
exim_mainlog (couples of lines):
Code:
2013-08-04 03:36:19 1V5sqh-000CVi-3N Completed
2013-08-04 03:41:20 cwd=/ 2 args: /usr/sbin/sendmail -t
2013-08-04 03:41:20 cwd=/ 2 args: /usr/sbin/sendmail -t
2013-08-04 03:41:21 1V5swK-000Eny-UI <= [email][email protected]************.com[/email] U=root P=local S=11760 T="FAILED: lfd on ************.com (************)" for ************@hotmail.com
2013-08-04 03:41:21 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1V5swK-000Eny-UI
2013-08-04 03:41:21 1V5swK-000Eo1-UK <= [email][email protected]************.com[/email] U=root P=local S=11760 T="FAILED: lfd on ************.com (************)" for ************@hotmail.com
2013-08-04 03:41:21 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1V5swK-000Eo1-UK
2013-08-04 03:42:08 1V5swK-000Eny-UI => ************@hotmail.com R=dkim_lookuphost T=dkim_remote_smtp H=mx1.hotmail.com [************]
2013-08-04 03:42:08 1V5swK-000Eny-UI Completed
exim_paniclog (couples of lines):
Code:
2013-07-22 04:55:27 1V1BsX-000Edg-E2 User 0 set for local_delivery transport is on the never_users list
2013-07-22 04:55:27 1V1Btv-000FE9-AK User 0 set for local_delivery transport is on the never_users list
2013-07-22 15:42:01 socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned
2013-07-22 15:43:48 socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned
2013-07-23 05:00:32 1V1YM5-0006Wq-Iq User 0 set for local_delivery transport is on the never_users list
2013-07-23 05:00:33 1V1YSO-00096d-Vr User 0 set for local_delivery transport is on the never_users list
2013-07-23 20:48:12 socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned
2013-07-23 20:58:14 socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned
 
Last edited by a moderator:

24x7server

Well-Known Member
Apr 17, 2013
1,912
99
78
India
cPanel Access Level
Root Administrator
Twitter
Hello,

I can see some other process is still using your port 25 and due to that you are geting the following error in your exim logs

15:42:01 socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned
 

24x7server

Well-Known Member
Apr 17, 2013
1,912
99
78
India
cPanel Access Level
Root Administrator
Twitter

L맆å†

Member
Feb 11, 2007
21
0
151
Mascouche, Quebec, Canada
netstat -tulpn | grep 25 return:

tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 25824/pure-ftpd (SE
tcp 0 0 :::21 :::* LISTEN 25824/pure-ftpd (SE
tcp 0 0 :::995 :::* LISTEN 12250/couriertcpd

- - - Updated - - -

netstat -lnp | grep 25

tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 25824/pure-ftpd (SE
tcp 0 0 :::21 :::* LISTEN 25824/pure-ftpd (SE
tcp 0 0 :::995 :::* LISTEN 12250/couriertcpd
unix 2 [ ACC ] STREAM LISTENING 1034427213 25826/pure-authd /var/run/ftpd.sock
unix 2 [ ACC ] STREAM LISTENING 1842836641 25235/saslauthd /var/run/saslauthd/mux
 

L맆å†

Member
Feb 11, 2007
21
0
151
Mascouche, Quebec, Canada
After I kill 25826 and 25235 AND /etc/init.d/exim restart :

netstat -lnp | grep 25
tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 25118/exim
tcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN 25118/exim
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 25118/exim
tcp 0 0 0.0.0.0:26 0.0.0.0:* LISTEN 25118/exim
tcp 0 0 :::587 :::* LISTEN 25118/exim
tcp 0 0 :::465 :::* LISTEN 25118/exim
tcp 0 0 :::25 :::* LISTEN 25118/exim
tcp 0 0 :::26 :::* LISTEN 25118/exim
tcp 0 0 :::995 :::* LISTEN 12250/couriertcpd
unix 2 [ ACC ] STREAM LISTENING 1842836641 25246/saslauthd /var/run/saslauthd/mux
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,260
463
Hello :)

You can ensure Exim is listening on port 25 with a command such as:

Code:
netstat -lnp | grep :25
This will result in a better output because it includes the colon before the 25. If Exim is running well, please try sending a test email from one of the email accounts via Webmail or an email client. This will help determine if the issue is isolated to your PHP script.

Thank you.
 

L맆å†

Member
Feb 11, 2007
21
0
151
Mascouche, Quebec, Canada
Code:
[B]netstat -lnp | grep 25[/B]

tcp        0      0 0.0.0.0:587                 0.0.0.0:*                   LISTEN      25118/exim
tcp        0      0 0.0.0.0:465                 0.0.0.0:*                   LISTEN      25118/exim
tcp        0      0 0.0.0.0:25                  0.0.0.0:*                   LISTEN      25118/exim
tcp        0      0 0.0.0.0:26                  0.0.0.0:*                   LISTEN      25118/exim
tcp        0      0 :::587                      :::*                        LISTEN      25118/exim
tcp        0      0 :::465                      :::*                        LISTEN      25118/exim
tcp        0      0 :::25                       :::*                        LISTEN      25118/exim
tcp        0      0 :::26                       :::*                        LISTEN      25118/exim
tcp        0      0 :::995                      :::*                        LISTEN      12250/couriertcpd
unix  2      [ ACC ]     STREAM     LISTENING     1842836641 25246/saslauthd     /var/run/saslauthd/mux
exim_mainlog (couple of lines)

Code:
2013-08-04 03:35:31 1V5sqh-000CVf-3N <= [email][email protected]*********.com[/email] U=root P=local S=11758 T="FAILED: lfd on *********.com (*********)" for *********@hotmail.com
2013-08-04 03:35:31 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1V5sqh-000CVf-3N
2013-08-04 03:35:31 1V5sqh-000CVi-3N <= [email][email protected]*********.com[/email] U=root P=local S=11758 T="FAILED: lfd on *********.com (*********)" for *********@hotmail.com
2013-08-04 03:35:31 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1V5sqh-000CVi-3N
2013-08-04 03:36:19 1V5sqh-000CVf-3N => *********@hotmail.com R=dkim_lookuphost T=dkim_remote_smtp H=mx2.hotmail.com [65.55.92.152]
2013-08-04 03:36:19 1V5sqh-000CVi-3N => *********@hotmail.com R=dkim_lookuphost T=dkim_remote_smtp H=mx1.hotmail.com [65.55.37.104]
2013-08-04 03:36:19 1V5sqh-000CVf-3N Completed
2013-08-04 03:36:19 1V5sqh-000CVi-3N Completed
2013-08-04 03:41:20 cwd=/ 2 args: /usr/sbin/sendmail -t
2013-08-04 03:41:20 cwd=/ 2 args: /usr/sbin/sendmail -t
2013-08-04 03:41:21 1V5swK-000Eny-UI <= [email][email protected]*********.com[/email] U=root P=local S=11760 T="FAILED: lfd on *********.com (*********)" for *********@hotmail.com
2013-08-04 03:41:21 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1V5swK-000Eny-UI
2013-08-04 03:41:21 1V5swK-000Eo1-UK <= [email][email protected]*********.com[/email] U=root P=local S=11760 T="FAILED: lfd on *********.com (*********)" for *********@hotmail.com
2013-08-04 03:41:21 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1V5swK-000Eo1-UK
2013-08-04 03:42:08 1V5swK-000Eny-UI => *********@hotmail.com R=dkim_lookuphost T=dkim_remote_smtp H=mx1.hotmail.com [65.55.92.168]
2013-08-04 03:42:08 1V5swK-000Eny-UI Completed
2013-08-04 03:42:08 1V5swK-000Eo1-UK => *********@hotmail.com R=dkim_lookuphost T=dkim_remote_smtp H=mx2.hotmail.com [65.54.188.94]
2013-08-04 03:42:08 1V5swK-000Eo1-UK Completed
exim_rejectlog (couple of lines)
Code:
2013-08-05 13:55:02 H=(93.85.225.223) [93.85.225.223]:16877 rejected MAIL <>: Access denied - Invalid HELO name (See RFC2821 4.1.3)
2013-08-05 14:15:06 H=(SERVER) [190.117.242.70]:61144 rejected MAIL <[email protected]>: Access denied - Invalid HELO name (See RFC2821 4.1.1.1)
2013-08-05 14:20:30 H=(46.16.230.68) [46.16.230.68]:22966 rejected MAIL <>: Access denied - Invalid HELO name (See RFC2821 4.1.3)
2013-08-05 14:24:59 H=(93.84.97.206) [178.123.192.47]:3857 rejected MAIL <>: Access denied - Invalid HELO name (See RFC2821 4.1.3)
2013-08-05 14:38:29 H=(178.122.14.66) [178.122.21.228]:27515 rejected MAIL <>: Access denied - Invalid HELO name (See RFC2821 4.1.3)
2013-08-05 14:40:05 H=(95.57.46.209) [95.57.46.209]:52994 rejected MAIL <>: Access denied - Invalid HELO name (See RFC2821 4.1.3)
2013-08-05 15:06:10 H=(188.55.44.148) [188.55.44.148]:59992 rejected MAIL <>: Access denied - Invalid HELO name (See RFC2821 4.1.3)
2013-08-05 16:08:14 H=(user-THINK) [27.4.66.249]:60146 rejected MAIL <[email protected]>: Access denied - Invalid HELO name (See RFC2821 4.1.1.1)
2013-08-05 16:09:52 H=(livebox) [90.170.195.63]:4254 rejected MAIL <[email protected]>: Access denied - Invalid HELO name (See RFC2821 4.1.1.1)
2013-08-05 16:39:19 H=(user-PC) [189.76.234.14]:52426 rejected MAIL <[email protected]>: Access denied - Invalid HELO name (See RFC2821 4.1.1.1)
2013-08-05 16:43:47 H=(LUFFIPC) [190.143.44.183]:63591 rejected MAIL <[email protected]>: Access denied - Invalid HELO name (See RFC2821 4.1.1.1)
2013-08-05 16:47:29 H=cable-178-148-143-254.dynamic.sbb.rs (178.148.143.254) [178.148.143.254]:50154 rejected MAIL <>: Access denied - Invalid HELO name (See RFC2821 4.1.3)
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,260
463
Please try sending a test email from one of the email accounts via Webmail or an email client. This will help determine if the issue is isolated to your PHP script.

Thank you.
 

L맆å†

Member
Feb 11, 2007
21
0
151
Mascouche, Quebec, Canada
Here's the error, which I translate from french. I'm using Thunderbird:

Sending the message failed.
The message could not be sent using the "*********.com" SMTP server for an unknown reason. Please verify that your SMTP server settings are correct and try again or contact your network administrator.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,260
463
It's difficult to pinpoint the exact issue because that is an unknown error message. Could you try sending via Webmail and let us know the result?

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,260
463
Feel free to open a support ticket so we can take a closer look:

Submit A Ticket

You can post the ticket number here so we can update this thread with the outcome.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,260
463
To update, there were several issues that contributed to this problem. The hostname of the server needed to be a fully qualified domain name, and some permissions on the email account needed correction with the "/scripts/mailperm" utility. However, the primary culprit was that the domain name was not added to the /etc/localdomains file.

Thank you.