[exim] send and save via outlook on my smtp server

Etusivu
Poista viesti
Vastaa
Lähettäjä: Oliver Howe
Päiväys:  
Vastaanottaja: exim-users
Aihe: [exim] send and save via outlook on my smtp server

i have an courier-imap server for users to download their messages to outlook with.
on the same server i have exim which is used by these users to send out email via smtp.

if they have chosen "send and save" in their webmail preferences then whenever they
send out a message, i save copy to their username/.Sent/cur folder with a filter file :-

# Exim filter  THIS FILE IS AUTOMATICALLY GENERATED BY sas.pl
if error_message then finish endif
if $header_From: matches "user@sub\\\\.domain\\\\.com" then
        unseen save /mnt/data/diskxx/service/mail/sub.domain.com/user/.Sent/
endif
finish



which seems to work quite well, apart from if the user is sending an email message to more than one person, then he gets a copy of the message saved in his Sent forlder for each person. so if he sent it to 3 people then he gets 3 copies of the message saved.

how do i just save one message?

thanks


--


Oliver Howe
Senior Systems Administrator

Tel: +44 (0) 79 7420 6484
Fax: +44 (0) 20 7664 7878

Spider Networks - the power behind interactive web communications - www.spider-networks.net


--
Confidentiality Notice: This email is confidential and may also be privileged. If you are not the intended recipient, please notify the sender IMMEDIATELY; you should not copy the email or use it for any purpose or disclose its contents to any other person. General Statement: Any statements made, or intentions expressed in this communication, may not necessarily reflect the view of Spider Networks, that no content herein may be held binding upon Spider Networks or any associate or any associated company unless confirmed by the issuance of a formal contractual document or purchase order.