<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Linux Forum - Mail Server</title>
		<link>http://www.linuxforum.com/</link>
		<description>One big piece of the Linux server puzzle is maintaining mail servers.  This section is to provide help to those who work with and maintain Linux mail servers.</description>
		<language>en</language>
		<lastBuildDate>Fri, 24 May 2013 15:30:00 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.linuxforum.com/images/styles/HighlightOrange/misc/rss.png</url>
			<title>Linux Forum - Mail Server</title>
			<link>http://www.linuxforum.com/</link>
		</image>
		<item>
			<title>CREATE_MAIL_SPOOL sets improper permissions</title>
			<link>http://www.linuxforum.com/threads/3943-CREATE_MAIL_SPOOL-sets-improper-permissions?goto=newpost</link>
			<pubDate>Thu, 09 May 2013 22:06:46 GMT</pubDate>
			<description>Hello, 
 
As a novice in administering Linux server, here is my humble request for help concerning useradd and dovecot problem in our CentOS 6.2...</description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
As a novice in administering Linux server, here is my humble request for help concerning useradd and dovecot problem in our CentOS 6.2 server.<br />
After yum updating a whole lot of stuff with webmin last week, none of the users added after this update   could use their email.<br />
As shown below, I've added two users for test purposes: user.test1 yesterday and user.test2 this night, both with CREATE_MAIL_SPOOL = yes option (as it's stored in /etc/default/useradd). I run chmod 0600 /var/mail/user.test1 after the first useradd and that solved the problem so far. I tried this, because all the older mbox files had these privileges and this new one had 0660.<br />
<br />
# ls -l /var/mail/user.test1<br />
-rw------- 1 user.test1        mail    0 May  8 20:09 user.test1<br />
<br />
I have spend a lot of time in the net trying to find a solution which solves this issue but found none, issue obviously being changing default file permissions of /var/mail/$USER when creating new users. I even tried editing /etc/dovecot/conf.d/10-mail.conf with &quot;mail_privileged_group = mail&quot; and reloading dovecot. But when creating a new user the same permissions 0660 are again set automatically: <br />
<br />
# ls -l /var/mail/user.test2<br />
-rw-rw---- 1 user.test2        mail    0 May  9 22:06 user.test2<br />
<br />
When testing webmail with this newly created user account, I got following error message:<br />
<br />
 [SERVERBUG] Internal error occurred. Refer to server log for more information. [2013-05-09 22:08:25]<br />
<br />
and maillog informs:<br />
<br />
May  9 22:08:25 mail dovecot: imap-login: Login: user=&lt;user.test2&gt;, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=4770, secured<br />
May  9 22:08:25 mail dovecot: imap(user.test2): Error: chown(/home/hety/user.test2/mail/.imap/INBOX, -1, 12(mail)) failed: Operation not permitted (egid=567(user.test2), group based on /var/mail/user.test2)<br />
May  9 22:08:25 mail dovecot: imap(user.test2): Error: mkdir(/home/hety/user.test2/mail/.imap/INBOX) failed: Operation not permitted<br />
May  9 22:08:25 mail dovecot: imap(user.test2): Disconnected: Logged out bytes=79/715<br />
<br />
Because I used to add users succesfully before this update process and their emails were working ok, I think something went wrong during updates.<br />
<br />
Can anybody help me with this problem? Meaning not to be forced to run chmod 0600 /var/mail/* after every useradd. I'm beginning to think this issue rises because of some other reason than mail server configuration even though maillog tells about mail dovecot involvement. IMHO this points more towards OS's useradd.<br />
<br />
<br />
Thank You</div>

]]></content:encoded>
			<category domain="http://www.linuxforum.com/forums/24-Mail-Server">Mail Server</category>
			<dc:creator>Seilori</dc:creator>
			<guid isPermaLink="true">http://www.linuxforum.com/threads/3943-CREATE_MAIL_SPOOL-sets-improper-permissions</guid>
		</item>
		<item>
			<title>hosted email anti-spam plans</title>
			<link>http://www.linuxforum.com/threads/3921-hosted-email-anti-spam-plans?goto=newpost</link>
			<pubDate>Fri, 03 May 2013 11:48:03 GMT</pubDate>
			<description>Here are the plan offered by my friend hosting co. 
 
Number of Email Addresses for each domain	Price/month (HKD) 
Up to 10                          ...</description>
			<content:encoded><![CDATA[<div>Here are the plan offered by my friend hosting co.<br />
<br />
Number of Email Addresses for each domain	Price/month (HKD)<br />
Up to 10                                              	HK$ 18.80/Address<br />
11 - 50	                                                HK$ 17.80/Address<br />
51 - 100	                                                HK$ 16.50/Address<br />
101 - 200	                                                HK$ 15.50/Address<br />
201 - 500	                                                HK$ 14.00/Address<br />
<br />
What do you think?</div>

]]></content:encoded>
			<category domain="http://www.linuxforum.com/forums/24-Mail-Server">Mail Server</category>
			<dc:creator>ashishagarwal</dc:creator>
			<guid isPermaLink="true">http://www.linuxforum.com/threads/3921-hosted-email-anti-spam-plans</guid>
		</item>
	</channel>
</rss>
