SUMMARY: sendmail - part4 - using a different reutrn address on all outgoing mail?

egold_at_fsa.com
Date: 05/14/03

  • Next message: Dave Encisco: "error when moving a PCI card from an Ultra to a Blade"
    To: sunmanagers@sunmanagers.org
    Date: Wed, 14 May 2003 15:36:03 -0400
    
    

    thanks so much for everyones help, i must have gotten 50 responses. I
    couldnt have done it without you.

    there were probably several solutions but this one worked for me:

    turns out our email server only lets valid users email through it, so i
    needed to have all outgoing email masquerade the sender address as an
    existing email user.
    I used this info to do it , i first copied main.cf to sendmail.cf and added
    this:

    --------------

    If you have a single email address:

    Immediately after the "S11" line, insert a line which reads:

                 R$* $@ me@zulu.com

    replacing me@zulu.com with your email address. This sets the envelope
    sender address on outgoing mail. Note that there must be one or more tab
    characters between the first and second fields on each such line inserted
    into the sendmail configuration file.

    Immediately after the "S31" line, also insert a line which reads:

                 R$* $@ me@zulu.com

    replacing me@zulu.com with your email address. This sets the address in the
    'From:' header on outgoing mail.

    Finally, you'll probably want to ensure that your real name appears in the
    'From:' header on outgoing mail. This information is taken by sendmail from
    the name field in /etc/passwd and can be changed using the admintool
    program.

    ----------------

    |---------+----------------------------------->
    | | egold@fsa.com |
    | | Sent by: |
    | | sunmanagers-bounces@sunm|
    | | anagers.org |
    | | |
    | | |
    | | 05/14/2003 12:28 PM |
    |---------+----------------------------------->
    >--------------------------------------------------------------------------------------------------------------|
      | |
      | To: sunmanagers@sunmanagers.org |
      | cc: |
      | Subject: sendmail - part4 - using a different reutrn address on all outgoing mail? |
    >--------------------------------------------------------------------------------------------------------------|

    thanks everyone for the help, but i think my last question was confusing,
    let me rephrase:

    I need all outbound mail from my solaris 8 machine to use
    "joeblow@myco.com" as the sender/return/from address.

    I need the entire USERNAME, NOT just the domain, can anyone tell me how to
    do that?

    I tried $j and $M but no luck.

    >
    --------------------------------------------------------------------------------------------------------------|

      |
    |
      | To: sunmanagers@sunmanagers.org
    |
      | cc:
    |
      | Subject: sendmail - part 3 - using a different reutrn address on
    all outgoing mail? |
    >
    --------------------------------------------------------------------------------------------------------------|

    Ok i finally figured out what i need to do to get my emails working.

    I need to have sendmail on my solaris 8 machine send all mail as a user of
    my domain (ie - joeblow@myco.com)
    This is the same as using the "mailx -r joeblow@myco.com" command.

    How can i make sendmail use joeblow@my.com as my reutrn address on all
    outgoing emails?

    thanks so much for everyones help!
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers


  • Next message: Dave Encisco: "error when moving a PCI card from an Ultra to a Blade"

    Relevant Pages

    • Re: help on sendmail
      ... you have to configure flip's sendmail to accept ... > your machines outgoing mail to your ISP's smtp server. ... I will take your advice and not configure flip to receive ... I use mutt and mutt doesn't mix with IMAP very well. ...
      (alt.os.linux.redhat)
    • RH9.0 / outgoing mail queing up FIXED
      ... restarting sendmail, my outgoing mail is now leaving without having ... as root). ... -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe ...
      (RedHat)
    • Sendmail client AUTH in Solaris 9?
      ... My ISP has recently required SMTP AUTH for outgoing mail. ... mutt as my primary email client, I need to set up sendmail to AUTH against ... I'm using the built-in sendmail with a fairly stock subsidiary.mc ...
      (comp.unix.solaris)
    • configure the outgoing mail
      ... what is a eassy way to configure the outgoing mail. ... Through Sendmail on Solaris 9. ... Arun Kr. ...
      (SunManagers)
    • Re: Setting up SMTP delivery
      ... The system is using sendmail. ... You should also configure your ISPs outgoing mail relay as the ... smart host (for outgoing mail) if you have not already done so. ...
      (uk.comp.os.linux)