Question : Postfix - To many hops

Hi,

When I try send an email,  I recive this output in mail.log
Jul 16 19:27:37 mail1 postfix/smtp[17138]: CFA854B49: to=om>, relay=localhost[127.0.0.1]:10024, delay=4.7, delays=0.03/0/0.02/4.7, dsn=2.6.0, status=sent (250 2.6.0 Ok, id=19613-06)


but in roundcube I recive this error.
http://share.arqui300.com/storage/arqui300/ftp/many_hops.PNG

Regards

Answer : Postfix - To many hops

Hi,


Sorry for not sharing the solucion.

Here she goes.

in my case, there were two things that were causing this  hops problem. The content_filter and Relayhost.

First - In main.cf I change the content_filter = smtp:[localhost]:10024 to content_filter =

Second - I had to configure my relayhost with authentication.

These are the steps that I use  to set up Postfix to use SMTP Authentication to send mail through a relay host.

Set up a password maps file (/etc/postfix/sasl_passwd) as follows:
mail.ispserver.com    username:password

chown root:root /etc/postfix/sasl_passwd; chmod 600 /etc/postfix/sasl_passwd

postmap /etc/postfix/sasl_passwd

In /etc/postfix/main.cf:
relayhost = mail.ispserver.com
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =

Best regards and again sorry for not sharing the solucion sooner
Random Solutions  
 
programming4us programming4us