[imp] Custom Hook: Use second dot from right to left, as separator

Denny Schierz cuall at gmx.de
Wed May 10 05:31:17 PDT 2006


hi,

Am Dienstag, den 09.05.2006, 23:36 +0200 schrieb Jan Schneider:

> Yes. What exactly is your problem/question?

great :-) 

When the user login, with his username (cyrus unixhierarchysep:yes), for
example user.domain.foo and then he sends a mail without change anything
in his IMP setup, then the reply address becomes:

user.domain.foo.domain.foo 

(if no domain was set in imp/config/servers.php 'maildomain') or, if it
was set (mydomain.foo), it becomes:

user.domain.foo at mydomain.foo

but the real address is: user at domain.foo

Many users forget to change the reply address in his IMP config, and
wonder, why they does get no answer, if somebody reply to this mail.

I have only normal domains and no users have more than two dots in his
domain, so i can use the one of them, to use it as separator for @.

cu denny

-- 
Sicherheit verständlich http://www.sides.de
GnuPG Key
http://pgpkeys.pca.dfn.de:11371/pks/lookup?op=get&search=0x2A5CE192AB7D3FE0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.horde.org/archives/imp/attachments/20060510/28400b07/attachment-0001.bin


More information about the imp mailing list