unable to send out from internal because of smtp auth

From: Jim Worke (no email)
Date: Mon Jul 01 2002 - 03:46:46 EDT


Hi,

I've tried to implement these rules:

permit from outside with auth to anyone
permit from outside without auth to mydestination
reject from outside without auth to anyone else

permit from inside with auth to anyone
reject from inside without auth to anyone

Where: "outside" is networks not listed in $mynetworks and "inside" is the
network listed in $mynetworks. "auth" is SMTP AUTH using SASL

Here's the setting that I've set:

smtpd_client_restrictions =
smtpd_sender_restrictions =
smtpd_recipient_restrictions = permit_sasl_authenticated
permit_auth_destination reject

The problem is:
I can't send from inside to anyone, with or without authentication. I can
send from outside to a domain in $mydomains, though (so the
permit_auth_destination is working). However, when I add permit_mynetworks
to the smtpd_recipient_restrictions as the first rule, I can send from inside
to anyone. However, I'm actually violating my rule, which says that nobody
from the inside can send out without any authentication.

Is there any setting that I've missed?

Thank you.
-
To unsubscribe, send mail to with content
(not subject): unsubscribe postfix-users








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD