<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.mail.maildrop">
    <title>gmane.mail.maildrop</title>
    <link>http://blog.gmane.org/gmane.mail.maildrop</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.maildrop/5140"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.maildrop/5136"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.maildrop/5135"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.maildrop/5130"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.maildrop/5118"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.maildrop/5115"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.maildrop/5114"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.maildrop/5108"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.maildrop/5104"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.maildrop/5095"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.maildrop/5090"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.maildrop/5088"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.maildrop/5081"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.maildrop/5079"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.maildrop/5075"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.maildrop/5073"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.maildrop/5069"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.maildrop/5066"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.maildrop/5064"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.maildrop/5061"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.mail.maildrop/5140">
    <title>Integrating Maildrop withPostfix/ClamAV/Spamassasin/Maildir</title>
    <link>http://comments.gmane.org/gmane.mail.maildrop/5140</link>
    <description>&lt;pre&gt;Hello list,

I have a working mail setup with Postfix and av/spam filtering through
amavis-new. I'd like to be able to filter mail into various folders
for mailing lists, spam, and other various things. I installed
Maildrop on my system and i configured Postfix to call it via the
"mailbox_command = /usr/local/bin/maildrop -d ${USER}" option. I have
googled around extensively, and I can't seem to figure out how to get
maildrop to deliver to a Maildir. I am using system users, so
everything is located in /usr/home/$USER/Maildir/. I can't seem to
find any example maildroprc file in my installation, or any examples
online. What is the best way to do this and create folders if they
don't exist? Eg, a "Spam" folder to move mail detected by spamassassin
into.

Also, as I mentioned, I currently use amavis-new for clamav and
spamassassin filtering. Would it be better to use maildrop for such
filtering? Would this give me any advantages over amavis-new?

This is my first major email system configuration, and my first time
using any type of MDA.

Thank you for your help.

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
&lt;/pre&gt;</description>
    <dc:creator>Schiz0</dc:creator>
    <dc:date>2012-04-14T17:28:12</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.maildrop/5136">
    <title>maildrop doesn't read /etc/maildroprc</title>
    <link>http://comments.gmane.org/gmane.mail.maildrop/5136</link>
    <description>&lt;pre&gt;Hi,

I think I'm missing something obvious. I want to use for first time 
/etc/maildroprc. It seems that the file is not used at all.

I have created the file an put a single line in it:

# cat /etc/maildroprc
cc "fgozalo&amp;lt; at &amp;gt;csi.uned.es"

# ls -al /etc/maildroprc
-rw------- 1 cartero cartero 25 feb 24 08:10 /etc/maildroprc

No message delivered to "fgozalo&amp;lt; at &amp;gt;csi.uned.es". The message is delivered 
to the original recipient as if no was /etc/maildroprc. Nothing in the 
logs apart of the normal lines for delivery message in the original 
recipient.

More info:
. maildrop version:  2.5.1

Called from postfix:
. main.cf:
mailbox_transport = maildrop

. master.cf
maildrop  unix  -       n       n       -       -       pipe
   flags=ODRhu user=cartero argv=/usr/bin/maildrop -d ${user} -f ${sender}

¿Any hint?

&lt;/pre&gt;</description>
    <dc:creator>Fernando Gozalo</dc:creator>
    <dc:date>2012-02-24T13:44:28</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.maildrop/5135">
    <title>pgp-maildrop script</title>
    <link>http://comments.gmane.org/gmane.mail.maildrop/5135</link>
    <description>&lt;pre&gt;Hello there

I have written a Perl script for using pgp using maildrop.

It may be useful to others:
https://github.com/libreserver/pgp-maildrop


Comments and suggests are welcome.

-




------------------------------------------------------------------------------
Virtualization &amp;amp; Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
&lt;/pre&gt;</description>
    <dc:creator>salahuddin</dc:creator>
    <dc:date>2012-02-12T12:09:02</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.maildrop/5130">
    <title>mailbot error</title>
    <link>http://comments.gmane.org/gmane.mail.maildrop/5130</link>
    <description>&lt;pre&gt;Hi,
