en:linux:postfix-rewrite

Draft | Approver: psycore

Postfix trivial rewrite problem

tutname=Postfix Trivial Rewrite Problem|tutautor=PsyCore|tutversion=1.0|tutquelle=http://listi.jpberlin.de/pipermail/postfixbuch-users/2005-June/017828.html

This problem deals with the following error message:

postfix/trivial-rewrite[0]: fatal: mysql:/etc/postfix/mysql-virtual_mailbox_domains.cf(0,lock|fold_fix): table lookup problem

In the file

/etc/postfix/master.cf

file contains the following entry:

rewrite   unix  -       -       -       -       -       trivial-rewrite

This must be changed as follows:

rewrite   unix  -       -       n       -       -       trivial-rewrite

Now we have to restart Postfix and MySQL:

$ ./etc/init.d/postfix restart
$ ./etc/init.d/mysql restart

Lost emails are forwarded over time and have not been lost.

  • en/linux/postfix-rewrite.txt
  • Last modified: 2023/11/16 00:36
  • by 52.167.144.168