[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: More questions on smail configuration for SMTP/PPP



Dirk Eddelbuettel writes ("Re: More questions on smail configuration for SMTP/PPP"):
> Looks good to me (apart from missing quotes around J. Random User), I had
> just checked the smail(5) manpage after your first message.
> 
> If you use the OneAndOnlyEditor(TM), this can be achieved by saying
> 	(setq mail-default-headers "From: Joe User <joe@user.org>\n")  
> in your ~/.emacs file. This is easier, doable from user space as opposed to
> root and it also works on a per-user basis.
> 
> If you use pine, it can be done as outlined in the Linux Gazette article that
> I mentioned earlier, albeit at the price of a recompilation.

This won't set the return path and is therefore broken.

ecki@lina.inka.de writes ("Re: More questions on smail configuration for SMTP/PPP"):
>... If you want to 'correct' the From:
> line, you can define it i smail's configfile. Ususally it is defined as:
> 
> 1root@lina:~# smail -bP from_field
> From: $sender${if def:sender_name: ($sender_name)}
>  this means:
> from_field="vielo@wolfenet.com (Your Name)"
> will do very fine (it is probably better if u include a file-lookup, see
> smail(5) and smail(8).

This won't set the return path and is therefore broken.

As soon as Smail supports it (in 3.2, I think) the default
configuration for Debian systems should be to REFUSE TO ACCEPT
messages with patently bogus envelope return path information.

Ian.


Reply to: