OT: noreply at ......
Henry Arredondo
hxarredondo at LKQCORP.com
Mon Jul 1 12:31:55 PDT 2013
-----Original Message-----
From: filepro-list-bounces+hxarredondo=lkqcorp.com at lists.celestial.com [mailto:filepro-list-bounces+hxarredondo=lkqcorp.com at lists.celestial.com] On Behalf Of Bill Campbell
Sent: Friday, June 28, 2013 4:29 PM
To: filepro-list at lists.celestial.com
Subject: Re: OT: noreply at ......
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
--
I tested it and it works wonderful, I can even use whatever domain I want :) . I wonder if this is how hackers use spam servers to spam.
Thanks!
Please consider the environment before printing
More information about the Filepro-list
mailing list