<?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/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Fetchmail and Sieve with Virtual Mail on Debian Etch</title>
	<atom:link href="http://maff.ailoo.net/2008/08/fetchmail-sieve-virtual-mail-debian-etch/feed/" rel="self" type="application/rss+xml" />
	<link>http://maff.ailoo.net/2008/08/fetchmail-sieve-virtual-mail-debian-etch/</link>
	<description>IT stuff and more</description>
	<lastBuildDate>Sat, 04 Sep 2010 22:57:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Stefano</title>
		<link>http://maff.ailoo.net/2008/08/fetchmail-sieve-virtual-mail-debian-etch/#comment-4079</link>
		<dc:creator>Stefano</dc:creator>
		<pubDate>Fri, 18 Jun 2010 20:16:19 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=273#comment-4079</guid>
		<description>Hi mathias,

thanks for your quick reply.
I don&#039;t know if the connection string is correct.. how can i check it?
I only know that dbuser, dbname, dbpass and other variables for connection are ok...</description>
		<content:encoded><![CDATA[<p>Hi mathias,</p>
<p>thanks for your quick reply.<br />
I don&#8217;t know if the connection string is correct.. how can i check it?<br />
I only know that dbuser, dbname, dbpass and other variables for connection are ok&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mathias</title>
		<link>http://maff.ailoo.net/2008/08/fetchmail-sieve-virtual-mail-debian-etch/#comment-4078</link>
		<dc:creator>Mathias</dc:creator>
		<pubDate>Fri, 18 Jun 2010 15:10:25 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=273#comment-4078</guid>
		<description>Hey Stefano,

yeah, the DB structure changed from the Etch to the Lenny ISPMail tutorial, so some changes in the db queries are necessary. I&#039;m still running this setup and didn&#039;t have time yet to write a follow-up tutorial.

To the script issue: it&#039;s using the standard PEAR_Db class, which should work fine, &lt;kbd&gt;db.inc.php&lt;/kbd&gt; is just a simple wrapper around the class. Are you sure your connection string is correct?

Regards,
Mathias</description>
		<content:encoded><![CDATA[<p>Hey Stefano,</p>
<p>yeah, the DB structure changed from the Etch to the Lenny ISPMail tutorial, so some changes in the db queries are necessary. I&#8217;m still running this setup and didn&#8217;t have time yet to write a follow-up tutorial.</p>
<p>To the script issue: it&#8217;s using the standard PEAR_Db class, which should work fine, <kbd>db.inc.php</kbd> is just a simple wrapper around the class. Are you sure your connection string is correct?</p>
<p>Regards,<br />
Mathias</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefano</title>
		<link>http://maff.ailoo.net/2008/08/fetchmail-sieve-virtual-mail-debian-etch/#comment-4077</link>
		<dc:creator>Stefano</dc:creator>
		<pubDate>Fri, 18 Jun 2010 14:27:39 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=273#comment-4077</guid>
		<description>However, the script doesn&#039;t work :(

&lt;code&gt;
vmail@serverino:/home/stefano$ php /var/vmail/mailserverscripts/fetchmail.php 
PHP Fatal error:  Uncaught exception &#039;DB_DSN_Exception&#039; with message &#039;DB Error: connect failed&#039; in /var/vmail/mailserverscripts/db.inc.php:35
Stack trace:
#0 /var/vmail/mailserverscripts/db.inc.php(18): MailserverDB-&gt;__construct()
#1 /var/vmail/mailserverscripts/config.inc.php(14): MailserverDB::getInstance()
#2 /var/vmail/mailserverscripts/fetchmail.php(4): require_once(&#039;/var/vmail/mail...&#039;)
#3 {main}
  thrown in /var/vmail/mailserverscripts/db.inc.php on line 35
vmail@serverino:/home/stefano$
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>However, the script doesn&#8217;t work <img src='http://maff.ailoo.net/wp-includes/images/smilies/sad.gif' alt=':(' class='wp-smiley' /> </p>
<p><code><br />
vmail@serverino:/home/stefano$ php /var/vmail/mailserverscripts/fetchmail.php<br />
PHP Fatal error:  Uncaught exception 'DB_DSN_Exception' with message 'DB Error: connect failed' in /var/vmail/mailserverscripts/db.inc.php:35<br />
Stack trace:<br />
#0 /var/vmail/mailserverscripts/db.inc.php(18): MailserverDB-&gt;__construct()<br />
#1 /var/vmail/mailserverscripts/config.inc.php(14): MailserverDB::getInstance()<br />
#2 /var/vmail/mailserverscripts/fetchmail.php(4): require_once('/var/vmail/mail...')<br />
#3 {main}<br />
  thrown in /var/vmail/mailserverscripts/db.inc.php on line 35<br />
vmail@serverino:/home/stefano$<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefano</title>
		<link>http://maff.ailoo.net/2008/08/fetchmail-sieve-virtual-mail-debian-etch/#comment-4076</link>
		<dc:creator>Stefano</dc:creator>
		<pubDate>Fri, 18 Jun 2010 13:53:48 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=273#comment-4076</guid>
		<description>I&#039;m sorry.. the name of the table was workng... in the new tutorial it is &quot;email&quot; and not &quot;user&quot; anymore. So you only need to substitute the 
&quot;virtual_users.user,&quot; with &quot;virtual_users.&lt;b&gt;email&lt;/b&gt;,</description>
		<content:encoded><![CDATA[<p>I&#8217;m sorry.. the name of the table was workng&#8230; in the new tutorial it is &#8220;email&#8221; and not &#8220;user&#8221; anymore. So you only need to substitute the<br />
&#8220;virtual_users.user,&#8221; with &#8220;virtual_users.<b>email</b>,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefano</title>
		<link>http://maff.ailoo.net/2008/08/fetchmail-sieve-virtual-mail-debian-etch/#comment-4075</link>
		<dc:creator>Stefano</dc:creator>
		<pubDate>Fri, 18 Jun 2010 13:49:39 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=273#comment-4075</guid>
		<description>I&#039;m trying to install the script on a debian squeeze, but when i write the sql command VIEW for view_sieve, i have this error message:

ERROR 1054 (42S22): Unknown column &#039;virtual_users.user&#039; in &#039;field list&#039;

What&#039;s wrong?!?!</description>
		<content:encoded><![CDATA[<p>I&#8217;m trying to install the script on a debian squeeze, but when i write the sql command VIEW for view_sieve, i have this error message:</p>
<p>ERROR 1054 (42S22): Unknown column &#8216;virtual_users.user&#8217; in &#8216;field list&#8217;</p>
<p>What&#8217;s wrong?!?!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mathias</title>
		<link>http://maff.ailoo.net/2008/08/fetchmail-sieve-virtual-mail-debian-etch/#comment-4017</link>
		<dc:creator>Mathias</dc:creator>
		<pubDate>Thu, 15 Apr 2010 17:25:13 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=273#comment-4017</guid>
		<description>Alright, the SVN is up and running again.</description>
		<content:encoded><![CDATA[<p>Alright, the SVN is up and running again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mathias</title>
		<link>http://maff.ailoo.net/2008/08/fetchmail-sieve-virtual-mail-debian-etch/#comment-4016</link>
		<dc:creator>Mathias</dc:creator>
		<pubDate>Wed, 14 Apr 2010 16:48:10 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=273#comment-4016</guid>
		<description>Ah sorry i was playing around with the repository last weekend, didn&#039;t fix the permissions yet. I&#039;ll fix this soon.

Regards</description>
		<content:encoded><![CDATA[<p>Ah sorry i was playing around with the repository last weekend, didn&#8217;t fix the permissions yet. I&#8217;ll fix this soon.</p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: toni</title>
		<link>http://maff.ailoo.net/2008/08/fetchmail-sieve-virtual-mail-debian-etch/#comment-4015</link>
		<dc:creator>toni</dc:creator>
		<pubDate>Wed, 14 Apr 2010 11:51:48 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=273#comment-4015</guid>
		<description>i can&#039;t access the SVN repository.
it asks for username and pass.
pls help

toni</description>
		<content:encoded><![CDATA[<p>i can&#8217;t access the SVN repository.<br />
it asks for username and pass.<br />
pls help</p>
<p>toni</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andrew</title>
		<link>http://maff.ailoo.net/2008/08/fetchmail-sieve-virtual-mail-debian-etch/#comment-3902</link>
		<dc:creator>andrew</dc:creator>
		<pubDate>Mon, 25 Jan 2010 14:56:36 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=273#comment-3902</guid>
		<description>Thanks for your great tutor.
I am using this method for my server now and managing more than 10 accounts so far.

Recently, I found a problem when I try to use postfix as an smtp server in the same server.

Say, there are some email accounts below I am handling in this server:
andy@gmail.com
peter@gmail.com
mary@gmail.com

When I send email to andy@gmail.com via the smtp server in the same server, the email can reach immediately without going to gmail official server.

That&#039;s great with this kind of instand action.

However, when I send email, via the smtp server, to other account other than the account i manage in this server, say watermelon@gmail.com, I got an error message something like:
&quot;User unknown in virtual mailbox table.&quot;

If I send to watermelon@hotmail.com, there is no problem.


In my understand, after the setting, my server treat &quot;gmail.com&quot; is my own domain. For all the email sending via my server to gmail.com, it will directly deliver to the user in my server.

This make me headache.
At this moment, I am not able to send email via my server to any other friends&#039; gmail account.

Are there any way to solve this problem?</description>
		<content:encoded><![CDATA[<p>Thanks for your great tutor.<br />
I am using this method for my server now and managing more than 10 accounts so far.</p>
<p>Recently, I found a problem when I try to use postfix as an smtp server in the same server.</p>
<p>Say, there are some email accounts below I am handling in this server:<br />
<a href="mailto:andy@gmail.com">andy@gmail.com</a><br />
<a href="mailto:peter@gmail.com">peter@gmail.com</a><br />
<a href="mailto:mary@gmail.com">mary@gmail.com</a></p>
<p>When I send email to <a href="mailto:andy@gmail.com">andy@gmail.com</a> via the smtp server in the same server, the email can reach immediately without going to gmail official server.</p>
<p>That&#8217;s great with this kind of instand action.</p>
<p>However, when I send email, via the smtp server, to other account other than the account i manage in this server, say <a href="mailto:watermelon@gmail.com">watermelon@gmail.com</a>, I got an error message something like:<br />
&#8220;User unknown in virtual mailbox table.&#8221;</p>
<p>If I send to <a href="mailto:watermelon@hotmail.com">watermelon@hotmail.com</a>, there is no problem.</p>
<p>In my understand, after the setting, my server treat &#8220;gmail.com&#8221; is my own domain. For all the email sending via my server to gmail.com, it will directly deliver to the user in my server.</p>
<p>This make me headache.<br />
At this moment, I am not able to send email via my server to any other friends&#8217; gmail account.</p>
<p>Are there any way to solve this problem?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lennart</title>
		<link>http://maff.ailoo.net/2008/08/fetchmail-sieve-virtual-mail-debian-etch/#comment-3820</link>
		<dc:creator>Lennart</dc:creator>
		<pubDate>Wed, 30 Dec 2009 13:14:44 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=273#comment-3820</guid>
		<description>Great Tutorial Dude!

I was lookin&#039; for a fetchmail-mysql-backend, but your way is nice, too.

This made my day :-)</description>
		<content:encoded><![CDATA[<p>Great Tutorial Dude!</p>
<p>I was lookin&#8217; for a fetchmail-mysql-backend, but your way is nice, too.</p>
<p>This made my day :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mathias</title>
		<link>http://maff.ailoo.net/2008/08/fetchmail-sieve-virtual-mail-debian-etch/#comment-3811</link>
		<dc:creator>Mathias</dc:creator>
		<pubDate>Sun, 27 Dec 2009 09:28:36 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=273#comment-3811</guid>
		<description>It is possible, but (as you mentioned) the SQL schema has changed in the Lenny tutorial. I&#039;m still using the old schema on my Lenny server, so I can&#039;t really tell you what you have to change. However, the scripts used to generate the config files are quite simple, so you should be able to change them easily to match your setup. I guess the easiest solution would be to update the views used in this tutorial to reflect the new DB schema.

-- Mathias</description>
		<content:encoded><![CDATA[<p>It is possible, but (as you mentioned) the SQL schema has changed in the Lenny tutorial. I&#8217;m still using the old schema on my Lenny server, so I can&#8217;t really tell you what you have to change. However, the scripts used to generate the config files are quite simple, so you should be able to change them easily to match your setup. I guess the easiest solution would be to update the views used in this tutorial to reflect the new DB schema.</p>
<p>&#8211; Mathias</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TobyG</title>
		<link>http://maff.ailoo.net/2008/08/fetchmail-sieve-virtual-mail-debian-etch/#comment-3810</link>
		<dc:creator>TobyG</dc:creator>
		<pubDate>Sun, 27 Dec 2009 09:25:22 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=273#comment-3810</guid>
		<description>Sorry dude, I forgot what this post is about. good luck on that!</description>
		<content:encoded><![CDATA[<p>Sorry dude, I forgot what this post is about. good luck on that!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tobias</title>
		<link>http://maff.ailoo.net/2008/08/fetchmail-sieve-virtual-mail-debian-etch/#comment-3809</link>
		<dc:creator>Tobias</dc:creator>
		<pubDate>Sun, 27 Dec 2009 08:54:57 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=273#comment-3809</guid>
		<description>The problem isn&#039;t sieve ... I would like to fetch mails from internet server to my intranet server and then distribut it to local clients.

So I&#039; trying at the moment to use only the fetchmail options ;-)</description>
		<content:encoded><![CDATA[<p>The problem isn&#8217;t sieve &#8230; I would like to fetch mails from internet server to my intranet server and then distribut it to local clients.</p>
<p>So I&#8217; trying at the moment to use only the fetchmail options ;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TobyG</title>
		<link>http://maff.ailoo.net/2008/08/fetchmail-sieve-virtual-mail-debian-etch/#comment-3808</link>
		<dc:creator>TobyG</dc:creator>
		<pubDate>Sun, 27 Dec 2009 08:30:58 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=273#comment-3808</guid>
		<description>What for? I m not sure, but wasnt the problem with the etch setup, that the dovecot etch package had no sieve extension? I figure that should be changed by now in lenny.
I havent upgraded my server yet, so I cant really tell!</description>
		<content:encoded><![CDATA[<p>What for? I m not sure, but wasnt the problem with the etch setup, that the dovecot etch package had no sieve extension? I figure that should be changed by now in lenny.<br />
I havent upgraded my server yet, so I cant really tell!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tobias</title>
		<link>http://maff.ailoo.net/2008/08/fetchmail-sieve-virtual-mail-debian-etch/#comment-3807</link>
		<dc:creator>Tobias</dc:creator>
		<pubDate>Sun, 27 Dec 2009 08:11:03 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=273#comment-3807</guid>
		<description>Is it possible to use this setup with Debian Lenny? (For example the ISPmail lenny tutorial did not use the views like in the etch version ... and virtual_users.user did not exists - but I know that virtual_users.email is correct.)</description>
		<content:encoded><![CDATA[<p>Is it possible to use this setup with Debian Lenny? (For example the ISPmail lenny tutorial did not use the views like in the etch version &#8230; and virtual_users.user did not exists &#8211; but I know that virtual_users.email is correct.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hsw</title>
		<link>http://maff.ailoo.net/2008/08/fetchmail-sieve-virtual-mail-debian-etch/#comment-3499</link>
		<dc:creator>hsw</dc:creator>
		<pubDate>Fri, 11 Sep 2009 07:49:54 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=273#comment-3499</guid>
		<description>Ah, never mind. The problem was I initially run the php command using root, so perhaps that was why the .dovecot.sieve file was owned by root and not vmail.

So I deleted .dovecot.sieve and re-run the php commands under vmail and it works. No more error.

The last thing (I hope) that needed to be fixed is that spams are still being quarantined and not sieved to spam folder (as it was supposed to according to the ISP Mailserver&#039;s globalsieverc script... Any ideas?</description>
		<content:encoded><![CDATA[<p>Ah, never mind. The problem was I initially run the php command using root, so perhaps that was why the .dovecot.sieve file was owned by root and not vmail.</p>
<p>So I deleted .dovecot.sieve and re-run the php commands under vmail and it works. No more error.</p>
<p>The last thing (I hope) that needed to be fixed is that spams are still being quarantined and not sieved to spam folder (as it was supposed to according to the ISP Mailserver&#8217;s globalsieverc script&#8230; Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hsw</title>
		<link>http://maff.ailoo.net/2008/08/fetchmail-sieve-virtual-mail-debian-etch/#comment-3490</link>
		<dc:creator>hsw</dc:creator>
		<pubDate>Fri, 11 Sep 2009 05:46:52 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=273#comment-3490</guid>
		<description>Hi Again Mathias,

I&#039;m a bit thick when it comes to this linux thing (I&#039;ve been using linux for almost a year now)...

I&#039;m having issues with the permission of .dovecot.sieve that keeps being denied. I checked using &quot;ln -l&quot; and it says the file is owned by root. 
Should I change it? What should I change it to?

The fetchmail &amp; sieve cron is also generating permission error. I&#039;m getting these errors via email It says:

fopen(/home/vmail/mydomain/myuser/.dovecot.sieve): failed to open stream:
Permission denied in /home/vmail/mailserverscripts/sieve.php on line 37

fwrite(): supplied argument is not a valid stream resource in
/home/vmail/mailserverscripts/sieve.php on line 38

fclose(): supplied argument is not a valid stream resource in
/home/vmail/mailserverscripts/sieve.php on line 39

chmod(): Operation not permitted in /home/vmail/mailserverscripts/sieve.php
on line 41

Thanks so much for helping</description>
		<content:encoded><![CDATA[<p>Hi Again Mathias,</p>
<p>I&#8217;m a bit thick when it comes to this linux thing (I&#8217;ve been using linux for almost a year now)&#8230;</p>
<p>I&#8217;m having issues with the permission of .dovecot.sieve that keeps being denied. I checked using &#8220;ln -l&#8221; and it says the file is owned by root.<br />
Should I change it? What should I change it to?</p>
<p>The fetchmail &amp; sieve cron is also generating permission error. I&#8217;m getting these errors via email It says:</p>
<p>fopen(/home/vmail/mydomain/myuser/.dovecot.sieve): failed to open stream:<br />
Permission denied in /home/vmail/mailserverscripts/sieve.php on line 37</p>
<p>fwrite(): supplied argument is not a valid stream resource in<br />
/home/vmail/mailserverscripts/sieve.php on line 38</p>
<p>fclose(): supplied argument is not a valid stream resource in<br />
/home/vmail/mailserverscripts/sieve.php on line 39</p>
<p>chmod(): Operation not permitted in /home/vmail/mailserverscripts/sieve.php<br />
on line 41</p>
<p>Thanks so much for helping</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mathias</title>
		<link>http://maff.ailoo.net/2008/08/fetchmail-sieve-virtual-mail-debian-etch/#comment-3353</link>
		<dc:creator>Mathias</dc:creator>
		<pubDate>Mon, 24 Aug 2009 10:46:09 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=273#comment-3353</guid>
		<description>Well I&#039;m familiar with some kind of software when I don&#039;t have to lookup every config option on the web or on manpages :D. On fetchmail it&#039;s more trial and error than knowing what I&#039;m doing ;)

-- Mathias</description>
		<content:encoded><![CDATA[<p>Well I&#8217;m familiar with some kind of software when I don&#8217;t have to lookup every config option on the web or on manpages <img src='http://maff.ailoo.net/wp-includes/images/smilies/laugh.gif' alt=':D' class='wp-smiley' /> . On fetchmail it&#8217;s more trial and error than knowing what I&#8217;m doing <img src='http://maff.ailoo.net/wp-includes/images/smilies/wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>&#8211; Mathias</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hsw</title>
		<link>http://maff.ailoo.net/2008/08/fetchmail-sieve-virtual-mail-debian-etch/#comment-3351</link>
		<dc:creator>hsw</dc:creator>
		<pubDate>Mon, 24 Aug 2009 10:41:24 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=273#comment-3351</guid>
		<description>&quot;I’m not really familiar with fetchmail either&quot; ??? You&#039;re kidding me right? I think I need to adjust my understanding on what &quot;familiar&quot; is....

And Thank You for the google script too. I&#039;ll give this a go.</description>
		<content:encoded><![CDATA[<p>&#8220;I’m not really familiar with fetchmail either&#8221; ??? You&#8217;re kidding me right? I think I need to adjust my understanding on what &#8220;familiar&#8221; is&#8230;.</p>
<p>And Thank You for the google script too. I&#8217;ll give this a go.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mathias</title>
		<link>http://maff.ailoo.net/2008/08/fetchmail-sieve-virtual-mail-debian-etch/#comment-3350</link>
		<dc:creator>Mathias</dc:creator>
		<pubDate>Mon, 24 Aug 2009 10:16:02 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=273#comment-3350</guid>
		<description>FYI: I just managed to fetch from my gmail account with the following config (and to spam my inbox with about 250 unread messages from the past year ;)).

&lt;pre&gt;set syslog
set postmaster postmaster@example.com
set no bouncemail

defaults:
timeout 300
sslproto ssl23

# -------------------------

poll pop.googlemail.com
        proto pop3
        port 995
        user &quot;username@gmail.com&quot;
        pass &quot;password&quot;
        is username@example.com
        ssl&lt;/pre&gt;

Meanwhile you can help yourself by editing the .fetchmailrc manually, I&#039;ll update the script as soon as possible (or don&#039;t hesitate to send me your patches if you get your hands dirty ;))

-- Mathias</description>
		<content:encoded><![CDATA[<p>FYI: I just managed to fetch from my gmail account with the following config (and to spam my inbox with about 250 unread messages from the past year <img src='http://maff.ailoo.net/wp-includes/images/smilies/wink.gif' alt=';)' class='wp-smiley' /> ).</p>
<pre>set syslog
set postmaster <a href="mailto:postmaster@example.com">postmaster@example.com</a>
set no bouncemail

defaults:
timeout 300
sslproto ssl23

# -------------------------

poll pop.googlemail.com
        proto pop3
        port 995
        user "username@gmail.com"
        pass "password"
        is <a href="mailto:username@example.com">username@example.com</a>
        ssl</pre>
<p>Meanwhile you can help yourself by editing the .fetchmailrc manually, I&#8217;ll update the script as soon as possible (or don&#8217;t hesitate to send me your patches if you get your hands dirty <img src='http://maff.ailoo.net/wp-includes/images/smilies/wink.gif' alt=';)' class='wp-smiley' /> )</p>
<p>&#8211; Mathias</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mathias</title>
		<link>http://maff.ailoo.net/2008/08/fetchmail-sieve-virtual-mail-debian-etch/#comment-3349</link>
		<dc:creator>Mathias</dc:creator>
		<pubDate>Mon, 24 Aug 2009 10:00:27 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=273#comment-3349</guid>
		<description>@hsw Thanks for the feedback. I was experimenting with getmail too, but this was the solution I got working at last.

Regarding you fetchmail problem: I was experiencing problems with a specific host (an exchange server with a self-signed certificate) too. Altough the login data was correct and I could login via telnet or a mail client without problems the server still claimed the username/password was wrong and the fetchmail call ended up with AUTHFAILED. The only solution I found to solve this was adding the line &lt;kbd&gt;auth password&lt;/kbd&gt; (as found on this german thread: &lt;a href=&quot;http://www.ureader.de/msg/1198736.aspx&quot; rel=&quot;nofollow&quot;&gt;http://www.ureader.de/msg/1198736.aspx&lt;/a&gt;) to the account config. Unfortunately, the script can&#039;t do this at the moment, but as soon as I got some spare time I&#039;ll add the functionality to the script. Meanwhile you could try to add the line manually to your generated &lt;kbd&gt;.fetchmailrc&lt;/kbd&gt; to try if this makes the difference. If not, please try to post the full (anonymized) log from a fetchmail call. I&#039;m not really familiar with fetchmail either, just got this to work as wanted with the described config. But maybe we could investigate further with the logfile.

Concerning the general howto: I just implemented sieve rule management with Dovecot&#039;s ManageSieve server and Horde/Thunderbird as frontend...works really nice and is much more comfortable than the solution descibed here. I&#039;ll post a howto on this blog as soon as I find the time to document the setup.

-- Mathias</description>
		<content:encoded><![CDATA[<p>@hsw Thanks for the feedback. I was experimenting with getmail too, but this was the solution I got working at last.</p>
<p>Regarding you fetchmail problem: I was experiencing problems with a specific host (an exchange server with a self-signed certificate) too. Altough the login data was correct and I could login via telnet or a mail client without problems the server still claimed the username/password was wrong and the fetchmail call ended up with AUTHFAILED. The only solution I found to solve this was adding the line <kbd>auth password</kbd> (as found on this german thread: <a href="http://www.ureader.de/msg/1198736.aspx" rel="nofollow">http://www.ureader.de/msg/1198736.aspx</a>) to the account config. Unfortunately, the script can&#8217;t do this at the moment, but as soon as I got some spare time I&#8217;ll add the functionality to the script. Meanwhile you could try to add the line manually to your generated <kbd>.fetchmailrc</kbd> to try if this makes the difference. If not, please try to post the full (anonymized) log from a fetchmail call. I&#8217;m not really familiar with fetchmail either, just got this to work as wanted with the described config. But maybe we could investigate further with the logfile.</p>
<p>Concerning the general howto: I just implemented sieve rule management with Dovecot&#8217;s ManageSieve server and Horde/Thunderbird as frontend&#8230;works really nice and is much more comfortable than the solution descibed here. I&#8217;ll post a howto on this blog as soon as I find the time to document the setup.</p>
<p>&#8211; Mathias</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hsw</title>
		<link>http://maff.ailoo.net/2008/08/fetchmail-sieve-virtual-mail-debian-etch/#comment-3348</link>
		<dc:creator>hsw</dc:creator>
		<pubDate>Mon, 24 Aug 2009 09:01:07 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=273#comment-3348</guid>
		<description>Thanks for the how to. This is exactly what I needed. I&#039;ve been looking for one for getmail but didnt find any. 

Can I ask you 1 question though? I&#039;ve followed the how to from end to end. I&#039;ve read it several times, and it seems that my setup is working except that I&#039;m getting (in /var/log/mail.log):
fetchmail: Server CommonName: my-ssh.com:mydomain.com ....
and ended up with AUTHFALIED everytime I run fetchmail.

Can you tell me what I&#039;m, doing wrong? I&#039;ve also tried this on gmail, but was unable to retrieve anything.</description>
		<content:encoded><![CDATA[<p>Thanks for the how to. This is exactly what I needed. I&#8217;ve been looking for one for getmail but didnt find any. </p>
<p>Can I ask you 1 question though? I&#8217;ve followed the how to from end to end. I&#8217;ve read it several times, and it seems that my setup is working except that I&#8217;m getting (in /var/log/mail.log):<br />
fetchmail: Server CommonName: my-ssh.com:mydomain.com &#8230;.<br />
and ended up with AUTHFALIED everytime I run fetchmail.</p>
<p>Can you tell me what I&#8217;m, doing wrong? I&#8217;ve also tried this on gmail, but was unable to retrieve anything.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ISPmail tutorial for Debian Lenny @</title>
		<link>http://maff.ailoo.net/2008/08/fetchmail-sieve-virtual-mail-debian-etch/#comment-3092</link>
		<dc:creator>ISPmail tutorial for Debian Lenny @</dc:creator>
		<pubDate>Mon, 13 Jul 2009 11:04:06 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=273#comment-3092</guid>
		<description>[...] and filtering using fetchmail and sieve  Mathias Geat wrote an article on integrating fetchmail and sieve that fits this [...]</description>
		<content:encoded><![CDATA[<p>[...] and filtering using fetchmail and sieve  Mathias Geat wrote an article on integrating fetchmail and sieve that fits this [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tobias</title>
		<link>http://maff.ailoo.net/2008/08/fetchmail-sieve-virtual-mail-debian-etch/#comment-3047</link>
		<dc:creator>Tobias</dc:creator>
		<pubDate>Fri, 19 Jun 2009 17:18:46 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=273#comment-3047</guid>
		<description>Yes, I did - but i found the error a few days ago ... 
I used the folder structure of the original tutorial &quot;/home/vmail/%d/%n/&quot; and then I did not only change &quot;mail_location&quot;. I changed also the home part in the following code - but this was definitly wrong. 
&lt;code&gt; 
userdb static {
    args = uid=5000 gid=5000 home=/home/vmail/domains/%d/%n/ allow_all_users=yes
  }
&lt;/code&gt;

No everything works again fine - but it was hard to find this error. I started the original tutorial again from beginning to find this problem. :)</description>
		<content:encoded><![CDATA[<p>Yes, I did &#8211; but i found the error a few days ago &#8230;<br />
I used the folder structure of the original tutorial &#8220;/home/vmail/%d/%n/&#8221; and then I did not only change &#8220;mail_location&#8221;. I changed also the home part in the following code &#8211; but this was definitly wrong.<br />
<code><br />
userdb static {<br />
    args = uid=5000 gid=5000 home=/home/vmail/domains/%d/%n/ allow_all_users=yes<br />
  }<br />
</code></p>
<p>No everything works again fine &#8211; but it was hard to find this error. I started the original tutorial again from beginning to find this problem. <img src='http://maff.ailoo.net/wp-includes/images/smilies/happy.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mathias</title>
		<link>http://maff.ailoo.net/2008/08/fetchmail-sieve-virtual-mail-debian-etch/#comment-3046</link>
		<dc:creator>Mathias</dc:creator>
		<pubDate>Fri, 19 Jun 2009 15:39:59 +0000</pubDate>
		<guid isPermaLink="false">http://maff.ailoo.net/?p=273#comment-3046</guid>
		<description>Tobias, sorry for the delay - have been quite busy for the past days. Have you activated the Sieve plugin (&lt;kbd&gt;cmusieve&lt;/kbd&gt;) in Dovecot&#039;s config? From the original tutorial:

&lt;pre&gt;protocol lda {
    log_path = /home/vmail/dovecot-deliver.log
    auth_socket_path = /var/run/dovecot/auth-master
    postmaster_address = postmaster@example.com
    &lt;strong&gt;mail_plugins = cmusieve&lt;/strong&gt;
    global_script_path = /home/vmail/globalsieverc
}&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Tobias, sorry for the delay &#8211; have been quite busy for the past days. Have you activated the Sieve plugin (<kbd>cmusieve</kbd>) in Dovecot&#8217;s config? From the original tutorial:</p>
<pre>protocol lda {
    log_path = /home/vmail/dovecot-deliver.log
    auth_socket_path = /var/run/dovecot/auth-master
    postmaster_address = <a href="mailto:postmaster@example.com">postmaster@example.com</a>
    <strong>mail_plugins = cmusieve</strong>
    global_script_path = /home/vmail/globalsieverc
}</pre>
]]></content:encoded>
	</item>
</channel>
</rss>