I am running the following Courier suite on RedHat Enterprise Linux 4.6:
courier-maildrop-0.64.0-1.4EScourier-authlib-userdb-0.63.0-1.rh4EScourier-authlib-devel-0.63.0-1.rh4EScourier-maildrop-wrapper-0.64.0-1.4EScourier-0.64.0-1.4EScourier-pop3d-0.64.0-1.4EScourier-authlib-0.63.0-1.rh4EScourier-imapd-0.64.0-1.4ES
When I tried to use mailbot to do autoresponse and it failed with the following error:
$ mailbot -n -t away.msg.3 -s'Autoreply test' -c 'UTF-8' cat &amp;lt; orig.msg Precedence: junkAuto-Submitted: auto-repliedTo: Fred Ho &amp;lt;fkho&amp;lt; at &amp;gt;fredho.net&amp;gt;References: &amp;lt;1325166170222329500&amp;lt; at &amp;gt;fredho.net&amp;gt;In-Reply-To: &amp;lt;1325166170222329500&amp;lt; at &amp;gt;fredho.net&amp;gt;Subject: Autoreply testMime-Version: 1.0Content-Type: text/plain; charset="UTF-8"Content-Transfer-Encoding: 8bit
Fred Ho writes:
Attached are the orig.msg and away.msg.3 files. The autoreply message file contains Chinese characters in UTF-8 codeset.
Please advise on how to solve the problem.Thanks.



Regards,Fred​------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox_______________________________________________
Courier-maildrop mailing list
Courier-maildrop&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/courier-maildrop
&lt;/pre&gt;</description>
    <dc:creator>Fred Ho</dc:creator>
    <dc:date>2011-12-29T15:25:33</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.maildrop/5118">
    <title>merge dovecot-auth backend</title>
    <link>http://comments.gmane.org/gmane.mail.maildrop/5118</link>
    <description>&lt;pre&gt;Hi.

Perhaps you already know,... there's a patch
(http://wiki2.dovecot.org/maildrop) available to make user lookups
against dovecots own auth extension.

It seems to apply nicely and happily co-exist with the original system.
The license is also the same and there's even a nice README included.

Given that dovecot is major imap/pop3 server these days and people
like to use its own user auth system... and given that it would make
life a lot easier if this patch was merged upstream,... would it be
possible to do so?
Or at least tell, where it would have to be improved in order to get merged?

Perhaps it would be enough to merge it to the standalone maildrop :)


Thanks in advance,
Philippe.

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
&lt;/pre&gt;</description>
    <dc:creator>Philippe Cerfon</dc:creator>
    <dc:date>2011-12-11T14:57:00</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.maildrop/5115">
    <title>deliver mail marked as read</title>
    <link>http://comments.gmane.org/gmane.mail.maildrop/5115</link>
    <description>&lt;pre&gt;Hi.

This seems to be a very common problem, at least according to Google ;-)....

What's the right way to deliver mail (i.e. "to") but have it marked as read?
Is it cleanly possible with maildrop?

I've seen somy rather ugly hacks using "cc" and some find shell
commands doing the renaming,... but this seems to be not safe, is it?


Thanks,
Philippe.

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
&lt;/pre&gt;</description>
    <dc:creator>Philippe Cerfon</dc:creator>
    <dc:date>2011-12-10T23:06:46</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.maildrop/5114">
    <title>New releases of Courier packages</title>
    <link>http://comments.gmane.org/gmane.mail.maildrop/5114</link>
    <description>&lt;pre&gt;Download: http://www.courier-mta.org/download.php

=== General changes

* The default RPM packages switch to systemd, from initscripts, for  
starting Courier at system startup.

* Some portability fixes, affecting some platforms.

=== maildrop 2.5.5, sqwebmail 5.5.3

* Fixed several instances of various tools -- _reformail_, _reformime_,  
_mailbot_, and _sqwebmail_ itself -- failing if MIME attachment names could  
not be converted to the system locale's character set. They'll just get  
ignored or defaulted.

* Added "feedback" and "replyfeedback" formats to _mailbot_, that generate  
Email Feedback Reports, per '''RFC 5965'''.

=== Courier-IMAP 4.10.0

* Optional logging of deleted messages in the IMAP and POP3 servers.  
Document the IMAPDEBUGFILE setting, but open the imap log file only if it  
already exists, so that IMAPDEBUGFILE can be enabled globally, but  
selectively activated for individual accounts by creating a dummy zero- 
length file.

* IMAP: Reset the epoch of an internal folder sequence number. Read the  
gory details in the INSTALL file, in the upgrade section. This should have  
no impact for routine upgrade situations. If you're in the habit of backing  
up and restoring mailboxes, or migrating them between servers, you need to  
read up on this and understand the implications.

* POP3 server now tries to reopen pop3dsizelist a few times, to work around  
NFS clients that complain about ESTALE.

=== Courier 0.67.0

In addition to all of the above:

* Cleanup of the internal DNS resolver. Get rid of the default global  
instance, force explicit instantiation and destruction of the resolver  
object. Add support for DNSSEC. It's not used for anything, right now, but  
if something on the DNSSEC front develops, in the near future, we'll be  
ready.

* Ignore errors received in response to a STARTTLS request, by default, if  
the non-encrypted connection can still be used. Sad state of TLS with SMTP.  
Provide an option to revert to previous, hard-line behavior. Provide a hook  
to run an external script to report a peer that fails a STARTTLS.

* Added the IPv6 localhost address to the default smtpaccess file installed  
by Courier, granting it relaying privileged. After upgrading, running  
makesmtpaccess will fail if the IPv6 localhost address was manually added  
in some other smtpaccess file. Remove ::1 from the other file.
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d_______________________________________________
Courier-maildrop mailing list
Courier-maildrop&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/courier-maildrop
&lt;/pre&gt;</description>
    <dc:creator>Sam Varshavchik</dc:creator>
    <dc:date>2011-12-04T22:40:51</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.maildrop/5108">
    <title>Courier build 20111116</title>
    <link>http://comments.gmane.org/gmane.mail.maildrop/5108</link>
    <description>&lt;pre&gt;This is a development build of courier, courier-imap, sqwebmail, and  
maildrop packages.

Download: http://www.courier-mta.org/download.php

Changes:

• Fixed several instances of various processes failing if MIME attachment  
names could not be converted to the system locale's character set. They'll  
just get ignored.

• Optional logging of deleted messages. Document the IMAPDEBUGFILE setting,  
but open the imap log file only if it already exists, so that IMAPDEBUGFILE  
can be enabled globally, but selectively activated for individual accounts  
by creating a dummy zero-length file.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d_______________________________________________
Courier-maildrop mailing list
Courier-maildrop&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/courier-maildrop
&lt;/pre&gt;</description>
    <dc:creator>Sam Varshavchik</dc:creator>
    <dc:date>2011-11-17T13:37:19</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.maildrop/5104">
    <title>Fwd: FW: Re: Need some very very basic help with Maildrop please</title>
    <link>http://comments.gmane.org/gmane.mail.maildrop/5104</link>
    <description>&lt;pre&gt;Date: Sat, 12 Nov 2011 18:32:55 +0100

Subject: Re: [maildropl] Need some very very basic help with Maildrop
please
From: Sam Varshavchik&amp;lt;mrsam&amp;lt; at &amp;gt;courier-mta.com&amp;gt;
To: courier-maildrop&amp;lt; at &amp;gt;lists.sourceforge.net

brian writes:

"POLL"

No, you shouldn't. Once again: you put a .mailfilter in each user's home
  
directory, and that's where you provide mail delivery instructions for
the  
recipient.

Is

When your mail server runs maildrop, it should do that after dropping
root  
and running maildrop under the recipient's uid and gid. maildrop checks
  
which uid and gid it runs as, and sets $HOME accordingly.

This is all explained in the maildropfilter man page.



OK, I guess I understand this OK. But it somehow does not seem to do that properly.
I tested again running fetchmail as fetchmail, mail or root. STill get the log in
/var/lib/fetchmail/maildrop.log, when it is defined as just maildrop.log.

Or maybe the log is always in the same place.

Time for some more testing.

Maybe I should build my own Maildrop?

Cheers Brian




brian writes:


No, you shouldn't. Once again: you put a .mailfilter in each user's home  
directory, and that's where you provide mail delivery instructions for the  
recipient.


When your mail server runs maildrop, it should do that after dropping root  
and running maildrop under the recipient's uid and gid. maildrop checks  
which uid and gid it runs as, and sets $HOME accordingly.

This is all explained in the maildropfilter man page.


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Courier-maildrop mailing list
Courier-maildrop&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/courier-maildrop

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1_______________________________________________
Courier-maildrop mailing list
Courier-maildrop&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/courier-maildrop
&lt;/pre&gt;</description>
    <dc:creator>brian</dc:creator>
    <dc:date>2011-11-13T10:53:58</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.maildrop/5095">
    <title>Need some very very basic help with Maildrop please</title>
    <link>http://comments.gmane.org/gmane.mail.maildrop/5095</link>
    <description>&lt;pre&gt;Hi,
I am currently running a small home server with Fetchmail and Dovecot as 
imap server.
This works OK. I want to do certain actions when emails arrive and 
looked for SW that would scan incoming emails.
Maildrop was recommended. I installed the debian packet for Maildrop and 
have the following maildroprc file in
/etc/courier:

#
# Global maildrop filter file
# /etc/courier/maildroprc
#
SHELL="/bin/bash"
DEFAULT = "/home/brian/Maildir/"
MAILDIR = "/home/brian/Maildir/"
VERBOSE=on

logfile "maildrop.log"
# Put in a Date/Time line
foo = `date`
log "------------------- $foo -------------------\n"

# no filters yet!
to $DEFAULT

fetchmailrc is:

poll
     popmail.t-online.de
     protocol pop3
     user "xxxx_xxxx&amp;lt; at &amp;gt;t-online.de" there is brian here
     with password "xxxxxx"
     mda "/usr/bin/maildrop -d username"
     options keep




Maildrop is called by fetchmail, but now my problems start:

1. The Log file is written to /var/lib/fetchmail/maildrop.log. Anything 
else and I get permission problems.
Cant even write it to /var/log/maildrop.log

Fetchmail is running under:

PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/bin/fetchmail
USER=fetchmail
OPTIONS=""
CONFFILE="/etc/fetchmailrc"

STill I dont seem to get everything in the log yet.

2. Dovecot used the following directory structure:

/home/brian/Maildir/.....  And in Maildir I have the various Folders, 
including /cur /new/tmp

Each mail processed by Maildrop gives "fetchmail[3762]: MDA returned 
nonzero status 67"
and I would like to debug this.

I cant tell exactly what should be in $DEFAULT. I would like to use a 
variable so that I can
then get mail for multiple users in fetchmail. $HOME doesnt't seem to be 
set and usable
by maildrop.

Sorry but I'm a bit stuck and would be grateful for any help.

Cheers Brian




------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1_______________________________________________
Courier-maildrop mailing list
Courier-maildrop&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/courier-maildrop
&lt;/pre&gt;</description>
    <dc:creator>brian</dc:creator>
    <dc:date>2011-11-12T10:11:47</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.maildrop/5090">
    <title>Send separate notification to $LOGNAME during maildropexecution</title>
    <link>http://comments.gmane.org/gmane.mail.maildrop/5090</link>
    <description>&lt;pre&gt;Hello,

I want to send a notification to the recipient ($LOGNAME) under certain conditions.  This is in addition to normal message delivery.

A couple issues arise:

1) This creates a mail loop.  To prevent this, we currently create a file in the home directory whose presence indicates that the notification was sent and doesn't need to be re-sent.  This works fine, but I'd like to know if there is a better way to handle this.

2) What's the best way to create and send a separate email inside of maildrop?  We considered mailbot, which has options we could use to override the recipient address, but using an autoresponse tool for this seems inappropriate.  Currently, we have a slightly awkward sendmail execution:

/^Delivered-To:\s+.*?&amp;lt; at &amp;gt;(.*)/:h
DOMAIN="$MATCH1"
cc "| (echo 'Subject: Hello World'; echo 'X-Priority: 1 (Highest)'; echo 'To: $LOGNAME'; echo ''; echo 'This is the notification email body.'; echo 'Each line of the body is in a separate echo statement.';) | $SENDMAIL -t -F Postmaster -f postmaster&amp;lt; at &amp;gt;$DOMAIN -r postmaster&amp;lt; at &amp;gt;$DOMAIN $LOGNAME"

3) As you can see above, we are trying to determine the domain dynamically.  Is parsing the Delivered-To header reliable?  Is there a preferred way to handle that?


