mutt


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users mutt
# 1  
Old 03-24-2008
mutt

i use mutt to send customers mail with attachments, works fine, but the problem i have is when customer receives automated message it is from root@blah.com
i need it to say from customerservice@blah.com so if they reply it goes to customer service and not root.
does anyone know where or what in the .muttrc file or sendmail config file I must change to masquerade as a customerservice@blah.com.?
# 2  
Old 03-24-2008
Masquerading is cumbersome even in sendmail. Does su to customerservice not work? I've never tried.

The reason for not trying is sendEmail:
If you are not totally bound to mutt consider using a well-tested app that does a lot of mail sending very well, IMO: sendEmail. masquerading is easy.
Software :: SendEmail - Send email with this free command line email client

FWIW - This may sound trite, but running an everyday app under root is normally not an idea to consider.
# 3  
Old 03-24-2008
Actually, masquerading is not really very hard at all, but you have to know what you are doing. Do you want just the From: line to be correct? Or also the Sender:? Or also the Return-Path:? All of these can be done but we don't want to tell the spammers in too much detail how to do it.
# 4  
Old 03-24-2008
I suggest that you find this file: Mutt+msmtp.txt and follow the directions

Good luck
# 5  
Old 04-04-2008
You Can use the below format:

Create an real name for the mail id => 'customerservice@blah.com' for time beinng i called 'customerservice'.

mutt -nx -e 'set from=customerservice@blah.com; set realname="customerservice"' -s "Mail Subject" -a attachment_file customermail_id

its working for me. try it...

Good Luck.
# 6  
Old 06-30-2009
that worked like a champ. thanks.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Sending an email using mutt...

I wanted to send "config.log" to the usergroup that handles open source support for Octave 3.8.0, a programming language as there were build errors. In order to send an email from unix command line, I am trying to use mutt, and I need a straightforward way of sending emails, as the commands... (1 Reply)
Discussion started by: jon80
1 Replies

2. Shell Programming and Scripting

Mutt command error

Hello there, I am using "mutt" command to send e-mails. mutt -s "Mail subject line" $( printf -- '-a attachment_name') < "mail body file" "e-mail id" I wish to change the name of the attachment by appending the date to it. Something like "attachment_name_$DATE.html" in the mutt... (5 Replies)
Discussion started by: H squared
5 Replies

3. UNIX and Linux Applications

Attachments in MUTT.

Can any body figure out how to attach the attachments mails while drafting them in MUTT form any location on my system. I am not able to figure it out. (0 Replies)
Discussion started by: nixhead
0 Replies

4. UNIX and Linux Applications

Mutt for yahoo and Gmail?

Hi Installed MUTT and configured it for Gmail and got successful and then tried to configure for Yahoo but i am not getting any success in doing that. Can anybody advice what preferences are to be set in .muttrc file for configuring yahoo and moreover How to configure multiple Gmail clients in... (1 Reply)
Discussion started by: nixhead
1 Replies

5. Ubuntu

What is more with mutt?

HI I successfull configured MUTT with gmail on my Ubuntu 10.10. Can I do it for other mail clients like yahoo and live etc. Do I need to make another .muttrc file if yes how please help , I want to play more with mutt. (1 Reply)
Discussion started by: nixhead
1 Replies

6. Ubuntu

Whats more with MUTT?

I have installed Mutt and successfully configured Gmail with it. I want to know can I change the sent form id to some what different ID like ab@abc.org instead of usual gmail ID. Apart form that why it is so powerful tool? What makes it very very powerful tool? I am thinking of using it for... (2 Replies)
Discussion started by: nixhead
2 Replies

7. Ubuntu

Problem with Mutt!

HI i am using Ubuntu 10.10. I tried to install Mutt downloaded from 'ftp://ftp.mutt.org/mutt/mutt-1.4.2.3.tar.gz'. I tried to configure and make install. I was successful to configure is note but make install is giving me make not found error. How to successfully install please tell. (6 Replies)
Discussion started by: nixhead
6 Replies

8. UNIX for Advanced & Expert Users

mutt usage

I want to use mutt in order to send some files as attached files using the mutt pogram. I've tried: mutt -s "Some Subject" -a file1 -a file2 panos1962@gmail.com <message to send the contents of "message" file as the main mail message, and the files "file1" and "file2" as attached files.... (1 Reply)
Discussion started by: Panos1962
1 Replies

9. Solaris

mutt -a question

Hi... Does sun solaris 5.10 mailx support mutt -a option?? I need to attach file1.txt using this option. In RedHat 5 seem ok but in sun solaris i dont know yet... Does anybody know?? (1 Reply)
Discussion started by: adzuanamir
1 Replies

10. AIX

Mutt 1.5 on Aix 5.3

Anyone out there successfully compile mutt 1.5 on AIX 5.3? I get an error on 'make install' but can't sort out what the issue is: # make install ./gen_defs ./OPS ./OPS.PGP ./OPS.SMIME ./OPS.CRYPT > keymap_defs.h ./patchlist.sh < ./PATCHES > patchlist.c echo... (0 Replies)
Discussion started by: eth0
0 Replies
Login or Register to Ask a Question