View previous topic :: View next topic |
Author |
Message |
bludger Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 09 Apr 2003 Posts: 389
|
Posted: Wed May 24, 2006 8:00 am Post subject: Disabling postfix sasl authentication for specific source ip |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
steveb Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1198140199438f3db8ee800.gif)
Joined: 18 Sep 2002 Posts: 4564
|
Posted: Wed May 24, 2006 8:45 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
bludger Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 09 Apr 2003 Posts: 389
|
Posted: Thu Jun 01, 2006 4:12 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
magic919 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 17 Jun 2005 Posts: 2182 Location: Berkshire, UK
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|