[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: postfix can't send and receive mails



--- tôba <toba@tsepa.net> wrote:

- snip -

 
> > 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


Hi Tôba,


Thanks for your advice.


I don't have /etc/init.d/amavisd-new here


# find / -name amavisd-new
/usr/share/doc/amavisd-new
/usr/share/lintian/overrides/amavisd-new
/usr/sbin/amavisd-new
/etc/cron.daily/amavisd-new
/etc/cron.d/amavisd-new
/etc/logcheck/ignore.d.workstation/amavisd-new
/etc/logcheck/ignore.d.server/amavisd-new


# /etc/cron.daily/amavisd-new stop
bayes: expire_old_tokens: locker: safe_lock: cannot create tmp lockfile
/etc/spamassassin/bayes.lock.xen05.satimis.com.3110 for
/etc/spamassassin/bayes.lock: Permission denied


# /etc/cron.daily/amavisd-new start
bayes: expire_old_tokens: locker: safe_lock: cannot create tmp lockfile
/etc/spamassassin/bayes.lock.xen05.satimis.com.3116 for
/etc/spamassassin/bayes.lock: Permission denied


# /etc/cron.d/amavisd-new stop
-bash: /etc/cron.d/amavisd-new: Permission denied

# /etc/cron.d/amavisd-new start
-bash: /etc/cron.d/amavisd-new: Permission denied


How can I proceed further?  TIA


B.R.
Stephen




Send instant messages to your online friends http://uk.messenger.yahoo.com 


Reply to: