Loading ...
Sorry, an error occurred while loading the content.

Re: Postfix don't see my aliases ??

Expand Messages
  • Victor Duchovni
    ... You don t have to use the table Mailman generates directly. Use make(1) with suitable post-processing code to convert this file to an alias table for use
    Message 1 of 11 , Oct 1, 2006
    • 0 Attachment
      On Sat, Sep 30, 2006 at 11:50:42PM -0500, Albert Chin wrote:

      > 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.

      You don't have to use the table "Mailman" generates directly. Use make(1)
      with suitable post-processing code to convert this file to an alias
      table for use by Postfix.

      --
      Viktor.

      Disclaimer: off-list followups get on-list replies or get ignored.
      Please do not ignore the "Reply-To" header.

      To unsubscribe from the postfix-users list, visit
      http://www.postfix.org/lists.html or click the link below:
      <mailto:majordomo@...?body=unsubscribe%20postfix-users>

      If my response solves your problem, the best way to thank me is to not
      send an "it worked, thanks" follow-up. If you must respond, please put
      "It worked, thanks" in the "Subject" so I can delete these quickly.
    Your message has been successfully submitted and would be delivered to recipients shortly.