1 (edited by fernandoc19 2010-02-18 20:40:04)

Topic: I need open relay for host (Solved)

Hi all,

I using version  iRedmail 0.5.1. I need open relay for one host. 

We have an application that does not authenticate mail send.

Log /var/log/mail.log saying:


Feb 17 09:06:42 mail postfix/error[12351]: BDF9F57D61: to=<xxxxxxx@matrix.com.br>, relay=none, delay=537, delays=536/0.11/0/0.01, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Feb 17 09:06:42 mail postfix/error[12351]: 0AA6A57D4B: to=<xxxxxx@brturbo.com.br>, relay=none, delay=552, delays=552/0.13/0/0.04, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)


How can i fix this?



Thanks

2

Re: I need open relay for host (Solved)

fernandoc19 wrote:

(delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)

Amavisd is not running. Try to restart it to fix this issue.

3

Re: I need open relay for host (Solved)

ZhangHuangbin wrote:
fernandoc19 wrote:

(delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)

Amavisd is not running. Try to restart it to fix this issue.

ZhangHuangbin,

I checked  amavis not running.



#iptables -L

Chain INPUT (policy DROP)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
ACCEPT     tcp  --  anywhere             anywhere            multiport dports www,https,smtp,ssmtp,pop3,pop3s,imap2,imaps,submission,ssmtp,ssh



#vi /etc/default/iptables

*filter
:INPUT DROP[0:0]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [0:0]

Change for INPUT ACCEPT:

*filter
:INPUT ACCEPT [0:0]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [0:0]


iptables-restore /etc/default/iptables

/etc/init.d/amavis start

running ok

Thanks