hi there jijo,

i had a similar problem once 
(that is, if i understood your problem correctly).

our mailing list server is lists.q-linux.com
then a friend wanted us to host foo.bar.com

what we did was enter the ff in the 'virtual' file:
[EMAIL PROTECTED]               foo-list
[EMAIL PROTECTED]         foo-list-admin
[EMAIL PROTECTED]       foo-list-request
[EMAIL PROTECTED]         foo-list-owner

and then enter the ff in the `aliases` file:
foo-list:              "|/home/mailman/mail/wrapper post foo-list"
foo-list-admin:        "|/home/mailman/mail/wrapper mailowner foo-list"
foo-list-request:      "|/home/mailman/mail/wrapper mailcmd foo-list"
foo-list-owner:        foo-list-admin

and added foo.bar.com in mydestination

and configured mailman's "hostname this list prefers" with foo.bar.com 
under the general options section.

did i miss anything?

hth,
-eric



On Tuesday 29 January 2002 22:44, you wrote:
> Hi everyone,
>
> For a Postfix system handling multiple domains, how can one set up a
> domain-restricted alias entry, for an entry that redirects to a program?
>
> I already know how to use virtual tables for mapping to local and foreign
> recipients. So an entry for [EMAIL PROTECTED] can be unique vis a vis
> [EMAIL PROTECTED]
>
> However, for stuff like Mailman, which requires alias entries similar to:
>
> listname:             "|/var/lib/mailman/mail/wrapper post listname"
> listname-admin:               "|/var/lib/mailman/mail/wrapper mailowner listname"
> listname-request:     "|/var/lib/mailman/mail/wrapper mailcmd listname"
> listname-owner:               listname-admin
>
> The following virtual table entries don't work:
>
> domain.com                    anything_header
> [EMAIL PROTECTED]           "|/var/lib/mailman/mail/wrapper post listname"
> [EMAIL PROTECTED]     "|/var/lib/mailman/mail/wrapper mailowner
> listname" [EMAIL PROTECTED] "|/var/lib/mailman/mail/wrapper
> mailcmd listname" [EMAIL PROTECTED]   [EMAIL PROTECTED]
>
> I get the following errors when sending to this address:
>
> warning: Illegal address syntax from localhost[127.0.0.1] in RCPT command:
> <|/var/lib/mailman/mail/wrapper post [EMAIL PROTECTED]>
>
> And things don't get sent. :(
>
> Any alternatives to domain-restricted alias entries other than the virtual
> table?
>
> Thanks in advance! :)
>
>  --> Jijo
>
> --
> Federico Sevilla III  :: [EMAIL PROTECTED]
> Network Administrator :: The Leather Collection, Inc.
> GnuPG Key: http://jijo.leathercollection.ph/jijo.gpg
>
> _
> 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]

-- 
�.--. �Enrique D. Rosel II
( () ) Q Linux Solutions, Inc.
�`--\\ A Philippine Open Source Solutions Co. �http://www.q-linux.com/
_
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]

Reply via email to