mainSpamAssassin Milter Plugin - Support: sr #103202, spamass-milter with user and/or...


sr #103202: spamass-milter with user and/or virtual users

Submitter:  None
Submitted:  Wed 14 Jul 2004 06:18:36 PM UTC
Category:  None Priority:  5 - Normal
Severity:  1 - Wish Status:  None
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup

Fri 16 Jul 2004 04:37:54 PM UTC, comment #2: 

I've been pestering Dan on this a little bit, but more sources are always more helpful. I having a heck of a time getting this to work. I updates the milter from the source and now, when I add the -u -x, I don't get errors in the maillog (before I got "safe" errors and the milter wouldn't run) and the milter is running on each email. The problem is that it runs as root no matter what I do. I've tried putting the -x -u in every conceivable place that makes sense according to instructions, documentation and google results, but it doesn't want to work. It either tells me "still running as root ... can't create ..." or it just assumes root and doesn't give any errors at all. I never see the "setuid" or similar log line that I've seen in google results, just the "still running ..." or "cleaning for root", nothing that says anything about uid, user or the like. I want to have it identify the user by full email address (virtmap) and use their own user_prefs file, or default to "generalspam" email with it's own user_prefs. Any and all help is appreciated. Samples of the code would be most appreciated as that's the one thing I haven't seen on many google results.

ViaVerio VPS v2
FreeBSD 4.7p27
Spamassassin 2.63
Current CVS source of spamass-milter

Thanks again ...


Thu 15 Jul 2004 02:22:59 PM UTC, comment #1: 

Until I release a new version, the easiest way to get the virtuser/alias expansion code is to check out a copy of the source from CVS (, run ./, then make.  You can then copy the resulting binary and manpage over the old ones.  Leave the existing port in place so you can reuse its startup script (and so you can use portupgrade when a new version is released).

Dan Nelson <dnelson>
Group administrator
Wed 14 Jul 2004 06:18:36 PM UTC, original submission:  

I know this is probably very simple, but I have been banging my head against the wall on this since yesterday with much googleing (sp?) for help.

I have the milter installed and it's scanning everything like it's supposed to. It's scanning everything as root though. I want it to use individual users uers_prefs files and most (all but one or two) users are virtmapped users. Very few users are on the actual main domain. Most accounts are on virtual hosted domains. I have been trying to implement the -u flag with no success whatsoever. I've also seen comments about virtualusertable support added to the current version. I have no clue on that. It's a fresh installed milter 0.2.x and I would appreciate any help as to what I need to modify and how to get this working.

ViaVerio VPSv2, freebsd 4.7p27
Spamassassin 2.63

Many thanks in advance.




(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.


No changes have been made to this item

Back to the top

Powered by Savane 3.13-04b1.
Corresponding source code