You could try setting
suppress_duplicates=yes
in dbmail.conf
DLX wrote:
> Thank you for your reply, but the problem is that a mail to both recipients
> contains both [EMAIL PROTECTED] and [EMAIL PROTECTED] in its header. In other
> words, the first "if" will always evaluate to true and the mail will be
> filed twice in Johns directory. Your solution is equivalent to an "elseif"
> for the second "if" and won't file any mail for Peter at all.
>
>
> Michael Monnerie-5 wrote:
>> On Mittwoch, 24. September 2008 DLX wrote:
>>> require "fileinto";
>>> if address :contains :all ["to", "cc", "bcc"] "[EMAIL PROTECTED]" {
>>> fileinto "John"; stop; }
>>> if address :contains :all ["to", "cc", "bcc"] "[EMAIL PROTECTED]" {
>>> fileinto "Peter"; }
>> Put a "stop;" where I put it, and sieve will stop there after filing the
>> first mail.
>>
>> mfg zmi
>>
>
--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail