List Info

Thread: about aliases table




about aliases table
user name
2006-05-31 11:31:04
mysql> select * from dbmail_aliases;
+------------+-----------------------+------------+---------
----+
| alias_idnr | alias                 | deliver_to |
client_idnr |
+------------+-----------------------+------------+---------
----+
|          1 | testtest             | 3          |          
0 |
+------------+-----------------------+------------+---------
----+

I'm using postfix to check for local users. Now I want
dspam to use this 
table as it's user database too.

Postfix uses only the alias column. dspam on the other hand
the alias 
and the deliver_to column. The alias is the username for
dspam, that it 
get's from the mail and deliver_to the uid on unique user.
Very 
convenient -- one user can and usually has many aliases.
That way I 
don't have to use address rewriting or whatever.

Now this table ain't that good idea anymore, be cause the
deliver_to 
column is used for external forwarding too. Correct? The
solution would 
be to generate a table for dspam each time I modify
dbmail's userbase, 
that's what I'm planning to do now.

It just be very convenient, if postfix, dspam and dbmail
used the same 
table and I wouldn't have to worry about keeping things in
sync. Any 
suggestions or apparent problems?

Alex

PS: What is client_idnr column used for, it's
"0" in all my dbmail installs?
_______________________________________________
Dbmail mailing list
Dbmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
about aliases table
user name
2006-05-31 11:50:01

Alex wrote:
> Now this table ain't that good idea anymore, be cause
the deliver_to
> column is used for external forwarding too. Correct?
The solution would
> be to generate a table for dspam each time I modify
dbmail's userbase,
> that's what I'm planning to do now.

Normalizing the aliases table is a TODO.

> PS: What is client_idnr column used for, it's
"0" in all my dbmail
> installs?

It a remnant of some internal project at IC&S used to
key users into
groups.

-- 
 
____________________________________________________________
____
  Paul Stevens                                      paul at
nfg.nl
  NET FACILITIES GROUP                     GPG/PGP:
1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
Dbmail mailing list
Dbmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
about aliases table
user name
2006-05-31 12:47:09
Paul J Stevens wrote:
> Normalizing the aliases table is a TODO.

That's in the 2.3 series TODO list?
_______________________________________________
Dbmail mailing list
Dbmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
about aliases table
user name
2006-05-31 14:11:09
Yes. 2.1 is frozen.

Alex wrote:
> Paul J Stevens wrote:
>> Normalizing the aliases table is a TODO.
> 
> That's in the 2.3 series TODO list?
> _______________________________________________
> Dbmail mailing list
> Dbmaildbmail.org
> htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
> 

-- 
 
____________________________________________________________
____
  Paul Stevens                                      paul at
nfg.nl
  NET FACILITIES GROUP                     GPG/PGP:
1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
Dbmail mailing list
Dbmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
about aliases table
user name
2006-05-31 15:18:03
Try making a view for dspam that filters dbmail_aliases with
"where
deliver_to not like '%%'" or so.


On Wed, 2006-05-31 at 14:31 +0300, Alex wrote:
> mysql> select * from dbmail_aliases;
>
+------------+-----------------------+------------+---------
----+
> | alias_idnr | alias                 | deliver_to |
client_idnr |
>
+------------+-----------------------+------------+---------
----+
> |          1 | testtest             | 3       
  |           0 |
>
+------------+-----------------------+------------+---------
----+
> 
> I'm using postfix to check for local users. Now I want
dspam to use this 
> table as it's user database too.
> 
> Postfix uses only the alias column. dspam on the other
hand the alias 
> and the deliver_to column. The alias is the username
for dspam, that it 
> get's from the mail and deliver_to the uid on unique
user. Very 
> convenient -- one user can and usually has many
aliases. That way I 
> don't have to use address rewriting or whatever.
> 
> Now this table ain't that good idea anymore, be cause
the deliver_to 
> column is used for external forwarding too. Correct?
The solution would 
> be to generate a table for dspam each time I modify
dbmail's userbase, 
> that's what I'm planning to do now.
> 
> It just be very convenient, if postfix, dspam and
dbmail used the same 
> table and I wouldn't have to worry about keeping
things in sync. Any 
> suggestions or apparent problems?
> 
> Alex
> 
> PS: What is client_idnr column used for, it's
"0" in all my dbmail installs?
> _______________________________________________
> Dbmail mailing list
> Dbmaildbmail.org
> htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
-- 
Jesse Norell - jessekci.net
Kentec Communications, Inc.

_______________________________________________
Dbmail mailing list
Dbmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )