LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 05-17-2007, 07:33 AM   #1
rezaan.marlie
LQ Newbie
 
Registered: Apr 2007
Location: Cape Town
Distribution: suse, redhat, centos, mandrake, ubuntu, fedora
Posts: 2

Rep: Reputation: 0
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
 
Old 05-17-2007, 07:42 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,344

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
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...
 
Old 05-17-2007, 08:00 AM   #3
rezaan.marlie
LQ Newbie
 
Registered: Apr 2007
Location: Cape Town
Distribution: suse, redhat, centos, mandrake, ubuntu, fedora
Posts: 2

Original Poster
Rep: Reputation: 0
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 !
 
Old 05-17-2007, 08:37 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,344

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix not accepting external emails samnjugu Linux - Server 14 03-18-2007 06:04 AM
Logging emails on Postfix vatraxos Linux - General 1 01-28-2007 10:56 PM
store emails on database (postfix) eduac Linux - General 1 07-30-2006 02:31 AM
postfix/procmail doesn't deliver emails! eisman Ubuntu 1 05-18-2005 09:21 AM
Postfix cannot receive emails from outside antho Linux - Newbie 0 02-24-2004 02:02 AM


All times are GMT -5. The time now is 11:05 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration