Courier Mail Server Forum Index Courier Mail Server
www.courierms.ru
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Обработка почты

 
Post new topic   Reply to topic    Courier Mail Server Forum Index -> Courier Mail Server 3.xx
View previous topic :: View next topic  
Author Message
sprutello
Newbie
Newbie


Joined: 31 Jul 2014
Posts: 1

PostPosted: 31 Jul 2014 10:23 (Thu)    Post subject: Обработка почты Reply with quote

Поможите плиз!
При правиле:
From:"user@mail.ru"
пересылать на адрес
пересылаются письма от всех *user*@mail.ru
user1@mail.ru
1user@mail.ru
Как сделать обработку только user@mail.ru.
Исключение остальных адресов с user не подойдет, так как их очень много.
Спасибо.
Back to top
View user's profile Send private message
NAMOR
CMS Developer


Joined: 15 Oct 2005
Posts: 1079

PostPosted: 31 Jul 2014 13:29 (Thu)    Post subject: Reply with quote

При условии From:"user@mail.ru" адрес user1@mail.ru найтись никак не может, так как в поле ищется вся указанная в кавычках строка. А вот в адресе 1user@mail.ru, конечно, найдётся.
Чтобы находился только адрес user@mail.ru, можно использовать условие:
*From:"(^|[^-\w.])user@mail\.ru"
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mihatin
Newbie
Newbie


Joined: 02 Sep 2014
Posts: 2

PostPosted: 02 Sep 2014 14:55 (Tue)    Post subject: Reply with quote

Есть два пользователя - admin и user , как обработать почту, чтобы если в теме есть слово "бух" (Например для бухгалтерии), то почту получает только user, а admin нет. У меня admin всегда получает.
В правиле прописал: Если *Subject:"\бух*" добавить получателя user@domain.local
Back to top
View user's profile Send private message
PWL
CMS Developer
CMS Developer


Joined: 15 Oct 2005
Posts: 689

PostPosted: 04 Sep 2014 18:38 (Thu)    Post subject: Reply with quote

Уберите звёздочки, не путайте с регулярными выражениями, у вас правило должно быть таким
Subject:"бух"
Back to top
View user's profile Send private message
mihatin
Newbie
Newbie


Joined: 02 Sep 2014
Posts: 2

PostPosted: 11 Sep 2014 10:50 (Thu)    Post subject: Reply with quote

Спасибо!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Courier Mail Server Forum Index -> Courier Mail Server 3.xx All times are GMT + 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group