Operating System - HP-UX
1846977 Members
4337 Online
110257 Solutions
New Discussion

Re: Elm : Define From or Return-Path

 
filip_6
Occasional Advisor

Elm : Define From or Return-Path

Hello

I'm using the following command to send mails with pdf attachments :
elm -s "test" me@ourdomain.com < lastmail.msg

Lastmail.msg contains :
[include test.pdf application/binary base64]

How can i define the "from-address" or the return-path ?

eg. mails send by user X should be returned to Y@ourdomain.com

I know it works with fastmail,etc, but i need this for elm.

Thanks
2 REPLIES 2
Kent Ostby
Honored Contributor

Re: Elm : Define From or Return-Path

You can define a line in a file ~/.elm/elmheaders such as:

From: oz@foobar.com

If elmheaders doesn't exist, you can just create it and add the above line.

Oz


"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Rudi Clysters
Senior Member

Re: Elm : Define From or Return-Path

Problem is we are with +- 100 users. Would take a lot of time to set this. And I should set this for every new user from now on.

So would be better if there was a way to set the From-address or return path with the elm command.