ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Yuri Ryazantsev <yuri@unix.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] × ÔÅÍÅ ÓÏÏÂÝÅÎÉÑ XXXXXXXX ×ÍÅÓÔÏ ÒÕÓÓËÏÇÏ
Date: Mon Dec  3 21:59:10 2001
Message-ID: <20011203215817.F32755@mail.unix.ru> (raw)
In-Reply-To: <003401c17c2b$522307f0$0585a8c0@laczga>; from gottfrid@mail.ru on Mon, Dec 03, 2001 at 09:49:54PM +0300

On Mon, Dec 03, 2001 at 09:49:54PM +0300, Andrew wrote:

> Доброго времени суток:)
> У меня стоит exim с системным фильтром и cyrus.
> При отправке сообщения из консоли с помощью mail 
> все русские буквы в поле "Subject" у получателя превращаются в XXXXX
> причем в теле сообщения все ok.
> Как с этим бороться?

Очень просто. Для cyrus-imap-2.0.16

diff -urN cyrus-imapd-2.0.16.orig/imap/message.c
cyrus-imapd-2.0.16/imap/message.c
--- cyrus-imapd-2.0.16.orig/imap/message.c      Wed Dec 27 00:35:41 2000
+++ cyrus-imapd-2.0.16/imap/message.c   Tue Aug 14 00:45:54 2001
@@ -229,6 +229,7 @@
     int n;
     int sawcr = 0, sawnl;
     int reject8bit = config_getswitch("reject8bit", 0);
+    int pass8bit = config_getswitch("pass8bit", 0);
     int inheader = 1, blankline = 1;
		    
     while (size) {
@@ -267,7 +268,7 @@
	     } else {
        	        /* We have been configured to munge all mail of this
                  	   form. */
-                       *p = 'X';
+                       if (!pass8bit) *p = 'X';
             }
        }
    }
									   
И в /etc/imapd.conf:

pass8bit:               yes

А более полный патч см. для Mandrake-8.1 по адресу
ftp://ftp.unix.ru/pub/Linux/MyContrib/mandrake-8.1/

with best wishes,

Yuri.




       reply	other threads:[~2001-12-03 21:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-03 21:59 ` Yuri Ryazantsev [this message]
2001-12-21 16:48   ` [mdk-re] Re: [mdk-re] в теме сообщения XXXXXXXX вместо русского Andrew
2001-12-21 19:41     ` [mdk-re] Re: [mdk-re] × ÔÅÍÅ ÓÏÏÂÝÅÎÉÑ XXXXXXXX ×ÍÅÓÔÏ ÒÕÓÓËÏÇÏ Yuri Ryazantsev
2001-12-22 17:46     ` [mdk-re] Re: [mdk-re] в теме сообщения XXXXXXXX вместо русского Alexei Takaseev
2002-01-04 19:24       ` [mdk-re] Exim System filter & "Cc" Andrew

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011203215817.F32755@mail.unix.ru \
    --to=yuri@unix.ru \
    --cc=mandrake-russian@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git