I forgot to mention postfix config:
# master.cf
tmda unix - n n - - pipe
flags=Rqhu user=mail argv=/usr/bin/tmda-filter -e SENDER=${sender} -e
EXTENSION=${extension} -e USER=${user} -e RECIPIENT=${recipient}
# main.cf
mailbox_transport_maps = hash:/etc/postfix/conf.d/transport
# transport
RECIPIENT tmda
where RECIPIENT is your final recipient :P
On Fri, Jun 13, 2008 at 9:56 AM, Vitor Espíndola <[EMAIL PROTECTED]>
wrote:
> HI!
>
> I'm using TMDA with postfix and cyrus. I've users authenticated under LDAP
> and deliver under Cyrus LMTP. Because i use virtual user storage(doesn't
> have user home directory), and my cyrus is on a different server, I using
> Craig
> Forbes LMTP patch(Thanks Craig) and configured my TMDA as above:
>
> # /etc/tmdarc
> ...
>
> RECIPIENT = os.environ.get('RECIPIENT')
> if RECIPIENT.find('+') > -1:
> RECIPIENT = RECIPIENT[:os.environ.get('RECIPIENT').index('+')]
> RECIPIENT = RECIPIENT[:os.environ.get('RECIPIENT').index('@')]
>
> DELIVERY = "=LMTPHOST:2003"
>
> DATADIR = "/var/tmda/" + RECIPIENT
>
> TMDARC = os.path.join(DATADIR, 'config')
>
> ...
>
> where LMTPHOST is your lmtp host :P .
>
> TMDA config is a python script and I love this.
>
> As you can see, I got final destination with os.environ.get('RECIPIENT')
> with some treatments and use to specify the TMDARC configuration.
>
> Under recipient /var/tmda directory (eg. /var/tmda/vitor) I have the user
> crypt_key, pending dir, responses dir, and config file with that line:
>
> CONFIRM_ADDRESS = "[EMAIL PROTECTED]"
>
> where [EMAIL PROTECTED] is the user real address.
>
> I'm from Santa Catarina(Brasil) too. If you need some help contact me.
>
>
> On Thu, Jun 12, 2008 at 6:46 PM, Márcio Luciano Donada <
> [EMAIL PROTECTED]> wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hi List
>> I am setting up a server for testing with tmda using the archive and
>> ldap, not only use areas there is a virtual field. I am looking for
>> documentation for such a configuration. Can anyone give me a doc. I
>> would also like to know whether it is possible to have the user
>> qualifies or not his TMDA?
>>
>> thnx
>>
>> - --
>> Márcio Luciano Donada <mdonada at auroraalimentos dot com dot br>
>> Aurora Alimentos - Cooperativa Central Oeste Catarinense
>> Departamento de T.I.
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.5 (MingW32)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>
>> iD8DBQFIUZlKbjyCr4Ixg0wRAg+EAJ9f02Cc5Iw672J6sRqxjh2T1+zMBACfSsL4
>> VhzQekDpgfYsZYtb+OdbcLk=
>> =KQKl
>> -----END PGP SIGNATURE-----
>> _____________________________________________
>> tmda-users mailing list ([email protected])
>> http://tmda.net/lists/listinfo/tmda-users
>>
>
>
>
> --
> Vitor Espíndola
--
Vitor Espíndola
_____________________________________________
tmda-users mailing list ([email protected])
http://tmda.net/lists/listinfo/tmda-users