------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning&amp;lt; at &amp;gt;Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
&lt;/pre&gt;</description>
    <dc:creator>email builder</dc:creator>
    <dc:date>2011-10-26T22:24:56</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.maildrop/5088">
    <title>maildrop: Unable to open mailbox.</title>
    <link>http://comments.gmane.org/gmane.mail.maildrop/5088</link>
    <description>&lt;pre&gt;I am using the maildrop-2.5.4 tarball, have done configure, make, install-strip. 

Running a test 
as 
echo "Subject: Cron msg" | maildrop -V 3 
maildrop: Changing to /home/jon
Message start at 0 
bytes, envelope sender=jon
maildrop: Attempting .mailfilter
Matching /^Subject: (Anac|C)ron / 
against Subject: Cron msg
maildrop: Delivering to /home/jon/Maildir/Zautomatic/Cron/
maildrop: 
Unable to open mailbox.

cat .mailfilter
# .mailfilter 
logfile "$HOME/.maildrop.log"

BASE="$HOME/Maildir/"
DEFAULT=$BASE                                # default is to normal Inbox if 
nothing matches

#check for Cron and Anacron
if ( /^Subject: (Anac|C)ron / )
{
  DEST=$BASE"
Zautomatic/Cron/"
  to $DEST
}

Folders were set up with
maildirmake Maildir
maildirmake -f 
Zautomatic Maildir
maildirmake -f Zautomatic.Cron Maildir

find Maildir -ls
918061    4 
drwx------   7 jon      jon          4096 Oct 22 16:24 Maildir
264754    4 drwx------   5 jon      
jon          4096 Oct 22 16:24 Maildir/.Zautomatic.Cron
264755    4 drwx------   2 jon      
jon          4096 Oct 22 16:24 Maildir/.Zautomatic.Cron/tmp
264758    0 -rw-------   1 jon      
jon             0 Oct 22 16:24 Maildir/.Zautomatic.Cron/maildirfolder
264757    4 drwx------   2 
jon      jon          4096 Oct 22 16:24 Maildir/.Zautomatic.Cron/cur
264756    4 drwx------   2 
jon      jon          4096 Oct 22 16:24 Maildir/.Zautomatic.Cron/new
918454    4 drwx------   2 
jon      jon          4096 Oct 22 16:40 Maildir/tmp
264749    4 drwx------   5 jon      
jon          4096 Oct 22 16:24 Maildir/.Zautomatic
264750    4 drwx------   2 jon      jon          
4096 Oct 22 16:24 Maildir/.Zautomatic/tmp
264753    0 -rw-------   1 jon      jon             0 Oct 
22 16:24 Maildir/.Zautomatic/maildirfolder
264752    4 drwx------   2 jon      jon          4096 
Oct 22 16:24 Maildir/.Zautomatic/cur
264751    4 drwx------   2 jon      jon          4096 Oct 22 
16:24 Maildir/.Zautomatic/new
264748    4 drwx------   2 jon      jon          4096 Oct 22 16:24 
Maildir/cur
264747    4 drwx------   2 jon      jon          4096 Oct 22 16:40 Maildir/new

Anybody 
suggest a way to debug this?

Thanks,
Jonathan Clark


------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning&amp;lt; at &amp;gt;Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
&lt;/pre&gt;</description>
    <dc:creator>j-clark&lt; at &gt;lineone.net</dc:creator>
    <dc:date>2011-10-22T15:50:03</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.maildrop/5081">
    <title>gid problem</title>
    <link>http://comments.gmane.org/gmane.mail.maildrop/5081</link>
    <description>&lt;pre&gt;Hi everyone,

I've a simple mail processing script set up as follows:
- a user, say mailproc:mygroup, has its .mailfilter end with
to "| ~/.script.py"
- script.py saves the message to a file on a shared drive that real
users will use later on,
- in order for this to work, the files are group-writable by "mygroup"
and real users are members of mygroup,
- maildrop is the local delivery agent for postfix, master.cf has
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=daemon argv=/usr/bin/maildrop -d ${recipient}

This works fine of fedora 8 which has maildrop-2.0.4 installed suid/sgid
root:mail.

On centos 6 script.py fails with permission denied when trying to open
output file for append. Centos 6 has maildrop-2.5.0 (ATrpms build), also
suid/sgid root:mail.

Logging os.getuid() and os.getgroups() from the script results in
"mailproc:mygroup" on fedora 8 and in "mailproc:mail" on centos 6. The
script works from command line on centos and "groups" returns "mygroup".

So it looks like maildrop-2.0.4 on fedora changes its uid and gid to
those of the user specified in "-d" whereas 2.5.0 on centos changes only
its uid but not gid.

Was that a deliberate change in maildrop?

TIA
&lt;/pre&gt;</description>
    <dc:creator>Dimitri Maziuk</dc:creator>
    <dc:date>2011-10-13T17:06:07</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.maildrop/5079">
    <title>piping with TO</title>
    <link>http://comments.gmane.org/gmane.mail.maildrop/5079</link>
    <description>&lt;pre&gt;
Hello,

I'm using maildrop with dovecot, and am wanting to change to dovecot's
mdbox format, however maildrop's delivery mechanism only understands
maildir format. That shouldn't be a problem if I can ask maildrop to use
dovecot's LDA to deliver the mail into the mailstore.

Typically, one does:

  to &amp;lt;some_mail_box&amp;gt;

but I believe, if I understand things correctly, I should be able to use
an external program with the 'to' statement, according to maildropfilter(7):

The to statement delivers the message to a mailbox. expression must
evaluate to a valid mailbox. A valid mailbox is either a mailbox file, a
maildir, or an external program (which includes forwarding to another
address).

...

An expression that begins with the "|" character specifies an external
program to run to handle the actual delivery. The SHELL variable
specifies the shell to execute the given command. The message is
provided to the command on standard input. maildrop's exit code will be
the process's exit code.

So, I've been trying to get this to work;

  to "|/usr/lib/dovecot-lda -d $TO"

but what I am finding is that maildrop is piping the message to
dovecot-lda, but it is somehow stripping the -d flag, while preserving
the interpolated $TO, resulting in these errors in my mail log:

Sep  8 15:14:45 spoonbill postfix/pipe[24988]: 513AA96: to=&amp;lt;test&amp;lt; at &amp;gt;riseup.net&amp;gt;, relay=maildrop, delay=0.14, delays=0.02/0.01/0/0.11, dsn=5.3.0, status=bounced (command line usage error. Command output: lda: Fatal: Unknown argument: micahstest3&amp;lt; at &amp;gt;riseup.net Usage: dovecot-lda [-c &amp;lt;config file&amp;gt;] [-a &amp;lt;address&amp;gt;] [-d &amp;lt;username&amp;gt;] [-p &amp;lt;path&amp;gt;] [-f &amp;lt;envelope sender&amp;gt;] [-m &amp;lt;mailbox&amp;gt;] [-e] [-k] )

as you can see, the usage clearly says that -d &amp;lt;username&amp;gt; should work,
and the unknown argument is because there is no -d passed.

Is maildrop removing this somehow?

Is there a way to globally specify to maildrop what the 'to' delivery
program should be?

thanks for your help!
micah
------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/_______________________________________________
Courier-maildrop mailing list
Courier-maildrop&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/courier-maildrop
&lt;/pre&gt;</description>
    <dc:creator>Micah Anderson</dc:creator>
    <dc:date>2011-09-08T22:40:47</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.maildrop/5075">
    <title>Maildroprc and Maildirmake</title>
    <link>http://comments.gmane.org/gmane.mail.maildrop/5075</link>
    <description>&lt;pre&gt;Hello all,

 

I am trying to have maildrop do two things when it finds a spam message:

 

1)      check to see if the .Spam folder exists, if it doesn't then
maildirmake it

2)      deliver Spam to .Spam folder

 

The problem is, all mail is being sent to the .Spam folder even non-spam
mail L Can anyone take a look and see what I might be doing wrong?

 

PS - I am just testing against the subject right now, but will later move to
test against the headers. I am aware of the issues with testing the header
but this is just to get started.

 

 

#

SHELL="/bin/sh"

USER="$5"

HOST="$6"

MAILHOME="/var/vmail"

DEFAULT="$MAILHOME/$HOST/$USER"

logfile "/var/vmail/maildrop.log"

 

if (/^Subject: ***Spam***/)

 

    {

        `test -d $MAILHOME/$HOST/$USER/.INBOX.Spam`

 

        if( $RETURNCODE != 0)

 

           {

           `maildirmake -f INBOX.Spam $MAILHOME/$HOST/$USER`

           }

 

    exception {

        to $MAILHOME/$HOST/$USER/.INBOX.Spam/

        }

    }

 

