On 2013-10-03 10:54, Victor Safronov wrote:
Hello! Stupid question about dbmail.
I know how to add an alias for my user.
But is it possible to create an alias with dbmail, which will be owned
by different users? Something like maillist? I can't do it with Postfix
rewrite rules, because the Postfix gets the local recipients by
querying
aliases table from MySQL directly.
Hi.
not sure if this will work like that but you could create a user for the
alias mail and then use sieve scripts? to redirect.
here's something i found on the net that might or might not work (but it
should give you somewhere to start if you want to test this):
from some 2008 dovecot mailing list archive:
if header :value "ge" :comparator "i;ascii-numeric" ["X-Spam-Score"]
["25"]
{
discard;
stop;
}
elsif header :value "ge" :comparator "i;ascii-numeric" ["X-Spam-Score"]
["5"]
{
fileinto "Junk";
stop;
}
else
{
redirect "user at test.com";
redirect "user at example.com";
keep;
}
this might help too:
http://tools.ietf.org/html/rfc3894
":copy" extension to the "fileinto" and "redirect" commands
Syntax:
"fileinto" [":copy"] <folder: string>
"redirect" [":copy"] <address: string>
not sure if this is supported by dbmail's sieve implementation.
Let us know if you try if it worked or not though please :)
Regards
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail