On Mon, 2006-06-19 at 15:56 +0100, Glen Gray wrote:
> Hey guys,
>> I'm setting up a new mail server for the company and using Virtual
> users. I've managed to get per user .procmailrc working, however,
> I've had to do a little jiggery pokery to make it work.
>> The reason for this jiggery pokery is to get the domain part of the
> recipient's email address
>> For an address of 'user+foo at domain', the following macros work
> ${user} == user
> ${extension} == foo
>> However, there doesn't seem to be one for the domain. I'm hoping that
> this can be done inside postfix and so not have to resort to my
> current jiggery pokery. Any suggestions ? Is it possible to do custom
> user macros ?
If the procmailrc is any way complicated, I'd get it out. Procmail is
fine for the end user (client) which is handling one person's email. But
it can be a memory hog. Each rule with the 'c' switch makes another
process. have ram and horsepower to spare before dropping that into a
server.
--
With Best Regards,
Declan Moriarty.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!