Thanks,

 

Matt

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev_______________________________________________
Courier-maildrop mailing list
Courier-maildrop&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/courier-maildrop
&lt;/pre&gt;</description>
    <dc:creator>Matt Goodman</dc:creator>
    <dc:date>2011-09-05T09:21:40</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.maildrop/5073">
    <title>.procmailrc converter anyone?</title>
    <link>http://comments.gmane.org/gmane.mail.maildrop/5073</link>
    <description>&lt;pre&gt;Greetings,

is anyone aware of a tool that can convert a .procmailrc script to
.mailfilter (or at least those parts that have equivalents)?

Thanks.

Matthias

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
&lt;/pre&gt;</description>
    <dc:creator>Matthias Andree</dc:creator>
    <dc:date>2011-08-31T17:20:21</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.maildrop/5069">
    <title>Courier 20110831 build</title>
    <link>http://comments.gmane.org/gmane.mail.maildrop/5069</link>
    <description>&lt;pre&gt;Download: http://www.courier-mta.org/download.php

Pushed builds of courier and maildrop packages, dated 20110831.

=== Changes

* Added "feedback" and "replyfeedback" formats to mailbot, that generate  
Email Feed Reports, per RFC 5965.
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev_______________________________________________
Courier-maildrop mailing list
Courier-maildrop&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/courier-maildrop
&lt;/pre&gt;</description>
    <dc:creator>Sam Varshavchik</dc:creator>
    <dc:date>2011-08-31T13:22:21</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.maildrop/5066">
    <title>request: maildrop and dovecot integration</title>
    <link>http://comments.gmane.org/gmane.mail.maildrop/5066</link>
    <description>&lt;pre&gt;
Back in 2009, Max posted to this list a patch to maildrop that would
provide dovecot integration to maildrop[0]. Since that time, he has
continued to maintain that patch for new versions of maildrop, as they
are released[1].

I would like to request that the maildrop developers consider accepting
this patch, if it is suitable code. It provides very useful
functionality and works great.

Thank you for your consideration in this matter,
Micah


0. http://permalink.gmane.org/gmane.mail.maildrop/4771
1. http://wiki.dovecot.org/maildrop
&lt;/pre&gt;</description>
    <dc:creator>Micah Anderson</dc:creator>
    <dc:date>2011-08-30T21:20:03</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.maildrop/5064">
    <title>segfault in make check?</title>
    <link>http://comments.gmane.org/gmane.mail.maildrop/5064</link>
    <description>&lt;pre&gt;I have a user who gets a segfault during make check on arm and ia64
for maildrop 2.5.4.  I cannot reproduce it in amd64 and x86.

Some relevant info and backtrace is below.  Any ideas?  Thanks.


