LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
Search this Thread
Old 10-02-2009, 12:07 PM   #1
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , Solaris 10, RHEL
Posts: 1,935
Blog Entries: 1

Rep: Reputation: 188Reputation: 188
Wildcard email alias in /etc/alias file


Hello,

I want to have an address(es) route to 1 email. But I want to "wildcard" the email address...

For example...I want:

me1@mail.myserver.com
me2@mail.myserver.com
me23@mail.myserver.com
meahdsfhzsdfhasdfasdfh@mail.myserver.com
me1238487234909sdfdfwefe@mail.myserver.com

Ad nauseum...

in essence "me*@mail.myserver.com" to route to me@mail.myserver.com

I've tried adding this in /etc/aliases

Code:
me*@mail.myserver.com:   me@mail.myserver.com
But this dosen't produce the desired result...

Any questions/concerns/advice/ideas are greatly appreciated

-C
 
Old 10-02-2009, 12:17 PM   #2
reickler
LQ Newbie
 
Registered: Sep 2009
Posts: 29

Rep: Reputation: 20
Don;t think you can use wildcards in that way. You can use them as the entire left-side, but not to match part of it.

You'll probably have to move the mail around *after* it's delivered using something like procmail.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Outgoing Email Alias? instrumentpilot Linux - General 3 05-08-2009 12:16 PM
Find path from file alias an_sush Linux - Newbie 2 02-12-2009 06:15 AM
IP alias? Machine name alias? JohnLocke Linux - Newbie 4 01-16-2008 12:21 PM
Alias question (2 commands for one alias) gflores Linux - Newbie 3 01-21-2006 12:40 AM
alias file not working Michele Linux - Newbie 13 08-11-2003 07:06 PM


All times are GMT -5. The time now is 11:14 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