On Fri, 09 Jan 2009 09:06:25 +0100, "Kees de Keizer (RC)" kees@de-keizer.net wrote:
On Thu, 8 Jan 2009 21:38:10 +0100, "Claudio Kuenzler" wrote:
I'd like to know if it is possible, that several e-mail addresses (as sender) are automatically detected by using the virtuser file?
Here an example of a virtUser file: test1@domain.com unixuser1 test2@domain.com unixuser1 test3@domain.com unixuser1
As you see, 3 mail addresses are pointing to one unix user. But
roundcube
only detected one and set this as sender address.
That will be hard to add, because not all MTA's use the same format and in the virtuser file you can also have the following entries:
@domain1.com test1@domain.com test1@domain2.com test1@example.com sales@domain2.com error:nouser 550 No money to spare @domain3.com unixuser3
But it's not tough to reprocess the real virtuserfile and save as a customized copy for RC. Since I'm running RC on a separate box from the MTA/IMAP server, I have a script that rewrites the file into a consistent format and copies it over to the RC box. Works fine. I do that for my squirrelmail install too. The format is similar in both cases.