LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 05-10-2010, 01:54 PM   #1
andrewggrant
LQ Newbie
 
Registered: May 2010
Posts: 9

Rep: Reputation: 0
How to create a Postfix "everyone" alias that points to all users (wildcard)?


Hello,

I am trying to create a Postfix alias called, "everyone" that will redirect mail to every user / alias on my server.

This sounds like a wildcard alias and I am under the impression that Postfix doesn't support wildcards. Is there a way to achieve this result without manually typing in every user in an alias entry?

I plan to apply class restrictions so only a select group of users can send to this alias / address so spam should not be an issue.

Does anyone know how this could work? Is there another / better way to get the same results?

Sincerely,

Andrew Grant
 
Old 05-10-2010, 03:43 PM   #2
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Maybe an sql- or ldap table is better? Then, a new query is made everytime the alias is encountered, so you don't have to manually update the mapping.
 
Old 05-10-2010, 04:04 PM   #3
andrewggrant
LQ Newbie
 
Registered: May 2010
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Berhanie View Post
Maybe an sql- or ldap table is better? Then, a new query is made everytime the alias is encountered, so you don't have to manually update the mapping.
Do you have an actual example of an ldap query?
 
Old 05-10-2010, 04:45 PM   #4
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
You can find example on the postfix site or as part of the installed postfix distribution: see here and here.
This rfc is also useful.
 
1 members found this post helpful.
  


Reply

Tags
alias, postfix, wildcard



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
Problem "$value=`mpstat 1 1 | grep "Average"`;" Alias pipe return nothing adamlucansky Linux - General 8 09-25-2009 07:26 AM
How do I disable "shutdown" and "restart" options in KDE logout screen for all users? maxgsp Linux - Distributions 1 12-12-2008 03:18 PM
"adduser" not adding users to default group "users" PunkPT Slackware 2 09-23-2004 11:50 AM
Why doesn't a wildcard chmod change "dot" files/directories? jht2k Linux - General 1 08-09-2004 02:31 PM
bash equivalence of tcsh "alias em "emacs \!:1 &""? rgiggs Slackware 3 07-29-2004 02:07 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration