Главная страница


ru.unix.bsd

 
 - RU.UNIX.BSD ------------------------------------------------------------------
 From : Vladimir Shishkov                    2:5020/400     06 Jul 2004  19:38:49
 To : damir bikmuhametov
 Subject : Re: milter questions
 -------------------------------------------------------------------------------- 
 
 Хочется из вот этого:
 -------------------
 
 $ctx->addheader FIELD, VALUE
 
 Add a header to the message. FIELD is the header field name. VALUE is the
 header field value. This header is not passed to other filters. It is not
 checked for standards compliance; the mail filter must ensure that no
 protocols are violated as a result of adding this header.
 
 This function returns nonzero upon success, the undefined value otherwise.
 
 $ctx->chgheader FIELD, INDEX, VALUE
 
 Change/delete a header in the message. FIELD is the header field name. INDEX
 is the Nth occurence of the header field name. VALUE is the new header field
 value (empty for delete header). It is not checked for standards compliance;
 the mail filter must ensure that no protocols are violated as a result of
 adding this header.
 
 This function returns nonzero upon success, the undefined value otherwise.
 
 $ctx->addrcpt RCPT
 
 Add a recipient to the envelope. RCPT is the recipient to be added.
 
 This function returns nonzero upon success, the undefined value otherwise.
 
 $ctx->delrcpt RCPT
 
 Delete a recipient from the envelope. RCPT is the envelope recipient to be
 deleted. This should be in exactly the same form passed to envrcpt_callback
 or the address may not be deleted.
 ----------------
 
 соорудить конфетку.
 Пока только не сообразил как, не шибко силен в программировании.
 Т.е. сообразил: первый сохраняет env rcpt (только куда?), делает delrcpt,
 addrcpt лицензированный пользователь, скармливает антиспаму за деньги,
 который отдает второму фильтру, производящему все наоборот.
 Осталось только расписать все это.)
 
 "damir bikmuhametov" <boco@ufanet.ru> сообщил/сообщила в новостях следующее:
 news:ccebqm$2mn6$1@www.ufanet.ru...
 
 > Hello, Vladimir!
 > You wrote  on Tue, 6 Jul 2004 08:57:50 +0000 (UTC):
 >
 >  VS> один фильтр сохраняет заголовки (TO, например в своем, например,
 >  VS> X-Milter-TO, меняет TO на нужный мне),
 >  VS> письмо передается  антивирусу(спаму) на ограниченное кол-во адресов,
 >  VS> далее второму фильтру, восстанавливающему первоначальные значения.
 >
 > зачем лечить письма? пусть лечит отправитель. reject после data и пусть
 
 сам
 
 > разбирается.
 >
 > ps. вы какой антивирус хотите использовать?
 >
 > With best regards, damir bikmuhametov.
 >
 >
 
 --- ifmail v.2.15dev5.3
  * Origin: Demos online service (2:5020/400)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 milter questions   Vladimir Shishkov   06 Jul 2004 12:57:50 
 Re: milter questions   Andrew Filonov   06 Jul 2004 13:11:56 
 Re: milter questions   damir bikmuhametov   06 Jul 2004 18:10:56 
 Re: milter questions   Vladimir Shishkov   06 Jul 2004 19:38:49 
 Re: milter questions   damir bikmuhametov   07 Jul 2004 14:21:53 
Архивное /ru.unix.bsd/6577313c78b5.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional