Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 01-21-2008, 12:32 PM   #1
Registered: Dec 2005
Location: South Africa
Distribution: CentOS,Ubuntu,Fedora
Posts: 249

Rep: Reputation: 30
Postfix Error in Log files

Good Day

I get the following in my /var/log/maillog file of my mail server

fatal: bad string length 0 < 1: virtual_mailbox_base =

Jan 21 20:23:02 relay postfix/virtual[15250]: fatal: bad string length 0 < 1: virtual_mailbox_base =
Jan 21 20:23:03 relay postfix/master[2349]: warning: process /usr/libexec/postfix/virtual pid 15250 exit status 1
Jan 21 20:23:03 relay postfix/master[2349]: warning: /usr/libexec/postfix/virtual: bad command startup -- throttling
Jan 21 20:23:19 relay dovecot: pop3-login: Login: user=<gmcobus>, method=PLAIN, rip=::ffff:, lip=::ffff:

Does any one know what it means and how to fix it..

I have posted my file

alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
header_checks = regexp:/etc/postfix/header_checks
home_mailbox = Maildir/
html_directory = no
mail_owner = postfix
mailbox_size_limit = 104857600
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mynetworks =,,,,
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
relayhost =
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_banner = COMPUCLEARING
unknown_local_recipient_reject_code = 550
virtual_alias_domains = hash:/etc/postfix/vhosts.txt
virtual_alias_maps = hash:/etc/postfix/valiase.txt
virtual_mailbox_domains = /etc/postfix/vhosts.txt
Old 01-21-2008, 01:36 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
Well, what do you have set for virtual_mailbox_base. It's not in your file, perhaps set or configured in a different file? If not set, it's default is just empty according to the docs. Perhaps you need to set or configure this parameter.

Last edited by trickykid; 01-21-2008 at 01:37 PM.
Old 01-21-2008, 11:54 PM   #3
Registered: Dec 2005
Location: South Africa
Distribution: CentOS,Ubuntu,Fedora
Posts: 249

Original Poster
Rep: Reputation: 30
This is strange

As why do I have to configure this if the postfix know where the mailboxes are already??

as per this article
Old 01-21-2008, 11:59 PM   #4
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
The instructions are pretty clear:

Below each domain subdirectory are the mail files for each user. Indicate to Postfix the base directory of the mail store with the virtual_mailbox_base parameter:

virtual_mailbox_base = /var/spool/mail
Old 01-22-2008, 02:23 AM   #5
Registered: Sep 2006
Location: Munich, Germany
Distribution: Debian / Ubuntu
Posts: 297

Rep: Reputation: 49

you also have defined both 'virtual_alias_domains' and 'virtual_mailbox_domains', both pointing to the same table. That doesn't seem to make sense. Which should it be?

Also, '' -- is that a typo or is that actually your network?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix error log justkeny2k Linux - Server 2 03-06-2007 02:21 AM
Postfix Error in log file shawnbishop Linux - Software 1 02-28-2007 09:00 AM
Postfix Error message in mail.log ninersheaven Linux - Software 1 03-14-2006 10:28 AM
error 550 in mail.log (postfix + cyrus imapd) gyaban05 Linux - Networking 0 01-24-2006 01:23 AM
tell me about error log files of one website Karthikeyan Gurusamy Linux - Newbie 1 12-28-2005 01:59 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration