Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Masquerading email address in MUTT

83 views
Skip to first unread message

underh20.s...@gmail.com

unread,
Mar 24, 2008, 8:45:03 PM3/24/08
to
Our server runs Solaris 9. Currently, we are "masking" the server name
in the address below under sendmail :

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

Dave Uhring

unread,
Mar 24, 2008, 10:15:46 PM3/24/08
to

On my systems:

set hostname=ISP.net
set hidden_host=yes


Doug McIntyre

unread,
Mar 24, 2008, 11:02:59 PM3/24/08
to
underh20.s...@gmail.com writes:
>Our server runs Solaris 9. Currently, we are "masking" the server name
>in the address below under sendmail :

>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.

Stephane CHAZELAS

unread,
Mar 25, 2008, 9:54:55 AM3/25/08
to
2008-03-24, 17:45(-07), underh20.s...@gmail.com:

> Our server runs Solaris 9. Currently, we are "masking" the server name
> in the address below under sendmail :
>
> 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
[...]

(why are you conCATenating a single file??)

< user1.file mutt -e 'my_hdr From: us...@swindon-books.org' \
-s ... \
extern...@scmp.com

--
Stéphane

underh20.s...@gmail.com

unread,
Mar 25, 2008, 3:05:39 PM3/25/08
to
On Mar 25, 6:54 am, Stephane CHAZELAS <this.addr...@is.invalid> wrote:
> 2008-03-24, 17:45(-07), underh20.scubadiv...@gmail.com:> Our server runs Solaris 9. Currently, we are "masking" the server name

> > in the address below under sendmail :
>
> > 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" external-u...@scmp.com

>
> [...]
>
> (why are you conCATenating a single file??)
>
> < user1.file mutt -e 'my_hdr From: us...@swindon-books.org' \
>                   -s ... \
>                   external-u...@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


Michael Tosch

unread,
Mar 26, 2008, 8:03:54 AM3/26/08
to

Please type < user1.file mutt ...
(or type mutt ... < user1.file)
Don't leave the < out.

--
Michael Tosch @ hp : com

0 new messages