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

From: <egold_at_fsa.com>
Date: Wed May 14 2003 - 15:38:49 EDT
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
Received on Wed May 14 15:38:40 2003

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:10 EST