Subject: Re: postfix as backup MX: relay_recipient problem
To: None <r8@socal.rr.com>
From: Quentin Garnier <cube@cubidou.net>
List: netbsd-users
Date: 02/10/2006 17:38:09
--s2lX4GznBIrto1wi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Feb 10, 2006 at 08:25:58AM -0800, r8@socal.rr.com wrote:
[...]
> When I saw the "relay_recipients.db: No such file" error, I tried making
> a softlink from relay_recipients to relay_recipients.db.  But now when I
> start up postfix, it refuses to receive mail, and I get the following
> errors in /var/log/maillog
>=20
>    Feb  9 13:28:25 icarus postfix/postfix-script: starting the Postfix
> mail system
>    Feb  9 13:28:25 icarus postfix/master[10942]: daemon started --
> version 2.2.5, configuration /usr/pkg/etc/postfix
>    Feb  9 13:35:49 icarus postfix/smtpd[24918]: fatal: open database
> /usr/pkg/etc/postfix/relay_recipients.db: Inappropriate file type or form=
at
>    Feb  9 13:35:50 icarus postfix/master[10942]: warning: process
> /usr/pkg/libexec/postfix/smtpd pid 24918 exit status 1
>    Feb  9 13:35:50 icarus postfix/master[10942]: warning:
> /usr/pkg/libexec/postfix/smtpd: bad command startup -- throttling
>=20
>=20
> I've checked man pages.  I checked the info at
> http://www.postfix.org/STANDARD_CONFIGURATION_README.html#backup
> and I checked a friends O'Reilly Postfix book, and for the life of me I
> can't figure out what's wrong.  Please help?

See postmap(1), and run:

/usr/pkg/sbin/postmap /usr/pkg/etc/postfix/relay_recipients

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.

--s2lX4GznBIrto1wi
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iQEVAwUBQ+zBcdgoQloHrPnoAQIG6wf/VPhV6kAAb/pfbrNPxpHkLUhQPV4Bk7sD
h/IoZChmItOw7Y2iFCF0wwKqlvwTMGGZs6amkd/WPeFQPUuabILZOqeTXL07jic2
6xwRyNWOzyok5tKMvhnCJNJEbAMip7ycHZvh3foBm/gfMfJnO8i70iid0x/L8nqk
02hZ9GFKcIBEHD3xl0+MGax8fkA5T/6BdKvVA2Y4CDICoMCicaCXGUWuY+cQyaSW
8J9aOxfgK0JKfZ/INfD/zNWyMkNPFiyvPxLsnIE3fzqvB662ZWGWz32+vjxaMtuL
p5SD5U3E5SbtyW3L4B9rB3gHolObawVBHCqXILGPi1rwC1fKamLLDQ==
=ziVq
-----END PGP SIGNATURE-----

--s2lX4GznBIrto1wi--