[Dovecot] dovecot-dspam plugin & virtual users
Hi list, hi Johannes,
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@currentdomain.com' at line 157 here: http://johannes.sipsolutions.net/Projects/dovecot-dspam-integration/beta7-co...
For my needs, 'currentuser@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!
Regards, Wicher Minnaard
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@currentdomain.com' at line 157 here: http://johannes.sipsolutions.net/Projects/dovecot-dspam-integration/beta7-co...
For my needs, 'currentuser@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
On Wed, 2007-07-11 at 20:14 +0200, Wicher Minnaard wrote:
For my needs, 'currentuser@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!
I have now implemented options to set arbitrary dspam arguments in my latest version (see http://johannes.sipsolutions.net/Projects/dovecot-antispam) so that should help if dovecot has the right username available via some %-expansion.
johannes
participants (2)
-
Johannes Berg
-
Wicher Minnaard