LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Postfix Error in Log files (https://www.linuxquestions.org/questions/linux-server-73/postfix-error-in-log-files-615233/)

shawnbishop 01-21-2008 12:32 PM

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:10.10.2.5, lip=::ffff:10.20.7.233


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

I have posted my main.cf 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 = 192.168.0.0/16, 10.0.0.0/8, 193.168.0.0/16, 127.0.0.0/8, 57.33.57.0/24
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
relayhost = linux.ccnet.co.za
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

trickykid 01-21-2008 01:36 PM

Well, what do you have set for virtual_mailbox_base. It's not in your main.cf 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.

shawnbishop 01-21-2008 11:54 PM

This is strange

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

as per this article

http://www.akadia.com/services/postf...mailboxes.html

billymayday 01-21-2008 11:59 PM

The instructions are pretty clear:

Quote:

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

rupertwh 01-22-2008 02:23 AM

Hi,

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, '193.168.0.0/16' -- is that a typo or is that actually your network?


All times are GMT -5. The time now is 08:29 PM.