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

195443Re: postfix, cyrus, mailman, virtual domains

Expand Messages
  • Dwight Tovey
    Apr 2, 2006
      mouss said:
      > Matt Fretwell wrote:
      >> On Sun, 02 Apr 2006 11:25:45 -0600
      >> Dwight Tovey wrote:
      >>> Note that Postfix is trying to use lmtp to hand the message off to
      >>> cyrus, which doesn't have a mailbox for 'mailman' (the test list I'm
      >>> trying to send to). I need the message to not go to lmtp/cyrus at
      >>> all, but just use the alias map to pass it through the pipe to the
      >>> 'mailman post' command.
      >> Use a transport entry with something along the lines of:
      >> mailman@... local:
      > or virtual aliases:
      > #replace example.com by dtovey.net
      > mailman@... mailman@...
      > ...
      > since he has localhost.example.com in mydestination.

      Bingo. I knew it had to be something simple that I was missing.

      I made one change to main.cf:
      virtual_alias_maps = mysql:/etc/postfix/mysql-virtual.cf
      virtual_alias_maps = mysql:/etc/postfix/mysql-virtual.cf,

      I then created /usr/local/mailman/data/virtual-mailman with the following:
      mailman mailman@...
      mailman-admin mailman-admin@...
      mailman-bounces mailman-bounces@...
      mailman-confirm mailman-confirm@...
      mailman-join mailman-join@...
      mailman-leave mailman-leave@...
      mailman-owner mailman-owner@...
      mailman-request mailman-reques@...
      mailman-subscribe mailman-subscribe@...
      mailman-unsubscribe mailman-unsubscribe@...

      I ran postmap on that, reloaded postfix, and everything works again. I'll
      have to update virtual-mailman whenever I add a new list, but that
      shouldn't be a problem.

      Thanks for pointing me in the right direction.

      Dwight N. Tovey
      email: dwight@...
      web: http://www.dtovey.net/~dwight
      Cthulu For President-Why Choose The Lesser Evil?
    • Show all 6 messages in this topic