Pages

Welcome to My Blog

This is to share my IT experience with friends all around the world.
I have been working in Linux Fedora Systems for more than 8 years. Its fun to share knowledge and learn..
As everyone knows when a problem arises in your systems "googling" is the way that many depend on..

All the posts here are my working experiences during my working life.. So you can count on it..

I have added the references where I got help in solving IT issues


Wednesday, May 18, 2011

Postfix Error - Virtual Mailbox Base

bad string length 0 < 1: virtual_mailbox_base

I got following error in Postfix main server which was used as a in-relay for few domains. The in-relay used to route all relay domain mails to virus scanner without putting them in to any mail box. It also had virtual domains settings;
virtual_mailbox_domains = xyz.lk
virtual_alias_maps = hash:/etc/postfix/virtua

The error I got is as follows;

fatal: bad string length 0 < 1: virtual_mailbox_base =
May 19 11:18:38 malithi postfix/master[2473]: warning: process /usr/libexec/postfix/virtual pid 28307 exit status 1
May 19 11:18:38 malithi postfix/master[2473]: warning: /usr/libexec/postfix/virtual: bad command startup -- throttling

I followed several posts regarding the virtual_mailbox_base. Following post give a good understanding on virtual_mailbox_base issues;

http://archives.neohapsis.com/archives/postfix/2008-02/0898.html
http://readlist.com/lists/postfix.org/postfix-users/20/100947.html

What I found was as I have configured virtual settings in master.cf it looks for virtual_mailbox_base parameter even-though I have not used any virtual transport. I commented the virtual settings in master.cf

#virtual unix - n n - - virtual

It stopped the error regarding the virtual_mailbox_base and worked fine.

May be this will useful to you in your postfix configurations and error corrections.

5 comments:

  1. Actually you disabled virtual mails!

    ReplyDelete
  2. thanks for useful post, A virtual mailbox is the best solution to receiving mail anywhere in the world from across the globe.

    ReplyDelete
  3. Companies are continually searching for new and helpful ways to save money. That is the reason so many of today’s creative companies are held with Virtual Mailboxes Address, made believable by the strength of the internet.

    ReplyDelete
  4. Thank you for your post, with excellent contnet on Virtual Mailbox

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete