On Wed, Aug 21, 2019 at 08:06:58PM +0000, Thomas Smith wrote:
> 
> ????????????????????? Original Message ?????????????????????
> On Wednesday, August 21, 2019 8:28 AM, Gilles Chehade <gil...@poolp.org> 
> wrote:
> 
> > On Wed, Aug 21, 2019 at 03:22:39PM +0000, Thomas Smith wrote:
> >
> > > Hi,
> > > I've setup filter-rspamd with rspamd. Both appear to be running (smtpd 
> > > and rspamd), I'm able to query rspamd's controller, access the web UI; 
> > > smtpd is processing and delivering mail as expected.
> > > ps wuax | grep rspam
> > > root 86736 0.0 0.4 45236 4008 ?? I 6:30AM 0:00.05 rspamd: main process 
> > > (rspamd)
> > > _rspamd 32135 0.0 1.0 45344 10140 ?? S 6:30AM 0:00.23 rspamd: 
> > > rspamd_proxy process (localhost:11332) (rspamd)
> > > _rspamd 4059 0.0 1.4 45688 14632 ?? S 6:30AM 0:01.63 rspamd: controller 
> > > process (localhost:11334) (rspamd)
> > > _rspamd 16743 0.0 1.1 45384 11020 ?? S 6:30AM 0:00.33 rspamd: normal 
> > > process (localhost:11333) (rspamd)
> > > _smtpd 32851 0.0 0.4 105520 3624 ?? I 6:56AM 0:00.01 
> > > /usr/local/bin/filter-rspamd
> > > _smtpd 68802 0.0 0.1 844 808 ?? Ip 6:56AM 0:00.00 sh -c 
> > > /usr/local/bin/filter-rspamd
> > > However, I don't see any messages being processed by rspamd. Nor do I see 
> > > any indication that data is being sent to rspamd (nothing in the logs, no 
> > > stats appearing in the web UI).
> >
> > can you show full logs for a sample smtpd session that didn't go through 
> > rspamd ?
> 
> Is this what you're looking for?
> 
> Aug 21 12:42:22 host smtpd[71198]: 43e03ee20005a41f smtp connected 
> address=x.x.x.x host=***********************t.com
> Aug 21 12:42:23 host smtpd[71198]: 43e03ee20005a41f smtp message 
> msgid=******** size=338369 nrcpt=1 proto=ESMTP
> Aug 21 12:42:23 host smtpd[71198]: 43e03ee20005a41f smtp envelope 
> evpid=**************** 
> from=<********************************************************t.com> 
> to=<***********.***>
> Aug 21 12:42:24 host smtpd[71198]: 43e03ee20005a41f smtp disconnected 
> reason=quit
> 
> The msgid reveals some additional data, but the server doesn't manage final 
> delivery--emails are received and relayed only. So the additional message 
> information is related to the outbound (relayed) email but I can provide if 
> needed.
> 

sorry but this is tricky to troubleshoot with so few logs, obfuscated on
top of it :-/

-- 
Gilles Chehade                                                 @poolpOrg

https://www.poolp.org            patreon: https://www.patreon.com/gilles

Reply via email to