# last 2002-01-29 (23:27 +0800), Federico Sevilla III <[EMAIL PROTECTED]>
mentioned something about re: Restricted per-domain aliasing in Postfix ?
hello jijo, may be old mail but it's just now i had time again.
| I guess this is generally fine, but what if you want to restrict things,
| for a wierd situation where you have a user named [EMAIL PROTECTED]? (I
| know, absurd, but let's pretend it's not) Or even just for niceness, so
| that address/domain boundaries are more "clearly" defined?
put some kind of prefix in your 'aliases' file for each domain. that
way you're guaranteed of unique aliases.
supposing you want two 'foo' lists under different domains (q-linux.com
and foo.bar.com)
virtual:
q-linux.com ANYTHING
[EMAIL PROTECTED] q_foo-list
[EMAIL PROTECTED] q_foo-list-admin
[EMAIL PROTECTED] q_foo-list-request
[EMAIL PROTECTED] q_foo-list-owner
foo.bar.com ANYTHING
[EMAIL PROTECTED] f_foo-list
[EMAIL PROTECTED] f_foo-list-admin
[EMAIL PROTECTED] f_foo-list-request
[EMAIL PROTECTED] f_foo-list-owner
aliases:
q_foo-list: "|/home/mailman/mail/wrapper post q_foo-list"
q_foo-list-admin: "|/home/mailman/mail/wrapper mailowner q_foo-list"
q_foo-list-request: "|/home/mailman/mail/wrapper mailcmd q_foo-list"
q_foo-list-owner: q_foo-list-admin
f_foo-list: "|/home/mailman/mail/wrapper post f_foo-list"
f_foo-list-admin: "|/home/mailman/mail/wrapper mailowner f_foo-list"
f_foo-list-request: "|/home/mailman/mail/wrapper mailcmd f_foo-list"
f_foo-list-owner: f_foo-list-admin
only thing is, you need to make the lists distinct in mailman, too.
you can't have two lists in mailman with the same name. but then,
this should be acceptable in weird situations. then in each list's
config, just specify explicit reply-tos.
...
m a r c o a n t o n i o c a b a z a l
wolfpac communications +63 (918) 93-MARKU
--
It's hard to get ivory in Africa, but in Alabama the Tuscaloosa.
-- Groucho Marx
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]