postfix-users

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: fatal: bad string length 0 < 1: virtual_mailbox_base Victor Duchovni Mon Jul 07 07:33:43 2008

On Fri, Feb 15, 2008 at 12:18:40PM -0700, Paul Dulaba wrote:

> I have the following errors in my logs:
> 
> Feb 13 15:55:12 elx-maildmz1 postfix/virtual[14969]: fatal: bad string
> length 0 < 1: virtual_mailbox_base =
> Feb 13 15:55:13 elx-maildmz1 postfix/master[17032]: warning: process
> /usr/lib/postfix/virtual pid 14969 exit status 1
> Feb 13 15:55:13 elx-maildmz1 postfix/master[17032]: warning:
> /usr/lib/postfix/virtual: bad command startup -- throttling

So the "virtual" delivery agent is in fact invoked.

> I've read "man 5 postconf | more +/virtual_mailbox_base" and "man 8 virtual"
> but they aren't telling me anything. I am not using virtual_mailboxes, or
> any local mailboxes,

You have at least one address routed to the "virtual" transport,
either via transport_maps, {local,virtual,relay,default}_transport or
a content_filter.

> and the virtual_mailbox_base parameter is empty by
> default, so why would I get this?

It needs to be set non-empty to use virtual(8).

> It isn't causing any problems that I know
> of, mail is flowing properly, just trying to do some cleanup on the logs and
> conf file.
> 

Other log entries will show at least one deferred message that failed to
connect to connect to the selected transport, it may still be in the queue.

> transport_maps = hash:/etc/postfix/transport

Sure looks like /etc/postfix/transport may be the culprit.

-- 
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:[EMAIL PROTECTED]>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.