Unfortunately this isn't possible.  spamdyke can set any number of 
environment variables before qmail is started, but not later.  But 
spamdyke starts qmail as soon as the connection begins; once qmail has 
been started, spamdyke can't set (or alter) any of its environment 
variables.  This is just how environment variables work, unfortunately.  
There's a bit more explanation here:
     http://www.spamdyke.org/documentation/FAQ.html#SUGGESTION7

The only way to accomplish what you're asking would be to rewrite 
spamdyke so it doesn't start qmail until after the user authenticates 
(or misses the opportunity to do so).  That would be a major change, to 
say the least.

How does your software do this now?

-- Sam Clippinger

On 6/4/10 8:04 AM, Piotr Zaniewicz wrote:
> Hello everyone,
>
> First of all I am very impressed with this lightweight solution to the
> majority of spam problems. Really a great piece of software.
>
> However, I cannot get my server to work properly with spamdyke because I
> require a filtering application to set an additional environment
> variable if the user has successfully authenticated via SMTP AUTH.
>
> I looked through the source code, but since I am not a programmer I
> couldn’t make it work in a desired way. Is it at all possible?
>
> Has anyone managed to write a patch or could assist me in adjusting the
> code to set a custom variable in case a user authenticates?
>
>
> Thanks in advance,
>
>
> Peter
>
> _______________________________________________
> spamdyke-users mailing list
> [email protected]
> http://www.spamdyke.org/mailman/listinfo/spamdyke-users
>    
_______________________________________________
spamdyke-users mailing list
[email protected]
http://www.spamdyke.org/mailman/listinfo/spamdyke-users

Reply via email to