Hi, our admin tool for dbmail always tries to find out if an e-mail 
address entered in "deliver_to" for an alias is a local dbmail user, 
and then replaces the e-mail with the user_idnr.

Example: User enters:
[EMAIL PROTECTED] -> [EMAIL PROTECTED]

Then our tools looks up "[EMAIL PROTECTED]", and if it's user #777, it inserts 
into dbmail_aliases:
[EMAIL PROTECTED] -> 777

Now I'd like to know if this is good behaviour, or if I should 
preferrably enter [EMAIL PROTECTED] instead of 777. 

I ask this because I just found a race condition: When a user goes on 
holidays, he wants to have all his business e-mail at his home account. 
Example: [EMAIL PROTECTED] wants his e-mails @work and @home:
dbmail_aliases:
[EMAIL PROTECTED] -> [EMAIL PROTECTED]
[EMAIL PROTECTED] -> [EMAIL PROTECTED]

This makes all e-mail sent to [EMAIL PROTECTED] appear on the dbmail 
user "[EMAIL PROTECTED]", as well as a forward on [EMAIL PROTECTED] Simple.
BUT if now he has an alias
[EMAIL PROTECTED] -> [EMAIL PROTECTED]
this was already replaced with
[EMAIL PROTECTED] -> 777
and then [EMAIL PROTECTED] would only go to local user 777 and not the 
[EMAIL PROTECTED] e-mail, and this is not easy to find.

So could I say that always using the e-mail address instead of the 
user_idnr is recommended? Or is there any good reason to enter the 
user_idnr in deliver_to?

mfg zmi
-- 
// Michael Monnerie, Ing.BSc    -----      http://it-management.at
// Tel: 0676/846 914 666                      .network.your.ideas.
// PGP Key:         "curl -s http://zmi.at/zmi.asc | gpg --import"
// Fingerprint: AC19 F9D5 36ED CD8A EF38  500E CE14 91F7 1C12 09B4
// Keyserver: www.keyserver.net                   Key-ID: 1C1209B4

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to