[Greylist-users] TEMPFAIL sometimes?

Harald Schmitz harald.schmitz at fh-aachen.de
Mon Dec 8 08:39:05 PST 2003


Hello,

Evan Harris wrote:
> 
> If you are using the stock milter, check the lines in your syslog.  If the
> rejection messages have the string "(TEMPFAIL)" at the end, then the milter
> processed the message.  If they do not have (TEMPFAIL) in them, then
> the milter was unable to process the message and sendmail is actually
> failing the message, not the milter.

The milter is failing the message:

Dec  8 15:53:14 medos sm3[12782]: [ID 801593 mail.info] hB8EoEXG012782:
from=relaydelay128 at dvz.fh-aachen.de, size=57, class=0, nrcpts=1,
msgid=<200312081450.hB8EoEXG012782 at relay3.rwth-aachen.de>, proto=SMTP,
daemon=MTA, relay=xxxxx.rz.RWTH-Aachen.DE [134.130.xx.xxx]
bash-2.05# grep hB8EoEXG012782 /var/log/syslog
Dec  8 15:53:14 medos sm3[12782]: [ID 801593 mail.info] hB8EoEXG012782:
from=relaydelay128 at dvz.fh-aachen.de, size=57, class=0, nrcpts=1,
msgid=<200312081450.hB8EoEXG012782 at relay3.rwth-aachen.de>, proto=SMTP,
daemon=MTA, relay=xxxxx.rz.RWTH-Aachen.DE [134.130.xx.xxx]
Dec  8 15:53:14 medos sm3[12782]: [ID 801593 mail.info] hB8EoEXG012782:
Milter: data, reject=451 4.7.1 Please try again later (TEMPFAIL)
Dec  8 15:53:14 medos sm3[12782]: [ID 801593 mail.info] hB8EoEXG012782:
to=harry at fh-aachen.de, delay=00:03:00, pri=30057, stat=Please try again
later (TEMPFAIL)

But only slow mailer (with long data phase), have this problem:
  (to=harry at fh-aachen.de, delay=00:03:00 [from my test-script])
  
The debug output for this message:

=== 2003-12-08 15:50:14 ===
Stored Sender: relaydelay128 at dvz.fh-aachen.de
Passed Recipient: harry at fh-aachen.de
Relay: xxxxx.rz.RWTH-Aachen.DE [134.130.xx.xxx] - If_Addr: 134.130.3.4
RelayIP: 134.130.xx.xxx - RelayName: xxxxx.rz.RWTH-Aachen.DE -
RelayIdent:  - PossiblyForged: 0
From: relaydelay128 at dvz.fh-aachen.de - To: harry at fh-aachen.de
InMailer: sophos - OutMailer: sophos - QueueID: hB8EoEXG012782
Whitelisted Relay.  Skipping checks and passing the mail.
(No CALLBACK entry)
> 
> What is your milter config line in sendmail.mc?  What does the syslog
> contain for a mail having this problem?

The sendmail configuration:
 Xrelaydelay,   S=local:/etc/mail/milter/relaydelay.sock, T=R:60s;S:30s

A improvement come's with this workarround,
we changed the relaydelay.conf from:

$tempfail_messages_after_data_phase = 1;
to
$tempfail_messages_after_data_phase = 0;

Now it works better, only 10 percent from the slow messages will 
tempfail, it were 50 percent before.


> 
> Evan

