Page 5 of 5 FirstFirst ... 345
Results 41 to 41 of 41
  1. #41
    Join Date
    Sep 2008
    Posts
    1
    Plugin Contributions
    0

    Default Re: Home Linux Server - Gmail help -- how to forward through gmail if using postfix

    Hello

    I saw your posting on Postfix. I was wondering if you have an updated configuration with regard to

    Supporting multiple ISP accounts in the Postfix SMTP client

    Postfix version 2.3 supports multiple ISP accounts. This can be useful when one person uses the same machine for work and for personal use, or when people with different ISP accounts share the same Postfix server. To make this possible, Postfix 2.3 supports per-sender SASL passwords and per-sender relay hosts. In the example below, Postfix will search the SASL password file by sender before it searches that same file by destination. Likewise, Postfix will search the per-sender relayhost file, and use the default relayhost only as a final resort.

    /etc/postfix/main.cf:
    smtp_sender_dependent_authentication = yes
    sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relay
    smtp_sasl_auth_enable = yes
    smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
    relayhost = [mail.myisp.net]
    # Alternative form:
    # relayhost = [mail.myisp.net]:submission

    /etc/postfix/sasl_passwd:
    # Per-sender authentication; see also /etc/postfix/sender_relay.
    [email protected] username2:password2
    [email protected] username2:password2
    # Login information for the default relayhost.
    [mail.myisp.net] username:password
    [mail.myisp.net]:submission username:password

    /etc/postfix/sender_relay:
    # Per-sender provider; see also /etc/postfix/sasl_passwd.
    [email protected] [mail.example.com]:submission
    [email protected] [mail.example.net]

    The version of Postfix that you made the config for was pre 2.3

    In Postfix 2.3 and later you can have multiple gmail accounts and Postfix would acknowledge the user and relay the mail through to gmail.

    Also. do you know if Postfix acknowledges the sendmail -f syntax?

    I would like postfix to send mail on behalf of the From: user.



    Great post and easy to follow how to

    Regards

    Scott
    Last edited by ScottA; 24 Sep 2008 at 07:39 PM. Reason: no smileys

 

 
Page 5 of 5 FirstFirst ... 345

Similar Threads

  1. v139f Re: Problems trying to send site email through gmail server....
    By osdparts in forum Basic Configuration
    Replies: 11
    Last Post: 15 Mar 2013, 06:48 AM
  2. Replies: 13
    Last Post: 15 Feb 2012, 10:04 PM
  3. through contact_us page, can not receive the gmail
    By ebloger in forum General Questions
    Replies: 1
    Last Post: 28 Feb 2011, 11:41 AM
  4. Email script troubles using Gmail
    By sirdouglas in forum General Questions
    Replies: 8
    Last Post: 16 Jun 2010, 06:31 PM
  5. Sending using my gmail account
    By HappyMom in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 24 Jun 2006, 06:34 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR