1

Topic: unable to recieve mail but can send

I have completely reloaded the server fresh .. ubuntu 10.10 with only openssh package.

i followed step by step install of 7.0 beta 2

everything installed fine
but when i try and send an email from the outside to www@sviconline.com it gives an error of a bad configuration.

here is the /var/log/mail.info

I hope someone can help me so i can go forward on this project.

    I    /var/log/mail.info                                                        Row 198  Col 1    5:33  Ctrl-K H for help
Feb 14 17:24:38 mail amavis[11581]: Internal decoder for .zip
Feb 14 17:24:38 mail amavis[11581]: No decoder for       .7z   tried: 7zr, 7za, 7z
Feb 14 17:24:38 mail amavis[11581]: No decoder for       .rar  tried: unrar-free
Feb 14 17:24:38 mail amavis[11581]: No decoder for       .arj  tried: arj, unarj
Feb 14 17:24:38 mail amavis[11581]: No decoder for       .arc  tried: nomarch, arc
Feb 14 17:24:38 mail amavis[11581]: No decoder for       .zoo  tried: zoo
Feb 14 17:24:38 mail amavis[11581]: No decoder for       .lha
Feb 14 17:24:38 mail amavis[11581]: No decoder for       .doc  tried: ripole
Feb 14 17:24:38 mail amavis[11581]: No decoder for       .cab  tried: cabextract
Feb 14 17:24:38 mail amavis[11581]: No decoder for       .tnef
Feb 14 17:24:38 mail amavis[11581]: Internal decoder for .tnef
Feb 14 17:24:38 mail amavis[11581]: No decoder for       .exe  tried: unrar-free; arj, unarj
Feb 14 17:24:38 mail amavis[11581]: Using primary internal av scanner code for ClamAV-clamd
Feb 14 17:24:38 mail amavis[11581]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan
Feb 14 17:24:38 mail amavis[11581]: Creating db in /var/lib/amavis/db/; BerkeleyDB 0.42, libdb 4.8
Feb 14 17:24:40 mail postfix/pickup[11427]: 6DA3BFC0AF9: uid=0 from=<root>
Feb 14 17:24:40 mail postfix/cleanup[12715]: 6DA3BFC0AF9: message-id=<20110214222440.6DA3BFC0AF9@mail.sviconline.com>
Feb 14 17:24:40 mail postfix/qmgr[11426]: 6DA3BFC0AF9: from=<root@mail.sviconline.com>, size=7133, nrcpt=1 (queue active)
Feb 14 17:24:40 mail postfix/pickup[11427]: 87785FC0AF7: uid=0 from=<root>
Feb 14 17:24:40 mail postfix/cleanup[12715]: 87785FC0AF7: message-id=<20110214222440.87785FC0AF7@mail.sviconline.com>
Feb 14 17:24:40 mail postfix/qmgr[11426]: 87785FC0AF7: from=<root@mail.sviconline.com>, size=1365, nrcpt=1 (queue active)
Feb 14 17:24:40 mail postfix/pipe[12738]: 6DA3BFC0AF9: to=<www@sviconline.com>, relay=dovecot, delay=0.65, delays=0.21/0.01/
Feb 14 17:24:40 mail postfix/qmgr[11426]: 6DA3BFC0AF9: removed
Feb 14 17:24:41 mail postfix/pipe[12740]: 87785FC0AF7: to=<www@sviconline.com>, relay=dovecot, delay=0.81, delays=0.15/0/0/0
Feb 14 17:24:41 mail postfix/qmgr[11426]: 87785FC0AF7: removed
Feb 14 17:25:08 mail postfix/smtpd[12744]: connect from mail-bw0-f53.google.com[209.85.214.53]
Feb 14 17:25:09 mail postfix/smtpd[12744]: warning: connect to 127.0.0.1:10031: Connection refused
Feb 14 17:25:09 mail postfix/smtpd[12744]: warning: problem talking to server 127.0.0.1:10031: Connection refused
Feb 14 17:25:10 mail postfix/smtpd[12744]: warning: connect to 127.0.0.1:10031: Connection refused
Feb 14 17:25:10 mail postfix/smtpd[12744]: warning: problem talking to server 127.0.0.1:10031: Connection refused
Feb 14 17:25:10 mail postfix/smtpd[12744]: NOQUEUE: reject: RCPT from mail-bw0-f53.google.com[209.85.214.53]: 451 4.3.5 Serv
Feb 14 17:25:10 mail postfix/smtpd[12744]: disconnect from mail-bw0-f53.google.com[209.85.214.53]
Feb 14 17:28:30 mail postfix/anvil[12746]: statistics: max connection rate 1/60s for (smtp:209.85.214.53) at Feb 14 17:25:08
Feb 14 17:28:30 mail postfix/anvil[12746]: statistics: max connection count 1 for (smtp:209.85.214.53) at Feb 14 17:25:08
Feb 14 17:28:30 mail postfix/anvil[12746]: statistics: max cache size 1 at Feb 14 17:25:08
Feb 14 17:30:10 mail postfix/smtpd[12803]: connect from mail-bw0-f53.google.com[209.85.214.53]
Feb 14 17:30:11 mail postfix/smtpd[12803]: warning: connect to 127.0.0.1:10031: Connection refused
Feb 14 17:30:11 mail postfix/smtpd[12803]: warning: problem talking to server 127.0.0.1:10031: Connection refused
Feb 14 17:30:12 mail postfix/smtpd[12803]: warning: connect to 127.0.0.1:10031: Connection refused
Feb 14 17:30:12 mail postfix/smtpd[12803]: warning: problem talking to server 127.0.0.1:10031: Connection refused
Feb 14 17:30:12 mail postfix/smtpd[12803]: NOQUEUE: reject: RCPT from mail-bw0-f53.google.com[209.85.214.53]: 451 4.3.5 Serv
Feb 14 17:30:12 mail postfix/smtpd[12803]: disconnect from mail-bw0-f53.google.com[209.85.214.53]

