Edwin Minneboo wrote:
> Hi all,
>
> I'm very new to postfix but was able to have a small working postfix
> configuration on my Conceptronic NAS with a Debian etch OS.
>
> In main.cf I have:
>
> smtpd_client_restrictions =
> permit_mynetworks,
> reject_rbl_client zen.spamhaus.org=127.0.0.10,
> reject_rbl_client zen.spamhaus.org=127.0.0.11,
> reject_rbl_client zen.spamhaus.org
>

I'm no aged guru either, but I've been administering postfix for about
5 years.

I think your best bet is to use SASL authentication and add
permit_sasl_authenticated to your restrictions:

smtpd_client_restrictions =
        permit_mynetworks,
        permit_sasl_authenticated,
        reject_rbl_client zen.spamhaus.org=127.0.0.10,
        reject_rbl_client zen.spamhaus.org=127.0.0.11,
        reject_rbl_client zen.spamhaus.org

Then you have to setup some form of SASL, see:

http://www.postfix.org/SASL_README.html

I struggled to get SASL working at first. I use cyrus IMAP
and the authdaemon that comes with that package for IMAP
authentication.

Now SASL supports using this same authdaemon for SMTP
authentication. The config here:

== /usr/local/lib/sasl2/smtpd.conf
pwcheck_method: authdaemond
log_level: 3
mech_list: PLAIN LOGIN
authdaemond_path:/var/run/authdaemond/socket

The authentication sets you up for mobile sending.

Hope this helps...

johnea

Reply via email to