1

Topic: Able to receive e-mail but Unable to sent e-mail!

==== Required information ====
- iRedMail version: iRedMail-0.8.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: CentOS 6.4
- Related log if you're reporting an issue:
====

I am able to receive e-mail but not able to sent.
Since my ISP blocks port 25 for outgoing mails I would like to configure their SMTP server for outgoing mail.

Please tell me how to make this happen for example with the following domain:
smtp.isp.com
-No authentication needed

Thanks in advance.

----

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

2

Re: Able to receive e-mail but Unable to sent e-mail!

Hi, Try to use port 587 with SSL for smtp and check smtp auth for sending


koevoetje wrote:

==== Required information ====
- iRedMail version: iRedMail-0.8.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: CentOS 6.4
- Related log if you're reporting an issue:
====

I am able to receive e-mail but not able to sent.
Since my ISP blocks port 25 for outgoing mails I would like to configure their SMTP server for outgoing mail.

Please tell me how to make this happen for example with the following domain:
smtp.isp.com
-No authentication needed

Thanks in advance.

3 (edited by koevoetje 2013-10-25 22:08:58)

Re: Able to receive e-mail but Unable to sent e-mail!

Could you explain in which config file I have to look and which lines I have to change?
At the moment I use roundcube webmail for accesing the mailbox.

In windows server I run my mailserver with my ISP's smtp server for outgoing mail.
Please also tell me how to do this.

Appreciated!

4

Re: Able to receive e-mail but Unable to sent e-mail!

I believe it's better to ask your ISP for support.

5 (edited by koevoetje 2013-10-25 22:42:51)

Re: Able to receive e-mail but Unable to sent e-mail!

ZhangHuangbin wrote:

I believe it's better to ask your ISP for support.

My ISP will not be able to give this support. They will tell me like before that I can use their open relay server to sent the mail.

How do i change my outgoing mail to their smtp.isp.com server?
I have this working on windows server.

Appreciated

6 (edited by koevoetje 2013-10-25 23:55:14)

Re: Able to receive e-mail but Unable to sent e-mail!

I see this solution on the web:

###
nano /etc/postfix/main.cf

smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
smtp_sasl_password_maps = hash:/etc/postfix/saslpasswd
smtp_always_send_ehlo = yes
relayhost = smtp.yourisp.com


nano /etc/postfix/saslpasswd

smtp.yourisp.com     yourlogin:yourpassword
###

But I see our main.cf seems to use smtpD.
Let me know how to get this to work in an iRedmail setup.

Kind regards

7

Re: Able to receive e-mail but Unable to sent e-mail!

Please try "relayhost =" parameter in Postfix config file /etc/postfix/main.cf. For example:

relayhost = smtp:[IP_of_your_ISP_server]:25

Then restart Postfix and try again.

8

Re: Able to receive e-mail but Unable to sent e-mail!

ZhangHuangbin wrote:

Please try "relayhost =" parameter in Postfix config file /etc/postfix/main.cf. For example:

relayhost = smtp:[IP_of_your_ISP_server]:25

Then restart Postfix and try again.


Using this format: relayhost = [IP_of_your_ISP_server] works like a charm!

Thank you