Re: New TMDA install

"David Bandel" <[email protected]>
Newsgroups gmane.mail.spam.tmda.user
Message-ID <[email protected]>
On 12/19/06, Stephen Warren <[email protected]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1

[snip]

Thanx.  perhaps I'll just stick to -R imaps://blah since it seems to work. :-)

>
> Anyway, show us your other problems and we'll see if they can be fixed too!

OK, I think this is probably a simple thing.  When I set this up the
other day, I created:
/etc/tmdarc
~/.tmda/config
files.  For now, I'm keeping them sync'd.  Originally, they had:
DELIVERY = "/var/mail/%s"
but that presented an error I found disturbing:
DeliveryError: Destination "/var/mail/None" does not exist!
well, gee, I don't have any users (%s) called None.

So I changed this to:
DELIVERY = "|/usr/bin/procmail ~/.procmail=tmda"
but this appears to do nothing.

Now, this _may_ be related to my use of (sendmail):
FEATURE(`smrsh')
which causes trouble if I full-path something.  I do have
/etc/mail/smrsh/procmail properly listed, and it does run (although I
also had to remove the /usr/bin/procmail from
FEATURE(`local_procmail').

But using procmail results in tmda-filter not being called.

So, starting w/ sendmail.mc, I have:
define(`LOCAL_MAILER_ARGS', `procmail -Y -a $h -d $u')
FEATURE(`local_procmail')
MAILER(procmail)
FEATURE`(smrsh')

I think I need to return DELIVERY = to /var/mail/%s because calling
/usr/bin/procmail seems not to work as nothing has been delivered to
tmda since yesterday, when I was getting:

Uncaught Python 2.4.4 Exception (Mon Dec 18 15:05:20 2006):
-----------------------------------------------------------
Traceback (most recent call last):
  File "/opt/tmda-1.1.9/bin/tmda-filter", line 53, in ?
    execfile(os.path.join(execdir, 'tmda-rfilter'))
  File "/opt/tmda-1.1.9/bin/tmda-rfilter", line 877, in ?
    main()
  File "/opt/tmda-1.1.9/bin/tmda-rfilter", line 843, in main
    mta.deliver(msgin)
  File "./TMDA/MTA.py", line 59, in deliver
  File "./TMDA/Deliver.py", line 146, in deliver
DeliveryError: Destination "/var/mail/None" does not exist!
Traceback (most recent call last):
  File "/opt/tmda-1.1.9/bin/tmda-filter", line 69, in ?
    raise NameError, 'LOGFILE_DEBUG is not defined'
NameError: LOGFILE_DEBUG is not defined


Your suggestions?

David A. Bandel
-- 
Focus on the dream, not the competition.
            - Nemesis Air Racing Team motto
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.