Harry
> 
> On Mon, 1 Dec 2003, Harald Schmitz wrote:
> 
> > Hello,
> >
> > I've got the same effect and make same test's with a modem-connection.
> >
> > Some times the messages is delivered, sometimes i got a tempfail.
> >
> > I write a test script like:
> >
> >  telnet .... 25
> >    hello ...
> >    mail from ..
> >    rcpt to ..
> >    data
> >    subject: test
> >     (sleep 90)
> >    .
> >    quit
> >
> > The effect is also here, sometimes delivery other times tempfail.
> >
> > The debug output from the milter shows no errors, but the EOM-CALLBACK
> > lines where not printed in the log-file for this tempfail Mails
> >
> > There is also no increment in the database entry.
> >
> > Can somebody help, is it a timeout in sendmail ?
> >
> > Best Regards
> > Harry
> >
> >
> >
> > Alan Batie wrote:
> > >
> > > I've got a user who dials in with PPP and sends mail with a standard PC
> > > client.  The weird thing is that normal text messages are working, but
> > > when he sends a zip file attachment, it's rejected:
> > >
> > > Nov 20 06:46:07 agora sendmail[3318]: hAKEj40q003318: from=<localuser at rdrop.com>, size=135041, class=0, nrcpts=1, msgid=<000b01c3af74$e827dea0$45ac1ac7 at BigBird>, proto=ESMTP, daemon=MTA, relay=dialup-69.rdrop.com [199.26.172.69]
> > > Nov 20 06:46:07 agora sendmail[3318]: hAKEj40q003318: Milter: data, reject=451 4.7.1 Please try again later (TEMPFAIL)
> > >
> > > Nov 18 06:29:09 agora sendmail[11796]: hAIET2vE011796: from=<localuser at rdrop.com>, size=1055, class=0, nrcpts=1, msgid=<002501c3ade0$54fb9800$49ac1ac7 at BigBird>, proto=ESMTP, daemon=MTA, relay=dialup-73.rdrop.com [199.26.172.73]
> > > Nov 18 06:29:11 agora sendmail[11826]: hAIET2vE011796: to=<destination at somewhere.com>, ctladdr=<localuser at rdrop.com> (6757/101), delay=00:00:03, xdelay=00:00:02, mailer=esmtp, pri=30491, relay=mx3.pacifier.net. [64.255.238.218], dsn=2.0.0, stat=Sent (Ok: queued as 6BE506F4D1)
> > >
> > > --
> > > Alan Batie                   ______    alan.batie.org                Me
> > > alan at batie.org            \    /    www.qrd.org         The Triangle
> > > PGPFP DE 3C 29 17 C0 49 7A    \  /     www.pgpi.com   The Weird Numbers
> > > 27 40 A5 3C 37 4A DA 52 B9     \/      spamassassin.taint.org  NO SPAM!
> > >
> > > To announce that there must be no criticism of the President, or that we
> > > are to stand by the President, right or wrong, is not only unpatriotic
> > > and servile, but is morally treasonable to the American public.
> > > -Theodore Roosevelt, 26th US President (1858-1919)
> > >
> > >   ------------------------------------------------------------------------
> > >    Part 1.1.2Type: application/pgp-signature
> > >
> > >   ------------------------------------------------------------------------
> > > _______________________________________________
> > > Greylist-users mailing list
> > > Greylist-users at lists.puremagic.com
> > > http://lists.puremagic.com/cgi-bin/mailman/listinfo/greylist-users
> >
> > --
> > _____________________________________________________________________
> >
> > Dipl.-Ing. Harald Schmitz
> >
> > FH-Aachen                       Rechen- und Kommunikationszentrum
> > Netzzentrale (NOC)              der RWTH Aachen
> >
> > Goethestrasse 1                 Seffenter Weg 23
> > 52064 Aachen                    52074 Aachen
> >
> > mailto:harald.schmitz at fh-aachen.de
> > http://www.noc.fh-aachen.de
> > _____________________________________________________________________
> >
> >
> 
>   ------------------------------------------------------------------------
> _______________________________________________
> Greylist-users mailing list
> Greylist-users at lists.puremagic.com
> http://lists.puremagic.com/cgi-bin/mailman/listinfo/greylist-users

-- 
_____________________________________________________________________

Dipl.-Ing. Harald Schmitz     

FH-Aachen                       Rechen- und Kommunikationszentrum 
Netzzentrale (NOC)              der RWTH Aachen

Goethestrasse 1                 Seffenter Weg 23
52064 Aachen                    52074 Aachen

Tel 0241-6009-2912              0241-80-29249
FAX 0241-6009-2453

mailto:harald.schmitz at fh-aachen.de
http://www.noc.fh-aachen.de
_____________________________________________________________________



More information about the Greylist-users mailing list