LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   wildcard emails using postfix (https://www.linuxquestions.org/questions/linux-newbie-8/wildcard-emails-using-postfix-554606/)

rezaan.marlie 05-17-2007 07:33 AM

wildcard emails using postfix
 
Hi Help please.

I managed to load postfix 2.3.2 on my opensuse 10.2 I would like to do something very specific and I am not sure how to do this. Where to look? or What to edit ? Here's what I need to do.

I like all emails that start with the phrase issue-???? to be accepted by my mail server and the email must be delivered to a group email account called e.g. issues@my.domain.com

So example all issue-??????@my.domain.com email must be accepted and be delivered to issues@my.domain.com

So how do I do the wild cards bit where the ????? can be anything or phrase.

Thanks

acid_kewpie 05-17-2007 07:42 AM

yep, that's possible, but normally with a different character, +.

http://www.postfix.org/postconf.5.ht...limiter_filter

this would always make the chosen character "special", so you'd not be able to have another email address using -, if you do change it to that without it being treated the same. i used to use _ though as some online mail forms and such would complain about a + in an email address...

rezaan.marlie 05-17-2007 08:00 AM

wild card emails using postfix
 
Thank you Chris,

I had a look at the url but, not sure where to start in postfix I imagin it would be in main.cf. But what line do I add to the file, also what do I do in the alias file to have the accepted email forwarded to the group email account being issues@my.domain.com

Thanks in advance !

acid_kewpie 05-17-2007 08:37 AM

well that *IS* the option, the one i linked to. if you use + there is nothing to do, otherwise, set that vairable.


All times are GMT -5. The time now is 07:29 PM.