Re: postfix can't send and receive mails
On Mon, 10 Nov 2008 21:22:02 +0800 (CST)
Stephen Liu <satimis@yahoo.com> wrote:
>
> --- Ron Johnson <ron.l.johnson@cox.net> wrote:
>
> > On 11/10/08 04:19, Stephen Liu wrote:
> > > Hi folks,
> > >
> > >
> > > Debian Etch
> > >
> > >
> > > Postfix can't send and receive mails.
> > >
> > >
> > > On running;
> > > # /etc/init.d/postfix check
> > >
> > > # tail /var/log/mail.log
> > > Nov 10 10:00:56 xen05 amavis[3329]: No decoder for .arj
> > tried:
> > > arj, unarj
> > > Nov 10 10:00:56 xen05 amavis[3329]: No decoder for .arc
> > tried:
> > > nomarch, arc
> > > Nov 10 10:00:56 xen05 amavis[3329]: No decoder for .zoo
> > tried:
> > > zoo
> > > Nov 10 10:00:56 xen05 amavis[3329]: No decoder for .lha
> > tried:
> > > lha
> > > Nov 10 10:00:56 xen05 amavis[3329]: No decoder for .doc
> > tried:
> > > ripole
> > > Nov 10 10:00:56 xen05 amavis[3329]: No decoder for .cab
> > tried:
> > > cabextract
> > > Nov 10 10:00:56 xen05 amavis[3329]: No decoder for .tnef
> > > Nov 10 10:00:56 xen05 amavis[3329]: Internal decoder for .tnef
> > > Nov 10 10:00:56 xen05 amavis[3329]: No decoder for .exe
> > tried:
> > > rar, unrar; lha; arj, unarj
> > > Nov 10 10:00:56 xen05 amavis[3329]: (!!) TROUBLE in pre_loop_hook:
> > > db_home directory is not writable: /var/lib/amavis/db at
> > > /usr/sbin/amavisd-new line 6921.
> > >
> > >
> > > Please advise where shall I check and how to fix the problem. TIA
> >
> > This is an amavis issue, not a postfix problem.
> >
> > If no Windows boxes are using this machine as a mail server, then
> > you can drop amavis.
> >
> > --
> > Ron Johnson, Jr.
> > Jefferson LA USA
>
>
> Hi Ron,
>
>
> Thanks for your hint.
>
>
> Ran
> # adduser clamav amavis
>
> adding the user clamav to the group amavis
>
>
> then problem gone but another problem surfaces;
>
>
> # /etc/init.d/postfix check
>
> # tail /var/log/mail.log
> Nov 10 12:56:15 xen05 postfix/smtpd[2973]: lost connection after RCPT
> from localhost.localdomain[127.0.0.1]
> Nov 10 12:56:15 xen05 postfix/smtpd[2973]: disconnect from
> localhost.localdomain[127.0.0.1]
> Nov 10 13:09:48 xen05 postfix/master[2752]: reload configuration
> /etc/postfix
> Nov 10 13:10:25 xen05 postfix/smtpd[3006]: connect from
> localhost.localdomain[127.0.0.1]
> Nov 10 13:11:11 xen05 postfix/smtpd[3006]: EDC4F7824C:
> client=localhost.localdomain[127.0.0.1]
> Nov 10 13:11:49 xen05 postfix/cleanup[3008]: EDC4F7824C:
> message-id=<20081110131111.EDC4F7824C@xen05.satimis.com>
> Nov 10 13:11:49 xen05 postfix/qmgr[3002]: EDC4F7824C:
> from=<satimis@satimis.com>, size=383, nrcpt=1 (queue active)
> Nov 10 13:11:49 xen05 postfix/smtp[3009]: connect to
> 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
> Nov 10 13:11:49 xen05 postfix/smtp[3009]: EDC4F7824C:
> to=<satimis@yahoo.com>, relay=none, delay=56, delays=56/0.01/0/0,
> dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:
> Connection refused)
> Nov 10 13:11:52 xen05 postfix/smtpd[3006]: disconnect from
> localhost.localdomain[127.0.0.1]
>
>
> postfix still can't send/receive mails.
>
> "... connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
> .." Why port 10024 comes into play?
Oh yes, that's normal because of amavis. See your main.cf file.
Tha happens when amavis is dead or hangs. I suggest
a /etc/init.d/amavisd-new start
Tôba
Reply to: