This is a stand-alone system. I'm using postfix to forward to myself
outputs of various cron-jobs and reporting spam to s...@uce.gov. I have
postfix up and running on this new box as it was before the crash a
couple of weeks ago and the cronjob reports are coming in correctly.
This script is called via a procmail recipe after SA does a markup on a
spam message:

Jul 24 17:37:07 localhost postfix/pickup[25093]: 1785111C10E8: uid=1000
from=<cpoll...@embarqmail.com>
Jul 24 17:37:07 localhost postfix/cleanup[964]: 1785111C10E8:
message-id=<20140724223707.1785111C10E8@cpollock.localdomain>
Jul 24 17:37:07 localhost postfix/qmgr[12001]: 1785111C10E8:
from=<cpoll...@embarqmail.com>, size=14170, nrcpt=1 (queue active)
Jul 24 17:37:08 localhost postfix/error[988]: 1785111C10E8:
to=<s...@uce.gov>, relay=none, delay=1.2, delays=0.55/0.41/0/0.24,
dsn=5.0.0, status=bounced (smtp.embarqmail.com:587)

Here is how the header information is setup in the script:
open(SENDMAIL, "|/usr/sbin/sendmail -f cpollock\@embarqmail.com -oi -t")
|| die "Cannot open sendmail output";
print SENDMAIL  <<"ENDENDEND";
From: <cpollock\@embarqmail.com>
To: <spam\@uce.gov>
Subject: report spam
MIME-Version: 1.0
Content-Type: multipart/mixed;

It's been awhile since I had to set this up and most of the settings
from the old box worked only had to tweak a few. Here is the output of
postconf - http://pastebin.com/1J2p7X4E The synatx of the sendmail
commands look correct and it appears that it was sent only to bounce. I
manually forwarded a spam to the address and it hasn't bounced yet and
checked the FTC site and found no information about this address being
down. 

Thanks for any advice/assistance.

-- 
Chris
31.11°N 97.89°W (Elev. 1092 ft)
19:51:34 up 4 days, 2:05, 2 users, load average: 0.10, 0.16, 0.24
Ubuntu 14.04 LTS, kernel 3.13.0-32-generic

Reply via email to