Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 29th November 2006, 20:08
ghall ghall is offline
Member
 
Join Date: Nov 2006
Posts: 43
Thanks: 1
Thanked 0 Times in 0 Posts
Default SMTP server requires authentication

Hello,

I successfully installed ISPConfig using Falko's Fabulous Installing a LAMP system With Fedora Core 6 Falko's Fabulous Installing a LAMP system With Fedora Core 6

I'm having a hard time getting the SMTP server to only send mails from an authenticated user. Right now with the basic setup you can send mail from a client with any user name on the same subnet. I setup my Eudora client with a username bogus@mydomain.edu (not a user) and sent mail to my yahoo account and it sent without a problem.

What exactly do I need to change to only let authenticated users send mail on the outgoing SMTP server requiring them to authenticate with their login and password I set up for them in ISPConfig?

And if I only allow authenticated users to send e-mail in this fashion will this affect any internal processes of the server?

Thanks,
George
Reply With Quote
Sponsored Links
  #2  
Old 30th November 2006, 08:49
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,678
Thanks: 819
Thanked 5,318 Times in 4,171 Posts
Default

Please add / edit this lines in your main.cf:

Code:
mynetworks = 127.0.0.0/8
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
The line allows sending for local processes without password which is nescessary . Everyone else will be forced to authenticate.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 30th June 2009, 21:05
tomay tomay is offline
Junior Member
 
Join Date: Jun 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Internal user authentication

I'm using Ispconfig 2 on a suse 11 installation.
I have added the suggested lines

mynetworks = 127.0.0.0/8
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination

My mail server is not an open relay, and users have to authenticate except when sending to an internal user. So anyone using my smtp server can send an email to any user @mydomain without any authentication.

Can I limit this or is that a part of normal mail server operation. The problem of course is spam . I'm using spamassasin, but a lot of spam still get's delivered.

Thnx
Reply With Quote
  #4  
Old 1st July 2009, 11:20
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,678
Thanks: 819
Thanked 5,318 Times in 4,171 Posts
 
Default

Quote:
Can I limit this or is that a part of normal mail server operation.
This is the normal bahaviour of every mailserver. If you would limit this, you would have to call everyone that wants to send you an email and tell him his password before he is able to send you a mail which is a bit impractible...

If spam mails shall be deleted then select the delete option in the spamfilter settings of the email account.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
php Apps email not going through palkat General 8 21st September 2011 05:35
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
Setting up a backup mail server setup with two installations of ISPConfig zitch Tips/Tricks/Mods 7 30th December 2006 10:07
Email - Ueb-Miau mazhar Installation/Configuration 5 21st December 2005 10:01
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 02:30


All times are GMT +2. The time now is 02:40.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.