[Pkg-exim4-users] exim4 with smtp authentication

Thijs Koetsier | Exception thijs.koetsier at exception.nl
Thu Aug 25 15:41:17 UTC 2005


Hi Christoph,

You'll have to specify who you would relay for and who not.

In my configuration I use a textfile in /etc/mail/exim4/relay_hosts
In that file are hosts (IP addresses) of machines who are allowed to send
mail using my smtp-server.

The configuration in my main/01_exim4-config_listmacrosdefs is:

hostlist relay_from_hosts = /etc/mail/exim4/relay_hosts

an example of that file is:

# localhost
127.0.0.1
# my machine at work
xxx.123.456.789
...etc...

If this is done (and as Marc pointed out; do it quick or we'll all be
recieving unwanted mail from your server till you're blacklisted and all
your work has been useless), you could also set up individual users from
other than the specified (IP#) locations to use your server for sending
mail.
This is done by SMTP-authenticating. In your
/usr/share/doc/exim4/README.SMTP-AUTH you can - for starters - read how this
works. 

Cheers,
Thijs

> -----Oorspronkelijk bericht-----
> Van: pkg-exim4-users-bounces at lists.alioth.debian.org 
> [mailto:pkg-exim4-users-bounces at lists.alioth.debian.org] 
> Namens exim4 at wlassak.net
> Verzonden: donderdag 25 augustus 2005 16:55
> Aan: pkg-exim4-users at lists.alioth.debian.org
> Onderwerp: [Pkg-exim4-users] exim4 with smtp authentication
> 
> Hello everyone,
> 
> i have a problem with my smtp server which runs on a Debian 
> Sarge 3.1 Linux System.
> 
> Relaying, ... works fine, but i like to have a smpt 
> authentication for outgoing e-mails. So far it is working.
> 
> To secure my server a bit, i want to deny unauthenticated 
> clients to send mail.
> For now they can do this, even if they are not in my local net.
> I am allowed to send mails with and without authentification.
> 
> Do you know how to prevent this?
> 
> ... Yes, I read the manual ...
> 
> Thanks for your help.
> 
> Regards
> Christoph
> 
> 
> _______________________________________________
> Pkg-exim4-users mailing list
> Pkg-exim4-users at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users
> 




More information about the Pkg-exim4-users mailing list