Mailing List Archive

AMAVIS error, used with Exim
01:34:04 17TQmS-0007JU-00 ** francis.balagtas@psinergybbs.com
D=amavis_director T=amavis: Child process of amavis transport returned 2
from command: /usr/sbin/amavisd
2002-07-14 01:34:04 17TQmS-0007JU-00 Frozen (delivery error message)

Another error
01:38:25 17TQqe-0007M4-00 == peter.santiago@psinergybbs.com T=amavis defer
(0): Child process of amavis transport returned 75 (could mean temporary
error) from command: /usr/sbin/amavis


I am currently encountering these errors.. Can somebody help me solve the
problem?
Re: AMAVIS error, used with Exim [ In reply to ]
Peter Santiago <peter.santiago@psinergybbs.com> writes:

> 01:34:04 17TQmS-0007JU-00 ** francis.balagtas@psinergybbs.com
> D=amavis_director T=amavis: Child process of amavis transport returned 2
> from command: /usr/sbin/amavisd
> 2002-07-14 01:34:04 17TQmS-0007JU-00 Frozen (delivery error message)
>
> Another error
> 01:38:25 17TQqe-0007M4-00 == peter.santiago@psinergybbs.com T=amavis defer
> (0): Child process of amavis transport returned 75 (could mean temporary
> error) from command: /usr/sbin/amavis
>
>
> I am currently encountering these errors.. Can somebody help me
> solve the problem?

Possibly--if you post the contents of your AMaViS logfile.

-Hilko
Re: AMAVIS error, used with Exim [ In reply to ]
At 08:41 PM 7/13/2002 +0200, Hilko Bengen wrote:
>Peter Santiago <peter.santiago@psinergybbs.com> writes:
>
> > 01:34:04 17TQmS-0007JU-00 ** francis.balagtas@psinergybbs.com
> > D=amavis_director T=amavis: Child process of amavis transport returned 2
> > from command: /usr/sbin/amavisd
> > 2002-07-14 01:34:04 17TQmS-0007JU-00 Frozen (delivery error message)
> >
> > Another error
> > 01:38:25 17TQqe-0007M4-00 == peter.santiago@psinergybbs.com T=amavis defer
> > (0): Child process of amavis transport returned 75 (could mean temporary
> > error) from command: /usr/sbin/amavis
> >
> >
> > I am currently encountering these errors.. Can somebody help me
> > solve the problem?
>
>Possibly--if you post the contents of your AMaViS logfile.
>
>-Hilko


transport section of exim.conf
amavis:
driver = pipe
command = "/usr/sbin/amavis <${sender_address}> -d ${pipe_addresses}"
prefix =
suffix =
check_string =
escape_string =
# for debugging change return_output to true
return_output = yes
return_path_add = false
headers_add = "X-Virus-Scanned: by AMaViS (http://amavis.org/)"
user = amavis
group = amavis
path = "/bin:/sbin:/usr/bin:/usr/sbin"
current_directory = "/var/amavis"

/etc/amavisd.conf
.....
Part II - Logging
#

# yes - syslog, no - file logging
$DO_SYSLOG = "no";

# Directory to put log entries (if not using syslog)
$LOGDIR = "/var/amavis";
$LOGFILE = "amavis.log";

# 0: default - startup/exit/failure messages
# 1: args passed from client
# 2: virus scanner output
# 3: server client
# 4: decompose parts
$log_level = 3;

/var/amavis/amavis.log
14 08:00:53 psinergybbs.com amavisd[20829]: starting. amavisd
snapshot-20020300 Sun Jul 14 07:0
Jul 14 08:00:53 psinergybbs.com amavisd[20829]: set up socket
Jul 14 08:00:53 psinergybbs.com amavisd[20829]: bound socket
Jul 14 08:00:53 psinergybbs.com amavisd[20829]: listening

