Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: SpamAssassin: users

Spamc passing incomplete username.

 

 

SpamAssassin users RSS feed   Index | Previous | View Threaded


ste at smxy

Dec 31, 1999, 5:00 PM

Post #1 of 2 (401 views)
Permalink
Spamc passing incomplete username.

My (FreeBSD 5.2.1-RELEASE-p4) mailserver runs postfix in an all-virtual
setup, using Courier maildrop to deliver to each user's Maildir/, found
in that user's home directory. Maildrop feeds mail to spamc/spamd via
the .mailfilter file in the user's home directory.

Each user's account name is their complete email address. So, fred who
gets mail in his example.com domain, would use fred [at] example as his
account name; his home directory would be /opt/vmail/example.com/fred;
his mail would be delivered to /opt/vmail/example.com/fred/Maildir/.

Spamc is passing only 'fred' to spamd, not 'fred [at] example'. How do I
get it to pass th whole thing?

-ste


ste at smxy

Dec 31, 1999, 5:00 PM

Post #2 of 2 (380 views)
Permalink
Re: Spamc passing incomplete username. [In reply to]

I wrote:

> Spamc is passing only 'fred' to spamd, not 'fred [at] example'. How do I
> get it to pass th whole thing?

I figured that out. I just have to use $LOGNAME as the name. However,
this leads to another problem.

Previously, spamd was able to look me up and change to my uid, because I
happen to have a local account on my server. But when I pass it $LOGNAME
(my full address), spamd cannot find me in the password file (naturally).

My virtual users accounts are stored in an mysql database, and I gather
I can tell spamd to look there. But can I do that, and still use
'--virtual-config-dir' for per user prefs and white/black lists?

-ste

SpamAssassin users RSS feed   Index | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.