On Tue, 2003-09-02 at 02:05, Sam Varshavchik wrote:
> Eduardo Roldan writes:
> 
> > Hello List.
> > 
> > What can be the cause of 'senmail -f [EMAIL PROTECTED] ' not adding the
> > specified [EMAIL PROTECTED] to the From: header? instead it adds
> > [EMAIL PROTECTED]
> > 
> > Maildrop man page say something about the -f option:
> > 
> >       -f address
> > Sets the FROM variable (message  envelope  sender)  to  address.
> 
> "message envelope sender" has nothing to do with the From: header.  Two 
> completely different things.  This is the return address for the message, 
> which has nothing to do with the From: header.  The return address of this 
> message -- for example -- is Sourceforge's mailing list manager, while the 
> From: header carries my address.

OK. I understand. Thanks. I messed the things when composing my
question. I will try again.

The sendmail man page says:

       -f address
    Sets the From: address. This is just the  E-mail  address  only,
    not the name.

So when I run:

cat mess | sendmail -n -f '[EMAIL PROTECTED]' -F 'Eduardo Roldan'
[EMAIL PROTECTED]

I get as output:

Subject: How are you doing?
From: Eduardo Roldan <eduardo>
 
Hello guys
How are you doing?


mess file contains only the Subject: header, a newline and the 'Hello
guys ...' stuff.

Why sendmail doesn't add the From: header as I specified with -f switch
(note that -F is adding my name correctly)


> 
> > Other question. The sendmail man page says:
> > 
> >       -N options
> > Sets  delivery  status notification options. options is a comma-
> > separated list of one or more of the following keywords:  never,
> > success,  fail,  delay. If not specified, the -N option defaults
> > to either "delay, fail", or just "fail", depending on systemwide
> > options  set by the administrator. 
> > 
> > Where to specify the mentioned 'systemwide options set by the
> > administrator'?
> 
> This is a reference to DSNNOTIFY in courierd, which is used for forwarded 
> mail.

I found DSNNOTIFY in courierd. But where I specify what are the
systemwide options? Where can I find the DSN default that will apply to
the -N senmail option?





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to