* Amid Sin <amidsin1...@gmail.com>:
> I'm trying to use postfix for relaying messages from two virtual hosts
> on web server to Google Apps. I would like to have emails generated by
> each web site to have different originating email addresses so that
> any reply messages would go to different mailboxes. Web sites (Drupal
> on PHP) are generating emails with Sender and From addresses according
> to their individual configuration. But both websites are sending
> emails in context of web server unix account - web-data. Apparently

Try this in the virtual host directive, if you can:

  php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -f sen...@example.com"


p...@rick


> Postfix is using this unix account for choosing the sasl
> authentication parameters (according to smtp_sasl_password_maps). As a
> result, single Google apps account is used. Google apps is overwriting
> Sender and From addresses of the messages according to the account,
> which is being used for authentication.
> 
> Here is my question:
> - Can I make Postfix to use Sender or From addresses rather then
> originating unix account for sasl authentication selection? Can
> Portfix address overwriting be used to achieve this?
>  I would appreciate any pointers. Thank you.
> 
> DmiriyG

-- 
All technical questions asked privately will be automatically answered on the
list and archived for public access unless privacy is explicitely required and
justified.

saslfinger (debugging SMTP AUTH):
<http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>

Reply via email to