I have also changed thelog_level value, but no joy,,,,, :-(

Thanks
Re: AMAVIS error, used with Exim [ In reply to ]
At 08:41 PM 7/13/2002 +0200, Hilko Bengen wrote:
>Peter Santiago <peter.santiago@psinergybbs.com> writes:
>
> > 01:34:04 17TQmS-0007JU-00 ** francis.balagtas@psinergybbs.com
> > D=amavis_director T=amavis: Child process of amavis transport returned 2
> > from command: /usr/sbin/amavisd
> > 2002-07-14 01:34:04 17TQmS-0007JU-00 Frozen (delivery error message)
> >
> > Another error
> > 01:38:25 17TQqe-0007M4-00 == peter.santiago@psinergybbs.com T=amavis defer
> > (0): Child process of amavis transport returned 75 (could mean temporary
> > error) from command: /usr/sbin/amavis
> >
> >
> > I am currently encountering these errors.. Can somebody help me
> > solve the problem?
>
>Possibly--if you post the contents of your AMaViS logfile.
>
>-Hilko


transport section of exim.conf
amavis:
driver = pipe
command = "/usr/sbin/amavis <${sender_address}> -d ${pipe_addresses}"
prefix =
suffix =
check_string =
escape_string =
# for debugging change return_output to true
return_output = yes
return_path_add = false
headers_add = "X-Virus-Scanned: by AMaViS (http://amavis.org/)"
user = amavis
group = amavis
path = "/bin:/sbin:/usr/bin:/usr/sbin"
current_directory = "/var/amavis"

/etc/amavisd.conf
.....
Part II - Logging
#

# yes - syslog, no - file logging
$DO_SYSLOG = "no";

# Directory to put log entries (if not using syslog)
$LOGDIR = "/var/amavis";
$LOGFILE = "amavis.log";

# 0: default - startup/exit/failure messages
# 1: args passed from client
# 2: virus scanner output
# 3: server client
# 4: decompose parts
$log_level = 3;

/var/amavis/amavis.log
14 08:00:53 psinergybbs.com amavisd[20829]: starting. amavisd
snapshot-20020300 Sun Jul 14 07:0
Jul 14 08:00:53 psinergybbs.com amavisd[20829]: set up socket
Jul 14 08:00:53 psinergybbs.com amavisd[20829]: bound socket
Jul 14 08:00:53 psinergybbs.com amavisd[20829]: listening

I have also changed thelog_level value, but no joy,,,,, :-(

Thanks
Re: AMAVIS error, used with Exim [ In reply to ]
Peter Santiago <peter.santiago@psinergybbs.com> writes:

> /var/amavis/amavis.log
> 14 08:00:53 psinergybbs.com amavisd[20829]: starting. amavisd
> snapshot-20020300 Sun Jul 14 07:0
> Jul 14 08:00:53 psinergybbs.com amavisd[20829]: set up socket
> Jul 14 08:00:53 psinergybbs.com amavisd[20829]: bound socket
> Jul 14 08:00:53 psinergybbs.com amavisd[20829]: listening
>
> I have also changed thelog_level value, but no joy,,,,, :-(

It looks as if the AMaViS daemon were running. Have you verified this?

The error seems to happen even before a connection between the C
client /usr/sbin/amavis and amavisd is established. What happens if
you pipe a message to /usr/sbin/amavis from your shell? Do the
neccessary directories exist?

-Hilko
Re: AMAVIS error, used with Exim [ In reply to ]
At 01:57 PM 7/14/2002 +0200, you wrote:
>Peter Santiago <peter.santiago@psinergybbs.com> writes:
>
> > /var/amavis/amavis.log
> > 14 08:00:53 psinergybbs.com amavisd[20829]: starting. amavisd
> > snapshot-20020300 Sun Jul 14 07:0
> > Jul 14 08:00:53 psinergybbs.com amavisd[20829]: set up socket
> > Jul 14 08:00:53 psinergybbs.com amavisd[20829]: bound socket
> > Jul 14 08:00:53 psinergybbs.com amavisd[20829]: listening
> >
> > I have also changed thelog_level value, but no joy,,,,, :-(
>
>It looks as if the AMaViS daemon were running. Have you verified this?
>
>The error seems to happen even before a connection between the C
>client /usr/sbin/amavis and amavisd is established. What happens if
>you pipe a message to /usr/sbin/amavis from your shell? Do the
>neccessary directories exist?

I used the amavisd-test script and make test. it works...... somehow I
not sure if there's an error in the transport configuration section .......
obviously, it's getting called by exim when processing mails. BTW, how
does one pipe a message from the shell? Sorry, brain's not
working.... thanks again


Peter