2

Re: unable to recieve mail but can send

so while waiting for some help on this I have tested the DKIM key


I put the key in my DNS server and went to run the command to test the key

amavisd testkeys
only to get
No command 'amavisd' found, did you mean:
Command 'amavis' from package 'amavisd-new-milter' (universe)
amavisd: command not found

This is a new install I watched the installer install stuff and yet it is saying that it is not installed.

I am about to go crazy here trying to figure this out, it is like I am missing something totaly that I am suppose to do after installing this.

3

Re: unable to recieve mail but can send

Please check log content, we discussed this in your previous post:

Mike wrote:

Feb 14 17:30:12 mail postfix/smtpd[12803]: warning: connect to 127.0.0.1:10031: Connection refused

About DKIM,the command is /usr/sbin/amavisd-new:

# /usr/sbin/amavisd-new testkeys

4 (edited by corvale 2011-02-15 14:40:55)

Re: unable to recieve mail but can send

I also have same problem. I can send/receive for local users. When sending to other domains from the domain using iredmail its working. Incoming emails to the domain where iredmail was installed, its not working. Here's the log. Kindly help.

Feb 15 14:32:50 mail postfix/smtpd[18612]: NOQUEUE: reject: RCPT from unknown[209.85.160.51]: 450 4.7.1 <user1@mydomain.net>: Recipient address rejected: Policy Rejection- Please try later.; from=<outsideuser@gmail.com> to=<user1@mydomain.net> proto=ESMTP helo=<mail-pw0-f51.google.com>
Feb 15 14:32:50 mail postfix/smtpd[18612]: disconnect from unknown[209.85.160.51]
Feb 15 14:33:25 mail postfix/smtpd[18612]: connect from unknown[69.1.101.69]

5

Re: unable to recieve mail but can send

corvale wrote:

Feb 15 14:32:50 mail postfix/smtpd[18612]: NOQUEUE: reject: RCPT from unknown[209.85.160.51]: 450 4.7.1 <user1@mydomain.net>: Recipient address rejected: Policy Rejection- Please try later.; from=<outsideuser@gmail.com> to=<user1@mydomain.net> proto=ESMTP helo=<mail-pw0-f51.google.com>

This is greylisting.

Try to search "greylisting" in this forum or google it. Addition reference:
http://greylisting.org/