Kamil Jońca | 2 Sep 20:30 2015

Re: pattern match body?

kjonca <at> gazeta.pl (Kamil Jońca) writes:

> I have patern:
> KJ_NO_RCVDS=(/^Received:\s/:h,1) 
> log "Number of received ${KJ_NO_RCVDS} "
> and with attached message I got ... 1
Sorry, file was missing
Attachment (77.eml): application/octet-stream, 3651 bytes


When I saw a sign on the freeway that said, "Los Angeles 445 miles," I said
to myself, "I've got to get out of this lane."
		-- Franklyn Ajaye
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
Courier-maildrop mailing list
Courier-maildrop <at> lists.sourceforge.net
(Continue reading)

rlharris | 10 Aug 22:10 2015

error 75, error 164

I am receiving the following error message:

Delivery error (command maildrop 18470 error (75, .mailfilter(164):
  Syntax error after ))) msg 4/1300 (24935 bytes) from
  <houston-bounces+rlharris=oplink.net <at> pm.org>, delivery error
  (command maildrop 18470 error (75, .mailfilter(164): Syntax error
  after )))

but I have not yet spotted a syntax error in ".mailfilter".

I do not know where to look for the definitions of errors number 75 and
164; searching with Google has not provided an answer.

And I am confused by the mismatch in the number of parentheses in the
error message; there are only three opening parentheses but four closing


   after )))

Am I misreading the error message?


(Continue reading)

Sam Varshavchik | 9 Aug 16:17 2015

Courier and maildrop build 20150809

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


- maildrop: a message without a body, and without a blank line that  
separates the message's headers from its body wasn't being parsed correctly.  
This did not affect Courier which always inserts a blank line after headers,  
even if a received message didn't have one.

- Add Received-SPF: headers for the message envelope sender before the first  
Received: header. The Received-SPF: header for the HELO domain, if enabled,  
wasn't being added to the message due to a bug.

rlharris | 7 Aug 00:03 2015

delivered to wrong maildir

The maildrop log has the following entry for a message delivered to

Date: Thu Aug  6 21:36:30 2015
From: =?utf-8?Q?Ligonier=20Ministries?= <noreply <at> ligonier.org>
File: /home/rlh/mail/repository/list/xkb                              

However, the only rule in ".mailfilter" which contains the string "xkb" is
the following:

if ( /^(To: xkb <at> listserv)||(From:.*xkb-subscribe)/ )
   to $MAILREPOSITORY/list/xkb

What is the cause of this mis-delivery?

Nethub Online - Ming | 26 Jun 08:35 2015

"From " header


After enabling maildrop, I found that it will add a "From " header to the
first line of email, like this:

>From root <at> helloworld.com Fri Jun 26 06:27:19 2015

How to remove it or not adding it?

I tried "enable-keep-fromline=0" does not help.

I am using qmail, vpopmail-5.4.25, maildrop-2.8.2

Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
Sam Varshavchik | 20 Jun 15:34 2015

maildrop build 20150620

Download: http://www.courier-mta.org/download.html#maildrop

This adds an optional maildrop hook to have a new account's home directory  
automatically created, as noted in INSTALL. Not fully tested.

Courier-maildrop mailing list
Courier-maildrop <at> lists.sourceforge.net
Osamu Aoki | 3 Jun 15:21 2015

Changelog, github,...


This is the debian maintainer.

The latest maildrop is 25-Apr-2015 2.8.2   maildrop-2.8.2.tar.bz2

But its comes with ChangeLog 

| 2015-02-28  Sam Varshavchik  <mrsam <at> courier-mta.com>
|         * Update to courier-unicode 1.2.
| ....

I also checked new github for courier which has maildrop inside.  Its
git change history has May 10 and May 15th entry but missing filter
logic change I expected.  I do not see independent maildrop repo either.

I understand it is a transition period.

If I should look at some page, let me know ...


Osamu Aoki | 9 May 18:31 2015

[jorrit <at> jorrit.de: Re: maildrop: Subpatterns should not be processed in foreach]


Just to be sure, I am forwarding this to mailing list.

Original bug report can be seen at: http://bugs.debian.org/783539

----- Forwarded message from Jö Fahlke <jorrit <at> jorrit.de> -----

Date: Tue, 28 Apr 2015 19:31:56 +0200
From: Jö Fahlke <jorrit <at> jorrit.de>
To: Sam Varshavchik <mrsam <at> courier-mta.com>
Cc: Osamu Aoki <osamu <at> debian.org>
Subject: Re: maildrop: Subpatterns should not be processed in foreach
User-Agent: Mutt/1.5.23 (2014-03-12)


I just found the time to develope a patch and sent it to the bts.  It is
attached here for convenience as well.



Jorrit (Jö) Fahlke, Institute for Computational und Applied Mathematics,
University of Münster, Orleans-Ring 10, D-48149 Münster
Tel: +49 251 83 35146 Fax: +49 251 83 32729

A mathematician is a device to turn coffee into theorems.
-- Paul Erdős
(Continue reading)

Bob Bernstein | 17 Feb 01:55 2015

global maildrop log file?

I want three users to share a common maildrop logfile.

/etc/maildroprc contains one line:

ls -l /etc/mailfilterlog gives:
-rw-rw-r-- 1 root users 0 Feb 16 18:43 mailfilterlog

The $HOME/.mailfilter files begin like this:
#logfile "$HOME/.mailfilterlog"
logfile "/etc/mailfilterlog"

Several messages to the users affected arrive, but 
/etc/mailfilterlog remains zero length.

Extra credit question: <g>
Where should I look for error messages related to this issue?

Thanks for any insight shared!


Bob Bernstein


Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
(Continue reading)

Alejandro | 24 Sep 22:24 2014

How can I introduce a delay in the filter?

I'm using this filter to save emails I get using getmail to a local 
maildir, and to forward them to an external gmail address using msmtp

My problem is that from time to time the server fails in forwarding them 
with the following message:

550-Requested action not taken: mailbox unavailable
550 Failure sending mail. Try again later

I'm not sure why is this happening, but I usually see this when several 
emails go out in a short period.
I suspect either the SMTP server or the recipient gmail account might be 
temporarily blacklisting me.

So, I was thinking in introducing a short delay after or before sending 
the email to msmtp, though I'm not sure how to do it.

I have now: to "| /usr/bin/msmtp address <at> gmail.com"

Could you suggest how to introduce a small delay? 1 second would be OK

Can I do for example: to "| sleep 1 & /usr/bin/msmtp address <at> gmail.com"

or should I do a loop to waste time? how could I control the timing of 
that loop?

Thanks in advance

Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
(Continue reading)

Marc Guyard | 23 Jun 14:55 2014

to and cc send message to specified address and all address in the email


I've working since many days on MailDrop and i have a problem with the to and cc.
In my configuration, i've this :

if ($SUBJECT =~ /.*\[Ticket#[0-9]+\].*$/ && ! /^X-Loop: mon <at> email.com$/:h)
        log "* Match OTRS Subject"
        log "* Add AntiLoop Header ==> X-Loop"
        xfilter "reformail -A 'X-Loop: mon <at> email.com'"
        log "* Send email to OTRS mailbox"
        to "!otrs <at> test.local otrs-mailbackup <at> test.local"

In my case, mails who match this rule are send to otrs <at> test.local and otrs-mailbackup <at> test.local but also to all address in to and cc of the original email.

How can i specify to foward the email only to addresses specified and not to this and original to/cc ?

Thanks by advance for your help

HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
Courier-maildrop mailing list
Courier-maildrop <at> lists.sourceforge.net