alias mailx='mailx -r us...@swindon-books.org'
We also have MUTT mail software running at the server using the syntax
below to another external user :
cat user1.file | mutt -s "User1 File" extern...@scmp.com
What synxtax / optionts to enable in "Muttrc" file so MUTT can have
the same "masking" setup as that of sendmail's ?
Thanks,
Bill
On my systems:
set hostname=ISP.net
set hidden_host=yes
>alias mailx='mailx -r us...@swindon-books.org'
FWIW: mailx is not sendmail.
You are setting the username for mailx, and not doing anything for sendmail.
You could do real sendmail host masquarding and fix this, mutt, and
any other MTA in use all in one shot. That gets configured in your
sendmail.mc config file with the masquarade directive.
Or somebody else already answered you on the mutt answer.
(why are you conCATenating a single file??)
< user1.file mutt -e 'my_hdr From: us...@swindon-books.org' \
-s ... \
extern...@scmp.com
--
Stéphane
Hi Stéphane,
Thanks for your recommendation. I've tried your syntax but I am
getting the following error messages :
Error in command line: my_hdr From: unknown command
ksh: user1.file: cannot execute
Any idea how I could resolved this ? I wonder if we need to cat and
pipe the user1.file to mutt first.
Thanks,
Bill
Please type < user1.file mutt ...
(or type mutt ... < user1.file)
Don't leave the < out.
--
Michael Tosch @ hp : com