On Fri, 2014-07-25 at 07:02 -0400, Wietse Venema wrote:
> Chris:
> > 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)
> 
> Look at the content of the delivery status notification.
> 
>       Wietse

Here is one from the first attempt yesterday:

Reporting-MTA: dns; cpollock.localdomain
X-Postfix-Queue-ID: 44A4311C10E8
X-Postfix-Sender: rfc822; cpoll...@embarqmail.com
Arrival-Date: Thu, 24 Jul 2014 17:37:22 -0500 (CDT)

Final-Recipient: rfc822; s...@uce.gov
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; smtp.embarqmail.com:587

After looking this morning I noticed that I had an 'sasl_passwd.db file
(from the old computers backup) but didn't have the 'sasl_passwd file. I
copied it over and ran 'postmap /etc/postfix/sasl_passwd' which created
a new .db file. Uncommented the recipe and when an attempt was made to
forward the next spam the delivery status showed:

Reporting-MTA: dns; cpollock.localdomain
X-Postfix-Queue-ID: 0CDF111C10B7
X-Postfix-Sender: rfc822; cpoll...@embarqmail.com
Arrival-Date: Fri, 25 Jul 2014 08:59:31 -0500 (CDT)

Final-Recipient: rfc822; s...@uce.gov
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; smtp.embarqmail.com

looking again at my 'main.cf' I noticed that 'relayhost =
smtp.embarqmail.com' not sure if the port number needed to be added so I
changed it to read 'relayhost = smtp.embarqmail.com:587'. I also noticed
that on the old backup in the /etc/postfix/SASL folder my two
sasl_passwd files were also located there, copied them over and again
awaiting a spam to come through to see the results. I also ran of course
'postmap main.cf' and 'postfix reload'.


-- 
Chris
31.11°N 97.89°W (Elev. 1092 ft)
09:05:10 up 4 days, 15:19, 2 users, load average: 0.24, 0.34, 0.32
Ubuntu 14.04 LTS, kernel 3.13.0-32-generic

Reply via email to