Sławomir Dworaczek <[email protected]> (Mo 08 Dez 2014 10:46:32 CET):
> heloo
> How to block send email from addrres [email protected] , permit only send 
> from alias login name eg.
> 
> file aliases
> 
> a.nowak: loginname
> b.kowalski: loginnam2
> ....
> 
> send email only from [email protected] [email protected]
> deny send from [email protected] [email protected]

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)-

Attachment: signature.asc
Description: Digital signature

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to