[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Are Sendmail-style Alias Lists Possible in exim4?



In <[🔎] 200904072031.n37KVAGs059929@dc.cis.okstate.edu>, Martin McCormick wrote:
>In sendmail, you can use the aliases file to declare a local
>address like:
>
>pitcrew::include:/etc/mail/crew_list
>
>That file can have either one address per line or , separated
>addresses, but the neat thing is you can change it dynamically
>as it is read each time. Is there anything like that in exim4?
>exim4 has a /etc/aliases file and a newaliases command, but it
>doesn't seem to work the same way when I tried it.

Read the relevant manpages:
man 5 etc-aliases
man 8 newaliases

In short, the /etc/aliases file is much more limited in exim, although 
Debian's exim does use it by default.  Newaliases is only there for 
compatibility and is a no-op; exim does not "compile" the aliases file--it 
parses it for each mail.

So, it sounds like you should "dynamically change" /etc/aliases to get the 
effect you desire.
-- 
Boyd Stephen Smith Jr.           	 ,= ,-_-. =.
bss@iguanasuicide.net            	((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy 	 `-'(. .)`-'
http://iguanasuicide.net/        	     \_/

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: