Gordon,

> Interestingly, if I test things from a logon window I see the following:
>   Apr 11 14:25:54 isis genunix: NOTICE: core_log: amavisd[27426] setid
>   process, core not dumped:

It is just a confirmation of what we already know,
that a process is crashing of unnatural death.

> > Most weird. Between "creating file" and returning a SMTP status
> > there is hardly any significant processing going on.
> > If policy bank MYNETS exists and @mynetworks_maps is defined
> > there would be a call to lookup_ip_acl() with its own log entry,
> > and after that a lookup on sender address against @debug_sender_maps.
>
> I don't define MYNETS or debug_sender_maps. I just took the
> amavisd.conf-sample and set hostname, domain, Postfix MTA, ClamAV,
> logging, policy for SPAM=PASS, and set banned to warn sender/receiver.
> That's about it. Everything else I left as-is.

Mail hasn't even been received yet, the event occurs
just after sender's address has been received.

> # truss -f amavisd -u amavis debug

Yes, this is the most promising way to go about diagnosing
that particular problem.

> 8248:   fcntl(11, F_SETFD, 0x00000001)                  = 0
> 8248:   fstat64(11, 0xFFBFF4F0)                         = 0
> 8248:   time()                                          = 1144780741
> Apr 11 14:39:01 isis.eng.fsu.edu /usr/local/sbin/amavisd[8248]: 8248:
> write(2, " A p r   1 1   1 4 : 3 9".., 64)      = 64
> TIMING [total 32 ms] - bdb-open: 32 (100%)100, rundown: 0 (0%)1008248:
> write(2, " T I M I N G   [ t o t a".., 65)      = 65
> 8248:   write(2, "\n", 1)                               = 1
> 8248:   sigaction(SIGCLD, 0xFFBFF7A0, 0xFFBFF820)       = 0
> 8248:   open64("/var/amavis/amavisd.lock", O_WRONLY|O_CREAT|O_TRUNC,
> 0666) = 12
> 8248:   fstat64(12, 0xFF31D390)                         = 0
> 8248:   fcntl(12, F_SETFD, 0x00000001)                  = 0
> 8246:   poll(0xFFBFF900, 2, -1)         (sleeping...)
> 8243:   poll(0xFFBFF940, 0, 10000)      (sleeping...)

Yes, and what comes next when a message starts arriving?

This can amount to a lengthy trace, so either select and post only the
relevant part, just after client logs "TempDir::prepare_file: creating file",
or put it on some http/ftp server for pickup. (private mail is another
option).

  Mark


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to