OT: noreply at ......

Bill Campbell bill at celestial.com
Fri Jun 28 16:28:51 PDT 2013


On Fri, Jun 28, 2013, Richard D. Williams wrote:
>On 6/27/2013 4:48 PM, Henry Arredondo wrote:
>> When sending email within filepro processing to customers and venders, I wonder if there's a way of sending them as "noreply" instead of the user running the application, is there an argument to do that ?
>>
>> OS :  Unix 5.0.6
>> Filepro: 5.6
>
>If you have mutt installed on your Unix box, this is how I do it in 
>Linux (Centos).
>
>create a mutt profile for your no reply.
>i.e. /appl/MUTT/atk_noreply

There's no need to use a MUA such as mutt for this type of thing
on any system that has sendmail or a sendmail replacement (e.g.
postfix, smail2, even the treaded MMDF SCO mailers).  Simply
create a mail message with whatever headers you want and pipe it
or redirect the input to sendmail.  Something like this would
work using the 'sendmail -t' option which gets the destination
address from the headers which allows things like Bcc: headers or
multiple recipient addresses.

cat <<DONE
To: somebody at example.com
From: do-not-replay at yourdomain.com
Subject: whatever you want

This is the message body separated from the headers by one or
more blank lines.
DONE | /usr/sbin/sendmail -t

Bill
-- 
INTERNET:   bill at celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:          (206) 236-1676  Mercer Island, WA 98040-0820
Fax:            (206) 232-9186  Skype: jwccsllc (206) 855-5792

Economic history is a never-ending series of episodes based on
falsehoods and lies, not truths. It represents the path to big money.
The object is to recognize the trend whose premise is false, ride that
trend, and step off before it is discredited. -- George Soros


More information about the Filepro-list mailing list