On Wed, Nov 26, 2003 at 06:12:01PM -0800, Blars Blarson wrote: > Should I file serious bugs against non-MTA packages modifying > /etc/aliases ? Have you any acceptable sollution? If no, those bugreports help nothing. > What seems to be Debian way to handle this is to have a /etc/alises.d > directory that has individual files for each package, and have the > newaliases program handle whatever merging is needed. Would you like to write a patch for all MTA's in Debian? > This would at minimum require cooperation from all MTA packages, and may > require a policy modifacation. What for? It will be sufficient to prepare update-mail-aliases script with usecases: update-mail-aliases add alias mail1 ... mailN which add entry: alias: mail1,...mailN do /etc/aliases and run newaliases update-mail-aliases del alias which remove entry for alias and run newaliases. Then all MTA's packages should include it(a) and all packages which require changes in /etc/aliases should use it. (a) Alternative: package mta-common, which all MTA's (pre)depend on. This package would contain mentioned script and /etc/aliases file. Cheers Artur -- http://www.shibumi.org/eoti.htm
Attachment:
signature.asc
Description: Digital signature