Alejandro | 24 Sep 22:24 2014
Picon

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

Hi,

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

Marc GUYARD
------------------------------------------------------------------------------
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
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Courier-maildrop mailing list
Courier-maildrop <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/courier-maildrop
Davide Davini | 23 Jun 09:48 2014
Picon

Body flag doesn't look into attachments in 2.7

On: FreeBSD gino.bramieri.com 8.4-RELEASE-p12 FreeBSD 8.4-RELEASE-p12
#14: Thu Jun 19 15:45:31 CEST 2014

Mail drop port version: maildrop-2.7.1_1

Since [yesterday] I upgraded to 2.7[1] my scripts that use :b flag don't
seem to look into the attachment anymore. Curses.

Example:
if (/pippo/:b && /^To:.*gino <at> bramieri.com/)
{
	<do stuff>
}

It works fine when "pippo" is in the, let's say, main body of the email
but it fails miserably when "pippo" is in the attachment part of the
body. It was working like a charm until the upgrade.

Did something that I do not know of change? Is it a bug? Workarounds?

Any advice is welcome.

Ciao,
Daivde

[1] from 2.6, if I recall correctly.

------------------------------------------------------------------------------
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
http://p.sf.net/sfu/hpccsystems
Sam Varshavchik | 22 Jun 16:01 2014

Courier and maildrop build 20140622, new release of the Courier Unicode Library

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

• Adds a -T replydraft option to mailbot, to read the text of the  
autoresponse from a maildir folder.

Other changes, since the last release:

• The new courier-unicode package needs to be downloaded and installed first,
before building the remaining packages.

• Fixes garbled search log entries in maildrop's log file.

• Applied fix for Debian bug 564601 to the standalone maildrop package.

• Miscellaneous fixes to build scripts.

• New rate limiting filter, perlfilter-ratelimit.pl

• RELAYCLIENT and TCPREMOTEIP get written into control files, and available
to custom mail filters.

• The Fedora RPM package updated to use systemd macros.

• IMAP and POP3 servers log logins when running in proxy mode.

------------------------------------------------------------------------------
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
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Courier-maildrop mailing list
Courier-maildrop <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/courier-maildrop
Guido | 8 Jun 01:07 2014
Picon

test

test

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Courier-maildrop mailing list
Courier-maildrop <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/courier-maildrop
Guido | 27 May 14:19 2014
Picon

Maildrop - quotawarn

Good day!

First of all sorry for my english...

Implemented warning maildrop quota exceeded for this work
correctly except for one detail .

The drawback is that sending mail notice is sent only
time .... I mean for example if the mailbox has been exceeded by more 
than 80 % ,
as I have configured , sends e- mail notification when exceeded ,
up there all right ...

The problem is that if that box again exceed the limit. not
sends the notice to the mailbox again.

I noticed that when a mailbox exceeds the limit a file is created
called " quotawarn " in the folder for the mailbox exceeded
(/ home / vmail / domain / mailbox / quotawarn ); and if I delete that file
immediately the notice is sent , so that seems to come out there the
topic ....

I noticed in the documentation and understand that should function as
says here [1 ] , meaning that the warning limit is exceeded resend
after 24 hrs , but this , as I said , does not work.

Any idea ? thanks

[1] http://www.courier-mta.org/maildrop.html

------------------------------------------------------------------------------
The best possible search technologies are now affordable for all companies.
Download your FREE open source Enterprise Search Engine today!
Our experts will assist you in its installation for $59/mo, no commitment.
Test it for FREE on our Cloud platform anytime!
http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk
Nerijus Baliunas | 16 Jan 00:12 2014
Picon
Picon

.mailfilter file stopped working with 2.7.1

Hello,

My .mailfilter file works with 2.6.0-2.fc19, but does not with 2.7.1-1.fc19 Fedora package.
More info at https://bugzilla.redhat.com/show_bug.cgi?id=1053313.
I suspect it happens because the message has MIME unencoded Subject,
and with mixed encodings. Is it true?

Regards,
Nerijus

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
Sam Varshavchik | 6 Jan 13:00 2014

Re: [SPAM] Some messages fail delivery in postfix -> maildrop -> crm114 chain

glen martin writes:

> Here is my ~/.mailfilter:
>
>    <snip>
>    MAILDIR="$HOME/.maildir"
>    DEFAULT="$MAILDIR"
>
>    logfile "maildropfilter.log"
>    log "=========="
>
>    xfilter "/usr/bin/crm114 -u $HOME/.crm114/ $HOME/.crm114/mailfilter.crm"
>
>    log "----------"
>
>    if (/^X-CRM114-Status: SPAM/)
>            to "$MAILDIR/.0_checkspam._R_spam"
>
>    </snip>
>
> The immediate symptom is that the some messages sit spooled forever (until  
> they expire, I suppose).  mailq gives me a whole bunch of items that look  
> like this:
>
>    <snip>
>    51EE7520BA     1981 Sat Jan  4 11:27:34  MAILER-DAEMON
>    (temporary failure. Command output: /usr/bin/maildrop: Unable to filter
>    message.)

This usually indicates that the external command invoked via xfilter has  
terminated with a non-zero exit code, indicating an error.

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Courier-maildrop mailing list
Courier-maildrop <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/courier-maildrop
Larry Stone | 5 Dec 17:36 2013

Sending a new email with maildrop/mailbot

I'm in the process of moving from procmail to maildrop*

Anyway, one of the things I do is scan certain emails for a particular 
string and if found, extract that line and sent it to my phone's text 
message email address. A suitably munged procmail recipe to do this is:

WRGPTPAGE=8472759575 <at> txt.att.net
:0BHc :
* ^From:.*REDACTED.*
* ^Subject:.*key subject
* .*key text.*
{
  	MSGTEXT=`formail -I "" | grep -i "keytext"`
  	:0
  	| (formail -brt  -I 'From: REDACTED <at> example.com' \
  	-I 'Subject: Example' -I "To: myphone <at> example.com" ; \
  	echo $MSGTEXT) | /usr/sbin/sendmail -t

}

So far, for the Maildrop equivalent, I've come up with using mailbot 
(from reading the man page, it appears reformail is not the tool for 
this) is:
if (/^From:.*REDACTED/ && \
      /^Subject:.*key subject/ && \
      /.*key text/:b && \
{
      `grep -i "key text" > .tmpmailfilter`
      cc "|/usr/local/bin/mailbot -t .tmpmailfilter \
        -A 'From: REDACTED <at> example.com' \
        -N -s "Key" /usr/sbin/sendmail -f '' myphone <at> example.com"
      `rm .tmpmailfilter`
}

This works so my only concern is that it is not optimal. Is there a way to 
avoid using the temporary file by using a variable like in the procmail 
recipe? Also, I tried setting the destination with -fmyphone <at> example.com 
but if IIRC, correctly, that caused it to go to the original sender as 
well.

Thanks in advance for any comments or suggestions.

* Why the move? Unfortunately, the latest Mac OS X (10.9) has become more 
strict in strcpy error checking and procmail built under 10.9 will error 
on more complex recipes - currently using the procmail built under 10.8 
but figure with no procmail development work in over 10 years, I may be 
living on borrowed time).

-- Larry Stone
    lstone19 <at> stonejongleux.com

------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
Sam Varshavchik | 29 Nov 01:15 2013

New releases of Courier, Courier-IMAP, SqWebMail and maildrop packages

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

Changes:

• Fixes several compiler warning about unchecked error handling. Analysis of  
affected code did not find any readily explitable attack vector; so this  
gets fixed as a preventative measure.

• Add TLS1.1 and TLS1.2 OpenSSL modules.

• A number of changes to the SSL configuration settings. A stock  
installation should come up using DH parameters by default. This is done by  
removing the TLS_DHCERTFILE setting, and replacing it with a TLS_DHPARAMS  
setting that loads a file containing DH parameters only (TLS_DHCERTFILE's  
ancillary functionality is merged into TLS_CERTFILE).

• The default startup script runs a new mkdhparams script, which creates the  
DH parameter file if it does not exist. The RPM package installs a monthly  
cron job that creates a new DH parameter file.

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Courier-sqwebmail mailing list
Courier-sqwebmail <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-sqwebmail
mls | 9 Nov 14:51 2013

maildrop authdaemon: s_connect() failed

Hi,

I am using maildrop since years as MDA to deliver mail from postfix. 
Recently I decided to use it in a getmail environment to do mail filtering 
of mail that is retrieved from a provider via getmail. On my first attempts 
maildrop exited with the error "ERR: authdaemon: s_connect() failed: No such 
file or directory" because the courier-authdaemon package was not install. 
After installation it worked smoothly.

I am wondering why maildrop did not complain before when it was started from 
postfix as MDA about missing authdaemon.

Thanks & regards,

mls

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk

Gmane