PostFix/Pipe problem

Tom Carroll cgbmtom at SPAMCOP.NET
Sun Jul 24 10:51:08 IST 2005


First of all Drew, let me thank you for responding.  I have been posting
messages on the ClarkConnect forums all day and no one has jumped in once to
offer any suggestions.  It's nice to know someone is willing to suggest
something! :)

On Saturday, July 23, 2005 11:07 PM Drew Marshall wrote:
 
> Tom Carroll wrote:
> 
> >Hello.  I am noew to this list, so I hope this is the right place for me
> to
> >find help.
> >
> >
> We'll do what we can :-)
> 
> <Snipped>
> 
> >Jul 23 12:05:58 CWServer postfix/pipe[30659]: warning: open active
> >39A745FC76F: No such file or directory
> >
> >
> I have seen something similar previously with a ClarkConnect system.
> They set it up for use with Amavis (Or spamd, I forget) and you are not
> running that so Postfix is trying to pipe the mail to a non-existent
> daemon. Check your master.cf for something like filter or similar and
> comment it out. Once you have found that look for a corresponding entry
> in main.cf and comment that out also. Then reload Postfix.

Right you are.  ClarkConnect comes setup and ready to run SpamAssassin.
However, I was on a fresh install and I chose not to install the
cc-SpamAssassin module as suggested by the how-to on the CC forum.  There is
a filter entry in the master.cf file, but it is commented out.

Here's my master.cf:

# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
#smtp    inet    n       -       n       -       -       smtpd -o
content_filter=ccfilter:
#smtps    inet  n       -       n       -       -       smtpd
#  -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#submission   inet    n       -       n       -       -       smtpd
#  -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes -o
smtpd_etrn_restrictions=reject
#628      inet  n       -       n       -       -       qmqpd
pickup    fifo  n       -       n       60      1       pickup
cleanup   unix  n       -       n       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
#qmgr     fifo  n       -       n       300     1       oqmgr
#tlsmgr   fifo  -       -       n       300     1       tlsmgr
rewrite   unix  -       -       n       -       -       trivial-rewrite
bounce    unix  -       -       n       -       0       bounce
defer     unix  -       -       n       -       0       bounce
trace     unix  -       -       n       -       0       bounce
verify    unix  -       -       n       -       1       verify
flush     unix  n       -       n       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
smtp      unix  -       -       n       -       -       smtp
relay     unix  -       -       n       -       -       smtp
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix  n       -       n       -       -       showq
error     unix  -       -       n       -       -       error
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
anvil     unix  -       -       n       -       1       anvil
#
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# maildrop. See the Postfix MAILDROP_README file for details.
#
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
#
# The Cyrus deliver program has changed incompatibly, multiple times.
#
old-cyrus unix  -       n       n       -       -       pipe
  flags=R user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -m ${extension}
${user}
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
cyrus     unix  -       n       n       -       -       pipe
  user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m
${extension} ${user}
uucp      unix  -       n       n       -       -       pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail
($recipient)
ifmail    unix  -       n       n       -       -       pipe
  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp     unix  -       n       n       -       -       pipe
  flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop
$recipient
#ccfilter    unix  -       n       n       -       -       pipe
#   flags=R user=filter argv=/usr/bin/ccfilterspam -f ${sender} --
${recipient}
# ==========================================================================

I went in and commented out the last two lines just to be sure and I moved
all my deferred mail back into the incoming queue, and it immediately went
back into the deferred queue after I restarted MailScanner. :(

> >I can see the files, such as the last one (39A745FC76F) in the
> >/var/spool/postfix/deferred/3/ directory.  I have no idea why the mail is
> >going to the deferred directories as the mail queues for the users exist
> in
> >the /var/spool/mail directory and the permissions on each user file is
> set
> >to "postfix:postfix rwx------".
> >
> >
> It's because as far as Postfix is concerned, the mail has not got to a
> delivery stage yet, hence it's deferred the mail.

What would cause the mail to be deferred?  Is there something I need to
change?  My system has only five users (one of them being root) and we get
maybe 20 to 30 e-mails a day that are valid e-mails.  It's the other
thousand or two that are spam and viruses.

Another peculiarity is that I do receive the crond.hourly e-mails showing
that ClamAv is up to date, so I am thinking it has to do with external mail,
but I am not able to check that theory because I cannot get my mail server
to respond on port 25...

Thanks for any suggestions

Tom

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list