On Thu, Oct 09, 2003 at 03:18:05PM -0700, Chris W. Parker wrote:
> 
> p.s. someone correct me if i am wrong!! thanks!


# Do a mail header, then add body.

( printf "\
>From [EMAIL PROTECTED] `date`\n\
Return-Path: <[EMAIL PROTECTED]>\n\
To: Master of the Domain and all that Lies Herein\n\
Subject: Init Status Report\n\
Date: `date`\n\
From: `basename [EMAIL PROTECTED] -s`\n\
Message-Id: <`date '+%s'[EMAIL PROTECTED]>\n\n\n\
  Status Report\n\n"

cat_or_some_other_cmd_goes_here_to_flesh_out_the_bod ) \
 |procmail -d $mailto_dude           # <---- delivery is here, bypassing smtp

Crude paste from one of my scripts, with minor mods that might need
some testing first, but works as I use it all the time to bypass spam
checks from stmpd.

-- 
Hal Burgiss
 


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to