I send all my mail through tmda-ofmipd. It's configured to use sendmail rather than SMTP. sendmail is in fact qmail on my system. Works great.

I was just about to post something to the ezmlm list and decided now was a good time to finally start using Charles Cazabon's pymsgauth. I have it working with mutt, at least in the sense that I can send mail normally unless I deliberately misconfigure pymsgauth. (I haven't tried posting to any of DJB's lists yet.)

So I set SENDMAIL_PROGRAM = '/usr/pkg/bin/pymsgauth-mail' in ~/.tmda/config and figured it'd Just Work. But when I try to send a test message to myself, an error bubbles up to my mail client saying it failed to send. The pymsgauth log says:

18 Apr 2005 13:13:29 Fatal: failed sending mail (mail command ['/var/qmail/bin/qmail-inject', '-A', '-i', '-f', '[EMAIL PROTECTED]', '--', '[EMAIL PROTECTED]'] exited 100, no signal, err: "qmail-inject: illegal option -- i")
18 Apr 2005 13:13:29 Traceback:18 Apr 2005 13:13:29 File "/usr/pkg/share/pymsgauth/pymsgauth.py", line 295, in send_mail
raise DeliveryError, 'mail command %s exited %s, %s%s' \


The -i appears to come from TMDA's Util.py. That option clearly doesn't work with qmail-inject, which is the default mail_prog for pymsgauth. Not seeing an obvious way to skip the -i, I tried setting mail_prog = ['/usr/sbin/sendmail', '-A']. In this case, sending still fails, and there's nothing in the pymsgauth log.

Any suggestions of things to try? Might anyone already be using pymsgauth with tmda-ofmipd and have a config you can share?

Thanks,

- Amitai
_____________________________________________
tmda-users mailing list ([email protected])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to