Samir Nassar wrote:
My setup: postfix 2.5.1 on Ubuntu Hardy

I have a system that only handles apache and MySQL. No mail comes to this host and the only mail that this host generates comes from: 1- web applications, 2- negligable system generated mail.

I have turned off local mail delivery.

I am running several distinct domains with their own Google Mail accounts. I am also running Apache with mpm-itk (will be migrated to mpm-peruser in the future)

For this I want to send any mail generated by a user to that users SMTP account.

Example:

The host has three users:
sudouser
user2
user3

Each user user an SMTP account:
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

However all users authenticate via smtp.gmail.com

I am not finding the documentation that would help clarify this and the documentation examples point to accounts using different hostnames for different users.

Would this me easier if I created CNAME records like smtp.example.net to point to smtp.gmail.com?


what would this bring to you? your problem, as I understand it, has nothing to do with dns.

I feel like I am barking up the wrong tree with my attempt. Is there a more elegant method of handling this issue?


it seems like you want sender dependent relay hosts and smtp_sasl_* config.

Reply via email to