Hey Ovid, Try putting 7 in config/loglevel (if you are using built-in logging) or logging/syslog loglevel LOGDEBUG in config/plugins (if you are using Devin Carraway's syslog plugin)and tell us what it says. Don't daemonize qpsmtpd-forkserver (-d switch) if you are using built-in logging.
Uli > -----Ursprüngliche Nachricht----- > Von: Ovid [mailto:[EMAIL PROTECTED] > Gesendet: Samstag, 21. Januar 2006 03:13 > An: [email protected] > Betreff: Re: Problem forwarding with plugins/queue/smtp-forward > > Hi Juerd, > > Thanks for replying. > > > > Does anyone know what I'm doing wrong? > > > > No, but you may want to consider adding Debug => 1 to the > > Net::SMTP->new > > call. This is a feature from NET::Cmd, Net::SMTP's other superclass. > > I did that, but didn't get any new information. > > > To find out where the "Invalid argument" comes from, use a tool like > > strace(1). > > Apparently, Mac OS X uses ktrace. I'm not familiar with that utility, > but I used it and them kdump produced a fun, 30,000 line > file. I'm not > sure what to look for in there. The "Invalid argument" error message > didn't show up. > > There are a bunch of "No such file or directory" results, but I assume > that's just Perl searching for the requisite modules. I did notice > this, but it could be a red herring: > > 11428 perl RET write 41/0x29 > 11428 perl CALL stat(0x12e660,0xe4480) > 11428 perl NAMI "./config/spool_dir" > 11428 perl RET stat -1 errno 2 No such file or directory > 11428 perl CALL stat(0x12e660,0xe4480) > 11428 perl NAMI "/var/qmail/control/spool_dir" > 11428 perl RET stat -1 errno 2 No such file or directory > > I'm running postfix. I don't know why it's looking for a qmail > spool_dir, but then, I suppose it doesn't know that I'm running > postfix, so is that just default behavior? > > Shortly after that, about 30,000 lines into the file, I'm getting this > error a lot: > > 11428 perl RET write 34/0x22 > 11428 perl CALL wait4(0xffffffff,0xbffff440,0x1,0) > 11428 perl RET wait4 -1 errno 10 No child processes > > Would that be related? In any event, if there's a HOWTO out there on > using ktrace, I'd love to read it. Googling has revealed a few useful > links, but nothing's produced enlightenment (though a beer or > two might > help). > > Cheers, > Ovid > > -- > If this message is a response to a question on a mailing > list, please send follow up questions to the list. > > Web Programming with Perl -- > http://users.easystreet.com/ovid/cgi_course/ >
