Steve,

On Wed, Feb 22, 2006 at 05:53:51AM -0500, Steve Johnson wrote:
> Hi,
> 
> For the first time in the few setups that I have performed, I'm having 
> an issue with the Postfix reinjection daemon from amavis. I'm unsure as 
> to where the problem could be, between amavis and Postfix. This setup is 
> running on Trustix Linux 3.0 and is the first time I try to set it in 
> Trustix. I've also posted on the Postfix mailing list and the only 
> answer I have received so far was that I should check with the 
> distribution because my settings looked ok. So I'm also asking this list 
> for help, in case :-).
> 
> When amavis tries to send mail back to the reinjection daemon, I get the 
> following error:
> Can't connect to 127.0.0.1 port 10025,  (Bad file descriptor) at 
> /usr/sbin/amavisd line 4323

(...)

Looks strange indeed, it means that the Net::SMTP->new() call
returned undef and this error. Are all your Perl modules installed
from Trustix RPMs or are they self-installed from 'perl -MCPAN ...'?

Things I would try:

1- run amavisd in debug mode (/usr/sbin/amavisd debug) and check for
anything suspect around the resubmit action
2- run it in debug mode and also under strace -f -s256, find out what system
call fails right before you get that error displayed, and for what reason
3- hand-edit /usr/sbin/amavisd (make a copy first) and add
a "Debug   => 1" option to the call to Net::SMTP->new(), then
try -1- again
(uncommenting out the line that says "Debug => debug_oneshot()"
might do the same, but that's unclear to me)

Just my two cents.
Greets,
_Alain_
_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss

Reply via email to