Re: [Dspam-user] exim4 + dspam
On Fri, Oct 02, 2015 at 09:04:31AM -0400, Yan Seiner wrote: > > > On 10/2/2015 6:35 AM, Yan Seiner wrote: > > The problem is that procmail is barfing at the -m %u - it doesn't > > deliver the mail, crashing instead with an exit 127. > > > > Everything else seems to be working, except for the procmail delivery. > > Anyone have any procmail recipes they use to make this work? > > This is the error: > > 2015-10-02 06:02:48 1Zhzz6-0008WB-92 DKIM: d=yahoogroups.com s=echoe > c=relaxed/relaxed a=rsa-sha256 t=1443790186 [verification succeeded] > 2015-10-02 06:02:54 1Zhzz6-0008WB-92 <= > sentto-32502118-19768-1443790185-yan=seiner@returns.groups.yahoo.com > H=ng2-vm3.bullet.mail.ne1.yahoo.com [98.138.214.186] P=esmtps > X=TLS1.0:RSA_ARCFOUR_SHA1:128 S=9952 id=560e7d61.4090...@gmail.com > 2015-10-02 06:03:02 1Zhzz6-0008WB-92 : spamcheck > transport output: procmail: Couldn't read "yan" > 2015-10-02 06:03:02 1Zhzz6-0008WB-92 ** y...@seiner.com > R=spamcheck_director T=spamcheck: Child process of spamcheck transport > returned 255 (could mean shell command ended by signal 127 (Unknown > signal 127)) from command: /usr/bin/dspam > Hi Yan, I am not an exim user but I know dspam does not have a '-m' option, procmail does, but this seems like dspam is trying to open a file 'yan' and not setting the user. Regards, Ken -- ___ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user
Re: [Dspam-user] exim4 + dspam
On 10/2/2015 6:35 AM, Yan Seiner wrote: > The problem is that procmail is barfing at the -m %u - it doesn't > deliver the mail, crashing instead with an exit 127. > > Everything else seems to be working, except for the procmail delivery. > Anyone have any procmail recipes they use to make this work? This is the error: 2015-10-02 06:02:48 1Zhzz6-0008WB-92 DKIM: d=yahoogroups.com s=echoe c=relaxed/relaxed a=rsa-sha256 t=1443790186 [verification succeeded] 2015-10-02 06:02:54 1Zhzz6-0008WB-92 <= sentto-32502118-19768-1443790185-yan=seiner@returns.groups.yahoo.com H=ng2-vm3.bullet.mail.ne1.yahoo.com [98.138.214.186] P=esmtps X=TLS1.0:RSA_ARCFOUR_SHA1:128 S=9952 id=560e7d61.4090...@gmail.com 2015-10-02 06:03:02 1Zhzz6-0008WB-92 : spamcheck transport output: procmail: Couldn't read "yan" 2015-10-02 06:03:02 1Zhzz6-0008WB-92 ** y...@seiner.com R=spamcheck_director T=spamcheck: Child process of spamcheck transport returned 255 (could mean shell command ended by signal 127 (Unknown signal 127)) from command: /usr/bin/dspam > > -- > ___ > Dspam-user mailing list > Dspam-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspam-user -- ___ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user
[Dspam-user] exim4 + dspam
Does anyone have any config files for dspam + exim4? I moved my mail server to a new setup and my dspam transport quit working. It seems to be a dspam + procmail issue. The router I used: # DSPAM spamcheck_director: driver = accept check_local_user condition = "${if and {\ {!def:h_X-DSPAM-Result:}\ }{1}{0}}" headers_add = "X-DSPAM-Check: by ${readfile {/etc/dspam/version}{}} on $primary_hostname" transport = spamcheck no_verify and the transport: # DSPAM spamcheck: driver = pipe command = /usr/bin/dspam --mode=teft --deliver=innocent,spam --user ${local_part} -m %u transport_filter = /usr/bin/spamc current_directory = "/var/spool/dspam" group = mail home_directory = "/var/spool/dspam" log_output message_prefix = message_suffix = return_fail_output no_return_path_add user = mail The problem is that procmail is barfing at the -m %u - it doesn't deliver the mail, crashing instead with an exit 127. Everything else seems to be working, except for the procmail delivery. Anyone have any procmail recipes they use to make this work? -- ___ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user