1

Topic: Can't send or receive, smtp error 451

Hello guys, I had a sucessful instalation of iRedMail before in a VPS in DigitalOcean, but after I try to install ruby (rvm and rails) the server stopped working...

So I deleted the server (completely) and created another... Installed apache, mysql, blablabla and installed iredmail sucessfully.
But when I try to send an e-mail they said to me "SMTP Error: SMTP error(451): Failed to add recipient".

And when I try to send from gmail to my iredmail account I don't receive the e-mail.

Could you help-me? I don't know why doesn't works, iRedMail is really simple to install...

Thanks for the support, cheers! ;)

==== Required information ====
- iRedMail version: 0.8.4
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Ubuntu Server 12.04 64bits
- Related log if you're reporting an issue:

----SENDING-----

Jun 16 19:56:08 localhost postfix/error[1790]: C04A260CC5: to=<root@nudemail.tk>, relay=none, delay=44463, delays=44463/0.01/0/0.01, dsn=4.3.0, status=deferred (mail transport unavailable)
Jun 16 19:56:08 localhost postfix/error[1791]: 0B94260CDC: to=<root@nudemail.tk>, relay=none, delay=44459, delays=44459/0.01/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
Jun 16 19:56:09 localhost postfix/smtpd[1783]: connect from localhost[127.0.0.1]
Jun 16 19:56:09 localhost postfix/smtpd[1783]: warning: connect to 127.0.0.1:10031: Connection refused
Jun 16 19:56:09 localhost postfix/smtpd[1783]: warning: problem talking to server 127.0.0.1:10031: Connection refused
Jun 16 19:56:10 localhost postfix/smtpd[1783]: warning: connect to 127.0.0.1:10031: Connection refused
Jun 16 19:56:10 localhost postfix/smtpd[1783]: warning: problem talking to server 127.0.0.1:10031: Connection refused
Jun 16 19:56:10 localhost postfix/smtpd[1783]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 451 4.3.5 Server configuration problem; from=<conta@nudestay.com.br> to=<jacksonbenete@gmail.com> proto=ESMTP helo=<nudemail.tk>
Jun 16 19:56:10 localhost roundcube: SMTP Error: SMTP error: Failed to add recipient 'jacksonbenete@gmail.com' in /usr/share/apache2/roundcubemail-0.8.6/program/include/main.inc on line 1485 (POST /mail/?_unlock=loading1371412569385&_lang=undefined?_task=mail&_action=send)
Jun 16 19:56:10 localhost postfix/smtpd[1783]: disconnect from localhost[127.0.0.1]

-----RECEIVING-----

Jun 16 19:56:08 localhost postfix/error[1790]: C04A260CC5: to=<root@nudemail.tk>, relay=none, delay=44463, delays=44463/0.01/0/0.01, dsn=4.3.0, status=deferred (mail transport unavailable)
Jun 16 19:56:08 localhost postfix/error[1791]: 0B94260CDC: to=<root@nudemail.tk>, relay=none, delay=44459, delays=44459/0.01/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
Jun 16 19:56:09 localhost postfix/smtpd[1783]: connect from localhost[127.0.0.1]
Jun 16 19:56:09 localhost postfix/smtpd[1783]: warning: connect to 127.0.0.1:10031: Connection refused
Jun 16 19:56:09 localhost postfix/smtpd[1783]: warning: problem talking to server 127.0.0.1:10031: Connection refused
Jun 16 19:56:10 localhost postfix/smtpd[1783]: warning: connect to 127.0.0.1:10031: Connection refused
Jun 16 19:56:10 localhost postfix/smtpd[1783]: warning: problem talking to server 127.0.0.1:10031: Connection refused
Jun 16 19:56:10 localhost postfix/smtpd[1783]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 451 4.3.5 Server configuration problem; from=<conta@nudestay.com.br> to=<jacksonbenete@gmail.com> proto=ESMTP helo=<nudemail.tk>
Jun 16 19:56:10 localhost roundcube: SMTP Error: SMTP error: Failed to add recipient 'jacksonbenete@gmail.com' in /usr/share/apache2/roundcubemail-0.8.6/program/include/main.inc on line 1485 (POST /mail/?_unlock=loading1371412569385&_lang=undefined?_task=mail&_action=send)
Jun 16 19:56:10 localhost postfix/smtpd[1783]: disconnect from localhost[127.0.0.1]
Jun 16 20:00:43 localhost postfix/smtpd[1813]: connect from mail-bk0-f54.google.com[209.85.214.54]
Jun 16 20:00:44 localhost postfix/smtpd[1813]: warning: connect to 127.0.0.1:10031: Connection refused
Jun 16 20:00:44 localhost postfix/smtpd[1813]: warning: problem talking to server 127.0.0.1:10031: Connection refused
Jun 16 20:00:45 localhost postfix/smtpd[1813]: warning: connect to 127.0.0.1:10031: Connection refused
Jun 16 20:00:45 localhost postfix/smtpd[1813]: warning: problem talking to server 127.0.0.1:10031: Connection refused
Jun 16 20:00:45 localhost postfix/smtpd[1813]: NOQUEUE: reject: RCPT from mail-bk0-f54.google.com[209.85.214.54]: 451 4.3.5 Server configuration problem; from=<jacksonbenete@gmail.com> to=<conta@nudestay.com.br> proto=ESMTP helo=<mail-bk0-f54.google.com>
Jun 16 20:00:45 localhost postfix/smtpd[1813]: disconnect from mail-bk0-f54.google.com[209.85.214.54]
Jun 16 20:01:08 localhost postfix/qmgr[15728]: 6D3BF61169: from=<www-data@nudemail.tk>, size=896, nrcpt=1 (queue active)
Jun 16 20:01:08 localhost postfix/qmgr[15728]: warning: connect to transport private/smtp-amavis: No such file or directory
Jun 16 20:01:08 localhost postfix/error[1825]: 6D3BF61169: to=<contato@nudestay.com.br>, relay=none, delay=936, delays=936/0.01/0/0.01, dsn=4.3.0, status=deferred (mail transport unavailable)


====

2

Re: Can't send or receive, smtp error 451

Someone could help me? T_T

3

Re: Can't send or receive, smtp error 451

Check if cluebringer is running... what is the result of:

service postfix-cluebringer status

Look for the entries from cluebringer (cbpolicyd) in /var/log/syslog while trying to restart it...

4 (edited by jacksonbenete 2013-06-20 12:08:56)

Re: Can't send or receive, smtp error 451

Well, I don't know why, the postfix-cluebringer looks like running fine, and the /var/log/syslog is empty...

root@NUDESERVER:/home/jackson# tail /var/log/syslog
root@NUDESERVER:/home/jackson# service postfix-cluebringer status
 * cbpolicyd is running
root@NUDESERVER:/home/jackson# tail /var/log/syslog
root@NUDESERVER:/home/jackson#

5

Re: Can't send or receive, smtp error 451

OOOOHHHHH

I'm very stupid... a big mistake in the DNS record...

TXT Record was
dkim._domainkey    TXT    "v=DKIM1; p=....."

I change to:
"v=spf1 ip4:myIP -all" TXT    "v=DKIM1; p=....."

Works fine, sorry to be so stupid. big_smile

Thanks for the support, cheers!