1 (edited by kevin 2012-04-02 15:46:47)

Topic: Can not send mail through SMTP (iRedMail) server

Hi,

i got the problem when sending mails out through SMTP server (iRedMail)

- My iRedMail version: 0.7.4
- Linux distribution name: CentOS 6
- Log: 
cat /var/log/maillog
Apr  2 15:21:15 ip-xx-xxx-xxx-xxx postfix/smtpd[19614]: connect from xxxx.xxxdns.net[xxx.xxx.xxx.xxx]
Apr  2 15:21:15 ip-xx-xxx-xxx-xxx postfix/smtpd[19614]: lost connection after UNKNOWN from xxxx.xxxdns.net[xxx.xxx.xxx.xxx]
Apr  2 15:21:15 ip-xx-xxx-xxx-xxx postfix/smtpd[19614]: disconnect from xxxx.xxxdns.net[xxx.xxx.xxx.xxx]

====
i deployed iRedMail on my Server few day ago.
It worked properly on the new server. i can send and receive mail from Web-Mail (Roundcube), Mail-Client (ThunderBird) without any errors.

There is SMTP which i configured on ThunderBird SMTP
SMTP Server:
Outgoing : xxxx.xxxdns.net
Port: 587
SSL: STARTTLS
Authentication: Normal password

i used the same SMTP setting as above to configure my PHPMailer script but it did not work. i opened the logs and it showed "lost connection after UNKNOWN from xxxx.xxxdns.net[xxx.xxx.xxx.xxx]"

====
My iRedMail demand:
i want to use iRedMail as the SMTP server to send mails out for my Customer.
All Client website is hosted on another server. PHPMailer will connect to SMTP (iRedMail) Server to send mails.

Please help me check it.

Thanks

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Can not send mail through SMTP (iRedMail) server

I don't know how PHPMailer works, but if your Thunderbird/Outlook works, maybe you should tune PHPMailer configurations.

3 (edited by kevin 2012-04-02 16:49:10)

Re: Can not send mail through SMTP (iRedMail) server

Thanks so much for the quick reply.

May i know why SMTP port 465 is not appear on my server configure?
and how to configure send mails out by using SMTP port 25?

[root@mail log]# netstat -napt |grep master
tcp        0      0 0.0.0.0:587                 0.0.0.0:*                   LISTEN      19766/master       
tcp        0      0 0.0.0.0:25                  0.0.0.0:*                   LISTEN      19766/master       
tcp        0      0 127.0.0.1:10025             0.0.0.0:*                   LISTEN      19766/master 

[root@mail log]# netstat -napt |grep 465
-> show nothing

The PHPMailer which i told on my previous message is Joomla (Configure SMTP setting in Joomla backend)
All our Client websites are based on Joomla and it work properly with Google SMTP and our cPanel SMTP. sad

Thanks

4

Re: Can not send mail through SMTP (iRedMail) server

Did you try Joomla on other sites?

5

Re: Can not send mail through SMTP (iRedMail) server

ZhangHuangbin wrote:

Did you try Joomla on other sites?

According my understanding your questions:

My Web Server: Joomla website is running on it.

My Mail Server (iRedMail) is on other Server. It is separated with Web Server.

6

Re: Can not send mail through SMTP (iRedMail) server

Sorry about the confusion. I mean, try to send email with Joomla which running on other sites. Let's see whether same SMTP setting works on other Joomla sites or not.

7

Re: Can not send mail through SMTP (iRedMail) server

Thanks so much ZhangHuangbin.

The same SMTP settings does not work on all Joomla version 1.5.x

I use the same SMTP setting on Joomla 2.5.x -> It works.

So i guess Joomla 1.5 do not support to send mail via Port: 587

==
i think i have to enable port 465 on my iRedMail server because the most of my Client using Joomla 1.5
can you guide me how to do it?

I also found the link:
http://www.iredmail.org/forum/topic2648 … iated.html

Thanks

8

Re: Can not send mail through SMTP (iRedMail) server

kevin wrote:

So i guess Joomla 1.5 do not support to send mail via Port: 587

Another solution: sending email via port 25, without STARTTLS and SSL.
Is it ok for you?

WARNING: password is sent in plain text.