Subject: Re: postfix as backup MX: relay_recipient problem
To: Quentin Garnier <cube@cubidou.net>
From: None <r8@socal.rr.com>
List: netbsd-users
Date: 02/10/2006 09:50:11
This is a multi-part message in MIME format.

--Boundary_(ID_mB2iNhsJC/qIuteVsdYKag)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline

That did it.  Thanks!
(seems so easy, but it's been kicking my butt for a week)

- Roger

> See postmap(1), and run:
> /usr/pkg/sbin/postmap /usr/pkg/etc/postfix/relay_recipients
> -- 
> Quentin Garnier - cube@cubidou.net - cube@NetBSD.org



--Boundary_(ID_mB2iNhsJC/qIuteVsdYKag)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline

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
> 
>    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 format
>    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
> 
> 
> 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

-- 
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.

--Boundary_(ID_mB2iNhsJC/qIuteVsdYKag)--