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
>
> David Bandel wrote:
> > Originally, they had:
> >
> > DELIVERY = "/var/mail/%s"
>
> Is that literally exactly what's in the configuration file? If so,
> that's the problem; the string contains a "%s" that's meant to be
> substituted with the user's user ID or email address etc., but there's
> no actual value provided to provide the substitution.
>
> Typically, you'd write something like this:
>
> DELIVERY = "/var/mail/userid"
>
> If you put this into ~/.tmda/config, you can literally write this line,
> and manually perform the substitution per user.
>
> If you want to put this into /etc/tmdarc so it's shared across all
> users, you'd have to write:
>
> DELIVERY = "/var/mail/%s" % userid
>
> where userid is user's ID. For example, you might:
>
> DELIVERY = "/var/mail/%s" % os.environ.get("USER")

the above is what was in there yesterday (when I was getting the error
about /var/mail/None doesn't exist.

Guess I have to study Python now too. :-(

Changed it back to the way it was.

Ciao,

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.