Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th May 2007, 06:47
my978796 my978796 is offline
Junior Member
 
Join Date: May 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Virtual Users And Domains With Postfix, Courier And MySQL (Fedora Core 5)

I followed the above tutorial but using different version of postfix srpm ( version 2.4) with vda patch from http://postfix.wl0.org.

I got the problem with quota.

When i set quota field in users table with default value '10485760', i got error message,
maildir delivery failed: user overdrawn his diskspace quota. Strangely, the user folder is empty.

I aslo try to manually create maildirsize with size of 10485760, but the problem still occured.

When i reset the value of quota field to 0, mail is delivered to user folder.

Any help is appreciated.

Tq.
Reply With Quote
Sponsored Links
  #2  
Old 9th May 2007, 17:40
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,715 Times in 2,557 Posts
Default

How big is the mail that you're trying to send to the user?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 10th May 2007, 05:50
my978796 my978796 is offline
Junior Member
 
Join Date: May 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Only small file with size less than 1KB.

Anyway, I manage to get rid of the problem after follow exactly the setup in the howto, and now quota worked fine. Actualy, i only change the the sql query to suit my need as below and configure virtual_mailbox_base to /.

I still need assistant to get my intended setup running fine with quota. I am trying to migrate from qmail-mysql to postfix-mysql, and i have users table with home field with absolute path in qmail-mysql setup. I try to stick with current design.

This is my setup.

I alter users table and create 'home' field. This field will refer to user's home folder with absolute path ( /home/test)

I modified mysql query in /etc/postfix/mysql-virtual_mailboxes.cf to, query=select concat(home, '/') FROM users WHERE email='%s', and set virtual_mailbox_base = /. I don't know how to get rid of the variable and postfix refuse to start without this variable. So, i put / for that.

With this setup, i face the problem with quota as posted before. I think it may be related to virtual_mailbox_base when the value is set to / and my sql query.

How can i ignore this virtual_mailbox_base value, and tell postfix/vda not to append value to my home field ?. I try not change my home value ( get rid of first /) because i have internal program that refer to the home folder with absolute path.

Do you have any suggestion to make my setup work.

Tq.

Last edited by my978796; 10th May 2007 at 06:07.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Users And Domains With Postfix, Courier And MySQL Secondary MX acoghlan HOWTO-Related Questions 1 8th March 2008 05:02
Virtual Users And Domains With Postfix, Courier And MySQL (Fedora Core 5) ed bad exit wsand70 HOWTO-Related Questions 2 25th February 2007 21:52
Virtual Users And Domains With Postfix, Courier And MySQL (Fedora Core 5) rickcore HOWTO-Related Questions 2 29th December 2006 16:51
Virtual Users And Domains With Postfix, Courier And MySQL (Fedora Core 5) sapphire327 HOWTO-Related Questions 10 25th December 2006 15:59
Virtual Users And Domains With Postfix, Courier And MySQL (Fedora Core 5) sneaky_russian Installation/Configuration 4 26th September 2006 18:05


All times are GMT +2. The time now is 02:32.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.