Re: quota and /var/mail
:) just another comment about quotas in emails.. (though its also not for sendmail) you might also want to check QMAIL. theres a very nice installation guide for FreeBSD in http://freebsd.qmailrocks.org/ you'll just have to follow the step-by-step installation and in the end you'll have a nice web-based interface for maintaining users/virtual domains, with spam/virus filtering and other stuff :) = Gil A. Virtucio Janitor/Kolektor/Messenger/Driver Asia Solution Phillippines Inc. 28/F Antel Global Corporate Center 3 Doña Julia Vargas Avenue, Ortigas Center, Pasig Office # : +63-2-687-0692 loc. 103 Mobile # : +63-916-3989695 http://www.gihl.eu.org/ = - Original Message - From: patrick [EMAIL PROTECTED] To: Marwan Sultan [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, May 25, 2006 2:02 AM Subject: Re: quota and /var/mail If you want to only have one set of quotas, you might consider switching to a Postfix/Maildir setup where your users' inboxes will be located in their home folder rather than in /var/mail. It's a fairly easy switch: install Postfix from /usr/ports/mail/postfix, and then you just need to configure one line in your Postfix's main.cf to turn on Maildir support: http://www.postfix.org/faq.html#maildir Though, there might be a bit of a learning curve with respect to the differences between Sendmail and Postfix to convert the rest of your configuration over. It all depends on how complicated your current setup is. Patrick On 5/23/06, Marwan Sultan [EMAIL PROTECTED] wrote: Hello Mike, Thank you again for your support, this is the output of mount and fstab # DeviceMountpoint FStype Options Dump Pass# /dev/ad0s1b noneswapsw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1e /tmpufs rw 2 2 /dev/ad0s1f /usrufs rw,userquota,groupquota 2 2 /dev/ad0s1g /varufs rw 2 2 /dev/acd0c /cdrom cd9660 ro,noauto 0 0 proc/proc procfs rw 0 0 $ mount /dev/ad0s1a on / (ufs, local) /dev/ad0s1e on /tmp (ufs, local, soft-updates) /dev/ad0s1f on /usr (ufs, local, with quotas, soft-updates) /dev/ad0s1g on /var (ufs, local, soft-updates) procfs on /proc (procfs, local) I just want the quota to read the Shell user (home directory) size plus the INBOX mails which stay in /var/mail/$UserName Currently the quota reads the home directory and ignores the $inbox Thak you mike Marwan At 07:37 PM 21/05/2006, Marwan Sultan wrote: No when I enabled quota I did the configuration on /usr shall i enable it on /var to? then how to make the sendmail or the shell reads the user quota on his home directory and his /var/mail/$username ? Hi, It all depends on how you have it mounted. Quotas follow the partition. So if you have /var/mail as its own partition, you need to do it there. If you have /var/mail as a subdirectory of /var than do it on /var. What is the contents of /etc/fstab on the box ? if webmin can read the home directory quota and add to it the /var/mail/$userInbox size then for sure I can do it some how? I dont use webmin so I am not sure how it calculates things. ---Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] _ Don't just search. Find. Check out the new MSN Search! http://search.msn.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: quota and /var/mail
patrick wrote: It's a fairly easy switch: install Postfix from /usr/ports/mail/postfix, and then you just need to configure one line in your Postfix's main.cf to turn on Maildir support: http://www.postfix.org/faq.html#maildir Though, there might be a bit of a learning curve with respect to the differences between Sendmail and Postfix to convert the rest of your configuration over. It all depends on how complicated your current setup is. O'Reilly does a great Postfix book and there are lots of FAQ's out there. If you have experience of mail admin then postfix is dead easy to pick up. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: quota and /var/mail
If you want to only have one set of quotas, you might consider switching to a Postfix/Maildir setup where your users' inboxes will be located in their home folder rather than in /var/mail. It's a fairly easy switch: install Postfix from /usr/ports/mail/postfix, and then you just need to configure one line in your Postfix's main.cf to turn on Maildir support: http://www.postfix.org/faq.html#maildir Though, there might be a bit of a learning curve with respect to the differences between Sendmail and Postfix to convert the rest of your configuration over. It all depends on how complicated your current setup is. Patrick On 5/23/06, Marwan Sultan [EMAIL PROTECTED] wrote: Hello Mike, Thank you again for your support, this is the output of mount and fstab # DeviceMountpoint FStype Options Dump Pass# /dev/ad0s1b noneswapsw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1e /tmpufs rw 2 2 /dev/ad0s1f /usrufs rw,userquota,groupquota 2 2 /dev/ad0s1g /varufs rw 2 2 /dev/acd0c /cdrom cd9660 ro,noauto 0 0 proc/proc procfs rw 0 0 $ mount /dev/ad0s1a on / (ufs, local) /dev/ad0s1e on /tmp (ufs, local, soft-updates) /dev/ad0s1f on /usr (ufs, local, with quotas, soft-updates) /dev/ad0s1g on /var (ufs, local, soft-updates) procfs on /proc (procfs, local) I just want the quota to read the Shell user (home directory) size plus the INBOX mails which stay in /var/mail/$UserName Currently the quota reads the home directory and ignores the $inbox Thak you mike Marwan At 07:37 PM 21/05/2006, Marwan Sultan wrote: No when I enabled quota I did the configuration on /usr shall i enable it on /var to? then how to make the sendmail or the shell reads the user quota on his home directory and his /var/mail/$username ? Hi, It all depends on how you have it mounted. Quotas follow the partition. So if you have /var/mail as its own partition, you need to do it there. If you have /var/mail as a subdirectory of /var than do it on /var. What is the contents of /etc/fstab on the box ? if webmin can read the home directory quota and add to it the /var/mail/$userInbox size then for sure I can do it some how? I dont use webmin so I am not sure how it calculates things. ---Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] _ Don't just search. Find. Check out the new MSN Search! http://search.msn.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: quota and /var/mail
On Wed, 24 May 2006 11:02:44 -0700, in sentex.lists.freebsd.questions you wrote: If you want to only have one set of quotas, you might consider switching to a Postfix/Maildir setup where your users' inboxes will be located in their home folder rather than in /var/mail. It's a fairly easy switch: install Postfix from /usr/ports/mail/postfix, and then you just need to configure one line in your Postfix's main.cf to turn on Maildir support: http://www.postfix.org/faq.html#maildir Though, there might be a bit of a learning curve with respect to the differences between Sendmail and Postfix to convert the rest of your configuration over. It all depends on how complicated your current setup is. Maildir is certainly a better way to go. If you want to stick with sendmail, you can also use procmail as your LDA. However, again, it requires a bit of learning as it works differently. ---Mike Mike Tancsa, Sentex communications http://www.sentex.net Providing Internet Access since 1994 [EMAIL PROTECTED], (http://www.tancsa.com) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: quota and /var/mail
Hello Mike, Thank you again for your support, this is the output of mount and fstab # DeviceMountpoint FStype Options Dump Pass# /dev/ad0s1b noneswapsw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1e /tmpufs rw 2 2 /dev/ad0s1f /usrufs rw,userquota,groupquota 2 2 /dev/ad0s1g /varufs rw 2 2 /dev/acd0c /cdrom cd9660 ro,noauto 0 0 proc/proc procfs rw 0 0 $ mount /dev/ad0s1a on / (ufs, local) /dev/ad0s1e on /tmp (ufs, local, soft-updates) /dev/ad0s1f on /usr (ufs, local, with quotas, soft-updates) /dev/ad0s1g on /var (ufs, local, soft-updates) procfs on /proc (procfs, local) I just want the quota to read the Shell user (home directory) size plus the INBOX mails which stay in /var/mail/$UserName Currently the quota reads the home directory and ignores the $inbox Thak you mike Marwan At 07:37 PM 21/05/2006, Marwan Sultan wrote: No when I enabled quota I did the configuration on /usr shall i enable it on /var to? then how to make the sendmail or the shell reads the user quota on his home directory and his /var/mail/$username ? Hi, It all depends on how you have it mounted. Quotas follow the partition. So if you have /var/mail as its own partition, you need to do it there. If you have /var/mail as a subdirectory of /var than do it on /var. What is the contents of /etc/fstab on the box ? if webmin can read the home directory quota and add to it the /var/mail/$userInbox size then for sure I can do it some how? I dont use webmin so I am not sure how it calculates things. ---Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] _ Don't just search. Find. Check out the new MSN Search! http://search.msn.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: quota and /var/mail
At 07:43 PM 23/05/2006, Marwan Sultan wrote: # DeviceMountpoint FStype Options Dump Pass# /dev/ad0s1b noneswapsw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1e /tmpufs rw 2 2 /dev/ad0s1f /usrufs rw,userquota,groupquota 2 2 /dev/ad0s1g /varufs rw 2 2 /dev/acd0c /cdrom cd9660 ro,noauto 0 0 proc/proc procfs rw 0 0 $ mount /dev/ad0s1a on / (ufs, local) /dev/ad0s1e on /tmp (ufs, local, soft-updates) /dev/ad0s1f on /usr (ufs, local, with quotas, soft-updates) /dev/ad0s1g on /var (ufs, local, soft-updates) procfs on /proc (procfs, local) Hi, You want to make sure /var/mail is mounted with quotas enabled as well. The line in /etc/fstab should read /dev/ad0s1g /varufs rw,userquota,groupquota 2 2 Make the change and then reboot and you will have quotas enforced on /var/mail as well. ---Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: quota and /var/mail
Hello Mike, Thank you for your answer, as im stuck on this point and lost with my users, beside none answering this question on the list! No when I enabled quota I did the configuration on /usr shall i enable it on /var to? then how to make the sendmail or the shell reads the user quota on his home directory and his /var/mail/$username ? When i check my webmin, the section of read user mail will give you the total amount of user useage (including /var/mail/$userInbox) but if i go to quota in my webmin it will show only home directory quota. I'm telling you this information, not because i care about webmin, but i ment to say if webmin can read the home directory quota and add to it the /var/mail/$userInbox size then for sure I can do it some how? Please Advise. Marwan On Fri, 19 May 2006 19:42:11 +, in sentex.lists.freebsd.questions you wrote: Hello everyone, I want to set quota for my users mail, The quota reads the shell account size, but ignores the /var/mail/USER Are you sure quota is enabled on /var/mail ? What does the output of mount show ? ---Mike Mike Tancsa, Sentex communications http://www.sentex.net Providing Internet Access since 1994 [EMAIL PROTECTED], (http://www.tancsa.com) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: quota and /var/mail
At 07:37 PM 21/05/2006, Marwan Sultan wrote: No when I enabled quota I did the configuration on /usr shall i enable it on /var to? then how to make the sendmail or the shell reads the user quota on his home directory and his /var/mail/$username ? Hi, It all depends on how you have it mounted. Quotas follow the partition. So if you have /var/mail as its own partition, you need to do it there. If you have /var/mail as a subdirectory of /var than do it on /var. What is the contents of /etc/fstab on the box ? if webmin can read the home directory quota and add to it the /var/mail/$userInbox size then for sure I can do it some how? I dont use webmin so I am not sure how it calculates things. ---Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: quota and /var/mail
On Fri, 19 May 2006 19:42:11 +, in sentex.lists.freebsd.questions you wrote: Hello everyone, I want to set quota for my users mail, The quota reads the shell account size, but ignores the /var/mail/USER Are you sure quota is enabled on /var/mail ? What does the output of mount show ? ---Mike Mike Tancsa, Sentex communications http://www.sentex.net Providing Internet Access since 1994 [EMAIL PROTECTED], (http://www.tancsa.com) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]