Re: [exim] Allow mail sending only from certain IP's

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Heiko Schlittermann
Date:  
À: exim-users
Sujet: Re: [exim] Allow mail sending only from certain IP's
Hello,

basti <mailinglist@???> (Mo 02 Jun 2014 09:36:57 CEST):
> Hello,
> last week someone get the password of some mail addressees administered
> by a exim4 server.


Does this mean:
    Last week somebody got a username/password for an account at your Exim
    server.
?


> First of all I have changes the passwords of the mail addressees.


Now you've changed the passwords of all mail accounts?

> Is it possible to allow connections for this mail addresses only from
> certain IP's?


Probably want to restrict the logins to a list of certain IPs?
It should be sufficient to restrict the authentication offer to
a list of IPs.


    begin authenticators


    # NOT TESTED!


        plain:
            driver = ..
            server_condition = ${if and{\
                {def:tls_cipher}\
                {match_ip{$sender_host_address}{iplsearch;/etc/exim4/hosts-auth-ok}}}}



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