Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-30-2007, 04:35 AM   #1
Registered: Sep 2006
Posts: 248

Rep: Reputation: 30
Debian Etch - Postfix+Courier+MySQL+VMail problem - VMail is not created


I set up a system according to a tutorial:
Everything seems to work. I add a new user to the DB and I could log on but I get an error message.

chdir example.tld/test/ failed

That means the server could auth but couldn't find the dirs for the virtual user. I checked. It didn't exist. When adding a new user to the DB and I reload postfix, it should create the dirs, shouldn't it? Or at least when I send a mail to the account. I tried both and didn't work. I added the dir manually and tried to send a mail but didn't get through. I didn't get any error messages. In the syslog, mail.err, mail.log, mail.warn everything was fine. My

maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
# See the Postfix UUCP_README file for configuration details.
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
# Other external delivery methods.
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman unix - n n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/
${nexthop} ${user}

amavis unix - - - - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes inet n - - - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=
-o strict_rfc821_envelopes=yes
-o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
-o smtpd_bind_address=
myhostname = example.tld
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = example.tld, localhost, localhost.localdomain
relayhost =
mynetworks =,
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/, mysql:/etc/postfix/
virtual_mailbox_domains = proxy:mysql:/etc/postfix/
virtual_mailbox_maps = proxy:mysql:/etc/postfix/
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
transport_maps = proxy:mysql:/etc/postfix/
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = "The user you are trying to reach is over quota."
virtual_overquota_bounce = yes
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
content_filter = amavis:[]:10024
receive_override_options = no_address_mappings
netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost.localdo:10024 *:* LISTEN 1996/amavisd (maste
tcp 0 0 localhost.localdo:10025 *:* LISTEN 2442/master
tcp 0 0 localhost.localdo:mysql *:* LISTEN 2076/mysqld
tcp 0 0 *:smtp *:* LISTEN 2442/master
tcp6 0 0 *:imaps *:* LISTEN 2338/couriertcpd
tcp6 0 0 *op3s *:* LISTEN 2372/couriertcpd
tcp6 0 0 *op3 *:* LISTEN 2347/couriertcpd
tcp6 0 0 *:imap2 *:* LISTEN 2321/couriertcpd
tcp6 0 0 *:www *:* LISTEN 2534/apache2
tcp6 0 0 *:ssh *:* LISTEN 2475/sshd
tcp6 0 0 example.tld:ssh ::ffff:192.168.0.:34101 ESTABLISHED2758/0
Why is that? If u need any more info, just let me know. I will post whatever u need. I just can't figure it out. Annoying.

Last edited by vargadanis; 08-30-2007 at 04:37 AM. Reason: privacy issues


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
LXer: Virtual Users And Domains With Postfix, Courier And MySQL (Debian Etch) LXer Syndicated Linux News 0 06-07-2007 07:47 PM
Postfix won't move mail from /var/spool/mail to /home/vmail jmoschetti45 Linux - Server 13 03-07-2007 06:03 AM
FreeBSD VMail Howto hosler *BSD 2 10-08-2006 08:23 PM
migrate from shadow to vmail password freelinuxcpp Linux - Networking 0 10-03-2004 06:13 AM
Vmail Manager robeb Linux - Software 1 05-21-2002 01:29 PM > Forums > Linux Forums > Linux - Networking

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

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