[...]
make[2]: Entering directory
`/var/tmp/portage/mail-filter/maildrop-2.5.4/work/maildrop-2.5.4/rfc2045'
/bin/sh ./testsuite | cmp -s - ./testsuite.txt.idn
./testsuite: line 142: 24116 Segmentation fault      LANG=en_US.utf-8
./reformime -i &amp;lt; ./testsuite.dat
make[2]: *** [check-am] Error 1
[...]


# LANG=en_US.utf-8 gdb ./reformime
GNU gdb (Gentoo 7.2 p1) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
&amp;lt;http://gnu.org/licenses/gpl.html&amp;gt;
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show
copying"
and "show warranty" for details.
This GDB was configured as "armv5tel-softfloat-linux-gnueabi".
For bug reporting instructions, please see:
&amp;lt;http://bugs.gentoo.org/&amp;gt;...
Reading symbols from
/var/tmp/portage/mail-filter/maildrop-2.5.4/work/maildrop-2.5.4/rfc2045/reformime...done.
(gdb) set args -i &amp;lt; ./testsuite.dat
(gdb) run
Starting program:
/var/tmp/portage/mail-filter/maildrop-2.5.4/work/maildrop-2.5.4/rfc2045/reformime
-i &amp;lt; ./testsuite.dat

Program received signal SIGSEGV, Segmentation fault.
0x4010d988 in strspn () from /lib/libc.so.6
(gdb) bt full
#0  0x4010d988 in strspn () from /lib/libc.so.6
No symbol table info available.
#1  0x4010e29c in strtok () from /lib/libc.so.6
No symbol table info available.
#2  0x0000b3c0 in main2 (argc=2, argv=0xbeffe904) at reformime.c:1153
        mimesection = &amp;lt;value optimized out&amp;gt;
        dodecodehdr = 0
        p = 0x29840
        rwmode = 0
        dodsn = 0
        domimedigest = 0
        dodecodeaddrhdr = 0
        convtoutf8 = 0
        do_extract = &amp;lt;value optimized out&amp;gt;
        doinfo = 1
        dorewrite = 0
        optc = &amp;lt;value optimized out&amp;gt;
        dodecode = 0
        doencodemime = 0
        dovalidate = 0
        rc = &amp;lt;value optimized out&amp;gt;
        argn = 2
        doencodemimehdr = 0
        extract_filename = 0x17d4c ""
#3  main (argc=2, argv=0xbeffe904) at reformime.c:1224
        rc = &amp;lt;value optimized out&amp;gt;



&lt;/pre&gt;</description>
    <dc:creator>Eray Aslan</dc:creator>
    <dc:date>2011-08-14T07:53:09</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.maildrop/5061">
    <title>Mail from empty: forwarding fails</title>
    <link>http://comments.gmane.org/gmane.mail.maildrop/5061</link>
    <description>&lt;pre&gt;
Hi,

I use maildrop with mail forwarding to external addresses (eg cc "!
john&amp;lt; at &amp;gt;example.com"). It worked fine until 3 weeks ago. Since then, forwarding
to an external adress fails. After investigating the problem, it happens
that my SMTP provider now rejects mails with an empty from. My postfix logs
show that maildrop is sending the mails with an empty from (&amp;lt;&amp;gt;).

I tried to add 

SENDMAIL="/usr/sbin/sendmail -oi -f null&amp;lt; at &amp;gt;example.com"

in /etc/maildroprc (Debian 6)

but it doesn't change anything.

How can I have maildrop to add a from in all the mails it forwards ?

Thank you for you help,

A. Chereau

&lt;/pre&gt;</description>
    <dc:creator>Arthur Chereau</dc:creator>
    <dc:date>2011-06-30T20:53:08</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.maildrop/5050">
    <title>backticks: how to put process into background?</title>
    <link>http://comments.gmane.org/gmane.mail.maildrop/5050</link>
    <description>&lt;pre&gt;Hi,

Is there a way to force a process inside backticks into
background? `&amp;amp;` seems to have no effect.

Example: I'm trying to migrate a filter to display (X-)Faces -
used as display filter in mutt - from procmail to maildrop.
Everything works except putting the viewer in the background:


# customize X11 viewer (has to accept stdin)
VIEWER="/sw/bin/xv -geometry 100x100 -wait 3 -"

# adjust paths of required programs for speed
AWK="/usr/bin/awk"
REFORMAIL="/usr/local/bin/reformail"
OPENSSL="/usr/bin/openssl"
PRINTF="/usr/bin/printf"
UNCOMPFACE="/sw/bin/uncompface"

# check if $DISPLAY is non-empty
if ("$DISPLAY")
{
if (/^Face:\s+(.{16,})/)
{
# work around broken headers
# (re)create lines of width 79, removing all spaces
# delete potentially appended X-Face (Claws-Mail)
`$PRINTF '%s\n' $MATCH1 | $AWK '{ if ($1 == "X-Face:") exit; OFS = ""; $1 = $1; line = $0; do { print substr(line, 0, 79); line = substr(line, 80); } while (length(line)); }' | $OPENSSL base64 -d | $VIEWER &amp;amp;`
xfilter "$REFORMAIL -I'Face:'"
}
elsif (/^X-Face:\s+(.{16,})/)
{
# pipe it through uncompface
`$PRINTF '%s\n' $MATCH1 | $UNCOMPFACE -X | $VIEWER &amp;amp;`
# remove the header for mutt
xfilter "$REFORMAIL -I'X-Face:'"
}
}

to "| cat"


Any ideas someone?

c
&lt;/pre&gt;</description>
    <dc:creator>Christian Ebert</dc:creator>
    <dc:date>2011-06-18T13:15:40</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.mail.maildrop">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.mail.maildrop</link>
  </textinput>
</rdf:RDF>

