Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Sending mail from system through 2 e-mail addresses, depending on user  (Read 3515 times)

0 Members and 1 Guest are viewing this topic.

Cricket_Lover

    Topic Starter


    Beginner

    • Experience: Guru
    • OS: Linux variant
    How would I go about doing this?

    My system was originally configured so that the mail routing was something like

    *@localhost -> localhost
    *@* -> no route

    where the LHS is the addressed location, and the RHS is effectivly what e-mail service the message ends up being addressed and sent from.

    I later configured SMART_HOST and authinfo for sendmail, so now it is like

    *@localhost -> localhost
    *@* -> Hotmail

    Now I really need to set it up so that, for 'root' and 'chris', the routing is as above, but for everyone else, it is

    *@localhost -> localhost
    *@* -> gMail


    In effect, I want to make it so that "my" e-mail address is on Hotmail (and messages that I send get sent from that address), while making it so that messages that other users send are sent by means of gMail. Preferably, I want to maintain use of sendmail.