Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#46 qq internal bug

closed
nobody
None
5
2005-01-05
2004-09-07
Jakub Nowakowski
No

I am using amavis on Fedora2 with qmail and NOD32
antivirus.

I used working sendmail + amavis + NOD32, but some
days ago I decided to change my MTA to qmail.

Now I have qmail installed as decribed on
www.qmailrocks.org steps 1-10.

I did not change the NOD32 installation.

On NOD32 pages I found modified source of amavis-perl-
11 and installed it.

Without amavis qmail worked O.K.

Now I have problem with sending e-mails.

Outlook Express shows the error 451 qq internal bug
(#4.3.0)

/var/amavis/amavis.log is full of such lines:

Sep 7 10:38:35 vulcano.itns.pl amavisd[5306]:
do_exit:283 - ending execution with 81

I konw that 81 means EX_TEMPFAIL

This line number 283 refers (I think) to /usr/sbin/amavis
script.

There are following lines around:
(The first line below is line #258)

use vars qw($fh $BUFSIZE $buf);

if (-r "$TEMPDIR/email.txt") {
# already created by milter, just open it
$fh = IO::File->new("$TEMPDIR/email.txt") ||
do_exit($REGERR, __LINE__);
} else {
$fh = IO::File->new("+>$TEMPDIR/email.txt") ||
do_exit($REGERR, __LINE__
$BUFSIZE = 8192;
$buf = ' ' x $BUFSIZE;
while (read(\*STDIN, $buf, $BUFSIZE)) {
print $fh $buf;
}
}

# Determine sender and recipient(s)
# For sendmail, also get the "real" local delivery agent

use vars qw($recipline $SENDER @RECIPS $LDA
@LDAARGS);

# command line parsing, qmail version

open(ENVELOPE, "<&STDOUT");

$recipline = <ENVELOPE>;
close(ENVELOPE);
do_exit($REGERR, __LINE__) if !defined $recipline;

if ($recipline =~ /^F(.*?)\0T(.*)\0$/) {
$SENDER = $1;
my $recipsec = $2 . "T";
@RECIPS = split(/\0T/, $recipsec);
} else {
do_exit($REGERR, __LINE__);
}

# End qmail cmd line parsing

_______________________________________________

do_exit($REGERR, __LINE__) if !defined $recipline;

is the exact line #283.

I learned near everything about qq internal bug error in
the Internet. In most cases there were problems with
ownership/permisions. I think I have similar problem.
Maybe there is a problem with $TEMPDIR/emal.txt
creation. I cannot locate any email.txt file in the file
system.
I used qmail + amavis + NOD32 on slack8.0 some moths
ago and I am nearly sure that $TEMPDIR is a directory
under /var/amavis named amavis-random_number.

Recently I have qmailq.qmail and 0777 for /var/amavis

(I tried some other combinations, but without success).

I tried to rise log_level in /usr/sbin/amavis from 0 to 5,
but no more information were logged
to /var/amavis/amavis than described above.

Any idea what is wrong?
Jakub Nowakowski
jakub@itns.pl

Discussion

  • Lars Hecking
    Lars Hecking
    2005-01-05

    • status: open --> closed
     
  • Lars Hecking
    Lars Hecking
    2005-01-05

    Logged In: YES
    user_id=28904

    Please try amavis-user (archive and list). I have zero expertise
    with qmail.