Operating System - Tru64 Unix
1754016 Members
7601 Online
108811 Solutions
New Discussion юеВ

Re: sendmail configuration question

 
jburklow
New Member

sendmail configuration question

Greetings I need to change my sendmail return path to an address other than nobody@hostname. I checked the sendmail.cf file and the contents are at the end of the post. My question is where does
H?P?Return-Path: <$g> get read from and how do i change that to a different address? many thanks in advance for your help!

#############################
### Format of headers ###
#############################

H?P?Return-Path: <$g>
#HReceived: by $j; id $i; $b
HReceived: $?sfrom $s $.by $j ($v/$V)
id $i; $b
H?D?Resent-Date: $a
H?D?Date: $a
H?F?Resent-From: $q
H?F?From: $q
H?x?Full-Name: $x
HSubject:
H?M?Resent-Message-Id: <$t.$i@$j>
H?M?Message-Id: <$t.$i@$j>
3 REPLIES 3
Ivan Ferreira
Honored Contributor

Re: sendmail configuration question

I think that what you want to do is not possible from the sendmail configuration file. The Header format is defined in that section and only means that the Return-Path should contain the address of the sender, stored in the $g variable.

In fact, you need to tell to the program that sends mail as nobody@hostname to send as another user account.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
jburklow
New Member

Re: sendmail configuration question

Thank you Ivan for your prompt reply! I appreciate your time. Your answer affirmed what i had been able to find via MAN pages and google we were able to get past the issue by using the sendmail -f option.

Kind regards,
Jeff
jburklow
New Member

Re: sendmail configuration question

Answer that was provided helped resolve the issue.