Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Disabling postfix sasl authentication for specific source ip
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
bludger
Guru
Guru


Joined: 09 Apr 2003
Posts: 389

PostPosted: Wed May 24, 2006 8:00 am    Post subject: Disabling postfix sasl authentication for specific source ip Reply with quote

I have set up a postfix server with sasl authentication for the smtp clients. I would like to set things up so that another server on my network can send mails via this mail server too. The easiest way to set this up initially, is probably to disable SASL authentication for all emails coming from this one ip address, while leaving it enabled for the PC clients. Can someone please tell me how to do this?
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Wed May 24, 2006 8:45 pm    Post subject: Reply with quote

You could use Postfix Restriction Classes to disable SASL authentification for emails comming from the other server.

Or you could add an additional smtpd service without SASL authentification on the first server and transport all mails from the other server to the additional smtpd.


All of this is well documented on the original Postfix page.

cheers

SteveB
Back to top
View user's profile Send private message
bludger
Guru
Guru


Joined: 09 Apr 2003
Posts: 389

PostPosted: Thu Jun 01, 2006 4:12 pm    Post subject: Reply with quote

steveb wrote:

All of this is well documented on the original Postfix page.

cheers

SteveB

Well personally I find the postifx documentation to be rather difficult to follow.

Anyway, when I have :
smtpd_client_restrictions = permit_sasl_authenticated, reject_unauth_destination
I can send from the SASL clients, but not from the non-sasl client.

when I have:
smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
I can send from the non-sasl (mynetworks) client, but not from the sasl clients.

Any suggestions?
Back to top
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Thu Jun 01, 2006 10:03 pm    Post subject: Reply with quote

You could use Postfix Restriction Class.

http://www.postfix.org/RESTRICTION_CLASS_README.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum