On Thu, Feb 10, 2005 at 11:50:21AM -0800, Adam Harrison wrote:
> This forwards just fine and procmail reads the ~sw000100/.promailrc 
> file and runs:
> 
> :0fw
> | /usr/bin/spamc -f
> 
> Spamc connects with spamd just fine, and it reads the MySQL 
> prefferences just fine. But some how the full address is being dropped. 
> The variables are being set as:
> _USERNAME_= 'sw000100'
> _TABLE_= userpref
> _MAILBOX_= 'sw000100
> '_DOMAIN_= NULL
> 
> How can I get the full address (and the domain) set?
> 

More often than not, ok probably all the time actually, to get a
domain you're going to have to pass in a username via:
spamc -u <username>

Right now, spamc is guessing at the username and passing it in.

So, adjust you procmailrc file to use -u [EMAIL PROTECTED] in the
spamc call and _DOMAIN_ should become populated with soulbox.com.

Michael

Attachment: pgpA6WVj2Gkun.pgp
Description: PGP signature

Reply via email to