Re: Pyzor with aliases.

2014-07-04 Thread Steve Bergman
On 07/04/2014 11:21 AM, Matus UHLAR - fantomas wrote: there is no reason why sa-milter should know about users - it would require adding new useless code to it. Especially not when there is no local user, which is something spamd must take care about, so there's no need to duplicate this job

Re: Pyzor with aliases.

2014-07-04 Thread Matus UHLAR - fantomas
On 07/04/2014 07:02 AM, Matus UHLAR - fantomas wrote: I have read the man page multiple times. spamass-milter passes the local part of mail recipient to spamd, which is not necessarily a username. spamass-milter even can call "sendmail -bv" to get the user, but it still may not be local user.

Re: Pyzor with aliases.

2014-07-04 Thread Steve Bergman
On 07/04/2014 07:02 AM, Matus UHLAR - fantomas wrote: I have read the man page multiple times. spamass-milter passes the local part of mail recipient to spamd, which is not necessarily a username. spamass-milter even can call "sendmail -bv" to get the user, but it still may not be local user.

Re: Pyzor with aliases.

2014-07-04 Thread Matus UHLAR - fantomas
On 07/04/2014 05:27 AM, Matus UHLAR - fantomas wrote: I repeat: spamass-milter does not (and can not) know about local users. On 04.07.14 06:30, Steve Bergman wrote: SPAMASS_MILTER(8) I have read the man page multiple times. spamass-milter passes the local part of mail recipient to spamd, wh

Re: Pyzor with aliases.

2014-07-04 Thread Steve Bergman
On 07/04/2014 05:27 AM, Matus UHLAR - fantomas wrote: > I repeat: spamass-milter does not (and can not) know about local users. SPAMASS_MILTER(8) -u defaultuser Pass the username part of the first recipient to spamc with the -u flag. This allows user preferences files to be used. If the mess

Re: Pyzor with aliases.

2014-07-04 Thread Matus UHLAR - fantomas
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6995 On 07/03/2014 09:38 AM, Matus UHLAR - fantomas wrote: I see you are next person (after me) who encountered this issue. Maybe you could comment (or at least +1) the bug. On 03.07.14 09:57, Steve Bergman wrote: What do you think woul

Re: Pyzor with aliases.

2014-07-03 Thread Steve Bergman
On 07/03/2014 09:38 AM, Matus UHLAR - fantomas wrote: On 03.07.14 09:28, Steve Bergman wrote: https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6995 On 07/03/2014 09:17 AM, Matus UHLAR - fantomas wrote: I have explained my position in the bug, link to which you removed. Yes. I saw th

Re: Pyzor with aliases.

2014-07-03 Thread Matus UHLAR - fantomas
On 03.07.14 09:28, Steve Bergman wrote: https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6995 On 07/03/2014 09:17 AM, Matus UHLAR - fantomas wrote: I have explained my position in the bug, link to which you removed. Yes. I saw that you did. then you should understand why I do not a

Re: Pyzor with aliases.

2014-07-03 Thread Steve Bergman
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6995 On 07/03/2014 09:17 AM, Matus UHLAR - fantomas wrote: I have explained my position in the bug, link to which you removed. Yes. I saw that you did. https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6995 I try to trim my posts

Re: Pyzor with aliases.

2014-07-03 Thread Matus UHLAR - fantomas
On 07/03/2014 07:53 AM, Matus UHLAR - fantomas wrote: Aha, this seems to be spamd fallback to 'nobody' user, usually with homedir /nonexistent. spamc and spamass-milter have nothing to do with it. I have modified my spamd to use different user as fallback. On 03.07.14 08:43, Steve Bergman wrote

Re: Pyzor with aliases.

2014-07-03 Thread Steve Bergman
On 07/03/2014 07:53 AM, Matus UHLAR - fantomas wrote: Aha, this seems to be spamd fallback to 'nobody' user, usually with homedir /nonexistent. spamc and spamass-milter have nothing to do with it. I have modified my spamd to use different user as fallback. /nonexistent rings a bell. I can se

Re: Pyzor with aliases.

2014-07-03 Thread Steve Bergman
On 07/03/2014 03:52 AM, Axb wrote: and for spamd it only applies IF you don't want to place the Pyzor config in ~/.pyzor in the spamd's user homedir. Actually, it's placing the Pyzor config in a single known directory which I can easily monitor the permissions on. SA does the spam checking,

Re: Pyzor with aliases.

2014-07-03 Thread Matus UHLAR - fantomas
On 07/03/2014 02:31 AM, Matus UHLAR - fantomas wrote: pardon me, but spamass-milter uses spamc, so pyzor is called from spamd. That means, the above should apply for spamd, not spamass-milter. On 03.07.14 07:26, Steve Bergman wrote: The issue seems to be spamc (and thus pyzor) running as the re

Re: Pyzor with aliases.

2014-07-03 Thread Steve Bergman
On 07/03/2014 02:31 AM, Matus UHLAR - fantomas wrote: pardon me, but spamass-milter uses spamc, so pyzor is called from spamd. That means, the above should apply for spamd, not spamass-milter. The issue seems to be spamc (and thus pyzor) running as the recipient user, when the message is actu

Re: Pyzor with aliases.

2014-07-03 Thread Axb
On 07/03/2014 09:31 AM, Matus UHLAR - fantomas wrote: On 02.07.14 13:47, Steve Bergman wrote: I've been watching today, and have pretty much confirmed that if you use Pyzor with spamass-milter, and have it run as the recipient user, you do need to include a "pyzor --homedir /whateverdir/" in loc

Re: Pyzor with aliases.

2014-07-03 Thread Matus UHLAR - fantomas
On 02.07.14 13:47, Steve Bergman wrote: I've been watching today, and have pretty much confirmed that if you use Pyzor with spamass-milter, and have it run as the recipient user, you do need to include a "pyzor --homedir /whateverdir/" in local.cf. pardon me, but spamass-milter uses spamc, so