On Sat, 2019-06-22 at 16:10 -0700, John Hardin wrote: > On Sat, 22 Jun 2019, Chris Pollock wrote: > > > On Sat, 2019-06-22 at 10:29 -0700, John Hardin wrote: > > > On Sat, 22 Jun 2019, Chris Pollock wrote: > > > > > > > I'm not sure how to exactly word the problem so the subject is > > > > the > > > > best > > > > I can do for now. Whenever a crojob is run a message is sent > > > > out > > > > via > > > > postfix to me with the contents of that cronjob. This morning > > > > when > > > > the > > > > SA-Update cronjob was run I didn't receive the output back > > > > (this > > > > has > > > > been going on since 7 June but that's another story). I looked > > > > at > > > > my > > > > syslog and saw this: > > > > > > > > https://pastebin.com/hHR0Rvii > > > > > > > > Since I can't see the debug output of SA-Update I have no idea > > > > what > > > > CenturyLinks spam filter hit on. I looked back through a weeks > > > > worth of > > > > syslogs and this is the only time that the message was rejected > > > > for > > > > containing spam. Any ideas what was in the latest rule updates > > > > to > > > > cause > > > > this? > > > > > > Not without seeing the message itself. Is there any way for you > > > to > > > pastebin a copy of the message that was sent? > > > > Sorry John, it's been removed from the queue > > > > > > Can you twiddle the aliasing so that the message is (temporarily, > > > at > > > least) delivered to a local mailbox in addition to the regular > > > recipients? > > > > I've been trying to figure that out. What I have done is switch > > postfix > > over to using my GMail account however I've run into a tiny > > roadblock. > > How about delivery to a local mailbox? > Amazingly I've got it working. What fixed it was adding [] around smtp.gmail.com in my sasl_passwd file. I just let sa-update run and the postfix output is:
Jun 22 22:12:01 localhost CRON[13838]: (root) CMD (/usr/bin/sa- update -D --channelfile /etc/mail/spamassassin/sare-sa-update- channels.txt --gpgkey 6C6191E3 && /etc/init.d/spamassassin restart # -- gpgkey E8B493D6 ) Jun 22 22:12:01 localhost postfix/pickup[11566]: C76F41000BA1: uid=0 from=<root> Jun 22 22:12:01 localhost postfix/cleanup[13842]: C76F41000BA1: message-id=<20190623031201.C76F41000BA1@cpollock.localdomain> Jun 22 22:12:01 localhost postfix/qmgr[11567]: C76F41000BA1: from=< chris.pollock1...@gmail.com>, size=5707, nrcpt=1 (queue active) Jun 22 22:12:01 localhost postfix/local[13844]: C76F41000BA1: to=< root@cpollock.localdomain>, orig_to=<root>, relay=local, delay=0.13, delays=0.07/0.01/0/0.05, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail -Y -a $DOMAIN) Jun 22 22:12:01 localhost postfix/qmgr[11567]: C76F41000BA1: removed So, it looks like to me in this case it's sending local, but I'm probably wrong. However, the message hasn't made it to my cron folder yet. -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 22:16:17 up 2 days, 4:26, 1 user, load average: 1.37, 1.26, 1.33 Description: Ubuntu 18.04.2 LTS, kernel 4.18.0-22-generic
signature.asc
Description: This is a digitally signed message part