<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[Linux-Noob Forums - CentOS]]></title>
		<link>https://www.linux-noob.com/forums/</link>
		<description><![CDATA[Linux-Noob Forums - https://www.linux-noob.com/forums]]></description>
		<pubDate>Sat, 04 Apr 2026 14:27:26 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[cmake 2.8]]></title>
			<link>https://www.linux-noob.com/forums/thread-82.html</link>
			<pubDate>Tue, 22 Jul 2014 10:58:00 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://www.linux-noob.com/forums/member.php?action=profile&uid=4988">alimahboobi007</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.linux-noob.com/forums/thread-82.html</guid>
			<description><![CDATA[<br />
Hi <br />
<br />
I installed Cmake successfully .and now I want to work with it but i dont know how??<br />
<br />
please help me?!<br />
<br />
does it have any visual interface or i have to use it with terminal??<br />
<br />
 <br />
<br />
help meeee[img]&lt;___base_url___&gt;//public/style_emoticons/default/sad.png[/img]<br />
<br />
]]></description>
			<content:encoded><![CDATA[<br />
Hi <br />
<br />
I installed Cmake successfully .and now I want to work with it but i dont know how??<br />
<br />
please help me?!<br />
<br />
does it have any visual interface or i have to use it with terminal??<br />
<br />
 <br />
<br />
help meeee[img]&lt;___base_url___&gt;//public/style_emoticons/default/sad.png[/img]<br />
<br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Cmake 2.8]]></title>
			<link>https://www.linux-noob.com/forums/thread-165.html</link>
			<pubDate>Thu, 03 May 2012 11:00:11 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://www.linux-noob.com/forums/member.php?action=profile&uid=3921">vandellan</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.linux-noob.com/forums/thread-165.html</guid>
			<description><![CDATA[<br />
Hi,<br />
<br />
 <br />
<br />
I currently have cmake 2.6<br />
<br />
 <br />
<br />
However, the script I am trying to use with cmake requires 2.8<br />
<br />
 <br />
<br />
How do I install / upgrade to 2.8? Any help would be greatly appreciated.<br />
<br />
]]></description>
			<content:encoded><![CDATA[<br />
Hi,<br />
<br />
 <br />
<br />
I currently have cmake 2.6<br />
<br />
 <br />
<br />
However, the script I am trying to use with cmake requires 2.8<br />
<br />
 <br />
<br />
How do I install / upgrade to 2.8? Any help would be greatly appreciated.<br />
<br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[SL ssh port problem]]></title>
			<link>https://www.linux-noob.com/forums/thread-287.html</link>
			<pubDate>Tue, 01 Nov 2011 21:17:46 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://www.linux-noob.com/forums/member.php?action=profile&uid=3499">inittux</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.linux-noob.com/forums/thread-287.html</guid>
			<description><![CDATA[<br />
Here a topic to continue what started out <a href="http://&lt;___base_url___&gt;/index.php?/topic/4183-centos-vs-sl/page__view__findpost__p__15318" target="_blank" rel="noopener" class="mycode_url">here</a>. It's more appropriate as a separate topic.<br />
<br />
 <br />
<br />
I changed the default ssh port in SL, and before it works you have to edited the iptables/firewall. I edited the firewall using <span style="font-weight: bold;" class="mycode_b">system-config-firewall-tui </span><br />
<br />
on Hybrid's advice and restarted the service. When connecting:<br />
<br />
 <br />
<br />
ssh -p 1234 user@ip<br />
<br />
 <br />
<br />
I still get connection refused. I did check the vi /etc/sysconfig/iptables<br />
<br />
 <br />
<br />
And it nicely made a new entry under port 22 mentioning my custom ssh port.<br />
<br />
]]></description>
			<content:encoded><![CDATA[<br />
Here a topic to continue what started out <a href="http://&lt;___base_url___&gt;/index.php?/topic/4183-centos-vs-sl/page__view__findpost__p__15318" target="_blank" rel="noopener" class="mycode_url">here</a>. It's more appropriate as a separate topic.<br />
<br />
 <br />
<br />
I changed the default ssh port in SL, and before it works you have to edited the iptables/firewall. I edited the firewall using <span style="font-weight: bold;" class="mycode_b">system-config-firewall-tui </span><br />
<br />
on Hybrid's advice and restarted the service. When connecting:<br />
<br />
 <br />
<br />
ssh -p 1234 user@ip<br />
<br />
 <br />
<br />
I still get connection refused. I did check the vi /etc/sysconfig/iptables<br />
<br />
 <br />
<br />
And it nicely made a new entry under port 22 mentioning my custom ssh port.<br />
<br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[CentOS vs SL]]></title>
			<link>https://www.linux-noob.com/forums/thread-289.html</link>
			<pubDate>Tue, 01 Nov 2011 14:48:44 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://www.linux-noob.com/forums/member.php?action=profile&uid=3499">inittux</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.linux-noob.com/forums/thread-289.html</guid>
			<description><![CDATA[<br />
I went to look on the web to see what I would find as in CentOS vs SL. I find this <a href="http://lostinopensource.wordpress.com/2011/07/13/the-clone-wars-centos-vs-scientific-linux/" target="_blank" rel="noopener" class="mycode_url">article</a> and I come across alot of other discussions. That  SL security updates are faster  and that CentOS is rumored to be a dying project.SL is used by Fermilab and CERN and therefore they got a team working on it alot.. Having searched different forums I still came across where SL and Centos are both advised and no discussions that I have mentioned above. And also have someone who advised me to switch to SL because of the same reasons. So I'm kind of confused and just wanted<br />
<br />
to know your opinions about the matter since this is my home forum <img src="https://www.linux-noob.com/forums/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" /> or say to say.  And to help me think things through to decide what to do.<br />
<br />
 <br />
<br />
p.s this topic is not intended to make a distro war, just trying to understand so it can help me make a decision.<br />
<br />
]]></description>
			<content:encoded><![CDATA[<br />
I went to look on the web to see what I would find as in CentOS vs SL. I find this <a href="http://lostinopensource.wordpress.com/2011/07/13/the-clone-wars-centos-vs-scientific-linux/" target="_blank" rel="noopener" class="mycode_url">article</a> and I come across alot of other discussions. That  SL security updates are faster  and that CentOS is rumored to be a dying project.SL is used by Fermilab and CERN and therefore they got a team working on it alot.. Having searched different forums I still came across where SL and Centos are both advised and no discussions that I have mentioned above. And also have someone who advised me to switch to SL because of the same reasons. So I'm kind of confused and just wanted<br />
<br />
to know your opinions about the matter since this is my home forum <img src="https://www.linux-noob.com/forums/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" /> or say to say.  And to help me think things through to decide what to do.<br />
<br />
 <br />
<br />
p.s this topic is not intended to make a distro war, just trying to understand so it can help me make a decision.<br />
<br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Starting the GUI (Gnome)]]></title>
			<link>https://www.linux-noob.com/forums/thread-292.html</link>
			<pubDate>Thu, 27 Oct 2011 07:30:26 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://www.linux-noob.com/forums/member.php?action=profile&uid=3705">borgweare</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.linux-noob.com/forums/thread-292.html</guid>
			<description><![CDATA[<br />
I installed Cent OS 5.7-i386 server<br />
<br />
and from the text console I start the GUI (Gnome if i understand correctly[img]&lt;___base_url___&gt;//public/style_emoticons/default/blink.png[/img] ) by typing "startx".<br />
<br />
If this is the correct way of starting the GUI, If so I have two dumb Qs.<br />
<br />
1  Is there a way to get it 2 start straight            <br />
<br />
	into the GUI ?<br />
<br />
2 Where the hell is the shut down or restart in the GUI?<br />
<br />
   All can find is a suspend button.<br />
<br />
Thanks 2 all<img src="https://www.linux-noob.com/forums/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" /><br />
<br />
]]></description>
			<content:encoded><![CDATA[<br />
I installed Cent OS 5.7-i386 server<br />
<br />
and from the text console I start the GUI (Gnome if i understand correctly[img]&lt;___base_url___&gt;//public/style_emoticons/default/blink.png[/img] ) by typing "startx".<br />
<br />
If this is the correct way of starting the GUI, If so I have two dumb Qs.<br />
<br />
1  Is there a way to get it 2 start straight            <br />
<br />
	into the GUI ?<br />
<br />
2 Where the hell is the shut down or restart in the GUI?<br />
<br />
   All can find is a suspend button.<br />
<br />
Thanks 2 all<img src="https://www.linux-noob.com/forums/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" /><br />
<br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[5.7 -i386 won't work after update]]></title>
			<link>https://www.linux-noob.com/forums/thread-295.html</link>
			<pubDate>Tue, 25 Oct 2011 08:16:32 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://www.linux-noob.com/forums/member.php?action=profile&uid=3705">borgweare</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.linux-noob.com/forums/thread-295.html</guid>
			<description><![CDATA[<br />
Hi there,<br />
<br />
In case you can’t tell I’m new to Linux.<br />
<br />
I am trying to setup my own web server with <a href="http://demo.kloxo.com:7778/" target="_blank" rel="noopener" class="mycode_url">Kloxo </a><br />
<br />
(A cpanel alternative).<br />
<br />
I installed Cent OS 5.7-i386 server, and ran the GUI<br />
<br />
(startx) and all went well.<br />
<br />
But when I ran the updates and restarted the PC and go to<br />
<br />
Start the GUI I just get a blank screen. [img]&lt;___base_url___&gt;//public/style_emoticons/default/wacko.png[/img]<br />
<br />
I have done some reading on all the forums out there, but far<br />
<br />
I have had no luck.<br />
<br />
Can still use the Command Prompt (if you call it that in the Linux’s<br />
<br />
World?) But would like to use the GUI. (Bit like using DOS instead of windows<br />
<br />
And I’m over those days lol). [img]&lt;___base_url___&gt;//public/style_emoticons/default/tongue.png[/img]<br />
<br />
The hardware I am using to test this on is<br />
<br />
Dell Optiplex 745 2.0GHz core 2 duo<br />
<br />
1 GB Ram<br />
<br />
40 GB hard drive<br />
<br />
DVD Rom<br />
<br />
Intel Graphics Media Accelerator 3000<br />
<br />
 <br />
<br />
Thanks to all.  <img src="https://www.linux-noob.com/forums/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" /><br />
<br />
]]></description>
			<content:encoded><![CDATA[<br />
Hi there,<br />
<br />
In case you can’t tell I’m new to Linux.<br />
<br />
I am trying to setup my own web server with <a href="http://demo.kloxo.com:7778/" target="_blank" rel="noopener" class="mycode_url">Kloxo </a><br />
<br />
(A cpanel alternative).<br />
<br />
I installed Cent OS 5.7-i386 server, and ran the GUI<br />
<br />
(startx) and all went well.<br />
<br />
But when I ran the updates and restarted the PC and go to<br />
<br />
Start the GUI I just get a blank screen. [img]&lt;___base_url___&gt;//public/style_emoticons/default/wacko.png[/img]<br />
<br />
I have done some reading on all the forums out there, but far<br />
<br />
I have had no luck.<br />
<br />
Can still use the Command Prompt (if you call it that in the Linux’s<br />
<br />
World?) But would like to use the GUI. (Bit like using DOS instead of windows<br />
<br />
And I’m over those days lol). [img]&lt;___base_url___&gt;//public/style_emoticons/default/tongue.png[/img]<br />
<br />
The hardware I am using to test this on is<br />
<br />
Dell Optiplex 745 2.0GHz core 2 duo<br />
<br />
1 GB Ram<br />
<br />
40 GB hard drive<br />
<br />
DVD Rom<br />
<br />
Intel Graphics Media Accelerator 3000<br />
<br />
 <br />
<br />
Thanks to all.  <img src="https://www.linux-noob.com/forums/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" /><br />
<br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[CentOS 6 minimal + Apache+MySQL+latest PHP with eAccelerator, Suhosin]]></title>
			<link>https://www.linux-noob.com/forums/thread-330.html</link>
			<pubDate>Sun, 21 Aug 2011 19:28:30 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://www.linux-noob.com/forums/member.php?action=profile&uid=856">hybrid</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.linux-noob.com/forums/thread-330.html</guid>
			<description><![CDATA[<br />
I'm working on recreating (and enhancing) my minimal LAMP server configuration on CentOS 6 for my web server.<br />
<br />
 <br />
<br />
I use Apache and MySQL from the CentOS repos, but prefer to compile my own PHP to stay up-to-date with each new stable release of PHP as soon as it is available. I also like to add support for eAccelerator (a memory cache and bytecode cache for PHP, speeds up execution of PHP scripts considerably) and will add support for the <a href="http://www.hardened-php.net/suhosin/" target="_blank" rel="noopener" class="mycode_url">Suhosin</a> security patch and extension for PHP.<br />
<br />
 <br />
<br />
I'm also moving towards using SELinux in enforcing mode with this new CentOS 6 server for enhanced security.<br />
<br />
 <br />
<br />
I hope in this post to document my setup for this -- Apache, MySQL and the latest PHP from source, as well as eAcceleration and Suhosin, all SELinux compliant. <span style="font-weight: bold;" class="mycode_b">This setup is not yet finished and this post should not therefore be used 'blindly' as a guide for a production server. I'm still testing this setup in a private, closed environment!</span><br />
<br />
 <br />
<br />
<span style="font-weight: bold;" class="mycode_b">I have also not gone through this guide start-to-finish to test that it is complete</span>. Since this is an adaptation of my personal guide, which contains specific details of my setup that aren't relevant to a general audience, I have not verified that this particular write-up actually works.<br />
<br />
 <br />
<br />
Filenames for download links may change as new versions are released. Check all software versions to make sure outdated versions are not being installed.<br />
<br />
 <br />
<br />
<span style="font-weight: bold;" class="mycode_b">Bear in mind, therefore, that this guide is a work in progress. </span>[img]&lt;___base_url___&gt;//public/style_emoticons/default/wink.png[/img]<br />
<br />
 <br />
<br />
<span style="font-size: 14pt;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Install Pre-requisite Packages</span></span><br />
<br />
 <br />
<br />
Begin by ensuring the Development Tools are installed, to faciliate compiling our own PHP and extensions.<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code># yum groupinstall 'Development Tools'</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Now install the prerequisites:<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code># yum install httpd mysql-server httpd-devel libxml2-devel libcurl-devel libjpeg-devel ImageMagick-devel libpng-devel gmp-devel mysql-devel libtool-ltdl-devel</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
MCrypt must be installed manually (I don't want to use third-party yum repos). Download latest from <a href="http://mcrypt.sourceforge.net/." target="_blank" rel="noopener" class="mycode_url">http://mcrypt.sourceforge.net/.</a><br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&#36; tar xjvf libmcrypt-2.5.8.tar.bz2<br />
&#36; cd libmcrypt-2.5.8<br />
&#36; ./configure<br />
&#36; make<br />
&#36; su -c "make install"</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
MySQL desperately needs a root password set.<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&#36; mysqladmin -u root password newrootpassword</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Also configure Apache to your specifications. I will omit that configuration here, as much of it is specific to my setup and not relevant to a general audience.<br />
<br />
 <br />
<br />
<span style="font-size: 14pt;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Download Suhosin Patch</span></span><br />
<br />
 <br />
<br />
Assumes the Suhosin GPG key has already been securely imported, for verifying the integrity of the patch and extension.<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&#36; wget http://download.suhosin.org/suhosin-patch-5.3.7-0.9.10.patch.gz<br />
&#36; wget http://download.suhosin.org/suhosin-patch-5.3.7-0.9.10.patch.gz.sig<br />
&#36; gpg --verify suhosin-patch-5.3.7-0.9.10.patch.gz.sig<br />
&#36; gunzip suhosin-patch-5.3.7-0.9.10.patch.gz</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
<span style="font-size: 14pt;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">PHP 5.3.7 with Suhosin Patch</span></span><br />
<br />
 <br />
<br />
Download latest PHP from <a href="http://www.php.net" target="_blank" rel="noopener" class="mycode_url">http://www.php.net</a>.<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&#36; tar xjvf php-5.3.7.tar.bz2<br />
&#36; cd php-5.3.7<br />
&#36; patch -p 1 -i ../suhosin-patch-5.3.7-0.9.10.patch<br />
&#36; './configure' '--with-mysqli' '--with-mysql' '--enable-bcmath' '--enable-mbstring' '--with-gmp' '--with-curl' '--with-gd' '--with-freetype' '--with-apxs2=/usr/sbin/apxs' '--with-zlib' '--with-mcrypt' '--with-jpeg-dir' '--with-png-dir' '--with-gif-dir'<br />
&#36; make<br />
&#36; make test<br />
&#36; su -c "make install"<br />
&#36; su -c "chcon -t textrel_shlib_t '/usr/lib/httpd/modules/libphp5.so'"<br />
&#36; su -c "/sbin/service httpd restart"</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
PHP configuration to <span style="font-weight: bold;" class="mycode_b">/usr/local/lib/php.ini</span>.<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code># /usr/bin/chcon -t etc_t /usr/local/lib/php.ini</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
<span style="font-size: 14pt;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Suhosin Extension</span></span><br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&#36; wget http://download.suhosin.org/suhosin-0.9.32.1.tar.gz<br />
&#36; wget http://download.suhosin.org/suhosin-0.9.32.1.tar.gz.sig<br />
&#36; gpg --verify suhosin-0.9.32.1.tar.gz.sig<br />
&#36; tar xzvf suhosin-0.9.32.1.tar.gz<br />
&#36; cd suhosin-0.9.32.1<br />
&#36; phpize<br />
&#36; ./configure<br />
&#36; make<br />
&#36; su -c "make install"<br />
&#36; su -c "cp modules/suhosin.so /usr/local/lib/php/extensions"<br />
&#36; su -c "chcon -t textrel_shlib_t '/usr/local/lib/php/extensions/suhosin.so'"</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Enable extension in PHP.ini:<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>extension="suhosin.so"</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Restart Apache:<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code># service httpd restart</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Use a PHPInfo page to verify Suhosin Patch <span style="font-weight: bold;" class="mycode_b">and</span> Suhosin Extension are working.<br />
<br />
 <br />
<br />
<span style="font-size: 14pt;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">eAccelerator</span></span><br />
<br />
 <br />
<br />
Download page appears to be down as of 2011-08-21. [img]&lt;___base_url___&gt;//public/style_emoticons/default/sad.png[/img]<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&#36; tar xjvf eaccelerator-0.9.6.1.tar.bz2<br />
&#36; cd eaccelerator-0.9.6.1<br />
&#36; phpize<br />
&#36; ./configure<br />
&#36; make<br />
&#36; su -c "make install"<br />
&#36; su -c "cp modules/eaccelerator.so /usr/local/lib/php/extensions"<br />
&#36; su -c "mkdir /var/cache/eaccelerator"<br />
&#36; su -c "chown apache /var/cache/eaccelerator"<br />
&#36; su -c "/etc/init.d/httpd restart"<br />
&#36; su -c "chcon -t textrel_shlib_t '/usr/local/lib/php/extensions/eaccelerator.so'"</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Configure eAccelerator settings in PHP.ini:<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>extension="eaccelerator.so"<br />
eaccelerator.shm_size="128"&nbsp;&nbsp;&nbsp;&nbsp;; 128 MB of memcaching, lower on low-memory machines<br />
eaccelerator.cache_dir="/var/cache/eaccelerator"<br />
eaccelerator.enable="1"<br />
eaccelerator.optimizer="1"<br />
eaccelerator.check_mtime="1"<br />
eaccelerator.debug="0"<br />
eaccelerator.filter=""<br />
eaccelerator.shm_max="0"<br />
eaccelerator.shm_ttl="0"<br />
eaccelerator.shm_prune_period="0"<br />
eaccelerator.shm_only="0"<br />
eaccelerator.compress="1"<br />
eaccelerator.compress_level="9"<br />
eaccelerator.log_file="/var/log/eaccelerator.log"</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Set up dirs:<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code># mkdir /var/cache/eaccelerator<br />
# chown apache /var/cache/eaccelerator<br />
# touch /var/log/eaccelerator.log<br />
# chown apache /var/log/eaccelerator.log</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
<span style="font-weight: bold;" class="mycode_b">TODO:</span> SELinux contexts for <span style="font-weight: bold;" class="mycode_b">/var/cache/eaccelerator</span> and <span style="font-weight: bold;" class="mycode_b">/var/log/eaccelerator.log</span>?<br />
<br />
 <br />
<br />
Restart Apache:<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code># service httpd restart</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Verify eAccelerator with a PHPInfo page.<br />
<br />
]]></description>
			<content:encoded><![CDATA[<br />
I'm working on recreating (and enhancing) my minimal LAMP server configuration on CentOS 6 for my web server.<br />
<br />
 <br />
<br />
I use Apache and MySQL from the CentOS repos, but prefer to compile my own PHP to stay up-to-date with each new stable release of PHP as soon as it is available. I also like to add support for eAccelerator (a memory cache and bytecode cache for PHP, speeds up execution of PHP scripts considerably) and will add support for the <a href="http://www.hardened-php.net/suhosin/" target="_blank" rel="noopener" class="mycode_url">Suhosin</a> security patch and extension for PHP.<br />
<br />
 <br />
<br />
I'm also moving towards using SELinux in enforcing mode with this new CentOS 6 server for enhanced security.<br />
<br />
 <br />
<br />
I hope in this post to document my setup for this -- Apache, MySQL and the latest PHP from source, as well as eAcceleration and Suhosin, all SELinux compliant. <span style="font-weight: bold;" class="mycode_b">This setup is not yet finished and this post should not therefore be used 'blindly' as a guide for a production server. I'm still testing this setup in a private, closed environment!</span><br />
<br />
 <br />
<br />
<span style="font-weight: bold;" class="mycode_b">I have also not gone through this guide start-to-finish to test that it is complete</span>. Since this is an adaptation of my personal guide, which contains specific details of my setup that aren't relevant to a general audience, I have not verified that this particular write-up actually works.<br />
<br />
 <br />
<br />
Filenames for download links may change as new versions are released. Check all software versions to make sure outdated versions are not being installed.<br />
<br />
 <br />
<br />
<span style="font-weight: bold;" class="mycode_b">Bear in mind, therefore, that this guide is a work in progress. </span>[img]&lt;___base_url___&gt;//public/style_emoticons/default/wink.png[/img]<br />
<br />
 <br />
<br />
<span style="font-size: 14pt;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Install Pre-requisite Packages</span></span><br />
<br />
 <br />
<br />
Begin by ensuring the Development Tools are installed, to faciliate compiling our own PHP and extensions.<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code># yum groupinstall 'Development Tools'</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Now install the prerequisites:<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code># yum install httpd mysql-server httpd-devel libxml2-devel libcurl-devel libjpeg-devel ImageMagick-devel libpng-devel gmp-devel mysql-devel libtool-ltdl-devel</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
MCrypt must be installed manually (I don't want to use third-party yum repos). Download latest from <a href="http://mcrypt.sourceforge.net/." target="_blank" rel="noopener" class="mycode_url">http://mcrypt.sourceforge.net/.</a><br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&#36; tar xjvf libmcrypt-2.5.8.tar.bz2<br />
&#36; cd libmcrypt-2.5.8<br />
&#36; ./configure<br />
&#36; make<br />
&#36; su -c "make install"</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
MySQL desperately needs a root password set.<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&#36; mysqladmin -u root password newrootpassword</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Also configure Apache to your specifications. I will omit that configuration here, as much of it is specific to my setup and not relevant to a general audience.<br />
<br />
 <br />
<br />
<span style="font-size: 14pt;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Download Suhosin Patch</span></span><br />
<br />
 <br />
<br />
Assumes the Suhosin GPG key has already been securely imported, for verifying the integrity of the patch and extension.<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&#36; wget http://download.suhosin.org/suhosin-patch-5.3.7-0.9.10.patch.gz<br />
&#36; wget http://download.suhosin.org/suhosin-patch-5.3.7-0.9.10.patch.gz.sig<br />
&#36; gpg --verify suhosin-patch-5.3.7-0.9.10.patch.gz.sig<br />
&#36; gunzip suhosin-patch-5.3.7-0.9.10.patch.gz</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
<span style="font-size: 14pt;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">PHP 5.3.7 with Suhosin Patch</span></span><br />
<br />
 <br />
<br />
Download latest PHP from <a href="http://www.php.net" target="_blank" rel="noopener" class="mycode_url">http://www.php.net</a>.<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&#36; tar xjvf php-5.3.7.tar.bz2<br />
&#36; cd php-5.3.7<br />
&#36; patch -p 1 -i ../suhosin-patch-5.3.7-0.9.10.patch<br />
&#36; './configure' '--with-mysqli' '--with-mysql' '--enable-bcmath' '--enable-mbstring' '--with-gmp' '--with-curl' '--with-gd' '--with-freetype' '--with-apxs2=/usr/sbin/apxs' '--with-zlib' '--with-mcrypt' '--with-jpeg-dir' '--with-png-dir' '--with-gif-dir'<br />
&#36; make<br />
&#36; make test<br />
&#36; su -c "make install"<br />
&#36; su -c "chcon -t textrel_shlib_t '/usr/lib/httpd/modules/libphp5.so'"<br />
&#36; su -c "/sbin/service httpd restart"</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
PHP configuration to <span style="font-weight: bold;" class="mycode_b">/usr/local/lib/php.ini</span>.<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code># /usr/bin/chcon -t etc_t /usr/local/lib/php.ini</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
<span style="font-size: 14pt;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Suhosin Extension</span></span><br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&#36; wget http://download.suhosin.org/suhosin-0.9.32.1.tar.gz<br />
&#36; wget http://download.suhosin.org/suhosin-0.9.32.1.tar.gz.sig<br />
&#36; gpg --verify suhosin-0.9.32.1.tar.gz.sig<br />
&#36; tar xzvf suhosin-0.9.32.1.tar.gz<br />
&#36; cd suhosin-0.9.32.1<br />
&#36; phpize<br />
&#36; ./configure<br />
&#36; make<br />
&#36; su -c "make install"<br />
&#36; su -c "cp modules/suhosin.so /usr/local/lib/php/extensions"<br />
&#36; su -c "chcon -t textrel_shlib_t '/usr/local/lib/php/extensions/suhosin.so'"</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Enable extension in PHP.ini:<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>extension="suhosin.so"</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Restart Apache:<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code># service httpd restart</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Use a PHPInfo page to verify Suhosin Patch <span style="font-weight: bold;" class="mycode_b">and</span> Suhosin Extension are working.<br />
<br />
 <br />
<br />
<span style="font-size: 14pt;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">eAccelerator</span></span><br />
<br />
 <br />
<br />
Download page appears to be down as of 2011-08-21. [img]&lt;___base_url___&gt;//public/style_emoticons/default/sad.png[/img]<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&#36; tar xjvf eaccelerator-0.9.6.1.tar.bz2<br />
&#36; cd eaccelerator-0.9.6.1<br />
&#36; phpize<br />
&#36; ./configure<br />
&#36; make<br />
&#36; su -c "make install"<br />
&#36; su -c "cp modules/eaccelerator.so /usr/local/lib/php/extensions"<br />
&#36; su -c "mkdir /var/cache/eaccelerator"<br />
&#36; su -c "chown apache /var/cache/eaccelerator"<br />
&#36; su -c "/etc/init.d/httpd restart"<br />
&#36; su -c "chcon -t textrel_shlib_t '/usr/local/lib/php/extensions/eaccelerator.so'"</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Configure eAccelerator settings in PHP.ini:<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>extension="eaccelerator.so"<br />
eaccelerator.shm_size="128"&nbsp;&nbsp;&nbsp;&nbsp;; 128 MB of memcaching, lower on low-memory machines<br />
eaccelerator.cache_dir="/var/cache/eaccelerator"<br />
eaccelerator.enable="1"<br />
eaccelerator.optimizer="1"<br />
eaccelerator.check_mtime="1"<br />
eaccelerator.debug="0"<br />
eaccelerator.filter=""<br />
eaccelerator.shm_max="0"<br />
eaccelerator.shm_ttl="0"<br />
eaccelerator.shm_prune_period="0"<br />
eaccelerator.shm_only="0"<br />
eaccelerator.compress="1"<br />
eaccelerator.compress_level="9"<br />
eaccelerator.log_file="/var/log/eaccelerator.log"</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Set up dirs:<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code># mkdir /var/cache/eaccelerator<br />
# chown apache /var/cache/eaccelerator<br />
# touch /var/log/eaccelerator.log<br />
# chown apache /var/log/eaccelerator.log</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
<span style="font-weight: bold;" class="mycode_b">TODO:</span> SELinux contexts for <span style="font-weight: bold;" class="mycode_b">/var/cache/eaccelerator</span> and <span style="font-weight: bold;" class="mycode_b">/var/log/eaccelerator.log</span>?<br />
<br />
 <br />
<br />
Restart Apache:<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code># service httpd restart</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Verify eAccelerator with a PHPInfo page.<br />
<br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[CentOS 6 x86_64 as a Desktop]]></title>
			<link>https://www.linux-noob.com/forums/thread-334.html</link>
			<pubDate>Thu, 18 Aug 2011 18:29:53 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://www.linux-noob.com/forums/member.php?action=profile&uid=3499">inittux</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.linux-noob.com/forums/thread-334.html</guid>
			<description><![CDATA[<br />
I just installed CentOS 6 x86_64 as a desktop will post my experiences here.<br />
<br />
 <br />
<br />
No installation problems, no start up problems <img src="https://www.linux-noob.com/forums/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" /><br />
<br />
 <br />
<br />
<img src="http://i1212.photobucket.com/albums/cc452/feedmebits/Screenshots/CentOS6-Desktop.png" loading="lazy"  alt="[Image: CentOS6-Desktop.png]" class="mycode_img" /><br />
<br />
 <br />
<br />
 <br />
<br />
<a href="http://&lt;___base_url___&gt;/index.php?/topic/4138-my-centos-6-desktop/page__pid__14995&amp;do=findComment&amp;comment=14995" target="_blank" rel="noopener" class="mycode_url">Other Screenshot</a><br />
<br />
]]></description>
			<content:encoded><![CDATA[<br />
I just installed CentOS 6 x86_64 as a desktop will post my experiences here.<br />
<br />
 <br />
<br />
No installation problems, no start up problems <img src="https://www.linux-noob.com/forums/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" /><br />
<br />
 <br />
<br />
<img src="http://i1212.photobucket.com/albums/cc452/feedmebits/Screenshots/CentOS6-Desktop.png" loading="lazy"  alt="[Image: CentOS6-Desktop.png]" class="mycode_img" /><br />
<br />
 <br />
<br />
 <br />
<br />
<a href="http://&lt;___base_url___&gt;/index.php?/topic/4138-my-centos-6-desktop/page__pid__14995&amp;do=findComment&amp;comment=14995" target="_blank" rel="noopener" class="mycode_url">Other Screenshot</a><br />
<br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[CentOS/Virtualization]]></title>
			<link>https://www.linux-noob.com/forums/thread-352.html</link>
			<pubDate>Fri, 05 Aug 2011 10:38:06 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://www.linux-noob.com/forums/member.php?action=profile&uid=3499">inittux</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.linux-noob.com/forums/thread-352.html</guid>
			<description><![CDATA[<br />
I have a dedicated server and I want to be able to run virtual pc's from the commandline. I know there's virtualbox<br />
<br />
and vmware, but is it possible to run and control virtualization software from the command line. Or are there other <br />
<br />
options available. I did a bit of searching on google but didn't get further than vmware and virtualbox and <a href="http://www.howtoforge.com/installing-and-using-openvz-on-centos5.2" target="_blank" rel="noopener" class="mycode_url">openvz</a>. <br />
<br />
Anyone have experience with this?<br />
<br />
]]></description>
			<content:encoded><![CDATA[<br />
I have a dedicated server and I want to be able to run virtual pc's from the commandline. I know there's virtualbox<br />
<br />
and vmware, but is it possible to run and control virtualization software from the command line. Or are there other <br />
<br />
options available. I did a bit of searching on google but didn't get further than vmware and virtualbox and <a href="http://www.howtoforge.com/installing-and-using-openvz-on-centos5.2" target="_blank" rel="noopener" class="mycode_url">openvz</a>. <br />
<br />
Anyone have experience with this?<br />
<br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[latest glibc update breaks Evolution(CentOS 5.6)]]></title>
			<link>https://www.linux-noob.com/forums/thread-374.html</link>
			<pubDate>Tue, 19 Apr 2011 17:52:47 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://www.linux-noob.com/forums/member.php?action=profile&uid=3499">inittux</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.linux-noob.com/forums/thread-374.html</guid>
			<description><![CDATA[<br />
After recently updating to CentOS 5.6 I came across the problem that my evolution wouldn't start up anymore. <br />
<br />
I went an searched and found out that more people are having the same problem as me. The problem is that<br />
<br />
the latest version of glibc breaks evolution.<br />
<br />
 <br />
<br />
here's the <a href="https://bugzilla.redhat.com/show_bug.cgi?id=693882" target="_blank" rel="noopener" class="mycode_url">bugreport</a><br />
<br />
 <br />
<br />
here's the topic of how to fix the <a href="http://www.centos.org/modules/newbb/viewtopic.php?topic_id=30939" target="_blank" rel="noopener" class="mycode_url">problem</a><br />
<br />
 <br />
<br />
It's recommended that you do as post #3 says. Don't upgrade to 5.6. Do the following first:<br />
<br />
 <br />
<br />
add: exclude=glibc*2.5-58.el5_6.2 nscd*2.5-58.el5_6.2 xorg-x11-server-utils-7.1-5.el5_6.1   to /etc/yum.conf<br />
<br />
 <br />
<br />
then you can update and evolution works. If you have already updated you need to downgrade first but it's all in the topic <img src="https://www.linux-noob.com/forums/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" /><br />
<br />
]]></description>
			<content:encoded><![CDATA[<br />
After recently updating to CentOS 5.6 I came across the problem that my evolution wouldn't start up anymore. <br />
<br />
I went an searched and found out that more people are having the same problem as me. The problem is that<br />
<br />
the latest version of glibc breaks evolution.<br />
<br />
 <br />
<br />
here's the <a href="https://bugzilla.redhat.com/show_bug.cgi?id=693882" target="_blank" rel="noopener" class="mycode_url">bugreport</a><br />
<br />
 <br />
<br />
here's the topic of how to fix the <a href="http://www.centos.org/modules/newbb/viewtopic.php?topic_id=30939" target="_blank" rel="noopener" class="mycode_url">problem</a><br />
<br />
 <br />
<br />
It's recommended that you do as post #3 says. Don't upgrade to 5.6. Do the following first:<br />
<br />
 <br />
<br />
add: exclude=glibc*2.5-58.el5_6.2 nscd*2.5-58.el5_6.2 xorg-x11-server-utils-7.1-5.el5_6.1   to /etc/yum.conf<br />
<br />
 <br />
<br />
then you can update and evolution works. If you have already updated you need to downgrade first but it's all in the topic <img src="https://www.linux-noob.com/forums/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" /><br />
<br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[centos/virtualbox problem]]></title>
			<link>https://www.linux-noob.com/forums/thread-375.html</link>
			<pubDate>Sun, 17 Apr 2011 19:24:33 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://www.linux-noob.com/forums/member.php?action=profile&uid=3499">inittux</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.linux-noob.com/forums/thread-375.html</guid>
			<description><![CDATA[<br />
I am able to install virtualbox from the website. I am able to make a virtual machine but when I try and start it up I get an error: <br />
<br />
 <br />
<br />
Kernel driver not installed (rc=-1908)<br />
<br />
 <br />
<br />
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing<br />
<br />
 <br />
<br />
'/etc/init.d/vboxdrv setup'<br />
<br />
 <br />
<br />
as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.<br />
<br />
 <br />
<br />
I tried executing the command to reinstall the kernel module but then I still get this error message:<br />
<br />
 <br />
<br />
[root@localhost maarten]# /etc/init.d/vboxdrv setup<br />
<br />
Stopping VirtualBox kernel modules                         [  OK  ]<br />
<br />
Uninstalling old VirtualBox DKMS kernel modules            [  OK  ]<br />
<br />
Trying to register the VirtualBox kernel modules using DKMS[FAILED]<br />
<br />
  (Failed, trying without DKMS)<br />
<br />
Recompiling VirtualBox kernel modules                      [FAILED]<br />
<br />
  (Look at /var/log/vbox-install.log to find out what went wrong)<br />
<br />
 <br />
<br />
 <br />
<br />
I downloaded the rpm file from the website and I also trie dto do it the way they did it in the centos <a href="http://wiki.centos.org/HowTos/Virtualization/VirtualBox" target="_blank" rel="noopener" class="mycode_url">wiki</a><br />
<br />
 <br />
<br />
where they say I should install: yum --enablerepo rpmforge install dkms<br />
<br />
 <br />
<br />
 <br />
<br />
for both I get the same results, have searched a while but seem to figure it out.<br />
<br />
]]></description>
			<content:encoded><![CDATA[<br />
I am able to install virtualbox from the website. I am able to make a virtual machine but when I try and start it up I get an error: <br />
<br />
 <br />
<br />
Kernel driver not installed (rc=-1908)<br />
<br />
 <br />
<br />
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing<br />
<br />
 <br />
<br />
'/etc/init.d/vboxdrv setup'<br />
<br />
 <br />
<br />
as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.<br />
<br />
 <br />
<br />
I tried executing the command to reinstall the kernel module but then I still get this error message:<br />
<br />
 <br />
<br />
[root@localhost maarten]# /etc/init.d/vboxdrv setup<br />
<br />
Stopping VirtualBox kernel modules                         [  OK  ]<br />
<br />
Uninstalling old VirtualBox DKMS kernel modules            [  OK  ]<br />
<br />
Trying to register the VirtualBox kernel modules using DKMS[FAILED]<br />
<br />
  (Failed, trying without DKMS)<br />
<br />
Recompiling VirtualBox kernel modules                      [FAILED]<br />
<br />
  (Look at /var/log/vbox-install.log to find out what went wrong)<br />
<br />
 <br />
<br />
 <br />
<br />
I downloaded the rpm file from the website and I also trie dto do it the way they did it in the centos <a href="http://wiki.centos.org/HowTos/Virtualization/VirtualBox" target="_blank" rel="noopener" class="mycode_url">wiki</a><br />
<br />
 <br />
<br />
where they say I should install: yum --enablerepo rpmforge install dkms<br />
<br />
 <br />
<br />
 <br />
<br />
for both I get the same results, have searched a while but seem to figure it out.<br />
<br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[CentOS]]></title>
			<link>https://www.linux-noob.com/forums/thread-458.html</link>
			<pubDate>Sun, 23 May 2010 20:14:44 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://www.linux-noob.com/forums/member.php?action=profile&uid=3499">inittux</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.linux-noob.com/forums/thread-458.html</guid>
			<description><![CDATA[<br />
<a href="http://www.virtualmin.com/" target="_blank" rel="noopener" class="mycode_url">http://www.virtualmin.com/</a> and <a href="http://www.zarafa.nl/" target="_blank" rel="noopener" class="mycode_url">http://www.zarafa.nl/</a><br />
<br />
 <br />
<br />
I have a CentOS 5.5 server installed, on top of that I have virtualmin/webmin installed. <br />
<br />
 <br />
<br />
In order to install virtualmin(<a href="http://www.virtualmin.com/" target="_blank" rel="noopener" class="mycode_url">http://www.virtualmin.com/</a>download.html)I needed to set a FQDN: srv1.virtualmin.com<br />
<br />
After I did this setup ran automatically after I ran the script and everything went well. Postfix and server other packages get installed with this package.<br />
<br />
When this was finished I created a virtual domain, with the name of vanderrijst.eu. Now I wanted to setup postfix so edited /etc/postfix/main.cfg<br />
<br />
 <br />
<br />
I first set these settings in postfix:<br />
<br />
 <br />
<br />
<a href="http://www.zarafa.com/wiki/index.php/Postfix_Zarafa_DB_plugin_integration" target="_blank" rel="noopener" class="mycode_url">http://www.zarafa.com/wiki/index.php/Pos...ntegration</a><br />
<br />
 <br />
<br />
main.cf<br />
<br />
 <br />
<br />
mydomain = demo.zarafa.com<br />
<br />
myhostname = host<br />
<br />
alias_maps = hash:/etc/aliases<br />
<br />
alias_database = hash:/etc/aliases<br />
<br />
virtual_alias_maps = mysql:/etc/postfix/mysql-aliases.cf<br />
<br />
myorigin = /etc/mailname<br />
<br />
mydestination = &#36;myhostname, &#36;myhostname.local, localhost, &#36;mydomain<br />
<br />
mynetworks = 127.0.0.0/8<br />
<br />
mailbox_transport = zarafa:<br />
<br />
zarafa_destination_recipient_limit = 1<br />
<br />
inet_interfaces = all<br />
<br />
 <br />
<br />
One problem here though, when I go to /etc/postfix/ there is no mysql-aliases.cf so I would take that something won't go right here's cuz it's pointing to a location that doesn't exist. I did install the mysql module from the CentOS plus. <br />
<br />
 <br />
<br />
If that was working right I should configure the following file<br />
<br />
 <br />
<br />
Postfix mysql-aliases.cf<br />
<br />
 <br />
<br />
# The user name and password to log into the mysql server.<br />
<br />
user = root<br />
<br />
password = zarafa<br />
<br />
hosts = 127.0.0.1<br />
<br />
dbname = zarafa<br />
<br />
# For Postfix 2.2 and later The SQL query template.<br />
<br />
# See mysql_table(5) for details.<br />
<br />
query = select value from objectproperty where objectid=(select objectid from objectproperty where value='%s' limit 1) and propname='loginname';<br />
<br />
 <br />
<br />
 <br />
<br />
I still need to add one thing in /etc/postfix/main.cf<br />
<br />
 <br />
<br />
mailbox_command = /usr/bin/zarafa-dagent "&#36;USER"<br />
<br />
 <br />
<br />
 <br />
<br />
and I need to edit the /etc/postfix/master.cf<br />
<br />
 <br />
<br />
added this to the end: <br />
<br />
 <br />
<br />
zarafa unix - n n - 10 pipe<br />
<br />
 flags= user=vmail argv=/usr/bin/zarafa-dagent &#36;{user}<br />
<br />
 <br />
<br />
after this I still needed to create the user vmail to unix: adduser vmail, then under /etc/zarafa/server.cfg. I needed to change the config. (<a href="http://www.zarafa.com/wiki/index.php/MTA_integration" target="_blank" rel="noopener" class="mycode_url">http://www.zarafa.com/wiki/index.php/MTA_integration</a>)<br />
<br />
 <br />
<br />
from local_admin_users = root  to local_admin_users = root vmail<br />
<br />
 <br />
<br />
 <br />
<br />
 <br />
<br />
After this I reboot postfix, /etc/init.d/postfix restart, postfix booted without any problems.<br />
<br />
 <br />
<br />
now I created two mailbox with the admin-zarafa<br />
<br />
 <br />
<br />
man zarafa-admin<br />
<br />
 <br />
<br />
zarafa-admin -c feedmebits -p secret -e feedmebits@vanderrijst.eu -f “Feedmebits” -a 1<br />
<br />
-c = create user<br />
<br />
-p = password<br />
<br />
-e = email<br />
<br />
-f = full name<br />
<br />
-a = administrator 1 or 0 (true of false) <br />
<br />
 <br />
<br />
I then created a second account. <br />
<br />
 <br />
<br />
Now my problem is that neither account is receiving any mail and not even error mails. here's my /etc/postfix.cfg  I spent quite a few hours on getting this setup and trying to figure out what I'm doing wrong but I think I'm just missing something.<br />
<br />
 <br />
<br />
<blockquote class="mycode_quote"><cite>Quote:</cite># Global Postfix configuration file. This file lists only a subset# of all parameters. For the syntax, and for a complete parameter<br />
<br />
# list, see the postconf(5) manual page (command: "man 5 postconf").<br />
<br />
#<br />
<br />
# For common configuration examples, see BASIC_CONFIGURATION_README<br />
<br />
# and STANDARD_CONFIGURATION_README. To find these documents, use<br />
<br />
# the command "postconf html_directory readme_directory", or go to<br />
<br />
# <a href="http://www.postfix.org/." target="_blank" rel="noopener" class="mycode_url">http://www.postfix.org/.</a><br />
<br />
#<br />
<br />
# For best results, change no more than 2-3 parameters at a time,<br />
<br />
# and test if Postfix still works after every change.<br />
<br />
 <br />
<br />
# SOFT BOUNCE<br />
<br />
#<br />
<br />
# The soft_bounce parameter provides a limited safety net for<br />
<br />
# testing.  When soft_bounce is enabled, mail will remain queued that<br />
<br />
# would otherwise bounce. This parameter disables locally-generated<br />
<br />
# bounces, and prevents the SMTP server from rejecting mail permanently<br />
<br />
# (by changing 5xx replies into 4xx replies). However, soft_bounce<br />
<br />
# is no cure for address rewriting mistakes or mail routing mistakes.<br />
<br />
#<br />
<br />
#soft_bounce = no<br />
<br />
 <br />
<br />
# LOCAL PATHNAME INFORMATION<br />
<br />
#<br />
<br />
# The queue_directory specifies the location of the Postfix queue.<br />
<br />
# This is also the root directory of Postfix daemons that run chrooted.<br />
<br />
# See the files in examples/chroot-setup for setting up Postfix chroot<br />
<br />
# environments on different UNIX systems.<br />
<br />
#<br />
<br />
queue_directory = /var/spool/postfix<br />
<br />
 <br />
<br />
# The command_directory parameter specifies the location of all<br />
<br />
# postXXX commands.<br />
<br />
#<br />
<br />
command_directory = /usr/sbin<br />
<br />
 <br />
<br />
# The daemon_directory parameter specifies the location of all Postfix<br />
<br />
# daemon programs (i.e. programs listed in the master.cf file). This<br />
<br />
# directory must be owned by root.<br />
<br />
#<br />
<br />
daemon_directory = /usr/libexec/postfix<br />
<br />
 <br />
<br />
# QUEUE AND PROCESS OWNERSHIP<br />
<br />
#<br />
<br />
# The mail_owner parameter specifies the owner of the Postfix queue<br />
<br />
# and of most Postfix daemon processes.  Specify the name of a user<br />
<br />
# account THAT DOES NOT SHARE ITS USER OR GROUP ID WITH OTHER ACCOUNTS<br />
<br />
# AND THAT OWNS NO OTHER FILES OR PROCESSES ON THE SYSTEM.  In<br />
<br />
# particular, don't specify nobody or daemon. PLEASE USE A DEDICATED<br />
<br />
# USER.<br />
<br />
#<br />
<br />
mail_owner = postfix<br />
<br />
 <br />
<br />
# The default_privs parameter specifies the default rights used by<br />
<br />
# the local delivery agent for delivery to external file or command.<br />
<br />
# These rights are used in the absence of a recipient user context.<br />
<br />
# DO NOT SPECIFY A PRIVILEGED USER OR THE POSTFIX OWNER.<br />
<br />
#<br />
<br />
#default_privs = nobody<br />
<br />
 <br />
<br />
# INTERNET HOST AND DOMAIN NAMES<br />
<br />
# <br />
<br />
# The myhostname parameter specifies the internet hostname of this<br />
<br />
# mail system. The default is to use the fully-qualified domain name<br />
<br />
# from gethostname(). &#36;myhostname is used as a default value for many<br />
<br />
# other configuration parameters.<br />
<br />
#<br />
<br />
myhostname = srv1.virtualmin.com<br />
<br />
#myhostname = virtual.domain.tld<br />
<br />
 <br />
<br />
# The mydomain parameter specifies the local internet domain name.<br />
<br />
# The default is to use &#36;myhostname minus the first component.<br />
<br />
# &#36;mydomain is used as a default value for many other configuration<br />
<br />
# parameters.<br />
<br />
#<br />
<br />
mydomain = vanderrijst.eu<br />
<br />
 <br />
<br />
# SENDING MAIL<br />
<br />
# <br />
<br />
# The myorigin parameter specifies the domain that locally-posted<br />
<br />
# mail appears to come from. The default is to append &#36;myhostname,<br />
<br />
# which is fine for small sites.  If you run a domain with multiple<br />
<br />
# machines, you should (1) change this to &#36;mydomain and (2) set up<br />
<br />
# a domain-wide alias database that aliases each user to<br />
<br />
# user@that.users.mailhost.<br />
<br />
#<br />
<br />
# For the sake of consistency between sender and recipient addresses,<br />
<br />
# myorigin also specifies the default domain name that is appended<br />
<br />
# to recipient addresses that have no @domain part.<br />
<br />
#<br />
<br />
myorigin = vanderrijst.eu<br />
<br />
#myorigin = &#36;mydomain<br />
<br />
 <br />
<br />
# RECEIVING MAIL<br />
<br />
 <br />
<br />
# The inet_interfaces parameter specifies the network interface<br />
<br />
# addresses that this mail system receives mail on.  By default,<br />
<br />
# the software claims all active interfaces on the machine. The<br />
<br />
# parameter also controls delivery of mail to user@[ip.address].<br />
<br />
#<br />
<br />
# See also the proxy_interfaces parameter, for network addresses that<br />
<br />
# are forwarded to us via a proxy or network address translator.<br />
<br />
#<br />
<br />
# Note: you need to stop/start Postfix when this parameter changes.<br />
<br />
#<br />
<br />
#inet_interfaces = all<br />
<br />
#inet_interfaces = &#36;myhostname<br />
<br />
#inet_interfaces = &#36;myhostname, localhost<br />
<br />
inet_interfaces = all<br />
<br />
 <br />
<br />
# The proxy_interfaces parameter specifies the network interface<br />
<br />
# addresses that this mail system receives mail on by way of a<br />
<br />
# proxy or network address translation unit. This setting extends<br />
<br />
# the address list specified with the inet_interfaces parameter.<br />
<br />
#<br />
<br />
# You must specify your proxy/NAT addresses when your system is a<br />
<br />
# backup MX host for other domains, otherwise mail delivery loops<br />
<br />
# will happen when the primary MX host is down.<br />
<br />
#<br />
<br />
#proxy_interfaces =<br />
<br />
#proxy_interfaces = 1.2.3.4<br />
<br />
 <br />
<br />
# The mydestination parameter specifies the list of domains that this<br />
<br />
# machine considers itself the final destination for.<br />
<br />
#<br />
<br />
# These domains are routed to the delivery agent specified with the<br />
<br />
# local_transport parameter setting. By default, that is the UNIX<br />
<br />
# compatible delivery agent that lookups all recipients in /etc/passwd<br />
<br />
# and /etc/aliases or their equivalent.<br />
<br />
#<br />
<br />
# The default is &#36;myhostname + localhost.&#36;mydomain.  On a mail domain<br />
<br />
# gateway, you should also include &#36;mydomain.<br />
<br />
#<br />
<br />
# Do not specify the names of virtual domains - those domains are<br />
<br />
# specified elsewhere (see VIRTUAL_README).<br />
<br />
#<br />
<br />
# Do not specify the names of domains that this machine is backup MX<br />
<br />
# host for. Specify those names via the relay_domains settings for<br />
<br />
# the SMTP server, or use permit_mx_backup if you are lazy (see<br />
<br />
# STANDARD_CONFIGURATION_README).<br />
<br />
#<br />
<br />
# The local machine is always the final destination for mail addressed<br />
<br />
# to user@[the.net.work.address] of an interface that the mail system<br />
<br />
# receives mail on (see the inet_interfaces parameter).<br />
<br />
#<br />
<br />
# Specify a list of host or domain names, /file/name or type:table<br />
<br />
# patterns, separated by commas and/or whitespace. A /file/name<br />
<br />
# pattern is replaced by its contents; a type:table is matched when<br />
<br />
# a name matches a lookup key (the right-hand side is ignored).<br />
<br />
# Continue long lines by starting the next line with whitespace.<br />
<br />
#<br />
<br />
# See also below, section "REJECTING MAIL FOR UNKNOWN LOCAL USERS".<br />
<br />
#<br />
<br />
mydestination = &#36;myhostname, localhost.&#36;mydomain, localhost, srv1.virtualmin.co m vanderrijst.eu<br />
<br />
#mydestination = &#36;myhostname, localhost.&#36;mydomain, localhost, &#36;mydomain<br />
<br />
#mydestination = &#36;myhostname, localhost.&#36;mydomain, localhost, &#36;mydomain,<br />
<br />
#	mail.&#36;mydomain, www.&#36;mydomain, ftp.&#36;mydomain<br />
<br />
 <br />
<br />
# REJECTING MAIL FOR UNKNOWN LOCAL USERS<br />
<br />
#<br />
<br />
# The local_recipient_maps parameter specifies optional lookup tables<br />
<br />
# with all names or addresses of users that are local with respect<br />
<br />
# to &#36;mydestination, &#36;inet_interfaces or &#36;proxy_interfaces.<br />
<br />
#<br />
<br />
# If this parameter is defined, then the SMTP server will reject<br />
<br />
# mail for unknown local users. This parameter is defined by default.<br />
<br />
#<br />
<br />
# To turn off local recipient checking in the SMTP server, specify<br />
<br />
# local_recipient_maps = (i.e. empty).<br />
<br />
#<br />
<br />
# The default setting assumes that you use the default Postfix local<br />
<br />
# delivery agent for local delivery. You need to update the<br />
<br />
# local_recipient_maps setting if:<br />
<br />
#<br />
<br />
# - You define &#36;mydestination domain recipients in files other than<br />
<br />
#   /etc/passwd, /etc/aliases, or the &#36;virtual_alias_maps files.<br />
<br />
#   For example, you define &#36;mydestination domain recipients in    <br />
<br />
#   the &#36;virtual_mailbox_maps files.<br />
<br />
#<br />
<br />
# - You redefine the local delivery agent in master.cf.<br />
<br />
#<br />
<br />
# - You redefine the "local_transport" setting in main.cf.<br />
<br />
#<br />
<br />
# - You use the "luser_relay", "mailbox_transport", or "fallback_transport"<br />
<br />
#   feature of the Postfix local delivery agent (see local(8)).<br />
<br />
#<br />
<br />
# Details are described in the LOCAL_RECIPIENT_README file.<br />
<br />
#<br />
<br />
# Beware: if the Postfix SMTP server runs chrooted, you probably have<br />
<br />
# to access the passwd file via the proxymap service, in order to<br />
<br />
# overcome chroot restrictions. The alternative, having a copy of<br />
<br />
# the system passwd file in the chroot jail is just not practical.<br />
<br />
#<br />
<br />
# The right-hand side of the lookup tables is conveniently ignored.<br />
<br />
# In the left-hand side, specify a bare username, an @domain.tld<br />
<br />
# wild-card, or specify a user@domain.tld address.<br />
<br />
# <br />
<br />
#local_recipient_maps = unix:passwd.byname &#36;alias_maps<br />
<br />
#local_recipient_maps = proxy:unix:passwd.byname &#36;alias_maps<br />
<br />
#local_recipient_maps =<br />
<br />
 <br />
<br />
# The unknown_local_recipient_reject_code specifies the SMTP server<br />
<br />
# response code when a recipient domain matches &#36;mydestination or<br />
<br />
# &#36;{proxy,inet}_interfaces, while &#36;local_recipient_maps is non-empty<br />
<br />
# and the recipient address or address local-part is not found.<br />
<br />
#<br />
<br />
# The default setting is 550 (reject mail) but it is safer to start<br />
<br />
# with 450 (try again later) until you are certain that your<br />
<br />
# local_recipient_maps settings are OK.<br />
<br />
#<br />
<br />
unknown_local_recipient_reject_code = 550<br />
<br />
 <br />
<br />
# TRUST AND RELAY CONTROL<br />
<br />
 <br />
<br />
# The mynetworks parameter specifies the list of "trusted" SMTP<br />
<br />
# clients that have more privileges than "strangers".<br />
<br />
#<br />
<br />
# In particular, "trusted" SMTP clients are allowed to relay mail<br />
<br />
# through Postfix.  See the smtpd_recipient_restrictions parameter<br />
<br />
# in postconf(5).<br />
<br />
#<br />
<br />
# You can specify the list of "trusted" network addresses by hand<br />
<br />
# or you can let Postfix do it for you (which is the default).<br />
<br />
#<br />
<br />
# By default (mynetworks_style = subnet), Postfix "trusts" SMTP<br />
<br />
# clients in the same IP subnetworks as the local machine.<br />
<br />
# On Linux, this does works correctly only with interfaces specified<br />
<br />
# with the "ifconfig" command.<br />
<br />
# <br />
<br />
# Specify "mynetworks_style = class" when Postfix should "trust" SMTP<br />
<br />
# clients in the same IP class A/B/C networks as the local machine.<br />
<br />
# Don't do this with a dialup site - it would cause Postfix to "trust"<br />
<br />
# your entire provider's network.  Instead, specify an explicit<br />
<br />
# mynetworks list by hand, as described below.<br />
<br />
#  <br />
<br />
# Specify "mynetworks_style = host" when Postfix should "trust"<br />
<br />
# only the local machine.<br />
<br />
# <br />
<br />
#mynetworks_style = class<br />
<br />
#mynetworks_style = subnet<br />
<br />
#mynetworks_style = host<br />
<br />
 <br />
<br />
# Alternatively, you can specify the mynetworks list by hand, in<br />
<br />
# which case Postfix ignores the mynetworks_style setting.<br />
<br />
#<br />
<br />
# Specify an explicit list of network/netmask patterns, where the<br />
<br />
# mask specifies the number of bits in the network part of a host<br />
<br />
# address.<br />
<br />
#<br />
<br />
# You can also specify the absolute pathname of a pattern file instead<br />
<br />
# of listing the patterns here. Specify type:table for table-based lookups<br />
<br />
# (the value on the table right-hand side is not used).<br />
<br />
#<br />
<br />
mynetworks = 168.100.189.0/28, 127.0.0.0/8<br />
<br />
#mynetworks = &#36;config_directory/mynetworks<br />
<br />
#mynetworks = hash:/etc/postfix/network_table<br />
<br />
 <br />
<br />
# The relay_domains parameter restricts what destinations this system will<br />
<br />
# relay mail to.  See the smtpd_recipient_restrictions description in<br />
<br />
# postconf(5) for detailed information.<br />
<br />
#<br />
<br />
# By default, Postfix relays mail<br />
<br />
# - from "trusted" clients (IP address matches &#36;mynetworks) to any destination,<br />
<br />
# - from "untrusted" clients to destinations that match &#36;relay_domains or<br />
<br />
#   subdomains thereof, except addresses with sender-specified routing.<br />
<br />
# The default relay_domains value is &#36;mydestination.<br />
<br />
# <br />
<br />
# In addition to the above, the Postfix SMTP server by default accepts mail<br />
<br />
# that Postfix is final destination for:<br />
<br />
# - destinations that match &#36;inet_interfaces or &#36;proxy_interfaces,<br />
<br />
# - destinations that match &#36;mydestination<br />
<br />
# - destinations that match &#36;virtual_alias_domains,<br />
<br />
# - destinations that match &#36;virtual_mailbox_domains.<br />
<br />
# These destinations do not need to be listed in &#36;relay_domains.<br />
<br />
# <br />
<br />
# Specify a list of hosts or domains, /file/name patterns or type:name<br />
<br />
# lookup tables, separated by commas and/or whitespace.  Continue<br />
<br />
# long lines by starting the next line with whitespace. A file name<br />
<br />
# is replaced by its contents; a type:name table is matched when a<br />
<br />
# (parent) domain appears as lookup key.<br />
<br />
#<br />
<br />
# NOTE: Postfix will not automatically forward mail for domains that<br />
<br />
# list this system as their primary or backup MX host. See the<br />
<br />
# permit_mx_backup restriction description in postconf(5).<br />
<br />
#<br />
<br />
#relay_domains = &#36;mydestination<br />
<br />
 <br />
<br />
# INTERNET OR INTRANET<br />
<br />
 <br />
<br />
# The relayhost parameter specifies the default host to send mail to<br />
<br />
# when no entry is matched in the optional transport(5) table. When<br />
<br />
# no relayhost is given, mail is routed directly to the destination.<br />
<br />
#<br />
<br />
# On an intranet, specify the organizational domain name. If your<br />
<br />
# internal DNS uses no MX records, specify the name of the intranet<br />
<br />
# gateway host instead.<br />
<br />
#<br />
<br />
# In the case of SMTP, specify a domain, host, host:port, [host]:port,<br />
<br />
# [address] or [address]:port; the form [host] turns off MX lookups.<br />
<br />
#<br />
<br />
# If you're connected via UUCP, see also the default_transport parameter.<br />
<br />
#<br />
<br />
#relayhost = &#36;mydomain<br />
<br />
#relayhost = [gateway.my.domain]<br />
<br />
#relayhost = [mailserver.isp.tld]<br />
<br />
#relayhost = uucphost<br />
<br />
#relayhost = [an.ip.add.ress]<br />
<br />
 <br />
<br />
# REJECTING UNKNOWN RELAY USERS<br />
<br />
#<br />
<br />
# The relay_recipient_maps parameter specifies optional lookup tables<br />
<br />
# with all addresses in the domains that match &#36;relay_domains.<br />
<br />
#<br />
<br />
# If this parameter is defined, then the SMTP server will reject<br />
<br />
# mail for unknown relay users. This feature is off by default.<br />
<br />
#<br />
<br />
# The right-hand side of the lookup tables is conveniently ignored.<br />
<br />
# In the left-hand side, specify an @domain.tld wild-card, or specify<br />
<br />
# a user@domain.tld address.<br />
<br />
# <br />
<br />
#relay_recipient_maps = hash:/etc/postfix/relay_recipients<br />
<br />
 <br />
<br />
# INPUT RATE CONTROL<br />
<br />
#<br />
<br />
# The in_flow_delay configuration parameter implements mail input<br />
<br />
# flow control. This feature is turned on by default, although it<br />
<br />
# still needs further development (it's disabled on SCO UNIX due<br />
<br />
# to an SCO bug).<br />
<br />
# <br />
<br />
# A Postfix process will pause for &#36;in_flow_delay seconds before<br />
<br />
# accepting a new message, when the message arrival rate exceeds the<br />
<br />
# message delivery rate. With the default 100 SMTP server process<br />
<br />
# limit, this limits the mail inflow to 100 messages a second more<br />
<br />
# than the number of messages delivered per second.<br />
<br />
# <br />
<br />
# Specify 0 to disable the feature. Valid delays are 0..10.<br />
<br />
# <br />
<br />
#in_flow_delay = 1s<br />
<br />
 <br />
<br />
# ADDRESS REWRITING<br />
<br />
#<br />
<br />
# The ADDRESS_REWRITING_README document gives information about<br />
<br />
# address masquerading or other forms of address rewriting including<br />
<br />
# username-&gt;Firstname.Lastname mapping.<br />
<br />
 <br />
<br />
# ADDRESS REDIRECTION (VIRTUAL DOMAIN)<br />
<br />
#<br />
<br />
# The VIRTUAL_README document gives information about the many forms<br />
<br />
# of domain hosting that Postfix supports.<br />
<br />
 <br />
<br />
# "USER HAS MOVED" BOUNCE MESSAGES<br />
<br />
#<br />
<br />
# See the discussion in the ADDRESS_REWRITING_README document.<br />
<br />
 <br />
<br />
# TRANSPORT MAP<br />
<br />
#<br />
<br />
# See the discussion in the ADDRESS_REWRITING_README document.<br />
<br />
 <br />
<br />
# ALIAS DATABASE<br />
<br />
#<br />
<br />
# The alias_maps parameter specifies the list of alias databases used<br />
<br />
# by the local delivery agent. The default list is system dependent.<br />
<br />
#<br />
<br />
# On systems with NIS, the default is to search the local alias<br />
<br />
# database, then the NIS alias database. See aliases(5) for syntax<br />
<br />
# details.<br />
<br />
# <br />
<br />
# If you change the alias database, run "postalias /etc/aliases" (or<br />
<br />
# wherever your system stores the mail alias file), or simply run<br />
<br />
# "newaliases" to build the necessary DBM or DB file.<br />
<br />
#<br />
<br />
# It will take a minute or so before changes become visible.  Use<br />
<br />
# "postfix reload" to eliminate the delay.<br />
<br />
#<br />
<br />
#alias_maps = dbm:/etc/aliases<br />
<br />
alias_maps = hash:/etc/aliases<br />
<br />
#alias_maps = hash:/etc/aliases, nis:mail.aliases<br />
<br />
#alias_maps = netinfo:/aliases<br />
<br />
 <br />
<br />
# The alias_database parameter specifies the alias database(s) that<br />
<br />
# are built with "newaliases" or "sendmail -bi".  This is a separate<br />
<br />
# configuration parameter, because alias_maps (see above) may specify<br />
<br />
# tables that are not necessarily all under control by Postfix.<br />
<br />
#<br />
<br />
#alias_database = dbm:/etc/aliases<br />
<br />
#alias_database = dbm:/etc/mail/aliases<br />
<br />
alias_database = hash:/etc/aliases<br />
<br />
#alias_database = hash:/etc/aliases, hash:/opt/majordomo/aliases<br />
<br />
 <br />
<br />
# ADDRESS EXTENSIONS (e.g., user+foo)<br />
<br />
#<br />
<br />
# The recipient_delimiter parameter specifies the separator between<br />
<br />
# user names and address extensions (user+foo). See canonical(5),<br />
<br />
# local(8), relocated(5) and virtual(5) for the effects this has on<br />
<br />
# aliases, canonical, virtual, relocated and .forward file lookups.<br />
<br />
# Basically, the software tries user+foo and .forward+foo before<br />
<br />
# trying user and .forward.<br />
<br />
#<br />
<br />
#recipient_delimiter = +<br />
<br />
 <br />
<br />
# DELIVERY TO MAILBOX<br />
<br />
#<br />
<br />
# The home_mailbox parameter specifies the optional pathname of a<br />
<br />
# mailbox file relative to a user's home directory. The default<br />
<br />
# mailbox file is /var/spool/mail/user or /var/mail/user.  Specify<br />
<br />
# "Maildir/" for qmail-style delivery (the / is required).<br />
<br />
#<br />
<br />
#home_mailbox = Mailbox<br />
<br />
home_mailbox = Maildir/<br />
<br />
 <br />
<br />
# The mail_spool_directory parameter specifies the directory where<br />
<br />
# UNIX-style mailboxes are kept. The default setting depends on the<br />
<br />
# system type.<br />
<br />
#<br />
<br />
#mail_spool_directory = /var/mail<br />
<br />
#mail_spool_directory = /var/spool/mail<br />
<br />
 <br />
<br />
# The mailbox_command parameter specifies the optional external<br />
<br />
# command to use instead of mailbox delivery. The command is run as<br />
<br />
# the recipient with proper HOME, SHELL and LOGNAME environment settings.<br />
<br />
# Exception:  delivery for root is done as &#36;default_user.<br />
<br />
#<br />
<br />
# Other environment variables of interest: USER (recipient username),<br />
<br />
# EXTENSION (address extension), DOMAIN (domain part of address),<br />
<br />
# and LOCAL (the address localpart).<br />
<br />
#<br />
<br />
# Unlike other Postfix configuration parameters, the mailbox_command<br />
<br />
# parameter is not subjected to &#36;parameter substitutions. This is to<br />
<br />
# make it easier to specify shell syntax (see example below).<br />
<br />
#<br />
<br />
# Avoid shell meta characters because they will force Postfix to run<br />
<br />
# an expensive shell process. Procmail alone is expensive enough.<br />
<br />
#<br />
<br />
# IF YOU USE THIS TO DELIVER MAIL SYSTEM-WIDE, YOU MUST SET UP AN<br />
<br />
# ALIAS THAT FORWARDS MAIL FOR ROOT TO A REAL USER.<br />
<br />
#<br />
<br />
mailbox_command = /usr/bin/zarafa-dagent "&#36;USER"<br />
<br />
 <br />
<br />
#mailbox_command = /some/where/procmail -a "&#36;EXTENSION"<br />
<br />
 <br />
<br />
# The mailbox_transport specifies the optional transport in master.cf<br />
<br />
# to use after processing aliases and .forward files. This parameter<br />
<br />
# has precedence over the mailbox_command, fallback_transport and<br />
<br />
# luser_relay parameters.<br />
<br />
#<br />
<br />
# Specify a string of the form transport:nexthop, where transport is<br />
<br />
# the name of a mail delivery transport defined in master.cf.  The<br />
<br />
# :nexthop part is optional. For more details see the sample transport<br />
<br />
# configuration file.<br />
<br />
#<br />
<br />
# NOTE: if you use this feature for accounts not in the UNIX password<br />
<br />
# file, then you must update the "local_recipient_maps" setting in<br />
<br />
# the main.cf file, otherwise the SMTP server will reject mail for    <br />
<br />
# non-UNIX accounts with "User unknown in local recipient table".<br />
<br />
#<br />
<br />
#mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp<br />
<br />
 <br />
<br />
# If using the cyrus-imapd IMAP server deliver local mail to the IMAP<br />
<br />
# server using LMTP (Local Mail Transport Protocol), this is prefered<br />
<br />
# over the older cyrus deliver program by setting the<br />
<br />
# mailbox_transport as below:<br />
<br />
#<br />
<br />
mailbox_transport = zarafa<br />
<br />
zarafa_destination_recipient_limit = 1 <br />
<br />
#<br />
<br />
# The efficiency of LMTP delivery for cyrus-imapd can be enhanced via<br />
<br />
# these settings.<br />
<br />
#<br />
<br />
# local_destination_recipient_limit = 300<br />
<br />
# local_destination_concurrency_limit = 5<br />
<br />
#<br />
<br />
# Of course you should adjust these settings as appropriate for the<br />
<br />
# capacity of the hardware you are using. The recipient limit setting<br />
<br />
# can be used to take advantage of the single instance message store<br />
<br />
# capability of Cyrus. The concurrency limit can be used to control<br />
<br />
# how many simultaneous LMTP sessions will be permitted to the Cyrus<br />
<br />
# message store. <br />
<br />
#<br />
<br />
# To use the old cyrus deliver program you have to set:<br />
<br />
#mailbox_transport = cyrus<br />
<br />
 <br />
<br />
# The fallback_transport specifies the optional transport in master.cf<br />
<br />
# to use for recipients that are not found in the UNIX passwd database.<br />
<br />
# This parameter has precedence over the luser_relay parameter.<br />
<br />
#<br />
<br />
# Specify a string of the form transport:nexthop, where transport is<br />
<br />
# the name of a mail delivery transport defined in master.cf.  The<br />
<br />
# :nexthop part is optional. For more details see the sample transport<br />
<br />
# configuration file.<br />
<br />
#<br />
<br />
# NOTE: if you use this feature for accounts not in the UNIX password<br />
<br />
# file, then you must update the "local_recipient_maps" setting in<br />
<br />
# the main.cf file, otherwise the SMTP server will reject mail for    <br />
<br />
# non-UNIX accounts with "User unknown in local recipient table".<br />
<br />
#<br />
<br />
#fallback_transport = lmtp:unix:/var/lib/imap/socket/lmtp<br />
<br />
#fallback_transport =<br />
<br />
 <br />
<br />
# The luser_relay parameter specifies an optional destination address<br />
<br />
# for unknown recipients.  By default, mail for unknown@&#36;mydestination,<br />
<br />
# unknown@[&#36;inet_interfaces] or unknown@[&#36;proxy_interfaces] is returned<br />
<br />
# as undeliverable.<br />
<br />
#<br />
<br />
# The following expansions are done on luser_relay: &#36;user (recipient<br />
<br />
# username), &#36;shell (recipient shell), &#36;home (recipient home directory),<br />
<br />
# &#36;recipient (full recipient address), &#36;extension (recipient address<br />
<br />
# extension), &#36;domain (recipient domain), &#36;local (entire recipient<br />
<br />
# localpart), &#36;recipient_delimiter. Specify &#36;{name?value} or<br />
<br />
# &#36;{name:value} to expand value only when &#36;name does (does not) exist.<br />
<br />
#<br />
<br />
# luser_relay works only for the default Postfix local delivery agent.<br />
<br />
#<br />
<br />
# NOTE: if you use this feature for accounts not in the UNIX password<br />
<br />
# file, then you must specify "local_recipient_maps =" (i.e. empty) in<br />
<br />
# the main.cf file, otherwise the SMTP server will reject mail for    <br />
<br />
# non-UNIX accounts with "User unknown in local recipient table".<br />
<br />
#<br />
<br />
#luser_relay = &#36;user@other.host<br />
<br />
#luser_relay = &#36;local@other.host<br />
<br />
#luser_relay = admin+&#36;local<br />
<br />
 <br />
<br />
# JUNK MAIL CONTROLS<br />
<br />
# <br />
<br />
# The controls listed here are only a very small subset. The file<br />
<br />
# SMTPD_ACCESS_README provides an overview.<br />
<br />
 <br />
<br />
# The header_checks parameter specifies an optional table with patterns<br />
<br />
# that each logical message header is matched against, including<br />
<br />
# headers that span multiple physical lines.<br />
<br />
#<br />
<br />
# By default, these patterns also apply to MIME headers and to the<br />
<br />
# headers of attached messages. With older Postfix versions, MIME and<br />
<br />
# attached message headers were treated as body text.<br />
<br />
#<br />
<br />
# For details, see "man header_checks".<br />
<br />
#<br />
<br />
#header_checks = regexp:/etc/postfix/header_checks<br />
<br />
 <br />
<br />
# FAST ETRN SERVICE<br />
<br />
#<br />
<br />
# Postfix maintains per-destination logfiles with information about<br />
<br />
# deferred mail, so that mail can be flushed quickly with the SMTP<br />
<br />
# "ETRN domain.tld" command, or by executing "sendmail -qRdomain.tld".<br />
<br />
# See the ETRN_README document for a detailed description.<br />
<br />
# <br />
<br />
# The fast_flush_domains parameter controls what destinations are<br />
<br />
# eligible for this service. By default, they are all domains that<br />
<br />
# this server is willing to relay mail to.<br />
<br />
# <br />
<br />
#fast_flush_domains = &#36;relay_domains<br />
<br />
 <br />
<br />
# SHOW SOFTWARE VERSION OR NOT<br />
<br />
#<br />
<br />
# The smtpd_banner parameter specifies the text that follows the 220<br />
<br />
# code in the SMTP server's greeting banner. Some people like to see<br />
<br />
# the mail version advertised. By default, Postfix shows no version.<br />
<br />
#<br />
<br />
# You MUST specify &#36;myhostname at the start of the text. That is an<br />
<br />
# RFC requirement. Postfix itself does not care.<br />
<br />
#<br />
<br />
#smtpd_banner = &#36;myhostname ESMTP &#36;mail_name<br />
<br />
#smtpd_banner = &#36;myhostname ESMTP &#36;mail_name (&#36;mail_version)<br />
<br />
 <br />
<br />
# PARALLEL DELIVERY TO THE SAME DESTINATION<br />
<br />
#<br />
<br />
# How many parallel deliveries to the same user or domain? With local<br />
<br />
# delivery, it does not make sense to do massively parallel delivery<br />
<br />
# to the same user, because mailbox updates must happen sequentially,<br />
<br />
# and expensive pipelines in .forward files can cause disasters when<br />
<br />
# too many are run at the same time. With SMTP deliveries, 10<br />
<br />
# simultaneous connections to the same domain could be sufficient to<br />
<br />
# raise eyebrows.<br />
<br />
# <br />
<br />
# Each message delivery transport has its XXX_destination_concurrency_limit<br />
<br />
# parameter.  The default is &#36;default_destination_concurrency_limit for<br />
<br />
# most delivery transports. For the local delivery agent the default is 2.<br />
<br />
 <br />
<br />
#local_destination_concurrency_limit = 2<br />
<br />
#default_destination_concurrency_limit = 20<br />
<br />
 <br />
<br />
# DEBUGGING CONTROL<br />
<br />
#<br />
<br />
# The debug_peer_level parameter specifies the increment in verbose<br />
<br />
# logging level when an SMTP client or server host name or address<br />
<br />
# matches a pattern in the debug_peer_list parameter.<br />
<br />
#<br />
<br />
debug_peer_level = 2<br />
<br />
 <br />
<br />
# The debug_peer_list parameter specifies an optional list of domain<br />
<br />
# or network patterns, /file/name patterns or type:name tables. When<br />
<br />
# an SMTP client or server host name or address matches a pattern,<br />
<br />
# increase the verbose logging level by the amount specified in the<br />
<br />
# debug_peer_level parameter.<br />
<br />
#<br />
<br />
#debug_peer_list = 127.0.0.1<br />
<br />
#debug_peer_list = some.domain<br />
<br />
 <br />
<br />
# The debugger_command specifies the external command that is executed<br />
<br />
# when a Postfix daemon program is run with the -D option.<br />
<br />
#<br />
<br />
# Use "command .. &amp; sleep 5" so that the debugger can attach before<br />
<br />
# the process marches on. If you use an X-based debugger, be sure to<br />
<br />
# set up your XAUTHORITY environment variable before starting Postfix.<br />
<br />
#<br />
<br />
debugger_command =<br />
<br />
	 PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin<br />
<br />
	 xxgdb &#36;daemon_directory/&#36;process_name &#36;process_id &amp; sleep 5<br />
<br />
 <br />
<br />
# If you can't use X, use this to capture the call stack when a<br />
<br />
# daemon crashes. The result is in a file in the configuration<br />
<br />
# directory, and is named after the process name and the process ID.<br />
<br />
#<br />
<br />
# debugger_command =<br />
<br />
#	PATH=/bin:/usr/bin:/usr/local/bin; export PATH; (echo cont;<br />
<br />
#	echo where) | gdb &#36;daemon_directory/&#36;process_name &#36;process_id 2&gt;&amp;1<br />
<br />
#	&gt;&#36;config_directory/&#36;process_name.&#36;process_id.log &amp; sleep 5<br />
<br />
#<br />
<br />
# Another possibility is to run gdb under a detached screen session.<br />
<br />
# To attach to the screen sesssion, su root and run "screen -r<br />
<br />
# &lt;id_string&gt;" where &lt;id_string&gt; uniquely matches one of the detached&lt;/id_string&gt;&lt;/id_string&gt;<br />
<br />
# sessions (from "screen -list").<br />
<br />
#<br />
<br />
# debugger_command =<br />
<br />
#	PATH=/bin:/usr/bin:/sbin:/usr/sbin; export PATH; screen<br />
<br />
#	-dmS &#36;process_name gdb &#36;daemon_directory/&#36;process_name<br />
<br />
#	&#36;process_id &amp; sleep 1<br />
<br />
 <br />
<br />
# INSTALL-TIME CONFIGURATION INFORMATION<br />
<br />
#<br />
<br />
# The following parameters are used when installing a new Postfix version.<br />
<br />
# <br />
<br />
# sendmail_path: The full pathname of the Postfix sendmail command.<br />
<br />
# This is the Sendmail-compatible mail posting interface.<br />
<br />
# <br />
<br />
sendmail_path = /usr/sbin/sendmail.postfix<br />
<br />
 <br />
<br />
# newaliases_path: The full pathname of the Postfix newaliases command.<br />
<br />
# This is the Sendmail-compatible command to build alias databases.<br />
<br />
#<br />
<br />
newaliases_path = /usr/bin/newaliases.postfix<br />
<br />
 <br />
<br />
# mailq_path: The full pathname of the Postfix mailq command.  This<br />
<br />
# is the Sendmail-compatible mail queue listing command.<br />
<br />
# <br />
<br />
mailq_path = /usr/bin/mailq.postfix<br />
<br />
 <br />
<br />
# setgid_group: The group for mail submission and queue management<br />
<br />
# commands.  This must be a group name with a numerical group ID that<br />
<br />
# is not shared with other accounts, not even with the Postfix account.<br />
<br />
#<br />
<br />
setgid_group = postdrop<br />
<br />
 <br />
<br />
# html_directory: The location of the Postfix HTML documentation.<br />
<br />
#<br />
<br />
html_directory = no<br />
<br />
 <br />
<br />
# manpage_directory: The location of the Postfix on-line manual pages.<br />
<br />
#<br />
<br />
manpage_directory = /usr/share/man<br />
<br />
 <br />
<br />
# sample_directory: The location of the Postfix sample configuration files.<br />
<br />
# This parameter is obsolete as of Postfix 2.1.<br />
<br />
#<br />
<br />
sample_directory = /usr/share/doc/postfix-2.3.3/samples<br />
<br />
 <br />
<br />
# readme_directory: The location of the Postfix README files.<br />
<br />
#<br />
<br />
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES<br />
<br />
virtual_alias_maps = mysql:/etc/postfix/mysql-aliases.cf<br />
<br />
sender_bcc_maps = hash:/etc/postfix/bcc<br />
<br />
mailbox_command = /usr/bin/zarafa-dagent "&#36;USER"<br />
<br />
home_mailbox = Maildir/<br />
<br />
smtpd_sasl_auth_enable = yes<br />
<br />
smtpd_sasl_security_options = noanonymous<br />
<br />
broken_sasl_auth_clients = yes<br />
<br />
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination</blockquote>
 <br />
<br />
 <br />
<br />
Here's all my sources in a list if that's usefull:<br />
<br />
 <br />
<br />
<a href="http://wiki.centos.org/HowTos/postfix" target="_blank" rel="noopener" class="mycode_url">http://wiki.centos.org/HowTos/postfix</a><br />
<br />
<a href="http://www.linuxmail.info/" target="_blank" rel="noopener" class="mycode_url">http://www.linuxmail.info/</a><br />
<br />
<a href="http://www.zarafa.com/wiki/index.php/Postfix_Zarafa_DB_plugin_integration" target="_blank" rel="noopener" class="mycode_url">http://www.zarafa.com/wiki/index.php/Pos...ntegration</a><br />
<br />
<a href="http://www.zarafa.com/wiki/index.php/MTA_integration" target="_blank" rel="noopener" class="mycode_url">http://www.zarafa.com/wiki/index.php/MTA_integration</a><br />
<br />
 <br />
<br />
 <br />
<br />
A point in the right direction would be helpfull.<br />
<br />
]]></description>
			<content:encoded><![CDATA[<br />
<a href="http://www.virtualmin.com/" target="_blank" rel="noopener" class="mycode_url">http://www.virtualmin.com/</a> and <a href="http://www.zarafa.nl/" target="_blank" rel="noopener" class="mycode_url">http://www.zarafa.nl/</a><br />
<br />
 <br />
<br />
I have a CentOS 5.5 server installed, on top of that I have virtualmin/webmin installed. <br />
<br />
 <br />
<br />
In order to install virtualmin(<a href="http://www.virtualmin.com/" target="_blank" rel="noopener" class="mycode_url">http://www.virtualmin.com/</a>download.html)I needed to set a FQDN: srv1.virtualmin.com<br />
<br />
After I did this setup ran automatically after I ran the script and everything went well. Postfix and server other packages get installed with this package.<br />
<br />
When this was finished I created a virtual domain, with the name of vanderrijst.eu. Now I wanted to setup postfix so edited /etc/postfix/main.cfg<br />
<br />
 <br />
<br />
I first set these settings in postfix:<br />
<br />
 <br />
<br />
<a href="http://www.zarafa.com/wiki/index.php/Postfix_Zarafa_DB_plugin_integration" target="_blank" rel="noopener" class="mycode_url">http://www.zarafa.com/wiki/index.php/Pos...ntegration</a><br />
<br />
 <br />
<br />
main.cf<br />
<br />
 <br />
<br />
mydomain = demo.zarafa.com<br />
<br />
myhostname = host<br />
<br />
alias_maps = hash:/etc/aliases<br />
<br />
alias_database = hash:/etc/aliases<br />
<br />
virtual_alias_maps = mysql:/etc/postfix/mysql-aliases.cf<br />
<br />
myorigin = /etc/mailname<br />
<br />
mydestination = &#36;myhostname, &#36;myhostname.local, localhost, &#36;mydomain<br />
<br />
mynetworks = 127.0.0.0/8<br />
<br />
mailbox_transport = zarafa:<br />
<br />
zarafa_destination_recipient_limit = 1<br />
<br />
inet_interfaces = all<br />
<br />
 <br />
<br />
One problem here though, when I go to /etc/postfix/ there is no mysql-aliases.cf so I would take that something won't go right here's cuz it's pointing to a location that doesn't exist. I did install the mysql module from the CentOS plus. <br />
<br />
 <br />
<br />
If that was working right I should configure the following file<br />
<br />
 <br />
<br />
Postfix mysql-aliases.cf<br />
<br />
 <br />
<br />
# The user name and password to log into the mysql server.<br />
<br />
user = root<br />
<br />
password = zarafa<br />
<br />
hosts = 127.0.0.1<br />
<br />
dbname = zarafa<br />
<br />
# For Postfix 2.2 and later The SQL query template.<br />
<br />
# See mysql_table(5) for details.<br />
<br />
query = select value from objectproperty where objectid=(select objectid from objectproperty where value='%s' limit 1) and propname='loginname';<br />
<br />
 <br />
<br />
 <br />
<br />
I still need to add one thing in /etc/postfix/main.cf<br />
<br />
 <br />
<br />
mailbox_command = /usr/bin/zarafa-dagent "&#36;USER"<br />
<br />
 <br />
<br />
 <br />
<br />
and I need to edit the /etc/postfix/master.cf<br />
<br />
 <br />
<br />
added this to the end: <br />
<br />
 <br />
<br />
zarafa unix - n n - 10 pipe<br />
<br />
 flags= user=vmail argv=/usr/bin/zarafa-dagent &#36;{user}<br />
<br />
 <br />
<br />
after this I still needed to create the user vmail to unix: adduser vmail, then under /etc/zarafa/server.cfg. I needed to change the config. (<a href="http://www.zarafa.com/wiki/index.php/MTA_integration" target="_blank" rel="noopener" class="mycode_url">http://www.zarafa.com/wiki/index.php/MTA_integration</a>)<br />
<br />
 <br />
<br />
from local_admin_users = root  to local_admin_users = root vmail<br />
<br />
 <br />
<br />
 <br />
<br />
 <br />
<br />
After this I reboot postfix, /etc/init.d/postfix restart, postfix booted without any problems.<br />
<br />
 <br />
<br />
now I created two mailbox with the admin-zarafa<br />
<br />
 <br />
<br />
man zarafa-admin<br />
<br />
 <br />
<br />
zarafa-admin -c feedmebits -p secret -e feedmebits@vanderrijst.eu -f “Feedmebits” -a 1<br />
<br />
-c = create user<br />
<br />
-p = password<br />
<br />
-e = email<br />
<br />
-f = full name<br />
<br />
-a = administrator 1 or 0 (true of false) <br />
<br />
 <br />
<br />
I then created a second account. <br />
<br />
 <br />
<br />
Now my problem is that neither account is receiving any mail and not even error mails. here's my /etc/postfix.cfg  I spent quite a few hours on getting this setup and trying to figure out what I'm doing wrong but I think I'm just missing something.<br />
<br />
 <br />
<br />
<blockquote class="mycode_quote"><cite>Quote:</cite># Global Postfix configuration file. This file lists only a subset# of all parameters. For the syntax, and for a complete parameter<br />
<br />
# list, see the postconf(5) manual page (command: "man 5 postconf").<br />
<br />
#<br />
<br />
# For common configuration examples, see BASIC_CONFIGURATION_README<br />
<br />
# and STANDARD_CONFIGURATION_README. To find these documents, use<br />
<br />
# the command "postconf html_directory readme_directory", or go to<br />
<br />
# <a href="http://www.postfix.org/." target="_blank" rel="noopener" class="mycode_url">http://www.postfix.org/.</a><br />
<br />
#<br />
<br />
# For best results, change no more than 2-3 parameters at a time,<br />
<br />
# and test if Postfix still works after every change.<br />
<br />
 <br />
<br />
# SOFT BOUNCE<br />
<br />
#<br />
<br />
# The soft_bounce parameter provides a limited safety net for<br />
<br />
# testing.  When soft_bounce is enabled, mail will remain queued that<br />
<br />
# would otherwise bounce. This parameter disables locally-generated<br />
<br />
# bounces, and prevents the SMTP server from rejecting mail permanently<br />
<br />
# (by changing 5xx replies into 4xx replies). However, soft_bounce<br />
<br />
# is no cure for address rewriting mistakes or mail routing mistakes.<br />
<br />
#<br />
<br />
#soft_bounce = no<br />
<br />
 <br />
<br />
# LOCAL PATHNAME INFORMATION<br />
<br />
#<br />
<br />
# The queue_directory specifies the location of the Postfix queue.<br />
<br />
# This is also the root directory of Postfix daemons that run chrooted.<br />
<br />
# See the files in examples/chroot-setup for setting up Postfix chroot<br />
<br />
# environments on different UNIX systems.<br />
<br />
#<br />
<br />
queue_directory = /var/spool/postfix<br />
<br />
 <br />
<br />
# The command_directory parameter specifies the location of all<br />
<br />
# postXXX commands.<br />
<br />
#<br />
<br />
command_directory = /usr/sbin<br />
<br />
 <br />
<br />
# The daemon_directory parameter specifies the location of all Postfix<br />
<br />
# daemon programs (i.e. programs listed in the master.cf file). This<br />
<br />
# directory must be owned by root.<br />
<br />
#<br />
<br />
daemon_directory = /usr/libexec/postfix<br />
<br />
 <br />
<br />
# QUEUE AND PROCESS OWNERSHIP<br />
<br />
#<br />
<br />
# The mail_owner parameter specifies the owner of the Postfix queue<br />
<br />
# and of most Postfix daemon processes.  Specify the name of a user<br />
<br />
# account THAT DOES NOT SHARE ITS USER OR GROUP ID WITH OTHER ACCOUNTS<br />
<br />
# AND THAT OWNS NO OTHER FILES OR PROCESSES ON THE SYSTEM.  In<br />
<br />
# particular, don't specify nobody or daemon. PLEASE USE A DEDICATED<br />
<br />
# USER.<br />
<br />
#<br />
<br />
mail_owner = postfix<br />
<br />
 <br />
<br />
# The default_privs parameter specifies the default rights used by<br />
<br />
# the local delivery agent for delivery to external file or command.<br />
<br />
# These rights are used in the absence of a recipient user context.<br />
<br />
# DO NOT SPECIFY A PRIVILEGED USER OR THE POSTFIX OWNER.<br />
<br />
#<br />
<br />
#default_privs = nobody<br />
<br />
 <br />
<br />
# INTERNET HOST AND DOMAIN NAMES<br />
<br />
# <br />
<br />
# The myhostname parameter specifies the internet hostname of this<br />
<br />
# mail system. The default is to use the fully-qualified domain name<br />
<br />
# from gethostname(). &#36;myhostname is used as a default value for many<br />
<br />
# other configuration parameters.<br />
<br />
#<br />
<br />
myhostname = srv1.virtualmin.com<br />
<br />
#myhostname = virtual.domain.tld<br />
<br />
 <br />
<br />
# The mydomain parameter specifies the local internet domain name.<br />
<br />
# The default is to use &#36;myhostname minus the first component.<br />
<br />
# &#36;mydomain is used as a default value for many other configuration<br />
<br />
# parameters.<br />
<br />
#<br />
<br />
mydomain = vanderrijst.eu<br />
<br />
 <br />
<br />
# SENDING MAIL<br />
<br />
# <br />
<br />
# The myorigin parameter specifies the domain that locally-posted<br />
<br />
# mail appears to come from. The default is to append &#36;myhostname,<br />
<br />
# which is fine for small sites.  If you run a domain with multiple<br />
<br />
# machines, you should (1) change this to &#36;mydomain and (2) set up<br />
<br />
# a domain-wide alias database that aliases each user to<br />
<br />
# user@that.users.mailhost.<br />
<br />
#<br />
<br />
# For the sake of consistency between sender and recipient addresses,<br />
<br />
# myorigin also specifies the default domain name that is appended<br />
<br />
# to recipient addresses that have no @domain part.<br />
<br />
#<br />
<br />
myorigin = vanderrijst.eu<br />
<br />
#myorigin = &#36;mydomain<br />
<br />
 <br />
<br />
# RECEIVING MAIL<br />
<br />
 <br />
<br />
# The inet_interfaces parameter specifies the network interface<br />
<br />
# addresses that this mail system receives mail on.  By default,<br />
<br />
# the software claims all active interfaces on the machine. The<br />
<br />
# parameter also controls delivery of mail to user@[ip.address].<br />
<br />
#<br />
<br />
# See also the proxy_interfaces parameter, for network addresses that<br />
<br />
# are forwarded to us via a proxy or network address translator.<br />
<br />
#<br />
<br />
# Note: you need to stop/start Postfix when this parameter changes.<br />
<br />
#<br />
<br />
#inet_interfaces = all<br />
<br />
#inet_interfaces = &#36;myhostname<br />
<br />
#inet_interfaces = &#36;myhostname, localhost<br />
<br />
inet_interfaces = all<br />
<br />
 <br />
<br />
# The proxy_interfaces parameter specifies the network interface<br />
<br />
# addresses that this mail system receives mail on by way of a<br />
<br />
# proxy or network address translation unit. This setting extends<br />
<br />
# the address list specified with the inet_interfaces parameter.<br />
<br />
#<br />
<br />
# You must specify your proxy/NAT addresses when your system is a<br />
<br />
# backup MX host for other domains, otherwise mail delivery loops<br />
<br />
# will happen when the primary MX host is down.<br />
<br />
#<br />
<br />
#proxy_interfaces =<br />
<br />
#proxy_interfaces = 1.2.3.4<br />
<br />
 <br />
<br />
# The mydestination parameter specifies the list of domains that this<br />
<br />
# machine considers itself the final destination for.<br />
<br />
#<br />
<br />
# These domains are routed to the delivery agent specified with the<br />
<br />
# local_transport parameter setting. By default, that is the UNIX<br />
<br />
# compatible delivery agent that lookups all recipients in /etc/passwd<br />
<br />
# and /etc/aliases or their equivalent.<br />
<br />
#<br />
<br />
# The default is &#36;myhostname + localhost.&#36;mydomain.  On a mail domain<br />
<br />
# gateway, you should also include &#36;mydomain.<br />
<br />
#<br />
<br />
# Do not specify the names of virtual domains - those domains are<br />
<br />
# specified elsewhere (see VIRTUAL_README).<br />
<br />
#<br />
<br />
# Do not specify the names of domains that this machine is backup MX<br />
<br />
# host for. Specify those names via the relay_domains settings for<br />
<br />
# the SMTP server, or use permit_mx_backup if you are lazy (see<br />
<br />
# STANDARD_CONFIGURATION_README).<br />
<br />
#<br />
<br />
# The local machine is always the final destination for mail addressed<br />
<br />
# to user@[the.net.work.address] of an interface that the mail system<br />
<br />
# receives mail on (see the inet_interfaces parameter).<br />
<br />
#<br />
<br />
# Specify a list of host or domain names, /file/name or type:table<br />
<br />
# patterns, separated by commas and/or whitespace. A /file/name<br />
<br />
# pattern is replaced by its contents; a type:table is matched when<br />
<br />
# a name matches a lookup key (the right-hand side is ignored).<br />
<br />
# Continue long lines by starting the next line with whitespace.<br />
<br />
#<br />
<br />
# See also below, section "REJECTING MAIL FOR UNKNOWN LOCAL USERS".<br />
<br />
#<br />
<br />
mydestination = &#36;myhostname, localhost.&#36;mydomain, localhost, srv1.virtualmin.co m vanderrijst.eu<br />
<br />
#mydestination = &#36;myhostname, localhost.&#36;mydomain, localhost, &#36;mydomain<br />
<br />
#mydestination = &#36;myhostname, localhost.&#36;mydomain, localhost, &#36;mydomain,<br />
<br />
#	mail.&#36;mydomain, www.&#36;mydomain, ftp.&#36;mydomain<br />
<br />
 <br />
<br />
# REJECTING MAIL FOR UNKNOWN LOCAL USERS<br />
<br />
#<br />
<br />
# The local_recipient_maps parameter specifies optional lookup tables<br />
<br />
# with all names or addresses of users that are local with respect<br />
<br />
# to &#36;mydestination, &#36;inet_interfaces or &#36;proxy_interfaces.<br />
<br />
#<br />
<br />
# If this parameter is defined, then the SMTP server will reject<br />
<br />
# mail for unknown local users. This parameter is defined by default.<br />
<br />
#<br />
<br />
# To turn off local recipient checking in the SMTP server, specify<br />
<br />
# local_recipient_maps = (i.e. empty).<br />
<br />
#<br />
<br />
# The default setting assumes that you use the default Postfix local<br />
<br />
# delivery agent for local delivery. You need to update the<br />
<br />
# local_recipient_maps setting if:<br />
<br />
#<br />
<br />
# - You define &#36;mydestination domain recipients in files other than<br />
<br />
#   /etc/passwd, /etc/aliases, or the &#36;virtual_alias_maps files.<br />
<br />
#   For example, you define &#36;mydestination domain recipients in    <br />
<br />
#   the &#36;virtual_mailbox_maps files.<br />
<br />
#<br />
<br />
# - You redefine the local delivery agent in master.cf.<br />
<br />
#<br />
<br />
# - You redefine the "local_transport" setting in main.cf.<br />
<br />
#<br />
<br />
# - You use the "luser_relay", "mailbox_transport", or "fallback_transport"<br />
<br />
#   feature of the Postfix local delivery agent (see local(8)).<br />
<br />
#<br />
<br />
# Details are described in the LOCAL_RECIPIENT_README file.<br />
<br />
#<br />
<br />
# Beware: if the Postfix SMTP server runs chrooted, you probably have<br />
<br />
# to access the passwd file via the proxymap service, in order to<br />
<br />
# overcome chroot restrictions. The alternative, having a copy of<br />
<br />
# the system passwd file in the chroot jail is just not practical.<br />
<br />
#<br />
<br />
# The right-hand side of the lookup tables is conveniently ignored.<br />
<br />
# In the left-hand side, specify a bare username, an @domain.tld<br />
<br />
# wild-card, or specify a user@domain.tld address.<br />
<br />
# <br />
<br />
#local_recipient_maps = unix:passwd.byname &#36;alias_maps<br />
<br />
#local_recipient_maps = proxy:unix:passwd.byname &#36;alias_maps<br />
<br />
#local_recipient_maps =<br />
<br />
 <br />
<br />
# The unknown_local_recipient_reject_code specifies the SMTP server<br />
<br />
# response code when a recipient domain matches &#36;mydestination or<br />
<br />
# &#36;{proxy,inet}_interfaces, while &#36;local_recipient_maps is non-empty<br />
<br />
# and the recipient address or address local-part is not found.<br />
<br />
#<br />
<br />
# The default setting is 550 (reject mail) but it is safer to start<br />
<br />
# with 450 (try again later) until you are certain that your<br />
<br />
# local_recipient_maps settings are OK.<br />
<br />
#<br />
<br />
unknown_local_recipient_reject_code = 550<br />
<br />
 <br />
<br />
# TRUST AND RELAY CONTROL<br />
<br />
 <br />
<br />
# The mynetworks parameter specifies the list of "trusted" SMTP<br />
<br />
# clients that have more privileges than "strangers".<br />
<br />
#<br />
<br />
# In particular, "trusted" SMTP clients are allowed to relay mail<br />
<br />
# through Postfix.  See the smtpd_recipient_restrictions parameter<br />
<br />
# in postconf(5).<br />
<br />
#<br />
<br />
# You can specify the list of "trusted" network addresses by hand<br />
<br />
# or you can let Postfix do it for you (which is the default).<br />
<br />
#<br />
<br />
# By default (mynetworks_style = subnet), Postfix "trusts" SMTP<br />
<br />
# clients in the same IP subnetworks as the local machine.<br />
<br />
# On Linux, this does works correctly only with interfaces specified<br />
<br />
# with the "ifconfig" command.<br />
<br />
# <br />
<br />
# Specify "mynetworks_style = class" when Postfix should "trust" SMTP<br />
<br />
# clients in the same IP class A/B/C networks as the local machine.<br />
<br />
# Don't do this with a dialup site - it would cause Postfix to "trust"<br />
<br />
# your entire provider's network.  Instead, specify an explicit<br />
<br />
# mynetworks list by hand, as described below.<br />
<br />
#  <br />
<br />
# Specify "mynetworks_style = host" when Postfix should "trust"<br />
<br />
# only the local machine.<br />
<br />
# <br />
<br />
#mynetworks_style = class<br />
<br />
#mynetworks_style = subnet<br />
<br />
#mynetworks_style = host<br />
<br />
 <br />
<br />
# Alternatively, you can specify the mynetworks list by hand, in<br />
<br />
# which case Postfix ignores the mynetworks_style setting.<br />
<br />
#<br />
<br />
# Specify an explicit list of network/netmask patterns, where the<br />
<br />
# mask specifies the number of bits in the network part of a host<br />
<br />
# address.<br />
<br />
#<br />
<br />
# You can also specify the absolute pathname of a pattern file instead<br />
<br />
# of listing the patterns here. Specify type:table for table-based lookups<br />
<br />
# (the value on the table right-hand side is not used).<br />
<br />
#<br />
<br />
mynetworks = 168.100.189.0/28, 127.0.0.0/8<br />
<br />
#mynetworks = &#36;config_directory/mynetworks<br />
<br />
#mynetworks = hash:/etc/postfix/network_table<br />
<br />
 <br />
<br />
# The relay_domains parameter restricts what destinations this system will<br />
<br />
# relay mail to.  See the smtpd_recipient_restrictions description in<br />
<br />
# postconf(5) for detailed information.<br />
<br />
#<br />
<br />
# By default, Postfix relays mail<br />
<br />
# - from "trusted" clients (IP address matches &#36;mynetworks) to any destination,<br />
<br />
# - from "untrusted" clients to destinations that match &#36;relay_domains or<br />
<br />
#   subdomains thereof, except addresses with sender-specified routing.<br />
<br />
# The default relay_domains value is &#36;mydestination.<br />
<br />
# <br />
<br />
# In addition to the above, the Postfix SMTP server by default accepts mail<br />
<br />
# that Postfix is final destination for:<br />
<br />
# - destinations that match &#36;inet_interfaces or &#36;proxy_interfaces,<br />
<br />
# - destinations that match &#36;mydestination<br />
<br />
# - destinations that match &#36;virtual_alias_domains,<br />
<br />
# - destinations that match &#36;virtual_mailbox_domains.<br />
<br />
# These destinations do not need to be listed in &#36;relay_domains.<br />
<br />
# <br />
<br />
# Specify a list of hosts or domains, /file/name patterns or type:name<br />
<br />
# lookup tables, separated by commas and/or whitespace.  Continue<br />
<br />
# long lines by starting the next line with whitespace. A file name<br />
<br />
# is replaced by its contents; a type:name table is matched when a<br />
<br />
# (parent) domain appears as lookup key.<br />
<br />
#<br />
<br />
# NOTE: Postfix will not automatically forward mail for domains that<br />
<br />
# list this system as their primary or backup MX host. See the<br />
<br />
# permit_mx_backup restriction description in postconf(5).<br />
<br />
#<br />
<br />
#relay_domains = &#36;mydestination<br />
<br />
 <br />
<br />
# INTERNET OR INTRANET<br />
<br />
 <br />
<br />
# The relayhost parameter specifies the default host to send mail to<br />
<br />
# when no entry is matched in the optional transport(5) table. When<br />
<br />
# no relayhost is given, mail is routed directly to the destination.<br />
<br />
#<br />
<br />
# On an intranet, specify the organizational domain name. If your<br />
<br />
# internal DNS uses no MX records, specify the name of the intranet<br />
<br />
# gateway host instead.<br />
<br />
#<br />
<br />
# In the case of SMTP, specify a domain, host, host:port, [host]:port,<br />
<br />
# [address] or [address]:port; the form [host] turns off MX lookups.<br />
<br />
#<br />
<br />
# If you're connected via UUCP, see also the default_transport parameter.<br />
<br />
#<br />
<br />
#relayhost = &#36;mydomain<br />
<br />
#relayhost = [gateway.my.domain]<br />
<br />
#relayhost = [mailserver.isp.tld]<br />
<br />
#relayhost = uucphost<br />
<br />
#relayhost = [an.ip.add.ress]<br />
<br />
 <br />
<br />
# REJECTING UNKNOWN RELAY USERS<br />
<br />
#<br />
<br />
# The relay_recipient_maps parameter specifies optional lookup tables<br />
<br />
# with all addresses in the domains that match &#36;relay_domains.<br />
<br />
#<br />
<br />
# If this parameter is defined, then the SMTP server will reject<br />
<br />
# mail for unknown relay users. This feature is off by default.<br />
<br />
#<br />
<br />
# The right-hand side of the lookup tables is conveniently ignored.<br />
<br />
# In the left-hand side, specify an @domain.tld wild-card, or specify<br />
<br />
# a user@domain.tld address.<br />
<br />
# <br />
<br />
#relay_recipient_maps = hash:/etc/postfix/relay_recipients<br />
<br />
 <br />
<br />
# INPUT RATE CONTROL<br />
<br />
#<br />
<br />
# The in_flow_delay configuration parameter implements mail input<br />
<br />
# flow control. This feature is turned on by default, although it<br />
<br />
# still needs further development (it's disabled on SCO UNIX due<br />
<br />
# to an SCO bug).<br />
<br />
# <br />
<br />
# A Postfix process will pause for &#36;in_flow_delay seconds before<br />
<br />
# accepting a new message, when the message arrival rate exceeds the<br />
<br />
# message delivery rate. With the default 100 SMTP server process<br />
<br />
# limit, this limits the mail inflow to 100 messages a second more<br />
<br />
# than the number of messages delivered per second.<br />
<br />
# <br />
<br />
# Specify 0 to disable the feature. Valid delays are 0..10.<br />
<br />
# <br />
<br />
#in_flow_delay = 1s<br />
<br />
 <br />
<br />
# ADDRESS REWRITING<br />
<br />
#<br />
<br />
# The ADDRESS_REWRITING_README document gives information about<br />
<br />
# address masquerading or other forms of address rewriting including<br />
<br />
# username-&gt;Firstname.Lastname mapping.<br />
<br />
 <br />
<br />
# ADDRESS REDIRECTION (VIRTUAL DOMAIN)<br />
<br />
#<br />
<br />
# The VIRTUAL_README document gives information about the many forms<br />
<br />
# of domain hosting that Postfix supports.<br />
<br />
 <br />
<br />
# "USER HAS MOVED" BOUNCE MESSAGES<br />
<br />
#<br />
<br />
# See the discussion in the ADDRESS_REWRITING_README document.<br />
<br />
 <br />
<br />
# TRANSPORT MAP<br />
<br />
#<br />
<br />
# See the discussion in the ADDRESS_REWRITING_README document.<br />
<br />
 <br />
<br />
# ALIAS DATABASE<br />
<br />
#<br />
<br />
# The alias_maps parameter specifies the list of alias databases used<br />
<br />
# by the local delivery agent. The default list is system dependent.<br />
<br />
#<br />
<br />
# On systems with NIS, the default is to search the local alias<br />
<br />
# database, then the NIS alias database. See aliases(5) for syntax<br />
<br />
# details.<br />
<br />
# <br />
<br />
# If you change the alias database, run "postalias /etc/aliases" (or<br />
<br />
# wherever your system stores the mail alias file), or simply run<br />
<br />
# "newaliases" to build the necessary DBM or DB file.<br />
<br />
#<br />
<br />
# It will take a minute or so before changes become visible.  Use<br />
<br />
# "postfix reload" to eliminate the delay.<br />
<br />
#<br />
<br />
#alias_maps = dbm:/etc/aliases<br />
<br />
alias_maps = hash:/etc/aliases<br />
<br />
#alias_maps = hash:/etc/aliases, nis:mail.aliases<br />
<br />
#alias_maps = netinfo:/aliases<br />
<br />
 <br />
<br />
# The alias_database parameter specifies the alias database(s) that<br />
<br />
# are built with "newaliases" or "sendmail -bi".  This is a separate<br />
<br />
# configuration parameter, because alias_maps (see above) may specify<br />
<br />
# tables that are not necessarily all under control by Postfix.<br />
<br />
#<br />
<br />
#alias_database = dbm:/etc/aliases<br />
<br />
#alias_database = dbm:/etc/mail/aliases<br />
<br />
alias_database = hash:/etc/aliases<br />
<br />
#alias_database = hash:/etc/aliases, hash:/opt/majordomo/aliases<br />
<br />
 <br />
<br />
# ADDRESS EXTENSIONS (e.g., user+foo)<br />
<br />
#<br />
<br />
# The recipient_delimiter parameter specifies the separator between<br />
<br />
# user names and address extensions (user+foo). See canonical(5),<br />
<br />
# local(8), relocated(5) and virtual(5) for the effects this has on<br />
<br />
# aliases, canonical, virtual, relocated and .forward file lookups.<br />
<br />
# Basically, the software tries user+foo and .forward+foo before<br />
<br />
# trying user and .forward.<br />
<br />
#<br />
<br />
#recipient_delimiter = +<br />
<br />
 <br />
<br />
# DELIVERY TO MAILBOX<br />
<br />
#<br />
<br />
# The home_mailbox parameter specifies the optional pathname of a<br />
<br />
# mailbox file relative to a user's home directory. The default<br />
<br />
# mailbox file is /var/spool/mail/user or /var/mail/user.  Specify<br />
<br />
# "Maildir/" for qmail-style delivery (the / is required).<br />
<br />
#<br />
<br />
#home_mailbox = Mailbox<br />
<br />
home_mailbox = Maildir/<br />
<br />
 <br />
<br />
# The mail_spool_directory parameter specifies the directory where<br />
<br />
# UNIX-style mailboxes are kept. The default setting depends on the<br />
<br />
# system type.<br />
<br />
#<br />
<br />
#mail_spool_directory = /var/mail<br />
<br />
#mail_spool_directory = /var/spool/mail<br />
<br />
 <br />
<br />
# The mailbox_command parameter specifies the optional external<br />
<br />
# command to use instead of mailbox delivery. The command is run as<br />
<br />
# the recipient with proper HOME, SHELL and LOGNAME environment settings.<br />
<br />
# Exception:  delivery for root is done as &#36;default_user.<br />
<br />
#<br />
<br />
# Other environment variables of interest: USER (recipient username),<br />
<br />
# EXTENSION (address extension), DOMAIN (domain part of address),<br />
<br />
# and LOCAL (the address localpart).<br />
<br />
#<br />
<br />
# Unlike other Postfix configuration parameters, the mailbox_command<br />
<br />
# parameter is not subjected to &#36;parameter substitutions. This is to<br />
<br />
# make it easier to specify shell syntax (see example below).<br />
<br />
#<br />
<br />
# Avoid shell meta characters because they will force Postfix to run<br />
<br />
# an expensive shell process. Procmail alone is expensive enough.<br />
<br />
#<br />
<br />
# IF YOU USE THIS TO DELIVER MAIL SYSTEM-WIDE, YOU MUST SET UP AN<br />
<br />
# ALIAS THAT FORWARDS MAIL FOR ROOT TO A REAL USER.<br />
<br />
#<br />
<br />
mailbox_command = /usr/bin/zarafa-dagent "&#36;USER"<br />
<br />
 <br />
<br />
#mailbox_command = /some/where/procmail -a "&#36;EXTENSION"<br />
<br />
 <br />
<br />
# The mailbox_transport specifies the optional transport in master.cf<br />
<br />
# to use after processing aliases and .forward files. This parameter<br />
<br />
# has precedence over the mailbox_command, fallback_transport and<br />
<br />
# luser_relay parameters.<br />
<br />
#<br />
<br />
# Specify a string of the form transport:nexthop, where transport is<br />
<br />
# the name of a mail delivery transport defined in master.cf.  The<br />
<br />
# :nexthop part is optional. For more details see the sample transport<br />
<br />
# configuration file.<br />
<br />
#<br />
<br />
# NOTE: if you use this feature for accounts not in the UNIX password<br />
<br />
# file, then you must update the "local_recipient_maps" setting in<br />
<br />
# the main.cf file, otherwise the SMTP server will reject mail for    <br />
<br />
# non-UNIX accounts with "User unknown in local recipient table".<br />
<br />
#<br />
<br />
#mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp<br />
<br />
 <br />
<br />
# If using the cyrus-imapd IMAP server deliver local mail to the IMAP<br />
<br />
# server using LMTP (Local Mail Transport Protocol), this is prefered<br />
<br />
# over the older cyrus deliver program by setting the<br />
<br />
# mailbox_transport as below:<br />
<br />
#<br />
<br />
mailbox_transport = zarafa<br />
<br />
zarafa_destination_recipient_limit = 1 <br />
<br />
#<br />
<br />
# The efficiency of LMTP delivery for cyrus-imapd can be enhanced via<br />
<br />
# these settings.<br />
<br />
#<br />
<br />
# local_destination_recipient_limit = 300<br />
<br />
# local_destination_concurrency_limit = 5<br />
<br />
#<br />
<br />
# Of course you should adjust these settings as appropriate for the<br />
<br />
# capacity of the hardware you are using. The recipient limit setting<br />
<br />
# can be used to take advantage of the single instance message store<br />
<br />
# capability of Cyrus. The concurrency limit can be used to control<br />
<br />
# how many simultaneous LMTP sessions will be permitted to the Cyrus<br />
<br />
# message store. <br />
<br />
#<br />
<br />
# To use the old cyrus deliver program you have to set:<br />
<br />
#mailbox_transport = cyrus<br />
<br />
 <br />
<br />
# The fallback_transport specifies the optional transport in master.cf<br />
<br />
# to use for recipients that are not found in the UNIX passwd database.<br />
<br />
# This parameter has precedence over the luser_relay parameter.<br />
<br />
#<br />
<br />
# Specify a string of the form transport:nexthop, where transport is<br />
<br />
# the name of a mail delivery transport defined in master.cf.  The<br />
<br />
# :nexthop part is optional. For more details see the sample transport<br />
<br />
# configuration file.<br />
<br />
#<br />
<br />
# NOTE: if you use this feature for accounts not in the UNIX password<br />
<br />
# file, then you must update the "local_recipient_maps" setting in<br />
<br />
# the main.cf file, otherwise the SMTP server will reject mail for    <br />
<br />
# non-UNIX accounts with "User unknown in local recipient table".<br />
<br />
#<br />
<br />
#fallback_transport = lmtp:unix:/var/lib/imap/socket/lmtp<br />
<br />
#fallback_transport =<br />
<br />
 <br />
<br />
# The luser_relay parameter specifies an optional destination address<br />
<br />
# for unknown recipients.  By default, mail for unknown@&#36;mydestination,<br />
<br />
# unknown@[&#36;inet_interfaces] or unknown@[&#36;proxy_interfaces] is returned<br />
<br />
# as undeliverable.<br />
<br />
#<br />
<br />
# The following expansions are done on luser_relay: &#36;user (recipient<br />
<br />
# username), &#36;shell (recipient shell), &#36;home (recipient home directory),<br />
<br />
# &#36;recipient (full recipient address), &#36;extension (recipient address<br />
<br />
# extension), &#36;domain (recipient domain), &#36;local (entire recipient<br />
<br />
# localpart), &#36;recipient_delimiter. Specify &#36;{name?value} or<br />
<br />
# &#36;{name:value} to expand value only when &#36;name does (does not) exist.<br />
<br />
#<br />
<br />
# luser_relay works only for the default Postfix local delivery agent.<br />
<br />
#<br />
<br />
# NOTE: if you use this feature for accounts not in the UNIX password<br />
<br />
# file, then you must specify "local_recipient_maps =" (i.e. empty) in<br />
<br />
# the main.cf file, otherwise the SMTP server will reject mail for    <br />
<br />
# non-UNIX accounts with "User unknown in local recipient table".<br />
<br />
#<br />
<br />
#luser_relay = &#36;user@other.host<br />
<br />
#luser_relay = &#36;local@other.host<br />
<br />
#luser_relay = admin+&#36;local<br />
<br />
 <br />
<br />
# JUNK MAIL CONTROLS<br />
<br />
# <br />
<br />
# The controls listed here are only a very small subset. The file<br />
<br />
# SMTPD_ACCESS_README provides an overview.<br />
<br />
 <br />
<br />
# The header_checks parameter specifies an optional table with patterns<br />
<br />
# that each logical message header is matched against, including<br />
<br />
# headers that span multiple physical lines.<br />
<br />
#<br />
<br />
# By default, these patterns also apply to MIME headers and to the<br />
<br />
# headers of attached messages. With older Postfix versions, MIME and<br />
<br />
# attached message headers were treated as body text.<br />
<br />
#<br />
<br />
# For details, see "man header_checks".<br />
<br />
#<br />
<br />
#header_checks = regexp:/etc/postfix/header_checks<br />
<br />
 <br />
<br />
# FAST ETRN SERVICE<br />
<br />
#<br />
<br />
# Postfix maintains per-destination logfiles with information about<br />
<br />
# deferred mail, so that mail can be flushed quickly with the SMTP<br />
<br />
# "ETRN domain.tld" command, or by executing "sendmail -qRdomain.tld".<br />
<br />
# See the ETRN_README document for a detailed description.<br />
<br />
# <br />
<br />
# The fast_flush_domains parameter controls what destinations are<br />
<br />
# eligible for this service. By default, they are all domains that<br />
<br />
# this server is willing to relay mail to.<br />
<br />
# <br />
<br />
#fast_flush_domains = &#36;relay_domains<br />
<br />
 <br />
<br />
# SHOW SOFTWARE VERSION OR NOT<br />
<br />
#<br />
<br />
# The smtpd_banner parameter specifies the text that follows the 220<br />
<br />
# code in the SMTP server's greeting banner. Some people like to see<br />
<br />
# the mail version advertised. By default, Postfix shows no version.<br />
<br />
#<br />
<br />
# You MUST specify &#36;myhostname at the start of the text. That is an<br />
<br />
# RFC requirement. Postfix itself does not care.<br />
<br />
#<br />
<br />
#smtpd_banner = &#36;myhostname ESMTP &#36;mail_name<br />
<br />
#smtpd_banner = &#36;myhostname ESMTP &#36;mail_name (&#36;mail_version)<br />
<br />
 <br />
<br />
# PARALLEL DELIVERY TO THE SAME DESTINATION<br />
<br />
#<br />
<br />
# How many parallel deliveries to the same user or domain? With local<br />
<br />
# delivery, it does not make sense to do massively parallel delivery<br />
<br />
# to the same user, because mailbox updates must happen sequentially,<br />
<br />
# and expensive pipelines in .forward files can cause disasters when<br />
<br />
# too many are run at the same time. With SMTP deliveries, 10<br />
<br />
# simultaneous connections to the same domain could be sufficient to<br />
<br />
# raise eyebrows.<br />
<br />
# <br />
<br />
# Each message delivery transport has its XXX_destination_concurrency_limit<br />
<br />
# parameter.  The default is &#36;default_destination_concurrency_limit for<br />
<br />
# most delivery transports. For the local delivery agent the default is 2.<br />
<br />
 <br />
<br />
#local_destination_concurrency_limit = 2<br />
<br />
#default_destination_concurrency_limit = 20<br />
<br />
 <br />
<br />
# DEBUGGING CONTROL<br />
<br />
#<br />
<br />
# The debug_peer_level parameter specifies the increment in verbose<br />
<br />
# logging level when an SMTP client or server host name or address<br />
<br />
# matches a pattern in the debug_peer_list parameter.<br />
<br />
#<br />
<br />
debug_peer_level = 2<br />
<br />
 <br />
<br />
# The debug_peer_list parameter specifies an optional list of domain<br />
<br />
# or network patterns, /file/name patterns or type:name tables. When<br />
<br />
# an SMTP client or server host name or address matches a pattern,<br />
<br />
# increase the verbose logging level by the amount specified in the<br />
<br />
# debug_peer_level parameter.<br />
<br />
#<br />
<br />
#debug_peer_list = 127.0.0.1<br />
<br />
#debug_peer_list = some.domain<br />
<br />
 <br />
<br />
# The debugger_command specifies the external command that is executed<br />
<br />
# when a Postfix daemon program is run with the -D option.<br />
<br />
#<br />
<br />
# Use "command .. &amp; sleep 5" so that the debugger can attach before<br />
<br />
# the process marches on. If you use an X-based debugger, be sure to<br />
<br />
# set up your XAUTHORITY environment variable before starting Postfix.<br />
<br />
#<br />
<br />
debugger_command =<br />
<br />
	 PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin<br />
<br />
	 xxgdb &#36;daemon_directory/&#36;process_name &#36;process_id &amp; sleep 5<br />
<br />
 <br />
<br />
# If you can't use X, use this to capture the call stack when a<br />
<br />
# daemon crashes. The result is in a file in the configuration<br />
<br />
# directory, and is named after the process name and the process ID.<br />
<br />
#<br />
<br />
# debugger_command =<br />
<br />
#	PATH=/bin:/usr/bin:/usr/local/bin; export PATH; (echo cont;<br />
<br />
#	echo where) | gdb &#36;daemon_directory/&#36;process_name &#36;process_id 2&gt;&amp;1<br />
<br />
#	&gt;&#36;config_directory/&#36;process_name.&#36;process_id.log &amp; sleep 5<br />
<br />
#<br />
<br />
# Another possibility is to run gdb under a detached screen session.<br />
<br />
# To attach to the screen sesssion, su root and run "screen -r<br />
<br />
# &lt;id_string&gt;" where &lt;id_string&gt; uniquely matches one of the detached&lt;/id_string&gt;&lt;/id_string&gt;<br />
<br />
# sessions (from "screen -list").<br />
<br />
#<br />
<br />
# debugger_command =<br />
<br />
#	PATH=/bin:/usr/bin:/sbin:/usr/sbin; export PATH; screen<br />
<br />
#	-dmS &#36;process_name gdb &#36;daemon_directory/&#36;process_name<br />
<br />
#	&#36;process_id &amp; sleep 1<br />
<br />
 <br />
<br />
# INSTALL-TIME CONFIGURATION INFORMATION<br />
<br />
#<br />
<br />
# The following parameters are used when installing a new Postfix version.<br />
<br />
# <br />
<br />
# sendmail_path: The full pathname of the Postfix sendmail command.<br />
<br />
# This is the Sendmail-compatible mail posting interface.<br />
<br />
# <br />
<br />
sendmail_path = /usr/sbin/sendmail.postfix<br />
<br />
 <br />
<br />
# newaliases_path: The full pathname of the Postfix newaliases command.<br />
<br />
# This is the Sendmail-compatible command to build alias databases.<br />
<br />
#<br />
<br />
newaliases_path = /usr/bin/newaliases.postfix<br />
<br />
 <br />
<br />
# mailq_path: The full pathname of the Postfix mailq command.  This<br />
<br />
# is the Sendmail-compatible mail queue listing command.<br />
<br />
# <br />
<br />
mailq_path = /usr/bin/mailq.postfix<br />
<br />
 <br />
<br />
# setgid_group: The group for mail submission and queue management<br />
<br />
# commands.  This must be a group name with a numerical group ID that<br />
<br />
# is not shared with other accounts, not even with the Postfix account.<br />
<br />
#<br />
<br />
setgid_group = postdrop<br />
<br />
 <br />
<br />
# html_directory: The location of the Postfix HTML documentation.<br />
<br />
#<br />
<br />
html_directory = no<br />
<br />
 <br />
<br />
# manpage_directory: The location of the Postfix on-line manual pages.<br />
<br />
#<br />
<br />
manpage_directory = /usr/share/man<br />
<br />
 <br />
<br />
# sample_directory: The location of the Postfix sample configuration files.<br />
<br />
# This parameter is obsolete as of Postfix 2.1.<br />
<br />
#<br />
<br />
sample_directory = /usr/share/doc/postfix-2.3.3/samples<br />
<br />
 <br />
<br />
# readme_directory: The location of the Postfix README files.<br />
<br />
#<br />
<br />
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES<br />
<br />
virtual_alias_maps = mysql:/etc/postfix/mysql-aliases.cf<br />
<br />
sender_bcc_maps = hash:/etc/postfix/bcc<br />
<br />
mailbox_command = /usr/bin/zarafa-dagent "&#36;USER"<br />
<br />
home_mailbox = Maildir/<br />
<br />
smtpd_sasl_auth_enable = yes<br />
<br />
smtpd_sasl_security_options = noanonymous<br />
<br />
broken_sasl_auth_clients = yes<br />
<br />
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination</blockquote>
 <br />
<br />
 <br />
<br />
Here's all my sources in a list if that's usefull:<br />
<br />
 <br />
<br />
<a href="http://wiki.centos.org/HowTos/postfix" target="_blank" rel="noopener" class="mycode_url">http://wiki.centos.org/HowTos/postfix</a><br />
<br />
<a href="http://www.linuxmail.info/" target="_blank" rel="noopener" class="mycode_url">http://www.linuxmail.info/</a><br />
<br />
<a href="http://www.zarafa.com/wiki/index.php/Postfix_Zarafa_DB_plugin_integration" target="_blank" rel="noopener" class="mycode_url">http://www.zarafa.com/wiki/index.php/Pos...ntegration</a><br />
<br />
<a href="http://www.zarafa.com/wiki/index.php/MTA_integration" target="_blank" rel="noopener" class="mycode_url">http://www.zarafa.com/wiki/index.php/MTA_integration</a><br />
<br />
 <br />
<br />
 <br />
<br />
A point in the right direction would be helpfull.<br />
<br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[error while trying yum update]]></title>
			<link>https://www.linux-noob.com/forums/thread-462.html</link>
			<pubDate>Sat, 15 May 2010 12:35:40 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://www.linux-noob.com/forums/member.php?action=profile&uid=2">anyweb</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.linux-noob.com/forums/thread-462.html</guid>
			<description><![CDATA[<br />
today i was trying to update the centos server when i got this<br />
<br />
 <br />
<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>Resolving Dependencies--&gt; Running transaction check<br />
<br />
---&gt; Package kernel.i686 0:2.6.18-194.3.1.el5 set to be installed<br />
<br />
---&gt; Package kernel-devel.i686 0:2.6.18-194.3.1.el5 set to be installed<br />
<br />
---&gt; Package kernel-headers.i386 0:2.6.18-194.3.1.el5 set to be updated<br />
<br />
---&gt; Package lvm2.i386 0:2.02.56-8.el5_5.1 set to be updated<br />
<br />
--&gt; Processing Dependency: device-mapper &gt;= 1.02.39-1 for package: lvm2<br />
<br />
---&gt; Package mkinitrd.i386 0:5.1.19.6-61.el5_5.1 set to be updated<br />
<br />
---&gt; Package nash.i386 0:5.1.19.6-61.el5_5.1 set to be updated<br />
<br />
---&gt; Package nss_db.i386 0:2.2-35.4.el5_5 set to be updated<br />
<br />
---&gt; Package sudo.i386 0:1.7.2p1-6.el5_5 set to be updated<br />
<br />
---&gt; Package tzdata.i386 0:2010i-1.el5 set to be updated<br />
<br />
--&gt; Finished Dependency Resolution<br />
<br />
lvm2-2.02.56-8.el5_5.1.i386 from updates has depsolving problems<br />
<br />
  --&gt; Missing Dependency: device-mapper &gt;= 1.02.39-1 is needed by package lvm2-2.02.56-8.el5_5.1.i386 (updates)<br />
<br />
--&gt; Running transaction check<br />
<br />
---&gt; Package kernel.i686 0:2.6.18-164.9.1.el5 set to be erased<br />
<br />
---&gt; Package kernel-devel.i686 0:2.6.18-164.9.1.el5 set to be erased<br />
<br />
---&gt; Package lvm2.i386 0:2.02.56-8.el5_5.1 set to be updated<br />
<br />
--&gt; Processing Dependency: device-mapper &gt;= 1.02.39-1 for package: lvm2<br />
<br />
--&gt; Finished Dependency Resolution<br />
<br />
lvm2-2.02.56-8.el5_5.1.i386 from updates has depsolving problems<br />
<br />
  --&gt; Missing Dependency: device-mapper &gt;= 1.02.39-1 is needed by package lvm2-2.02.56-8.el5_5.1.i386 (updates)<br />
<br />
Error: Missing Dependency: device-mapper &gt;= 1.02.39-1 is needed by package lvm2-2.02.56-8.el5_5.1.i386 (updates)<br />
<br />
 You could try using --skip-broken to work around the problem<br />
<br />
 You could try running: package-cleanup --problems<br />
<br />
                        package-cleanup --dupes<br />
<br />
                        rpm -Va --nofiles --nodigest<br />
<br />
The program package-cleanup is found in the yum-utils package.</blockquote>
 <br />
<br />
this is the linux-noob.com server so i'm wary of making any mistakes,<br />
<br />
 <br />
<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>[root@linux-noob ~]# cat /etc/redhat-release CentOS release 5.4 (Final)</blockquote>
 <br />
<br />
any advise as to the best way of resolving the problem above ?<br />
<br />
]]></description>
			<content:encoded><![CDATA[<br />
today i was trying to update the centos server when i got this<br />
<br />
 <br />
<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>Resolving Dependencies--&gt; Running transaction check<br />
<br />
---&gt; Package kernel.i686 0:2.6.18-194.3.1.el5 set to be installed<br />
<br />
---&gt; Package kernel-devel.i686 0:2.6.18-194.3.1.el5 set to be installed<br />
<br />
---&gt; Package kernel-headers.i386 0:2.6.18-194.3.1.el5 set to be updated<br />
<br />
---&gt; Package lvm2.i386 0:2.02.56-8.el5_5.1 set to be updated<br />
<br />
--&gt; Processing Dependency: device-mapper &gt;= 1.02.39-1 for package: lvm2<br />
<br />
---&gt; Package mkinitrd.i386 0:5.1.19.6-61.el5_5.1 set to be updated<br />
<br />
---&gt; Package nash.i386 0:5.1.19.6-61.el5_5.1 set to be updated<br />
<br />
---&gt; Package nss_db.i386 0:2.2-35.4.el5_5 set to be updated<br />
<br />
---&gt; Package sudo.i386 0:1.7.2p1-6.el5_5 set to be updated<br />
<br />
---&gt; Package tzdata.i386 0:2010i-1.el5 set to be updated<br />
<br />
--&gt; Finished Dependency Resolution<br />
<br />
lvm2-2.02.56-8.el5_5.1.i386 from updates has depsolving problems<br />
<br />
  --&gt; Missing Dependency: device-mapper &gt;= 1.02.39-1 is needed by package lvm2-2.02.56-8.el5_5.1.i386 (updates)<br />
<br />
--&gt; Running transaction check<br />
<br />
---&gt; Package kernel.i686 0:2.6.18-164.9.1.el5 set to be erased<br />
<br />
---&gt; Package kernel-devel.i686 0:2.6.18-164.9.1.el5 set to be erased<br />
<br />
---&gt; Package lvm2.i386 0:2.02.56-8.el5_5.1 set to be updated<br />
<br />
--&gt; Processing Dependency: device-mapper &gt;= 1.02.39-1 for package: lvm2<br />
<br />
--&gt; Finished Dependency Resolution<br />
<br />
lvm2-2.02.56-8.el5_5.1.i386 from updates has depsolving problems<br />
<br />
  --&gt; Missing Dependency: device-mapper &gt;= 1.02.39-1 is needed by package lvm2-2.02.56-8.el5_5.1.i386 (updates)<br />
<br />
Error: Missing Dependency: device-mapper &gt;= 1.02.39-1 is needed by package lvm2-2.02.56-8.el5_5.1.i386 (updates)<br />
<br />
 You could try using --skip-broken to work around the problem<br />
<br />
 You could try running: package-cleanup --problems<br />
<br />
                        package-cleanup --dupes<br />
<br />
                        rpm -Va --nofiles --nodigest<br />
<br />
The program package-cleanup is found in the yum-utils package.</blockquote>
 <br />
<br />
this is the linux-noob.com server so i'm wary of making any mistakes,<br />
<br />
 <br />
<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>[root@linux-noob ~]# cat /etc/redhat-release CentOS release 5.4 (Final)</blockquote>
 <br />
<br />
any advise as to the best way of resolving the problem above ?<br />
<br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[samba server login using windows domain user]]></title>
			<link>https://www.linux-noob.com/forums/thread-857.html</link>
			<pubDate>Mon, 25 Aug 2008 11:54:34 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://www.linux-noob.com/forums/member.php?action=profile&uid=2998">soumalya</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.linux-noob.com/forums/thread-857.html</guid>
			<description><![CDATA[<br />
Sir<br />
<br />
 <br />
<br />
i am using centos 5. i tried to configure samba server login using windows domain user. may be i was worng in any  file . <br />
<br />
my windows domain server= data-server.central.edu (192.168.100.100)<br />
<br />
samba server=telnet (192.168.100.167)<br />
<br />
my krb5.conf<br />
<br />
[logging]<br />
<br />
 default = FILE:/var/log/krb5libs.log<br />
<br />
 kdc = FILE:/var/log/krb5kdc.log<br />
<br />
 admin_server = FILE:/var/log/kadmind.log<br />
<br />
 <br />
<br />
[libdefaults]<br />
<br />
 default_realm = CENTRAL.EDU<br />
<br />
 default_tkt_enctypes = des3-hmac-sha1 des-cbc-crc<br />
<br />
 default_tgs_enctypes = des3-hmac-sha1 des-cbc-crc<br />
<br />
 <br />
<br />
[realms]<br />
<br />
 CENTRAL.EDU = {<br />
<br />
  kdc = data-server.central.edu<br />
<br />
  default_domain = central.edu<br />
<br />
 }<br />
<br />
 <br />
<br />
[domain_realm]<br />
<br />
 .central.edu = CENTRAL.EDU<br />
<br />
 central.edu = CENTRAL.EDU<br />
<br />
 <br />
<br />
[kdc]<br />
<br />
 profile = /var/kerberos/krb5kdc/kdc.conf<br />
<br />
----------------------------------------------------------------------------------<br />
<br />
smb.conf<br />
<br />
 <br />
<br />
#======================= Global Settings =====================================<br />
<br />
[global]<br />
<br />
 <br />
<br />
# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH<br />
<br />
        workgroup = CENTRAL<br />
<br />
 <br />
<br />
# server string is the equivalent of the NT Description field<br />
<br />
        server string = Samba Server<br />
<br />
 <br />
<br />
# Security mode. Defines in which mode Samba will operate. Possible<br />
<br />
# values are share, user, server, domain and ads. Most people will want<br />
<br />
# user level security. See the Samba-HOWTO-Collection for details.<br />
<br />
        security = ADS<br />
<br />
 <br />
<br />
# This option is important for security. It allows you to restrict<br />
<br />
# connections to machines which are on your local network. The<br />
<br />
# following example restricts access to two C class networks and<br />
<br />
# the "loopback" interface. For more examples of the syntax see<br />
<br />
# the smb.conf man page<br />
<br />
;   hosts allow = 192.168.1. 192.168.2. 127.<br />
<br />
 <br />
<br />
# If you want to automatically load your printer list rather<br />
<br />
# than setting them up individually then you'll need this<br />
<br />
;       load printers = yes<br />
<br />
 <br />
<br />
# you may wish to override the location of the printcap file<br />
<br />
;   printcap name = /etc/printcap<br />
<br />
 <br />
<br />
# on SystemV system setting printcap name to lpstat should allow<br />
<br />
# you to automatically obtain a printer list from the SystemV spool<br />
<br />
# system<br />
<br />
;   printcap name = lpstat<br />
<br />
 <br />
<br />
# It should not be necessary to specify the print system type unless<br />
<br />
# it is non-standard. Currently supported print systems include:<br />
<br />
# bsd, cups, sysv, plp, lprng, aix, hpux, qnx<br />
<br />
;   printing = cups<br />
<br />
 <br />
<br />
# This option tells cups that the data has already been rasterized<br />
<br />
        cups options = raw<br />
<br />
 <br />
<br />
# Uncomment this if you want a guest account, you must add this to /etc/passwd<br />
<br />
# otherwise the user "nobody" is used<br />
<br />
;  guest account = pcguest<br />
<br />
 <br />
<br />
# this tells Samba to use a separate log file for each machine<br />
<br />
# that connects<br />
<br />
        log file = /var/log/samba/%m.log<br />
<br />
 <br />
<br />
# Put a capping on the size of the log files (in Kb).<br />
<br />
        max log size = 50<br />
<br />
 <br />
<br />
# Use password server option only with security = server<br />
<br />
# The argument list may include:<br />
<br />
#   password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]<br />
<br />
# or to auto-locate the domain controller/s<br />
<br />
#   password server = *<br />
<br />
        password server = data-server.central.edu<br />
<br />
 <br />
<br />
# Use the realm option only with security = ads<br />
<br />
# Specifies the Active Directory realm the host is part of<br />
<br />
        realm = CENTRAL.EDU<br />
<br />
 <br />
<br />
# Backend to store user information in. New installations should<br />
<br />
# use either tdbsam or ldapsam. smbpasswd is available for backwards<br />
<br />
# compatibility. tdbsam requires no further configuration.<br />
<br />
;   passdb backend = tdbsam<br />
<br />
 <br />
<br />
# Using the following line enables you to customise your configuration<br />
<br />
# on a per machine basis. The %m gets replaced with the netbios name<br />
<br />
# of the machine that is connecting.<br />
<br />
# Note: Consider carefully the location in the configuration file of<br />
<br />
#       this line.  The included file is read at that point.<br />
<br />
;   include = /usr/local/samba/lib/smb.conf.%m<br />
<br />
 <br />
<br />
# Configure Samba to use multiple interfaces<br />
<br />
# If you have multiple network interfaces then you must list them<br />
<br />
# here. See the man page for details.<br />
<br />
;   interfaces = 192.168.12.2/24 192.168.13.2/24<br />
<br />
 <br />
<br />
# Browser Control Options:<br />
<br />
# set local master to no if you don't want Samba to become a master<br />
<br />
# browser on your network. Otherwise the normal election rules apply<br />
<br />
        local master = no<br />
<br />
 <br />
<br />
# OS Level determines the precedence of this server in master browser<br />
<br />
# elections. The default value should be reasonable<br />
<br />
;   os level = 33<br />
<br />
 <br />
<br />
# Domain Master specifies Samba to be the Domain Master Browser. This<br />
<br />
# allows Samba to collate browse lists between subnets. Don't use this<br />
<br />
# if you already have a Windows NT domain controller doing this job<br />
<br />
;   domain master = yes<br />
<br />
 <br />
<br />
# Preferred Master causes Samba to force a local browser election on startup<br />
<br />
# and gives it a slightly higher chance of winning the election<br />
<br />
        preferred master = no<br />
<br />
 <br />
<br />
# Enable this if you want Samba to be a domain logon server for<br />
<br />
# Windows95 workstations.<br />
<br />
;   domain logons = yes<br />
<br />
 <br />
<br />
# if you enable domain logons then you may want a per-machine or<br />
<br />
# per user logon script<br />
<br />
# run a specific logon batch file per workstation (machine)<br />
<br />
;   logon script = %m.bat<br />
<br />
# run a specific logon batch file per username<br />
<br />
;   logon script = %U.bat<br />
<br />
 <br />
<br />
# Where to store roving profiles (only for Win95 and WinNT)<br />
<br />
#        %L substitutes for this servers netbios name, %U is username<br />
<br />
#        You must uncomment the [Profiles] share below<br />
<br />
;   logon path = \\%L\Profiles\%U<br />
<br />
 <br />
<br />
# Windows Internet Name Serving Support Section:<br />
<br />
# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server<br />
<br />
;   wins support = yes<br />
<br />
 <br />
<br />
# WINS Server - Tells the NMBD components of Samba to be a WINS Client<br />
<br />
#       Note: Samba can be either a WINS Server, or a WINS Client, but NOT both<br />
<br />
;   wins server = w.x.y.z<br />
<br />
 <br />
<br />
# WINS Proxy - Tells Samba to answer name resolution queries on<br />
<br />
# behalf of a non WINS capable client, for this to work there must be<br />
<br />
# at least one  WINS Server on the network. The default is NO.<br />
<br />
;       wins proxy = no<br />
<br />
 <br />
<br />
# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names<br />
<br />
# via DNS nslookups. The default is NO.<br />
<br />
        dns proxy = no<br />
<br />
 <br />
<br />
# These scripts are used on a domain controller or stand-alone<br />
<br />
# machine to add or delete corresponding unix accounts<br />
<br />
;  add user script = /usr/sbin/useradd %u<br />
<br />
;  add group script = /usr/sbin/groupadd %g<br />
<br />
;  add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u<br />
<br />
;  delete user script = /usr/sbin/userdel %u<br />
<br />
;  delete user from group script = /usr/sbin/deluser %u %g<br />
<br />
;  delete group script = /usr/sbin/groupdel %g<br />
<br />
        idmap uid = 10000-20000<br />
<br />
        idmap gid = 10000-20000<br />
<br />
        winbind enum users = yes<br />
<br />
        winbind enum groups = yes<br />
<br />
        winbind use default domain = yes<br />
<br />
        template homedir = /home/%U<br />
<br />
        template shell = /bin/bash<br />
<br />
;       encrypt passwords = yes<br />
<br />
--------------------------------------------------------------------------------------------<br />
<br />
nssswitch.conf<br />
<br />
passwd:     compat winbind<br />
<br />
shadow:     files<br />
<br />
group:      compat winbind<br />
<br />
-----------------------------------------------------------------------------<br />
<br />
login<br />
<br />
#%PAM-1.0<br />
<br />
auth [user_unknown=ignore success=ok ignore=ignore default=bad] pam_securetty.so<br />
<br />
auth       include      system-auth<br />
<br />
account    required     pam_nologin.so<br />
<br />
account    include      system-auth<br />
<br />
password   include      system-auth<br />
<br />
account    required     pam_winbind.so<br />
<br />
# pam_selinux.so close should be the first session rule<br />
<br />
session    required     pam_mkhomedir.so skel=/etc/skel umask=002<br />
<br />
session    required     pam_selinux.so close<br />
<br />
session    include      system-auth<br />
<br />
session    required     pam_loginuid.so<br />
<br />
session    optional     pam_console.so<br />
<br />
# pam_selinux.so open should only be followed by sessions to be executed in the user context<br />
<br />
session    required     pam_selinux.so open<br />
<br />
session    optional     pam_keyinit.so force revoke<br />
<br />
---------------------------------------------------------------------------<br />
<br />
system_auth<br />
<br />
 <br />
<br />
#%PAM-1.0<br />
<br />
# This file is auto-generated.<br />
<br />
# User changes will be destroyed the next time authconfig is run.<br />
<br />
auth        required      pam_env.so<br />
<br />
auth        sufficient    pam_unix.so nullok try_first_pass<br />
<br />
auth        requisite     pam_succeed_if.so uid &gt;= 500 quiet<br />
<br />
auth        required      pam_deny.so<br />
<br />
 <br />
<br />
account     required      pam_unix.so<br />
<br />
account     sufficient    pam_succeed_if.so uid &lt; 500 quiet<br />
<br />
account     required      pam_permit.so<br />
<br />
 <br />
<br />
password    requisite     pam_cracklib.so try_first_pass retry=3<br />
<br />
password    sufficient    pam_unix.so md5 shadow nullok try_first_pass use_authtok<br />
<br />
password    required      pam_deny.so<br />
<br />
 <br />
<br />
session     optional      pam_keyinit.so revoke<br />
<br />
session     required      pam_limits.so<br />
<br />
session     [success=1 default=ignore] pam_succeed_if.so service in crond quiet use_uid<br />
<br />
session     required      pam_unix.so<br />
<br />
---------------------------------------------------------------------------<br />
<br />
wbinfo -u shows all the domain user as<br />
<br />
administrator <br />
<br />
not <br />
<br />
CENTRALadministrator<br />
<br />
 <br />
<br />
getent passswd shows all the doamin user.<br />
<br />
 <br />
<br />
please help me to solve the prob whrere i am worng so i can log samba server using domain user<br />
<br />
 <br />
<br />
thanks in advance.<br />
<br />
]]></description>
			<content:encoded><![CDATA[<br />
Sir<br />
<br />
 <br />
<br />
i am using centos 5. i tried to configure samba server login using windows domain user. may be i was worng in any  file . <br />
<br />
my windows domain server= data-server.central.edu (192.168.100.100)<br />
<br />
samba server=telnet (192.168.100.167)<br />
<br />
my krb5.conf<br />
<br />
[logging]<br />
<br />
 default = FILE:/var/log/krb5libs.log<br />
<br />
 kdc = FILE:/var/log/krb5kdc.log<br />
<br />
 admin_server = FILE:/var/log/kadmind.log<br />
<br />
 <br />
<br />
[libdefaults]<br />
<br />
 default_realm = CENTRAL.EDU<br />
<br />
 default_tkt_enctypes = des3-hmac-sha1 des-cbc-crc<br />
<br />
 default_tgs_enctypes = des3-hmac-sha1 des-cbc-crc<br />
<br />
 <br />
<br />
[realms]<br />
<br />
 CENTRAL.EDU = {<br />
<br />
  kdc = data-server.central.edu<br />
<br />
  default_domain = central.edu<br />
<br />
 }<br />
<br />
 <br />
<br />
[domain_realm]<br />
<br />
 .central.edu = CENTRAL.EDU<br />
<br />
 central.edu = CENTRAL.EDU<br />
<br />
 <br />
<br />
[kdc]<br />
<br />
 profile = /var/kerberos/krb5kdc/kdc.conf<br />
<br />
----------------------------------------------------------------------------------<br />
<br />
smb.conf<br />
<br />
 <br />
<br />
#======================= Global Settings =====================================<br />
<br />
[global]<br />
<br />
 <br />
<br />
# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH<br />
<br />
        workgroup = CENTRAL<br />
<br />
 <br />
<br />
# server string is the equivalent of the NT Description field<br />
<br />
        server string = Samba Server<br />
<br />
 <br />
<br />
# Security mode. Defines in which mode Samba will operate. Possible<br />
<br />
# values are share, user, server, domain and ads. Most people will want<br />
<br />
# user level security. See the Samba-HOWTO-Collection for details.<br />
<br />
        security = ADS<br />
<br />
 <br />
<br />
# This option is important for security. It allows you to restrict<br />
<br />
# connections to machines which are on your local network. The<br />
<br />
# following example restricts access to two C class networks and<br />
<br />
# the "loopback" interface. For more examples of the syntax see<br />
<br />
# the smb.conf man page<br />
<br />
;   hosts allow = 192.168.1. 192.168.2. 127.<br />
<br />
 <br />
<br />
# If you want to automatically load your printer list rather<br />
<br />
# than setting them up individually then you'll need this<br />
<br />
;       load printers = yes<br />
<br />
 <br />
<br />
# you may wish to override the location of the printcap file<br />
<br />
;   printcap name = /etc/printcap<br />
<br />
 <br />
<br />
# on SystemV system setting printcap name to lpstat should allow<br />
<br />
# you to automatically obtain a printer list from the SystemV spool<br />
<br />
# system<br />
<br />
;   printcap name = lpstat<br />
<br />
 <br />
<br />
# It should not be necessary to specify the print system type unless<br />
<br />
# it is non-standard. Currently supported print systems include:<br />
<br />
# bsd, cups, sysv, plp, lprng, aix, hpux, qnx<br />
<br />
;   printing = cups<br />
<br />
 <br />
<br />
# This option tells cups that the data has already been rasterized<br />
<br />
        cups options = raw<br />
<br />
 <br />
<br />
# Uncomment this if you want a guest account, you must add this to /etc/passwd<br />
<br />
# otherwise the user "nobody" is used<br />
<br />
;  guest account = pcguest<br />
<br />
 <br />
<br />
# this tells Samba to use a separate log file for each machine<br />
<br />
# that connects<br />
<br />
        log file = /var/log/samba/%m.log<br />
<br />
 <br />
<br />
# Put a capping on the size of the log files (in Kb).<br />
<br />
        max log size = 50<br />
<br />
 <br />
<br />
# Use password server option only with security = server<br />
<br />
# The argument list may include:<br />
<br />
#   password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]<br />
<br />
# or to auto-locate the domain controller/s<br />
<br />
#   password server = *<br />
<br />
        password server = data-server.central.edu<br />
<br />
 <br />
<br />
# Use the realm option only with security = ads<br />
<br />
# Specifies the Active Directory realm the host is part of<br />
<br />
        realm = CENTRAL.EDU<br />
<br />
 <br />
<br />
# Backend to store user information in. New installations should<br />
<br />
# use either tdbsam or ldapsam. smbpasswd is available for backwards<br />
<br />
# compatibility. tdbsam requires no further configuration.<br />
<br />
;   passdb backend = tdbsam<br />
<br />
 <br />
<br />
# Using the following line enables you to customise your configuration<br />
<br />
# on a per machine basis. The %m gets replaced with the netbios name<br />
<br />
# of the machine that is connecting.<br />
<br />
# Note: Consider carefully the location in the configuration file of<br />
<br />
#       this line.  The included file is read at that point.<br />
<br />
;   include = /usr/local/samba/lib/smb.conf.%m<br />
<br />
 <br />
<br />
# Configure Samba to use multiple interfaces<br />
<br />
# If you have multiple network interfaces then you must list them<br />
<br />
# here. See the man page for details.<br />
<br />
;   interfaces = 192.168.12.2/24 192.168.13.2/24<br />
<br />
 <br />
<br />
# Browser Control Options:<br />
<br />
# set local master to no if you don't want Samba to become a master<br />
<br />
# browser on your network. Otherwise the normal election rules apply<br />
<br />
        local master = no<br />
<br />
 <br />
<br />
# OS Level determines the precedence of this server in master browser<br />
<br />
# elections. The default value should be reasonable<br />
<br />
;   os level = 33<br />
<br />
 <br />
<br />
# Domain Master specifies Samba to be the Domain Master Browser. This<br />
<br />
# allows Samba to collate browse lists between subnets. Don't use this<br />
<br />
# if you already have a Windows NT domain controller doing this job<br />
<br />
;   domain master = yes<br />
<br />
 <br />
<br />
# Preferred Master causes Samba to force a local browser election on startup<br />
<br />
# and gives it a slightly higher chance of winning the election<br />
<br />
        preferred master = no<br />
<br />
 <br />
<br />
# Enable this if you want Samba to be a domain logon server for<br />
<br />
# Windows95 workstations.<br />
<br />
;   domain logons = yes<br />
<br />
 <br />
<br />
# if you enable domain logons then you may want a per-machine or<br />
<br />
# per user logon script<br />
<br />
# run a specific logon batch file per workstation (machine)<br />
<br />
;   logon script = %m.bat<br />
<br />
# run a specific logon batch file per username<br />
<br />
;   logon script = %U.bat<br />
<br />
 <br />
<br />
# Where to store roving profiles (only for Win95 and WinNT)<br />
<br />
#        %L substitutes for this servers netbios name, %U is username<br />
<br />
#        You must uncomment the [Profiles] share below<br />
<br />
;   logon path = \\%L\Profiles\%U<br />
<br />
 <br />
<br />
# Windows Internet Name Serving Support Section:<br />
<br />
# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server<br />
<br />
;   wins support = yes<br />
<br />
 <br />
<br />
# WINS Server - Tells the NMBD components of Samba to be a WINS Client<br />
<br />
#       Note: Samba can be either a WINS Server, or a WINS Client, but NOT both<br />
<br />
;   wins server = w.x.y.z<br />
<br />
 <br />
<br />
# WINS Proxy - Tells Samba to answer name resolution queries on<br />
<br />
# behalf of a non WINS capable client, for this to work there must be<br />
<br />
# at least one  WINS Server on the network. The default is NO.<br />
<br />
;       wins proxy = no<br />
<br />
 <br />
<br />
# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names<br />
<br />
# via DNS nslookups. The default is NO.<br />
<br />
        dns proxy = no<br />
<br />
 <br />
<br />
# These scripts are used on a domain controller or stand-alone<br />
<br />
# machine to add or delete corresponding unix accounts<br />
<br />
;  add user script = /usr/sbin/useradd %u<br />
<br />
;  add group script = /usr/sbin/groupadd %g<br />
<br />
;  add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u<br />
<br />
;  delete user script = /usr/sbin/userdel %u<br />
<br />
;  delete user from group script = /usr/sbin/deluser %u %g<br />
<br />
;  delete group script = /usr/sbin/groupdel %g<br />
<br />
        idmap uid = 10000-20000<br />
<br />
        idmap gid = 10000-20000<br />
<br />
        winbind enum users = yes<br />
<br />
        winbind enum groups = yes<br />
<br />
        winbind use default domain = yes<br />
<br />
        template homedir = /home/%U<br />
<br />
        template shell = /bin/bash<br />
<br />
;       encrypt passwords = yes<br />
<br />
--------------------------------------------------------------------------------------------<br />
<br />
nssswitch.conf<br />
<br />
passwd:     compat winbind<br />
<br />
shadow:     files<br />
<br />
group:      compat winbind<br />
<br />
-----------------------------------------------------------------------------<br />
<br />
login<br />
<br />
#%PAM-1.0<br />
<br />
auth [user_unknown=ignore success=ok ignore=ignore default=bad] pam_securetty.so<br />
<br />
auth       include      system-auth<br />
<br />
account    required     pam_nologin.so<br />
<br />
account    include      system-auth<br />
<br />
password   include      system-auth<br />
<br />
account    required     pam_winbind.so<br />
<br />
# pam_selinux.so close should be the first session rule<br />
<br />
session    required     pam_mkhomedir.so skel=/etc/skel umask=002<br />
<br />
session    required     pam_selinux.so close<br />
<br />
session    include      system-auth<br />
<br />
session    required     pam_loginuid.so<br />
<br />
session    optional     pam_console.so<br />
<br />
# pam_selinux.so open should only be followed by sessions to be executed in the user context<br />
<br />
session    required     pam_selinux.so open<br />
<br />
session    optional     pam_keyinit.so force revoke<br />
<br />
---------------------------------------------------------------------------<br />
<br />
system_auth<br />
<br />
 <br />
<br />
#%PAM-1.0<br />
<br />
# This file is auto-generated.<br />
<br />
# User changes will be destroyed the next time authconfig is run.<br />
<br />
auth        required      pam_env.so<br />
<br />
auth        sufficient    pam_unix.so nullok try_first_pass<br />
<br />
auth        requisite     pam_succeed_if.so uid &gt;= 500 quiet<br />
<br />
auth        required      pam_deny.so<br />
<br />
 <br />
<br />
account     required      pam_unix.so<br />
<br />
account     sufficient    pam_succeed_if.so uid &lt; 500 quiet<br />
<br />
account     required      pam_permit.so<br />
<br />
 <br />
<br />
password    requisite     pam_cracklib.so try_first_pass retry=3<br />
<br />
password    sufficient    pam_unix.so md5 shadow nullok try_first_pass use_authtok<br />
<br />
password    required      pam_deny.so<br />
<br />
 <br />
<br />
session     optional      pam_keyinit.so revoke<br />
<br />
session     required      pam_limits.so<br />
<br />
session     [success=1 default=ignore] pam_succeed_if.so service in crond quiet use_uid<br />
<br />
session     required      pam_unix.so<br />
<br />
---------------------------------------------------------------------------<br />
<br />
wbinfo -u shows all the domain user as<br />
<br />
administrator <br />
<br />
not <br />
<br />
CENTRALadministrator<br />
<br />
 <br />
<br />
getent passswd shows all the doamin user.<br />
<br />
 <br />
<br />
please help me to solve the prob whrere i am worng so i can log samba server using domain user<br />
<br />
 <br />
<br />
thanks in advance.<br />
<br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[cant access shared files on centos 5.2]]></title>
			<link>https://www.linux-noob.com/forums/thread-861.html</link>
			<pubDate>Mon, 18 Aug 2008 12:56:41 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://www.linux-noob.com/forums/member.php?action=profile&uid=2990">zeus-dice</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.linux-noob.com/forums/thread-861.html</guid>
			<description><![CDATA[<br />
Good Day All <br />
<br />
 <br />
<br />
Can any one please help me. <br />
<br />
 <br />
<br />
I have installed centos 5. to my workgrouop. I then sreate users in centos and made the usename and passwords same as the windows machines. I then added the users to samba. <br />
<br />
Now the tricky part comes in. I create to shared folders 1. backup and 2. test. In the sambe configuration i selected each directory to share and selected every one. (nb:because i can see see the users to select access to it seems that there is a bug in samba) .<br />
<br />
 <br />
<br />
On my windows machines i can see the centos machine. When i click on it it asks for a user name and password which i enter. I then can see the two files shared and a printer file. When ever i select on tho shared files i get a error <br />
<br />
"windows cannot access \\gonowsa\backup check the spelling of the name. Otherwise, there might be a problem with your network, To try to identify and resolve network problems, click Diagnose" The only file that i can access is the printer one. I have tried every thing and just can come right <br />
<br />
 <br />
<br />
This is my smb.conf file <br />
<br />
 <br />
<br />
# This is the main Samba configuration file. You should read the<br />
<br />
# smb.conf(5) manual page in order to understand the options listed<br />
<br />
# here. Samba has a huge number of configurable options (perhaps too<br />
<br />
# many!) most of which are not shown in this example<br />
<br />
#<br />
<br />
# For a step to step guide on installing, configuring and using samba,<br />
<br />
# read the Samba-HOWTO-Collection. This may be obtained from:<br />
<br />
#  <a href="http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf" target="_blank" rel="noopener" class="mycode_url">http://www.samba.org/samba/docs/Samba-HO...ection.pdf</a><br />
<br />
#<br />
<br />
# Many working examples of smb.conf files can be found in the<br />
<br />
# Samba-Guide which is generated daily and can be downloaded from:<br />
<br />
#  <a href="http://www.samba.org/samba/docs/Samba-Guide.pdf" target="_blank" rel="noopener" class="mycode_url">http://www.samba.org/samba/docs/Samba-Guide.pdf</a><br />
<br />
#<br />
<br />
# Any line which starts with a ; (semi-colon) or a # (hash)<br />
<br />
# is a comment and is ignored. In this example we will use a #<br />
<br />
# for commentry and a ; for parts of the config file that you<br />
<br />
# may wish to enable<br />
<br />
#<br />
<br />
# NOTE: Whenever you modify this file you should run the command "testparm"<br />
<br />
# to check that you have not made any basic syntactic errors.<br />
<br />
#<br />
<br />
#---------------<br />
<br />
# SELINUX NOTES:<br />
<br />
#<br />
<br />
# If you want to use the useradd/groupadd family of binaries please run:<br />
<br />
# setsebool -P samba_domain_controller on<br />
<br />
#<br />
<br />
# If you want to share home directories via samba please run:<br />
<br />
# setsebool -P samba_enable_home_dirs on<br />
<br />
#<br />
<br />
# If you create a new directory you want to share you should mark it as<br />
<br />
# "samba-share_t" so that selinux will let you write into it.<br />
<br />
# Make sure not to do that on system directories as they may already have<br />
<br />
# been marked with othe SELinux labels.<br />
<br />
#<br />
<br />
# Use ls -ldZ /path to see which context a directory has<br />
<br />
#<br />
<br />
# Set labels only on directories you created!<br />
<br />
# To set a label use the following: chcon -t samba_share_t /path<br />
<br />
#<br />
<br />
# If you need to share a system created directory you can use one of the<br />
<br />
# following (read-only/read-write):<br />
<br />
# setsebool -P samba_export_all_ro on<br />
<br />
# or<br />
<br />
# setsebool -P samba_export_all_rw on<br />
<br />
#<br />
<br />
# If you want to run scripts (preexec/root prexec/print command/...) please<br />
<br />
# put them into the /var/lib/samba/scripts directory so that smbd will be<br />
<br />
# allowed to run them.<br />
<br />
# Make sure you COPY them and not MOVE them so that the right SELinux context<br />
<br />
# is applied, to check all is ok use restorecon -R -v /var/lib/samba/scripts<br />
<br />
#<br />
<br />
#--------------<br />
<br />
#<br />
<br />
#======================= Global Settings =====================================<br />
<br />
 <br />
<br />
[global]<br />
<br />
 <br />
<br />
# ----------------------- Network Related Options -------------------------<br />
<br />
#<br />
<br />
# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH<br />
<br />
#<br />
<br />
# server string is the equivalent of the NT Description field<br />
<br />
#<br />
<br />
# netbios name can be used to specify a server name not tied to the hostname<br />
<br />
#<br />
<br />
# Interfaces lets you configure Samba to use multiple interfaces<br />
<br />
# If you have multiple network interfaces then you can list the ones<br />
<br />
# you want to listen on (never omit localhost)<br />
<br />
#<br />
<br />
# Hosts Allow/Hosts Deny lets you restrict who can connect, and you can<br />
<br />
# specifiy it as a per share option as well<br />
<br />
#<br />
<br />
;	workgroup = workgroup<br />
<br />
	server string = gonow sa back up<br />
<br />
 <br />
<br />
;	netbios name = MYSERVER<br />
<br />
 <br />
<br />
;	interfaces = lo eth0 192.168.1.2/24 192.168.13.2/24<br />
<br />
;	hosts allow = 127. 192.168.1.0/24 192.168.1.24/48<br />
<br />
 <br />
<br />
# --------------------------- Logging Options -----------------------------<br />
<br />
#<br />
<br />
# Log File let you specify where to put logs and how to split them up.<br />
<br />
#<br />
<br />
# Max Log Size let you specify the max size log files should reach<br />
<br />
 <br />
<br />
# logs split per machine<br />
<br />
;	log file = /var/log/samba/%m.log<br />
<br />
# max 50KB per log file, then rotate<br />
<br />
;	max log size = 50<br />
<br />
 <br />
<br />
# ----------------------- Standalone Server Options ------------------------<br />
<br />
#<br />
<br />
# Security can be set to user, share(deprecated) or server(deprecated)<br />
<br />
#<br />
<br />
# Backend to store user information in. New installations should<br />
<br />
# use either tdbsam or ldapsam. smbpasswd is available for backwards<br />
<br />
# compatibility. tdbsam requires no further configuration.<br />
<br />
 <br />
<br />
;	security = user<br />
<br />
	passdb backend = tdbsam<br />
<br />
 <br />
<br />
 <br />
<br />
# ----------------------- Domain Members Options ------------------------<br />
<br />
#<br />
<br />
# Security must be set to domain or ads<br />
<br />
#<br />
<br />
# Use the realm option only with security = ads<br />
<br />
# Specifies the Active Directory realm the host is part of<br />
<br />
#<br />
<br />
# Backend to store user information in. New installations should<br />
<br />
# use either tdbsam or ldapsam. smbpasswd is available for backwards<br />
<br />
# compatibility. tdbsam requires no further configuration.<br />
<br />
#<br />
<br />
# Use password server option only with security = server or if you can't<br />
<br />
# use the DNS to locate Domain Controllers<br />
<br />
# The argument list may include:<br />
<br />
#   password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]<br />
<br />
# or to auto-locate the domain controller/s<br />
<br />
#   password server = *<br />
<br />
 <br />
<br />
 <br />
<br />
;	security = domain<br />
<br />
;	passdb backend = tdbsam<br />
<br />
;	realm = MY_REALM<br />
<br />
 <br />
<br />
;	password server = &lt;NT-Server-Name&gt;<br />
<br />
 <br />
<br />
# ----------------------- Domain Controller Options ------------------------<br />
<br />
#<br />
<br />
# Security must be set to user for domain controllers<br />
<br />
#<br />
<br />
# Backend to store user information in. New installations should<br />
<br />
# use either tdbsam or ldapsam. smbpasswd is available for backwards<br />
<br />
# compatibility. tdbsam requires no further configuration.<br />
<br />
#<br />
<br />
# Domain Master specifies Samba to be the Domain Master Browser. This<br />
<br />
# allows Samba to collate browse lists between subnets. Don't use this<br />
<br />
# if you already have a Windows NT domain controller doing this job<br />
<br />
#<br />
<br />
# Domain Logons let Samba be a domain logon server for Windows workstations.<br />
<br />
#<br />
<br />
# Logon Scrpit let yuou specify a script to be run at login time on the client<br />
<br />
# You need to provide it in a share called NETLOGON<br />
<br />
#<br />
<br />
# Logon Path let you specify where user profiles are stored (UNC path)<br />
<br />
#<br />
<br />
# Various scripts can be used on a domain controller or stand-alone<br />
<br />
# machine to add or delete corresponding unix accounts<br />
<br />
#<br />
<br />
;	security = user<br />
<br />
;	passdb backend = tdbsam<br />
<br />
 <br />
<br />
;	domain master = yes<br />
<br />
;	domain logons = yes<br />
<br />
 <br />
<br />
# the login script name depends on the machine name<br />
<br />
;	logon script = %m.bat<br />
<br />
# the login script name depends on the unix user used<br />
<br />
;	logon script = %u.bat<br />
<br />
;	logon path = \\%L\Profiles\%u<br />
<br />
# disables profiles support by specifing an empty path<br />
<br />
;	logon path =<br />
<br />
 <br />
<br />
;	add user script = /usr/sbin/useradd "%u" -n -g users<br />
<br />
;	add group script = /usr/sbin/groupadd "%g"<br />
<br />
;	add machine script = /usr/sbin/useradd -n -c "Workstation (%u)" -M -d /nohome -s /bin/false "%u"<br />
<br />
;	delete user script = /usr/sbin/userdel "%u"<br />
<br />
;	delete user from group script = /usr/sbin/userdel "%u" "%g"<br />
<br />
;	delete group script = /usr/sbin/groupdel "%g"<br />
<br />
 <br />
<br />
 <br />
<br />
# ----------------------- Browser Control Options ----------------------------<br />
<br />
#<br />
<br />
# set local master to no if you don't want Samba to become a master<br />
<br />
# browser on your network. Otherwise the normal election rules apply<br />
<br />
#<br />
<br />
# OS Level determines the precedence of this server in master browser<br />
<br />
# elections. The default value should be reasonable<br />
<br />
#<br />
<br />
# Preferred Master causes Samba to force a local browser election on startup<br />
<br />
# and gives it a slightly higher chance of winning the election<br />
<br />
;	local master = no<br />
<br />
;	os level = 33<br />
<br />
;	preferred master = yes<br />
<br />
 <br />
<br />
#----------------------------- Name Resolution -------------------------------<br />
<br />
# Windows Internet Name Serving Support Section:<br />
<br />
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both<br />
<br />
#<br />
<br />
# - WINS Support: Tells the NMBD component of Samba to enable it's WINS Server<br />
<br />
#<br />
<br />
# - WINS Server: Tells the NMBD components of Samba to be a WINS Client<br />
<br />
#<br />
<br />
# - WINS Proxy: Tells Samba to answer name resolution queries on<br />
<br />
#   behalf of a non WINS capable client, for this to work there must be<br />
<br />
#   at least one	WINS Server on the network. The default is NO.<br />
<br />
#<br />
<br />
# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names<br />
<br />
# via DNS nslookups.<br />
<br />
 <br />
<br />
;	wins support = yes<br />
<br />
;	wins server = w.x.y.z<br />
<br />
;	wins proxy = yes<br />
<br />
 <br />
<br />
;	dns proxy = yes<br />
<br />
 <br />
<br />
# --------------------------- Printing Options -----------------------------<br />
<br />
#<br />
<br />
# Load Printers let you load automatically the list of printers rather<br />
<br />
# than setting them up individually<br />
<br />
#<br />
<br />
# Cups Options let you pass the cups libs custom options, setting it to raw<br />
<br />
# for example will let you use drivers on your Windows clients<br />
<br />
#<br />
<br />
# Printcap Name let you specify an alternative printcap file<br />
<br />
#<br />
<br />
# You can choose a non default printing system using the Printing option<br />
<br />
 <br />
<br />
;	load printers = yes<br />
<br />
	cups options = raw<br />
<br />
;	workgroup = workgroup<br />
<br />
;	encrypt passwords = yes<br />
<br />
;	guest ok = no<br />
<br />
;	guest account = nobody<br />
<br />
;	workgroup = WORKGROUP<br />
<br />
;	security = user<br />
<br />
;	workgroup = WORKGROUP<br />
<br />
;	workgroup = workgroup<br />
<br />
	security = share<br />
<br />
;	encrypt passwords = yes<br />
<br />
;	guest ok = no<br />
<br />
;	guest account = nobody<br />
<br />
;	workgroup = workgroup<br />
<br />
;	security = user<br />
<br />
;	encrypt passwords = yes<br />
<br />
;	guest ok = no<br />
<br />
;	guest account = nobody<br />
<br />
;	encrypt passwords = yes<br />
<br />
;	guest ok = no<br />
<br />
;	guest account = nobody<br />
<br />
;	encrypt passwords = yes<br />
<br />
;	guest ok = no<br />
<br />
;	guest account = nobody<br />
<br />
;	workgroup = workgroup<br />
<br />
;	security = user<br />
<br />
;	encrypt passwords = yes<br />
<br />
;	guest ok = no<br />
<br />
;	guest account = nobody<br />
<br />
;	workgroup = workgroup<br />
<br />
;	security = user<br />
<br />
;	encrypt passwords = yes<br />
<br />
;	guest ok = no<br />
<br />
;	guest account = nobody<br />
<br />
;	workgroup = workgroup<br />
<br />
;	security = user<br />
<br />
;	encrypt passwords = yes<br />
<br />
;	guest ok = no<br />
<br />
;	guest account = nobody<br />
<br />
;	encrypt passwords = yes<br />
<br />
;	guest ok = no<br />
<br />
;	guest account = nobody<br />
<br />
 <br />
<br />
;	printcap name = /etc/printcap<br />
<br />
#obtain list of printers automatically on SystemV<br />
<br />
;	printcap name = lpstat<br />
<br />
;	printing = cups<br />
<br />
 <br />
<br />
# --------------------------- Filesystem Options ---------------------------<br />
<br />
#<br />
<br />
# The following options can be uncommented if the filesystem supports<br />
<br />
# Extended Attributes and they are enabled (usually by the mount option<br />
<br />
# user_xattr). Thess options will let the admin store the DOS attributes<br />
<br />
# in an EA and make samba not mess with the permission bits.<br />
<br />
#<br />
<br />
# Note: these options can also be set just per share, setting them in global<br />
<br />
# makes them the default for all shares<br />
<br />
 <br />
<br />
;	map archive = no<br />
<br />
;	map hidden = no<br />
<br />
;	map read only = no<br />
<br />
;	map system = no<br />
<br />
;	store dos attributes = yes<br />
<br />
 <br />
<br />
 <br />
<br />
#============================ Share Definitions ==============================<br />
<br />
 <br />
<br />
[homes]<br />
<br />
	comment = Home Directories<br />
<br />
	browseable = no<br />
<br />
	writeable = yes<br />
<br />
;	valid users = %S<br />
<br />
;	valid users = MYDOMAIN\%S<br />
<br />
 <br />
<br />
[printers]<br />
<br />
	comment = All Printers<br />
<br />
	path = /var/spool/samba<br />
<br />
	browseable = no<br />
<br />
;	guest ok = no<br />
<br />
;	writeable = no<br />
<br />
	printable = yes<br />
<br />
 <br />
<br />
# Un-comment the following and create the netlogon directory for Domain Logons<br />
<br />
;	[netlogon]<br />
<br />
;	comment = Network Logon Service<br />
<br />
;	path = /var/lib/samba/netlogon<br />
<br />
;	guest ok = yes<br />
<br />
;	writable = no<br />
<br />
;	share modes = no<br />
<br />
 <br />
<br />
 <br />
<br />
# Un-comment the following to provide a specific roving profile share<br />
<br />
# the default is to use the user's home directory<br />
<br />
;	[Profiles]<br />
<br />
;	path = /var/lib/samba/profiles<br />
<br />
;	browseable = no<br />
<br />
;	guest ok = yes<br />
<br />
 <br />
<br />
 <br />
<br />
# A publicly accessible directory, but read only, except for people in<br />
<br />
# the "staff" group<br />
<br />
;	[public]<br />
<br />
;	comment = Public Stuff<br />
<br />
;	path = /home/samba<br />
<br />
;	public = yes<br />
<br />
;	writable = yes<br />
<br />
;	printable = no<br />
<br />
;	write list = +staff<br />
<br />
 <br />
<br />
[test]<br />
<br />
	path = /home/michelle/Desktop/test<br />
<br />
	writeable = yes<br />
<br />
;	browseable = yes<br />
<br />
	guest ok = yes<br />
<br />
	comment = test<br />
<br />
;	browseable = yes<br />
<br />
;	browseable = yes<br />
<br />
 <br />
<br />
 <br />
<br />
[back up]<br />
<br />
	path = /home/gonowsa/Desktop<br />
<br />
	writeable = yes<br />
<br />
;	browseable = yes<br />
<br />
	guest ok = no<br />
<br />
	browseable = yes<br />
<br />
 <br />
<br />
 <br />
<br />
as you can see the last two foldes are test and backup, should i add something here to maybe make it accesseble? Please advise<br />
<br />
 <br />
<br />
Regards <br />
<br />
Riaz Yussub<br />
<br />
]]></description>
			<content:encoded><![CDATA[<br />
Good Day All <br />
<br />
 <br />
<br />
Can any one please help me. <br />
<br />
 <br />
<br />
I have installed centos 5. to my workgrouop. I then sreate users in centos and made the usename and passwords same as the windows machines. I then added the users to samba. <br />
<br />
Now the tricky part comes in. I create to shared folders 1. backup and 2. test. In the sambe configuration i selected each directory to share and selected every one. (nb:because i can see see the users to select access to it seems that there is a bug in samba) .<br />
<br />
 <br />
<br />
On my windows machines i can see the centos machine. When i click on it it asks for a user name and password which i enter. I then can see the two files shared and a printer file. When ever i select on tho shared files i get a error <br />
<br />
"windows cannot access \\gonowsa\backup check the spelling of the name. Otherwise, there might be a problem with your network, To try to identify and resolve network problems, click Diagnose" The only file that i can access is the printer one. I have tried every thing and just can come right <br />
<br />
 <br />
<br />
This is my smb.conf file <br />
<br />
 <br />
<br />
# This is the main Samba configuration file. You should read the<br />
<br />
# smb.conf(5) manual page in order to understand the options listed<br />
<br />
# here. Samba has a huge number of configurable options (perhaps too<br />
<br />
# many!) most of which are not shown in this example<br />
<br />
#<br />
<br />
# For a step to step guide on installing, configuring and using samba,<br />
<br />
# read the Samba-HOWTO-Collection. This may be obtained from:<br />
<br />
#  <a href="http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf" target="_blank" rel="noopener" class="mycode_url">http://www.samba.org/samba/docs/Samba-HO...ection.pdf</a><br />
<br />
#<br />
<br />
# Many working examples of smb.conf files can be found in the<br />
<br />
# Samba-Guide which is generated daily and can be downloaded from:<br />
<br />
#  <a href="http://www.samba.org/samba/docs/Samba-Guide.pdf" target="_blank" rel="noopener" class="mycode_url">http://www.samba.org/samba/docs/Samba-Guide.pdf</a><br />
<br />
#<br />
<br />
# Any line which starts with a ; (semi-colon) or a # (hash)<br />
<br />
# is a comment and is ignored. In this example we will use a #<br />
<br />
# for commentry and a ; for parts of the config file that you<br />
<br />
# may wish to enable<br />
<br />
#<br />
<br />
# NOTE: Whenever you modify this file you should run the command "testparm"<br />
<br />
# to check that you have not made any basic syntactic errors.<br />
<br />
#<br />
<br />
#---------------<br />
<br />
# SELINUX NOTES:<br />
<br />
#<br />
<br />
# If you want to use the useradd/groupadd family of binaries please run:<br />
<br />
# setsebool -P samba_domain_controller on<br />
<br />
#<br />
<br />
# If you want to share home directories via samba please run:<br />
<br />
# setsebool -P samba_enable_home_dirs on<br />
<br />
#<br />
<br />
# If you create a new directory you want to share you should mark it as<br />
<br />
# "samba-share_t" so that selinux will let you write into it.<br />
<br />
# Make sure not to do that on system directories as they may already have<br />
<br />
# been marked with othe SELinux labels.<br />
<br />
#<br />
<br />
# Use ls -ldZ /path to see which context a directory has<br />
<br />
#<br />
<br />
# Set labels only on directories you created!<br />
<br />
# To set a label use the following: chcon -t samba_share_t /path<br />
<br />
#<br />
<br />
# If you need to share a system created directory you can use one of the<br />
<br />
# following (read-only/read-write):<br />
<br />
# setsebool -P samba_export_all_ro on<br />
<br />
# or<br />
<br />
# setsebool -P samba_export_all_rw on<br />
<br />
#<br />
<br />
# If you want to run scripts (preexec/root prexec/print command/...) please<br />
<br />
# put them into the /var/lib/samba/scripts directory so that smbd will be<br />
<br />
# allowed to run them.<br />
<br />
# Make sure you COPY them and not MOVE them so that the right SELinux context<br />
<br />
# is applied, to check all is ok use restorecon -R -v /var/lib/samba/scripts<br />
<br />
#<br />
<br />
#--------------<br />
<br />
#<br />
<br />
#======================= Global Settings =====================================<br />
<br />
 <br />
<br />
[global]<br />
<br />
 <br />
<br />
# ----------------------- Network Related Options -------------------------<br />
<br />
#<br />
<br />
# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH<br />
<br />
#<br />
<br />
# server string is the equivalent of the NT Description field<br />
<br />
#<br />
<br />
# netbios name can be used to specify a server name not tied to the hostname<br />
<br />
#<br />
<br />
# Interfaces lets you configure Samba to use multiple interfaces<br />
<br />
# If you have multiple network interfaces then you can list the ones<br />
<br />
# you want to listen on (never omit localhost)<br />
<br />
#<br />
<br />
# Hosts Allow/Hosts Deny lets you restrict who can connect, and you can<br />
<br />
# specifiy it as a per share option as well<br />
<br />
#<br />
<br />
;	workgroup = workgroup<br />
<br />
	server string = gonow sa back up<br />
<br />
 <br />
<br />
;	netbios name = MYSERVER<br />
<br />
 <br />
<br />
;	interfaces = lo eth0 192.168.1.2/24 192.168.13.2/24<br />
<br />
;	hosts allow = 127. 192.168.1.0/24 192.168.1.24/48<br />
<br />
 <br />
<br />
# --------------------------- Logging Options -----------------------------<br />
<br />
#<br />
<br />
# Log File let you specify where to put logs and how to split them up.<br />
<br />
#<br />
<br />
# Max Log Size let you specify the max size log files should reach<br />
<br />
 <br />
<br />
# logs split per machine<br />
<br />
;	log file = /var/log/samba/%m.log<br />
<br />
# max 50KB per log file, then rotate<br />
<br />
;	max log size = 50<br />
<br />
 <br />
<br />
# ----------------------- Standalone Server Options ------------------------<br />
<br />
#<br />
<br />
# Security can be set to user, share(deprecated) or server(deprecated)<br />
<br />
#<br />
<br />
# Backend to store user information in. New installations should<br />
<br />
# use either tdbsam or ldapsam. smbpasswd is available for backwards<br />
<br />
# compatibility. tdbsam requires no further configuration.<br />
<br />
 <br />
<br />
;	security = user<br />
<br />
	passdb backend = tdbsam<br />
<br />
 <br />
<br />
 <br />
<br />
# ----------------------- Domain Members Options ------------------------<br />
<br />
#<br />
<br />
# Security must be set to domain or ads<br />
<br />
#<br />
<br />
# Use the realm option only with security = ads<br />
<br />
# Specifies the Active Directory realm the host is part of<br />
<br />
#<br />
<br />
# Backend to store user information in. New installations should<br />
<br />
# use either tdbsam or ldapsam. smbpasswd is available for backwards<br />
<br />
# compatibility. tdbsam requires no further configuration.<br />
<br />
#<br />
<br />
# Use password server option only with security = server or if you can't<br />
<br />
# use the DNS to locate Domain Controllers<br />
<br />
# The argument list may include:<br />
<br />
#   password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]<br />
<br />
# or to auto-locate the domain controller/s<br />
<br />
#   password server = *<br />
<br />
 <br />
<br />
 <br />
<br />
;	security = domain<br />
<br />
;	passdb backend = tdbsam<br />
<br />
;	realm = MY_REALM<br />
<br />
 <br />
<br />
;	password server = &lt;NT-Server-Name&gt;<br />
<br />
 <br />
<br />
# ----------------------- Domain Controller Options ------------------------<br />
<br />
#<br />
<br />
# Security must be set to user for domain controllers<br />
<br />
#<br />
<br />
# Backend to store user information in. New installations should<br />
<br />
# use either tdbsam or ldapsam. smbpasswd is available for backwards<br />
<br />
# compatibility. tdbsam requires no further configuration.<br />
<br />
#<br />
<br />
# Domain Master specifies Samba to be the Domain Master Browser. This<br />
<br />
# allows Samba to collate browse lists between subnets. Don't use this<br />
<br />
# if you already have a Windows NT domain controller doing this job<br />
<br />
#<br />
<br />
# Domain Logons let Samba be a domain logon server for Windows workstations.<br />
<br />
#<br />
<br />
# Logon Scrpit let yuou specify a script to be run at login time on the client<br />
<br />
# You need to provide it in a share called NETLOGON<br />
<br />
#<br />
<br />
# Logon Path let you specify where user profiles are stored (UNC path)<br />
<br />
#<br />
<br />
# Various scripts can be used on a domain controller or stand-alone<br />
<br />
# machine to add or delete corresponding unix accounts<br />
<br />
#<br />
<br />
;	security = user<br />
<br />
;	passdb backend = tdbsam<br />
<br />
 <br />
<br />
;	domain master = yes<br />
<br />
;	domain logons = yes<br />
<br />
 <br />
<br />
# the login script name depends on the machine name<br />
<br />
;	logon script = %m.bat<br />
<br />
# the login script name depends on the unix user used<br />
<br />
;	logon script = %u.bat<br />
<br />
;	logon path = \\%L\Profiles\%u<br />
<br />
# disables profiles support by specifing an empty path<br />
<br />
;	logon path =<br />
<br />
 <br />
<br />
;	add user script = /usr/sbin/useradd "%u" -n -g users<br />
<br />
;	add group script = /usr/sbin/groupadd "%g"<br />
<br />
;	add machine script = /usr/sbin/useradd -n -c "Workstation (%u)" -M -d /nohome -s /bin/false "%u"<br />
<br />
;	delete user script = /usr/sbin/userdel "%u"<br />
<br />
;	delete user from group script = /usr/sbin/userdel "%u" "%g"<br />
<br />
;	delete group script = /usr/sbin/groupdel "%g"<br />
<br />
 <br />
<br />
 <br />
<br />
# ----------------------- Browser Control Options ----------------------------<br />
<br />
#<br />
<br />
# set local master to no if you don't want Samba to become a master<br />
<br />
# browser on your network. Otherwise the normal election rules apply<br />
<br />
#<br />
<br />
# OS Level determines the precedence of this server in master browser<br />
<br />
# elections. The default value should be reasonable<br />
<br />
#<br />
<br />
# Preferred Master causes Samba to force a local browser election on startup<br />
<br />
# and gives it a slightly higher chance of winning the election<br />
<br />
;	local master = no<br />
<br />
;	os level = 33<br />
<br />
;	preferred master = yes<br />
<br />
 <br />
<br />
#----------------------------- Name Resolution -------------------------------<br />
<br />
# Windows Internet Name Serving Support Section:<br />
<br />
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both<br />
<br />
#<br />
<br />
# - WINS Support: Tells the NMBD component of Samba to enable it's WINS Server<br />
<br />
#<br />
<br />
# - WINS Server: Tells the NMBD components of Samba to be a WINS Client<br />
<br />
#<br />
<br />
# - WINS Proxy: Tells Samba to answer name resolution queries on<br />
<br />
#   behalf of a non WINS capable client, for this to work there must be<br />
<br />
#   at least one	WINS Server on the network. The default is NO.<br />
<br />
#<br />
<br />
# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names<br />
<br />
# via DNS nslookups.<br />
<br />
 <br />
<br />
;	wins support = yes<br />
<br />
;	wins server = w.x.y.z<br />
<br />
;	wins proxy = yes<br />
<br />
 <br />
<br />
;	dns proxy = yes<br />
<br />
 <br />
<br />
# --------------------------- Printing Options -----------------------------<br />
<br />
#<br />
<br />
# Load Printers let you load automatically the list of printers rather<br />
<br />
# than setting them up individually<br />
<br />
#<br />
<br />
# Cups Options let you pass the cups libs custom options, setting it to raw<br />
<br />
# for example will let you use drivers on your Windows clients<br />
<br />
#<br />
<br />
# Printcap Name let you specify an alternative printcap file<br />
<br />
#<br />
<br />
# You can choose a non default printing system using the Printing option<br />
<br />
 <br />
<br />
;	load printers = yes<br />
<br />
	cups options = raw<br />
<br />
;	workgroup = workgroup<br />
<br />
;	encrypt passwords = yes<br />
<br />
;	guest ok = no<br />
<br />
;	guest account = nobody<br />
<br />
;	workgroup = WORKGROUP<br />
<br />
;	security = user<br />
<br />
;	workgroup = WORKGROUP<br />
<br />
;	workgroup = workgroup<br />
<br />
	security = share<br />
<br />
;	encrypt passwords = yes<br />
<br />
;	guest ok = no<br />
<br />
;	guest account = nobody<br />
<br />
;	workgroup = workgroup<br />
<br />
;	security = user<br />
<br />
;	encrypt passwords = yes<br />
<br />
;	guest ok = no<br />
<br />
;	guest account = nobody<br />
<br />
;	encrypt passwords = yes<br />
<br />
;	guest ok = no<br />
<br />
;	guest account = nobody<br />
<br />
;	encrypt passwords = yes<br />
<br />
;	guest ok = no<br />
<br />
;	guest account = nobody<br />
<br />
;	workgroup = workgroup<br />
<br />
;	security = user<br />
<br />
;	encrypt passwords = yes<br />
<br />
;	guest ok = no<br />
<br />
;	guest account = nobody<br />
<br />
;	workgroup = workgroup<br />
<br />
;	security = user<br />
<br />
;	encrypt passwords = yes<br />
<br />
;	guest ok = no<br />
<br />
;	guest account = nobody<br />
<br />
;	workgroup = workgroup<br />
<br />
;	security = user<br />
<br />
;	encrypt passwords = yes<br />
<br />
;	guest ok = no<br />
<br />
;	guest account = nobody<br />
<br />
;	encrypt passwords = yes<br />
<br />
;	guest ok = no<br />
<br />
;	guest account = nobody<br />
<br />
 <br />
<br />
;	printcap name = /etc/printcap<br />
<br />
#obtain list of printers automatically on SystemV<br />
<br />
;	printcap name = lpstat<br />
<br />
;	printing = cups<br />
<br />
 <br />
<br />
# --------------------------- Filesystem Options ---------------------------<br />
<br />
#<br />
<br />
# The following options can be uncommented if the filesystem supports<br />
<br />
# Extended Attributes and they are enabled (usually by the mount option<br />
<br />
# user_xattr). Thess options will let the admin store the DOS attributes<br />
<br />
# in an EA and make samba not mess with the permission bits.<br />
<br />
#<br />
<br />
# Note: these options can also be set just per share, setting them in global<br />
<br />
# makes them the default for all shares<br />
<br />
 <br />
<br />
;	map archive = no<br />
<br />
;	map hidden = no<br />
<br />
;	map read only = no<br />
<br />
;	map system = no<br />
<br />
;	store dos attributes = yes<br />
<br />
 <br />
<br />
 <br />
<br />
#============================ Share Definitions ==============================<br />
<br />
 <br />
<br />
[homes]<br />
<br />
	comment = Home Directories<br />
<br />
	browseable = no<br />
<br />
	writeable = yes<br />
<br />
;	valid users = %S<br />
<br />
;	valid users = MYDOMAIN\%S<br />
<br />
 <br />
<br />
[printers]<br />
<br />
	comment = All Printers<br />
<br />
	path = /var/spool/samba<br />
<br />
	browseable = no<br />
<br />
;	guest ok = no<br />
<br />
;	writeable = no<br />
<br />
	printable = yes<br />
<br />
 <br />
<br />
# Un-comment the following and create the netlogon directory for Domain Logons<br />
<br />
;	[netlogon]<br />
<br />
;	comment = Network Logon Service<br />
<br />
;	path = /var/lib/samba/netlogon<br />
<br />
;	guest ok = yes<br />
<br />
;	writable = no<br />
<br />
;	share modes = no<br />
<br />
 <br />
<br />
 <br />
<br />
# Un-comment the following to provide a specific roving profile share<br />
<br />
# the default is to use the user's home directory<br />
<br />
;	[Profiles]<br />
<br />
;	path = /var/lib/samba/profiles<br />
<br />
;	browseable = no<br />
<br />
;	guest ok = yes<br />
<br />
 <br />
<br />
 <br />
<br />
# A publicly accessible directory, but read only, except for people in<br />
<br />
# the "staff" group<br />
<br />
;	[public]<br />
<br />
;	comment = Public Stuff<br />
<br />
;	path = /home/samba<br />
<br />
;	public = yes<br />
<br />
;	writable = yes<br />
<br />
;	printable = no<br />
<br />
;	write list = +staff<br />
<br />
 <br />
<br />
[test]<br />
<br />
	path = /home/michelle/Desktop/test<br />
<br />
	writeable = yes<br />
<br />
;	browseable = yes<br />
<br />
	guest ok = yes<br />
<br />
	comment = test<br />
<br />
;	browseable = yes<br />
<br />
;	browseable = yes<br />
<br />
 <br />
<br />
 <br />
<br />
[back up]<br />
<br />
	path = /home/gonowsa/Desktop<br />
<br />
	writeable = yes<br />
<br />
;	browseable = yes<br />
<br />
	guest ok = no<br />
<br />
	browseable = yes<br />
<br />
 <br />
<br />
 <br />
<br />
as you can see the last two foldes are test and backup, should i add something here to maybe make it accesseble? Please advise<br />
<br />
 <br />
<br />
Regards <br />
<br />
Riaz Yussub<br />
<br />
]]></content:encoded>
		</item>
	</channel>
</rss>