Postfix Bug from hell
by linuxnubuk from LinuxQuestions.org on (#5AQ6X)
Hi, all so I am New to Linux questions and my background is light user and I understand how to update code but not wite it ( sorry to say ) :-(
so if anyone could help me with this bug I would be so greatfull as I have been trying to fix it for over 2 years and still can't work it out and now I am admitting defeat up to this point.
I had some setup a postfix system for me that used my old HostGator account to send emails but not I have moved to a new host and ever time I update these files on the postfix setup I keep getting these messages from within the mail log output file listed below, I have tried to update the DB file but keep getting the same error can any please help me with this.
----------------------------------------------------
Nov 22 10:44:30 postfix/smtp[15444]: fatal: open database /etc/postfix/relay_passwords.db: Invalid argument
Nov 22 10:44:31 postfix/master[2749]: warning: process /usr/libexec/postfix/smtp pid 15444 exit status 1
Nov 22 10:44:31 postfix/master[2749]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling
Nov 22 10:44:31 postfix/pickup[2751]: 59018280C05: uid=500 from=<root>
Nov 22 10:44:31 postfix/cleanup[2994]: 59018280C05: message-id=<20201122154431.59018280C05@domain.net>
Nov 22 10:44:31 postfix/qmgr[2752]: 59018280C05: from=<root@domain.net>, size=915, nrcpt=1 (queue active)
Nov 22 10:44:31 postfix/local[2996]: 59018280C05: to=<asterisk@domain.net>, orig_to=<asterisk>, relay=local, delay=0.$
Nov 22 10:44:31 postfix/cleanup[2994]: 5C08E280C06: message-id=<20201122154431.5C08E280C06@domain.net>
Nov 22 10:44:31 postfix/qmgr[2752]: 5C08E280C06: from=<>, size=2919, nrcpt=1 (queue active)
Nov 22 10:44:31 postfix/bounce[2999]: 59018280C05: sender non-delivery notification: 5C08E280C06
Nov 22 10:44:31 postfix/qmgr[2752]: 59018280C05: removed
Nov 22 10:44:31 postfix/local[2996]: 5C08E280C06: to=<root@domain.net>, relay=local, delay=0.01, delays=0/0/0/0, dsn=$
Nov 22 10:44:31 postfix/qmgr[2752]: 5C08E280C06: removed
Nov 22 10:45:20 postfix/pickup[2751]: B3D4B280C04: uid=500 from=<root>
Nov 22 10:45:20 postfix/cleanup[2994]: B3D4B280C04: message-id=<20201122154520.B3D4B280C04@domain.net>
Nov 22 10:45:20 postfix/qmgr[2752]: B3D4B280C04: from=<root@domain.net>, size=915, nrcpt=1 (queue active)
Nov 22 10:45:20 postfix/local[2996]: B3D4B280C04: to=<asterisk@domain.net>, orig_to=<asterisk>, relay=local, delay=0.$
Nov 22 10:45:20 postfix/cleanup[2994]: B706F280C06: message-id=<20201122154520.B706F280C06@domain.net>
Nov 22 10:45:20 postfix/qmgr[2752]: B706F280C06: from=<>, size=2919, nrcpt=1 (queue active)
Nov 22 10:45:20 postfix/bounce[2999]: B3D4B280C04: sender non-delivery notification: B706F280C06
Nov 22 10:45:20 postfix/qmgr[2752]: B3D4B280C04: removed
$, dsn=$Nov 22 10:44:30 postfix/smtp[15444]: fatal: open database /etc/postfix/relay_passwords.db: Invalid argument


so if anyone could help me with this bug I would be so greatfull as I have been trying to fix it for over 2 years and still can't work it out and now I am admitting defeat up to this point.
I had some setup a postfix system for me that used my old HostGator account to send emails but not I have moved to a new host and ever time I update these files on the postfix setup I keep getting these messages from within the mail log output file listed below, I have tried to update the DB file but keep getting the same error can any please help me with this.
----------------------------------------------------
Nov 22 10:44:30 postfix/smtp[15444]: fatal: open database /etc/postfix/relay_passwords.db: Invalid argument
Nov 22 10:44:31 postfix/master[2749]: warning: process /usr/libexec/postfix/smtp pid 15444 exit status 1
Nov 22 10:44:31 postfix/master[2749]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling
Nov 22 10:44:31 postfix/pickup[2751]: 59018280C05: uid=500 from=<root>
Nov 22 10:44:31 postfix/cleanup[2994]: 59018280C05: message-id=<20201122154431.59018280C05@domain.net>
Nov 22 10:44:31 postfix/qmgr[2752]: 59018280C05: from=<root@domain.net>, size=915, nrcpt=1 (queue active)
Nov 22 10:44:31 postfix/local[2996]: 59018280C05: to=<asterisk@domain.net>, orig_to=<asterisk>, relay=local, delay=0.$
Nov 22 10:44:31 postfix/cleanup[2994]: 5C08E280C06: message-id=<20201122154431.5C08E280C06@domain.net>
Nov 22 10:44:31 postfix/qmgr[2752]: 5C08E280C06: from=<>, size=2919, nrcpt=1 (queue active)
Nov 22 10:44:31 postfix/bounce[2999]: 59018280C05: sender non-delivery notification: 5C08E280C06
Nov 22 10:44:31 postfix/qmgr[2752]: 59018280C05: removed
Nov 22 10:44:31 postfix/local[2996]: 5C08E280C06: to=<root@domain.net>, relay=local, delay=0.01, delays=0/0/0/0, dsn=$
Nov 22 10:44:31 postfix/qmgr[2752]: 5C08E280C06: removed
Nov 22 10:45:20 postfix/pickup[2751]: B3D4B280C04: uid=500 from=<root>
Nov 22 10:45:20 postfix/cleanup[2994]: B3D4B280C04: message-id=<20201122154520.B3D4B280C04@domain.net>
Nov 22 10:45:20 postfix/qmgr[2752]: B3D4B280C04: from=<root@domain.net>, size=915, nrcpt=1 (queue active)
Nov 22 10:45:20 postfix/local[2996]: B3D4B280C04: to=<asterisk@domain.net>, orig_to=<asterisk>, relay=local, delay=0.$
Nov 22 10:45:20 postfix/cleanup[2994]: B706F280C06: message-id=<20201122154520.B706F280C06@domain.net>
Nov 22 10:45:20 postfix/qmgr[2752]: B706F280C06: from=<>, size=2919, nrcpt=1 (queue active)
Nov 22 10:45:20 postfix/bounce[2999]: B3D4B280C04: sender non-delivery notification: B706F280C06
Nov 22 10:45:20 postfix/qmgr[2752]: B3D4B280C04: removed
$, dsn=$Nov 22 10:44:30 postfix/smtp[15444]: fatal: open database /etc/postfix/relay_passwords.db: Invalid argument