[Dovecot] dovecot-dspam plugin & virtual users

Johannes Berg johannes at sipsolutions.net
Thu Jul 12 13:31:33 EEST 2007


Hi Wicher,

[now I know who it was on jabber. heh]

> I'm trying to use the dovecot-dspam plugin (
> http://johannes.sipsolutions.net/Projects/dovecot-dspam-integration )
> with vpopmail's virtual users.
> All seems well, except for the fact that dspam should be called with
> '--user currentuser at currentdomain.com' at line 157 here:
> http://johannes.sipsolutions.net/Projects/dovecot-dspam-integration/beta7-code
> 
> For my needs, 'currentuser at currentdomain' could be taken as the login
> name I use for logging in to Dovecot. As I'm not a C-programmer by a
> long shot, I was wondering if one of you could help me use the
> bincimap-API to import the login name into a variable so I can use
> that variable to construct a suitable dspam-command. Hope this is
> possible!

Why the bincimap API? The login name from dovecot should already be
available in the USER variable or such.

johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070712/47ca41c6/attachment.bin 


More information about the dovecot mailing list