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
On Thu, Aug 25, 2005 at 04:55:07PM +0200, exim4@wlassak.net wrote:> 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.Please take that dangerous server offline _RIGHT_ _NOW_.> Do you know how to prevent this?You use SMTP AUTH.> ... Yes, I read the manual ...does that include spec.txt chapters 33 to 38 and the comments in /etc/exim4/conf.d/auth/30_exim4-config_examples? If so, please state what still is unclear. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
Thijs Koetsier | Exception
2005-Aug-25 15:41 UTC
[Pkg-exim4-users] exim4 with smtp authentication
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@lists.alioth.debian.org > [mailto:pkg-exim4-users-bounces@lists.alioth.debian.org] > Namens exim4@wlassak.net > Verzonden: donderdag 25 augustus 2005 16:55 > Aan: pkg-exim4-users@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@lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users >
Thank you for your hints. Of course, my smtp-server is _not_ connected to the internet. I had read the specs, too, but did it again more carefully. In there i think i found now what i searched for. I agree the first time of reading specs was more a run through than reading it. Now i try again, to configure my server correctly. Next scene: exim, n+1 st Thank you for help. Regards Christoph Zitat von Thijs Koetsier | Exception <thijs.koetsier@exception.nl>:> 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@lists.alioth.debian.org > > [mailto:pkg-exim4-users-bounces@lists.alioth.debian.org] > > Namens exim4@wlassak.net > > Verzonden: donderdag 25 augustus 2005 16:55 > > Aan: pkg-exim4-users@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@lists.alioth.debian.org > > http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users > > > > > _______________________________________________ > Pkg-exim4-users mailing list > Pkg-exim4-users@lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users >