Sławomir Dworaczek <slawek@???> (Mo 08 Dez 2014 10:46:32 CET):
> heloo
> How to block send email from addrres loginname@??? , permit only send from alias login name eg.
>
> file aliases
>
> a.nowak: loginname
> b.kowalski: loginnam2
> ....
>
> send email only from a.nowak@??? b.kowalski@???
> deny send from loginname@??? loginname2@???
Somewhere at the proper place you may insert something like this:
require authenticated = *
message = invalid sender name
senders = ${if eq{$authenticated_id}\
{${lookup{$sender_address}lsearch{ALIASES}}}\
{$sender_address}}
UNTESTED
Best regards from Dresden/Germany
Viele Grüße aus Dresden
Heiko Schlittermann
--
SCHLITTERMANN.de ---------------------------- internet & unix support -
Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
gnupg encrypted messages are welcome --------------- key ID: 7CBF764A -
gnupg fingerprint: 9288 F17D BBF9 9625 5ABC 285C 26A9 687E 7CBF 764A -
(gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2 7E92 EE4E AC98 48D0 359B)-