Thank you very much for your effort to help here... but my problem is still here.
My /etc/postfix/main.cf contains
virtual_mailbox_base = /home/vmail
My database looks like:
root@mailserver:~# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 103
Server version: 5.0.51a-3ubuntu5.1 (Ubuntu)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> USE mail;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> SELECT * FROM domains
-> \G
*************************** 1. row ***************************
domain: mydomain.xx
1 row in set (0.00 sec)
mysql> SELECT * FROM users
-> \G
*************************** 1. row ***************************
email: lars@mydomain.xx
password: R6RfNRnuy0wDU
quota: 10485760
1 row in set (0.00 sec)
mysql> quit
Bye
root@mailserver:~#
The main problem here seem to be that the mail saves in /var/mail/lars:
lars@udesktop:~$ sudo -s
[sudo] password for lars:
root@udesktop:~# ssh -p 22 lars@192.168.7.40
lars@192.168.7.40's password:
Linux mailserver 2.6.24-16-server #1 SMP Thu Apr 10 13:58:00 UTC 2008 i686
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
To access official Ubuntu documentation, please visit:
http://help.ubuntu.com/
You have new mail.
Last login: Tue Jun 3 20:05:18 2008
lars@mailserver:~$ sudo -s
[sudo] password for lars:
root@mailserver:~#
/Lars