Mauricio Tavares wrote:
Here is another trivial question: I have a postfix box I want to
let a specific user in another domain, say otherdomain.com, to use it as
his smtp. So, he would authenticate against it but would not have an
email account in the machine. And, of course, nobody else but him from
that domain would be able to send emails using out mail server. What is
the best way to do so? From what I gathered in the
STANDARD_CONFIGURATION_README, I need to define the relay_domains
relay_domains = otherdomain.com
and then define relay_recipient_maps
relay_recipient_maps = hash:/etc/postfix/relay_recipients
where /etc/postfix/relay_recipients:
u...@otherdomain.com YES
and then define the user login/password so he can do smtp auth? Or am I
missing something obvious?
No, nothing needs to be added to relay_domains or
relay_recipient_maps.
You need to configure SASL, then add that user to the SASL
authentication database (this is outside of postfix). Get
started here:
http://www.postfix.org/SASL_README.html
-- Noel Jones