[#5519] Custom Yes/No values for Forwards
Summary Custom Yes/No values for Forwards
Queue Forwards
Queue Version HEAD
Type Enhancement
State No Feedback
Priority 1. Low
Owners
Requester jouva (at) moufette (dot) com
Created 06/30/2007 (316 days ago)
Due
Updated 10/24/2007 (200 days ago)
Assigned
Resolved 10/24/2007 (200 days ago)
Attachments
Milestone
Patch

History
10/24/2007 Chuck Hagenbuch State ⇒ No Feedback
 
09/20/2007 Jan Schneider Comment #4 Reply to this comment
I'm not sure I understood your question. But if you don't need or use the keeplocal parameter \L, you can just leave it out. If you need it though, but also with 0/1 values, then the customsql driver won't you help you either.
09/20/2007 jouva (at) moufette (dot) com Comment #3 Reply to this comment
I just looked at that and it says the following:

This driver allows for custom SQL queries into which variables will be substituted. The current FULL username will be provided as \U, target address will be provided as \T, the given password will be provided as \P, and the option to keep a local copy of forwarded addresses will be a "Y" or "N" value provided as \L. If the query to check the forwarding status returns no rows, it will be assumed that forwarding is not enabled.

I guess a SQL-based substitution would be necessary based on the value of \L? But I'm not sure if all SQL solutions provide this.
09/20/2007 Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
Why don't you use the customsql driver that offers such flexibility?
06/30/2007 jouva (at) moufette (dot) com Comment #1
Queue ⇒ Forwards
State ⇒ New
Type ⇒ Enhancement
Priority ⇒ 1. Low
Summary ⇒ Custom Yes/No values for Forwards
Reply to this comment
I currently use the default setup for vexim which uses a database that contains numeric values to determine if a user's mail should be forwarded. While yes, vexim does have its own interface for changing a user's info, it would be appreciated if the forwards system includes the ability to specify what value to put in the database for Yes and No within the config file such that it can support 1/0, Y/N, etc.