Re: New TMDA install
Stephen Warren <[email protected]>
| Newsgroups | gmane.mail.spam.tmda.user |
|---|---|
| Message-ID | <[email protected]> |
-----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")
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFiEPvhk3bo0lNTrURAjNgAJ0fKMYH2uPCAVhxV0LBxSEnJMg9TgCgjqxu
5zO+nlS2wfzNNZBwp8Zpsr0=
=jt2L
-----END PGP SIGNATURE-----