10 msgpostfix relaying
2 msgRestrict sending external mail depending on LDA...
2 msgmonitoring emails for a particular user
1 msgloops back to myself with antivirus gateway...
2 msgcyrus and postfix issue...
2 msgDeny messages to local mailing lists
2 msgTranslation delivery error messages
3 msgWhy smtp instead of relay?
2 msgChroot Timestamps

relay access denied
\ Alexandros Fragkiadakis (16 May 2007)
. \ Magnus Bäck (16 May 2007)
. . \ Alexandros Fragkiadakis (16 May 2007)
. . \ Magnus Bäck (16 May 2007)
. . . \ Alexandros Fragkiadakis (16 May 2007)
. \ Alexandros Fragkiadakis (16 May 2007)
. . \ Magnus Bäck (16 May 2007)
. . . \ Alexandros Fragkiadakis (16 May 2007)
. . . . \ Alexandros Fragkiadakis (16 May 2007)
. . . . . \ Magnus Bäck (16 May 2007)
. . . . . . \ Alexandros Fragkiadakis (16 May 2007)
. . . . . . . \ Noel Jones (17 May 2007)
. . . . . . . \ mouss (17 May 2007)
. \ David Maya (4 Jun 2007)
. . \ Evan Platt (4 Jun 2007)
. . \ mouss (4 Jun 2007)
. \ Evan Platt (4 Jun 2007)
. . \ Markus Schönhaber (4 Jun 2007)

7 msgQuestion about Successful Mail Delivery Report
6 msgclamav question
2 msgFind/Replace Text, Strip Graphics
7 msgBlacklisted
3 msgCharset problems
4 msg[urgent] how to use remote mail server ?
1 msg[Re: sasl problem]
2 msgoff-topic?
7 msgsmtpd_milter question
1 msgOff-topic: Linux distro compare site
Subject:relay access denied
Group:Postfix-users
From:Alexandros Fragkiadakis
Date:16 May 2007


 
hi all,

i'm using cyrus sasl to relay only authenticated clients. Part of my
main.cf is:
#--------------------------------------------------
smtpd_sasl_auth_enable=yes

mynetworks_style=host

smtpd_sasl_local_domain=
smtpd_recipient_restrictions=permit_mynetworks,permit_sasl_authenticated,reject_ unauth_destination


smtpd_sasl_path=smtpd

broken_sasl_auth_clients=yes
#-------------------------------------------------

Using this configuratios, only authenticated clients can send email to
external domains. But, how can i enforce this restriction to my internal
domains too? When one of my users sends an email to another user (within
the same domain) sasl is not enforced.

Also, i want to exclude an IP address from the sasl restrictions.
The reason for that is that a php module needs to send emails through my
user.

I've used:

smtpd_recipient_restrictions=hash:/etc/postfix/allowed_ip,permit_mynetworks,perm it_sasl_authenticated,reject_unauth_destination

i've put in allowed_ip:

myip PERMIT

but is does not work!


Any ideas would be helpful

Thanks







--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



© 2004-2008 readlist.com