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

Re: status=bounced (user unknown)

Expand Messages
  • Rob Sterenborg (lists)
    ... Usually you don t, as you can use the plain-text aliases file for that. When aliases is updated, you use postalias to update the aliases.db file. The file
    Message 1 of 12 , Aug 28, 2012
    • 0 Attachment
      On Tue, 2012-08-28 at 04:37 -0700, Thufir wrote:
      > On 08/28/2012 04:16 AM, Ralf Hildebrandt wrote:
      > > * Thufir<hawat.thufir@...>:
      > >> > Aug 28 02:40:57 dur postfix/smtpd[22388]: error: open database
      > >> > /var/lib/mailman/data/aliases.db: No such file or directory
      > > postalias /var/lib/mailman/data/aliases
      >
      >
      > Aha!
      >
      > root@dur:~#
      > root@dur:~# ll /var/lib/mailman/data/
      > total 32
      > drwxrwsr-x 2 root list 4096 Aug 28 04:35 ./
      > drwxrwsr-x 8 root list 4096 Aug 27 19:58 ../
      > -rw-r----- 1 root list 41 Aug 27 21:04 creator.pw
      > -rw-rw-r-- 1 root list 10 Aug 27 19:58 last_mailman_version
      > -rw-r--r-- 1 root list 14100 Oct 19 2011 sitelist.cfg
      > root@dur:~#
      > root@dur:~# postalias /var/lib/mailman/data/aliases
      > postalias: fatal: open /var/lib/mailman/data/aliases: No such file or
      > directory
      > root@dur:~#
      > root@dur:~# touch /var/lib/mailman/data/aliases
      > root@dur:~#
      > root@dur:~# postalias /var/lib/mailman/data/aliases
      > root@dur:~#
      > root@dur:~# ll /var/lib/mailman/data/
      > total 44
      > drwxrwsr-x 2 root list 4096 Aug 28 04:36 ./
      > drwxrwsr-x 8 root list 4096 Aug 27 19:58 ../
      > -rw-r--r-- 1 root list 0 Aug 28 04:36 aliases
      > -rw-r--r-- 1 root list 12288 Aug 28 04:36 aliases.db
      > -rw-r----- 1 root list 41 Aug 27 21:04 creator.pw
      > -rw-rw-r-- 1 root list 10 Aug 27 19:58 last_mailman_version
      > -rw-r--r-- 1 root list 14100 Oct 19 2011 sitelist.cfg
      > root@dur:~#
      >
      >
      > Like that? Not sure how to see what's in aliases.db, but that seems right.

      Usually you don't, as you can use the plain-text aliases file for that.
      When aliases is updated, you use postalias to update the aliases.db
      file.

      The file didn't exist, you just touched it, creating an empty aliases
      file, and then created the aliases.db file from it. There won't be any
      information in aliases.db.

      man 5 aliases


      --
      Rob
    Your message has been successfully submitted and would be delivered to recipients shortly.