deferred transport - PLEASE HELP
Alexander Endl
ls at CREATIVE-WEBNET.DE
Tue Jan 6 15:06:52 GMT 2004
On Tue, 6 Jan 2004 15:42:31 +0100, Jacques Caruso <jacques at MONACO.NET>
wrote:
>Le Mardi 06 Janvier 2004 15:26, Alexander Endl a écrit :
>> I installed the version more then 10 times as like desripted on the
>> homepage of mailscanner; and it don´t seems to be work...
>
>- Do you have the two instances (incoming and outgoing) of Postfix
>running ?
>- Do you have this in /etc/MailScanner/MailScanner.conf ?
>
> Incoming Queue Dir = /var/spool/postfix.in/deferred
> Outgoing Queue Dir = /var/spool/postfix/incoming
>
>- Is MailScanner running ? I can't see any output from MS in the log
>you've pasted...
>
>> Please Help me, because I would like to use Mailscanner!!!
>
>You don't give enough information for that. You need to paste the
>relevant parts of your Postfix and MS configuration. Otherwise, people
>can't do much than wild guesses as to what isn't working...
>
>Greets,
>--
>[ Jacques Caruso <jacques at monaco.net> Développeur PHP ]
>[ Monaco Internet http://monaco-internet.mc/ ]
>[ Tél : (+377) 93 10 00 43 Clé PGP : 0x41F5C63D ]
>[ -*- Quand le doigt montre la lune, l'imbécile regarde le doigt -*- ]
Jan 6 15:53:27 creative postfix/qmgr[3208]: 4CC442CC0B2:
to=<web4p1 at creative.webdemo24.de>, orig_to=<ls at CREATIVE-WEBNET.DE>, relay
=none, delay=0, status=deferred (deferred transport)
Jan 6 15:53:27 creative postfix/smtpd[3474]: disconnect from
smtp.jiscmail.ac.uk[130.246.192.48]
Jan 6 15:53:31 creative postfix/postfix-script: starting the Postfix mail
system
Jan 6 15:53:31 creative postfix/master[3547]: fatal: bind INADDR_ANY port
465: Address already in use
Jan 6 15:53:47 creative postfix/smtpd[3266]: timeout after END-OF-MESSAGE
from shackc.compushack.de[195.145.90.67]
Jan 6 15:53:47 creative postfix/smtpd[3266]: disconnect from
shackc.compushack.de[195.145.90.67]
Jan 6 15:54:01 creative postfix/smtpd[3474]: connect from pD950D3AE.dip.t-
dialin.net[217.80.211.174]
Jan 6 15:54:01 creative smtpd[3474]: 387E42CC0B3: client=pD950D3AE.dip.t-
dialin.net[217.80.211.174], sasl_method=LOGIN, sasl_usern
ame=web4p1
Jan 6 15:54:01 creative postfix/trivial-rewrite[3268]: warning: do not
list domain webdemo24.de in BOTH mydestination and virtual_
alias_domains
Jan 6 15:54:01 creative postfix/cleanup[3475]: 387E42CC0B3: message-
id=<DIIE.0000000600007278 at 192.168.0.1>
Jan 6 15:54:01 creative postfix/qmgr[3208]: 387E42CC0B3:
from=<hello at creative-webnet.de>, size=2476, nrcpt=1 (queue active)
Jan 6 15:54:01 creative postfix/qmgr[3208]: 387E42CC0B3:
to=<web1p1 at creative.webdemo24.de>, orig_to=<test at webdemo24.de>, relay=non
e, delay=0, status=deferred (deferred transport)
Jan 6 15:54:01 creative smtpd[3474]: disconnect from pD950D3AE.dip.t-
dialin.net[217.80.211.174]
Jan 6 15:55:04 creative popper[3573]: Stats: web5p1 0 0 0 0
p50893F5F.dip.t-dialin.net 80.137.63.95 [pop_updt.c:296]
Jan 6 15:55:05 creative popper[3574]: Stats: web5p1 0 0 0 0
p50893F5F.dip.t-dialin.net 80.137.63.95 [pop_updt.c:296]
This is my MailScanner.conf
# Set location of incoming mail queue
#
# This can be any one of
# 1. A directory name
# Example: /var/spool/mqueue.in
# 2. A wildcard giving directory names
# Example: /var/spool/mqueue.in/*
# 3. The name of a file containing a list of directory names,
# which can in turn contain wildcards.
# Example: /etc/MailScanner/mqueue.in.list.conf
#
Incoming Queue Dir = /var/spool/postfix.in/deferred
# Set location of outgoing mail queue.
# This can also be the filename of a ruleset.
Outgoing Queue Dir = /var/spool/postfix/incoming
# Set where to unpack incoming messages before scanning them
Incoming Work Dir = /var/spool/MailScanner/incoming
# Set where to store infected and message attachments (if they are kept)
# This can also be the filename of a ruleset.
Quarantine Dir = /var/spool/MailScanner/quarantine
# Set where to store the process id number so you can stop MailScanner
PID file = /var/run/MailScanner.pid
# To avoid resource leaks, re-start periodically
Restart Every = 14400
# Set whether to use postfix, sendmail, exim or zmailer.
# If you are using postfix, then see the "SpamAssassin User State Dir"
# setting near the end of this file
MTA = postfix
This is my /etc/Postfix/Postfix.in/master.cf
# (yes) (yes) (yes) (never) (50)
#
==========================================================================
smtp inet n - n - - smtpd
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
#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 nqmgr
#tlsmgr fifo - - n 300 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
flush unix n - n 1000? 0 flush
smtp unix - - n - - smtp
showq unix n - n - - showq
error unix - - n - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
#localhost:10025 inet n - n - - smtpd -o
content_filter=
#
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
# The Cyrus deliver program has changed incompatibly.
#
cyrus unix - n n - - pipe
flags=R user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -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
vscan unix - n n - 10 pipe
user=vscan argv=/usr/sbin/amavis ${sender} ${recipient}
procmail unix - n n - - pipe
flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc
${sender} ${recipient}
relay unix - - n - - smtp
proxymap unix - - n - - proxymap
and at least the /etc/Postfix/master.cf
# (yes) (yes) (yes) (never) (50)
#
==========================================================================
#smtp inet n - n - - smtpd
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
#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 nqmgr
#tlsmgr fifo - - n 300 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
flush unix n - n 1000? 0 flush
smtp unix - - n - - smtp
showq unix n - n - - showq
error unix - - n - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
#localhost:10025 inet n - n - - smtpd -o
content_filter=
#
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
# The Cyrus deliver program has changed incompatibly.
#
cyrus unix - n n - - pipe
flags=R user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -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
vscan unix - n n - 10 pipe
user=vscan argv=/usr/sbin/amavis ${sender} ${recipient}
procmail unix - n n - - pipe
flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc
${sender} ${recipient}
relay unix - - n - - smtp
proxymap unix - - n - - proxymap
~
and like to do in the instruction i put these to lines into
/etc/postfix/main.cf
Tell the incoming Postfix not to deliver mail:
Edit /etc/postfix.in/main.cf and add a line at the top that says this:
defer_transports = smtp local virtual relay
In the same file, look for the definition
queue_directory = /var/spool/postfix
look here (/etc/postfix.in/main.cf):
defer_transports = smtp local virtual relay
# Global Postfix configuration file. This file lists only a subset
# of all 100+ parameters. See the sample-xxx.cf files for a full list.
#
# The general format is lines with parameter = value pairs. Lines
# that begin with whitespace continue the previous line. A value can
# contain references to other $names or ${name}s.
#
# NOTE - CHANGE NO MORE THAN 2-3 PARAMETERS AT A TIME, AND TEST IF
# POSTFIX STILL WORKS AFTER EVERY CHANGE.
# SOFT BOUNCE
#
# The soft_bounce parameter provides a limited safety net for
# testing. When soft_bounce is enabled, mail will remain queued that
# would otherwise bounce. This parameter disables locally-generated
# bounces, and prevents the SMTP server from rejecting mail permanently
# (by changing 5xx replies into 4xx replies). However, soft_bounce
# is no cure for address rewriting mistakes or mail routing mistakes.
#
#soft_bounce = no
# LOCAL PATHNAME INFORMATION
#
# The queue_directory specifies the location of the Postfix queue.
# This is also the root directory of Postfix daemons that run chrooted.
# See the files in examples/chroot-setup for setting up Postfix chroot
# environments on different UNIX systems.
queue_directory = /var/spool/postfix
So what goes flase; what I must do that you can help me exactly....
Thx from Germany!!!
Alex...
More information about the MailScanner
mailing list