LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Postfix macros for pipe

[ILUG] Postfix macros for pipe

Declan Moriarty junk_mail at iol.ie
Mon Jun 19 15:12:02 IST 2006


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.




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell