The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Mutt Folder List 1.5.18-20080517 (Default branch) iBot Software Releases - RSS News 0 05-18-2008 04:50 AM
How does mutt command pick senders Details amit1_x Shell Programming and Scripting 1 04-16-2008 12:54 AM
Mutt Folder List 1.5.17-20080412 (Default branch) iBot Software Releases - RSS News 0 04-14-2008 10:50 AM
Mutt - Word Document or Formatted text as a Message krsenkumar UNIX for Advanced & Expert Users 1 04-05-2008 08:10 AM
Mutt 1.5 on Aix 5.3 eth0 AIX 0 08-23-2006 06:39 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 03-24-2008
Registered User
 

Join Date: Mar 2008
Posts: 3
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.?
Reply With Quote
Forum Sponsor
  #2  
Old 03-24-2008
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 4,298
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.
Reply With Quote
  #3  
Old 03-24-2008
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,650
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.
Reply With Quote
  #4  
Old 03-24-2008
sad_angle's Avatar
Registered User
 

Join Date: Jun 2001
Location: Madison, WI
Posts: 73
I suggest that you find this file: Mutt+msmtp.txt and follow the directions

Good luck
Reply With Quote
  #5  
Old 04-04-2008
Registered User
 

Join Date: Mar 2008
Posts: 2
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.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:37 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0