OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Postfix don't see my aliases ??

From: Albert Chin (postfix-usersmlists.thewrittenword.com)
Date: Sat Sep 30 2006 - 23:50:42 CDT


On Mon, Sep 11, 2006 at 07:21:12AM +0200, Magnus B?ck wrote:
> Since the right-hand side address of the virtual alias table doesn't
> contain a domain, Postfix will add $myorigin. For this to work,
> myorigin must be a local domain. In your case it's a virtual mailbox
> domain. Configure Mailman to qualify the addresses with a local
> domain (localhost is typically a suitable choice).

The code from Mailman to create the virtual-mailman table:
    # The text file entries get a little extra info
    print >> fp, '# STANZA START:', listname
    print >> fp, '# CREATED:', time.ctime(time.time())
    # Now add all the standard alias entries
    for k, v in makealiases(listname):
        fqdnaddr = '%s%s' % (k, hostname)
        # Format the text file nicely
        print >> fp, fqdnaddr, ((fieldsz - len(k)) * ' '), k
    ...

So, it doesn't seem possible, without changing the source, to
automatically append "localhost" to the RHS entries.

--
albert chin (chinathewrittenword.com)