<quote who="Erik de Castro Lopo">

> How do I set up each end so only my authorized hosts can relay through my
> main server. Postfix seems to have TLS and SASL, but from my reading so
> far I can't really tell it these are a solution to my problem.

So once you've set up authentication (a different issue altogether -- I
would recommend using the dovecot integration on the "server" side), you
need to allow authenticated hosts to connect and send:

  smtpd_client_restrictions =
  smtpd_helo_restrictions =
  smtpd_sender_restrictions =
  smtpd_recipient_restrictions =
    ...
    permit_mynetworks
    permit_sasl_authenticated
    ...

(The ellipses represent the usual gumpf you put in s_r_r to protect your
mail server from spammage and abuse.)

- Jeff

-- 
OSDC 2008: Sydney, Australia                    http://www.osdc.com.au/2008/
 
   "And that's what it sounds like if you *download* it!" - John Linnell
                          of They Might Be Giants
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to