The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

форумы  помощь  поиск  регистрация  майллист  ВХОД  слежка  RSS
"define(`SMTP_MAILER_FLAG', `8')"
Вариант для распечатки  
Пред. тема | След. тема 
Форумы OpenNET: Виртуальная конференция (Public)
Изначальное сообщение [Проследить за развитием треда]

"define(`SMTP_MAILER_FLAG', `8')"  
Сообщение от devnull email(??) on 13-Апр-06, 18:33 
I am install new release of sendmail, and it encode all incoming messages in mime base64 format.
How to configure that i can autoconvert all messages in 8bit. (X-autoconverted from base64 to 8bit for example ). I am very need this functionality. Please dont send me link to documentation ...... i am read it for a 3 weeks ....:((((

I am try

define(`confEIGHT_BIT_HANDLING', `m')
define('confSMTP_MAILER', `smtp8')dnl
define(`SMTP_MAILER_FLAG', `8')


But without  effect .....

Правка | Высказать мнение | Ответить | Cообщить модератору | Наверх

 Оглавление

Сообщения по теме [Сортировка по времени, UBB]


1. "define(`SMTP_MAILER_FLAG', `8')"  
Сообщение от lavr email on 13-Апр-06, 19:56 
>I am install new release of sendmail, and it encode all incoming
>messages in mime base64 format.
>How to configure that i can autoconvert all messages in 8bit. (X-autoconverted
>from base64 to 8bit for example ). I am very need
>this functionality. Please dont send me link to documentation ...... i
>am read it for a 3 weeks ....:((((
>
>I am try
>
>define(`confEIGHT_BIT_HANDLING', `m')
>define('confSMTP_MAILER', `smtp8')dnl
>define(`SMTP_MAILER_FLAG', `8')
>
>
>But without  effect .....

Look at RFC 1652 (SMTP 8BITMIME Extension) and read op.me (sendmail documentation)

from op.me:
...
5.4.  M -- Define Mailer
...
      6   Strip headers to seven bits.
          
      7   Strip  all  output  to  seven  bits.   This is the
          default if the L flag is set.  Note that  clearing
          this  option  is  not sufficient to get full eight
          bit data passed through sendmail.  If the 7 option
          is  set, this is essentially always set, since the
          eighth bit was stripped on input.  Note that  this

          option  will only impact messages that didn't have
          8->7 bit MIME conversions performed.

      8   If set, it is acceptable to send eight bit data to
          this mailer; the usual attempt to do 8->7 bit MIME
          conversions will be bypassed.

      9   If set, do  limited  7->8  bit  MIME  conversions.
          These  conversions are limited to text/plain data.

           The  Charset field is used when converting a mes-
      sage to MIME; this is the character set  used  in  the
      Content-Type:   header.   If  this  is  not  set,  the
      DefaultCharset option is used, and if that is not set,
      the value "unknown-8bit" is used.  WARNING: this field
      applies to the sender's mailer,  not  the  recipient's
      mailer.   For  example, if the envelope sender address
      lists an address on the local network and the  recipi-
      ent  is on an external network, the character set will
      be set from the Charset= field for the  local  network
      mailer, not that of the external network mailer.

           The Type= field sets the type information used in
      MIME error messages as defined by  RFC  1894.   It  is
      actually  three  values separated by slashes: the MTA-
      type (that  is,  the  description  of  how  hosts  are
      named),  the  address  type (the description of e-mail
      addresses), and the diagnostic type  (the  description
      of  error  diagnostic codes).  Each of these must be a
      registered value or begin with "X-".  The  default  is
      "dns/rfc822/smtp".

      DefaultCharSet=charset
                [no short name]  When  a  message  that  has
                8-bit  characters  but is not in MIME format
                is converted to MIME (see  the  EightBitMode
                option)  a character set must be included in
                the Content-Type:  header.   This  character
                set  is normally set from the Charset= field
                of the mailer descriptor.  If  that  is  not
                set,  the  value of this option is used.  If
                this  option   is   not   set,   the   value
                "unknown-8bit" is used.

      EightBitMode=action
                [8] Set handling of eight-bit  data.   There
                are   two  kinds  of  eight-bit  data:  that
                declared as  such  using  the  BODY=8BITMIME
                ESMTP  declaration or the -B8BITMIME command
                line flag, and undeclared 8-bit  data,  that
                is,  input  that  just  happens  to be eight
                bits.  There are three basic operations that
                can  happen:  undeclared  8-bit  data can be
                automatically converted to  8BITMIME,  unde-
                clared  8-bit data can be passed as-is with-
                out conversion to MIME  (``just  send  8''),
                and  declared 8-bit data can be converted to
                7-bits for transmission  to  a  non-8BITMIME
                mailer.  The possible actions are:
                              
                      s Reject undeclared 8-bit data (``strict'')
                      m Convert undeclared 8-bit data to MIME (``mime'')
                      p Pass undeclared 8-bit data (``pass'')
                              
                In all cases properly declared 8BITMIME data
                will be converted to 7BIT as needed.

# nroff -me -Tascii /path/op.me | less

Правка | Высказать мнение | Ответить | Cообщить модератору | Наверх

2. "define(`SMTP_MAILER_FLAG', `8')"  
Сообщение от devnull email(??) on 13-Апр-06, 21:36 
>>I am install new release of sendmail, and it encode all incoming
>>messages in mime base64 format.
>>How to configure that i can autoconvert all messages in 8bit. (X-autoconverted
>>from base64 to 8bit for example ). I am very need
>>this functionality. Please dont send me link to documentation ...... i
>>am read it for a 3 weeks ....:((((
>>
>>I am try
>>
>>define(`confEIGHT_BIT_HANDLING', `m')
>>define('confSMTP_MAILER', `smtp8')dnl
>>define(`SMTP_MAILER_FLAG', `8')
>>
>>
>>But without  effect .....
>
>Look at RFC 1652 (SMTP 8BITMIME Extension) and read op.me (sendmail documentation)
>
>
>from op.me:
>...
>5.4.  M -- Define Mailer
>...
>      6   Strip headers to
>seven bits.
>
>      7   Strip  all
> output  to  seven  bits.   This
>is the
>          default if
>the L flag is set.  Note that  clearing
>          this  
>option  is  not sufficient to get full eight
>          bit data
>passed through sendmail.  If the 7 option
>          is  
>set, this is essentially always set, since the
>          eighth bit
>was stripped on input.  Note that  this
>
>          option  
>will only impact messages that didn't have
>          8->7 bit MIME conversions performed.
>
>      8   If set, it
>is acceptable to send eight bit data to
>          this mailer; the usual attempt to do 8->7 bit MIME
>          conversions will
>be bypassed.
>
>      9   If set, do  limited  7->8  bit  MIME  conversions.
>          These  
>conversions are limited to text/plain data.
>
>           The
> Charset field is used when converting a mes-
>      sage to MIME; this is the
>character set  used  in  the
>      Content-Type:   header.  
>If  this  is  not  set,  the
>
>      DefaultCharset option is used, and if
>that is not set,
>      the value "unknown-8bit" is used.  
>WARNING: this field
>      applies to the sender's mailer,  
>not  the  recipient's
>      mailer.   For  example,
>if the envelope sender address
>      lists an address on the local
>network and the  recipi-
>      ent  is on an external
>network, the character set will
>      be set from the Charset= field
>for the  local  network
>      mailer, not that of the external
>network mailer.
>
>           The
>Type= field sets the type information used in
>      MIME error messages as defined by
> RFC  1894.   It  is
>      actually  three  values separated
>by slashes: the MTA-
>      type (that  is,  the
> description  of  how  hosts  are
>      named),  the  address  
>type (the description of e-mail
>      addresses), and the diagnostic type  
>(the  description
>      of  error  diagnostic codes).
> Each of these must be a
>      registered value or begin with "X-".
> The  default  is
>      "dns/rfc822/smtp".
>
>      DefaultCharSet=charset
>            
>    [no short name]  When  a
> message  that  has
>            
>    8-bit  characters  but is not
>in MIME format
>            
>    is converted to MIME (see  the
> EightBitMode
>            
>    option)  a character set must be
>included in
>            
>    the Content-Type:  header.   This
> character
>            
>    set  is normally set from the
>Charset= field
>            
>    of the mailer descriptor.  If  
>that  is  not
>            
>    set,  the  value of this
>option is used.  If
>            
>    this  option   is  
> not   set,   the   value
>
>            
>    "unknown-8bit" is used.
>
>      EightBitMode=action
>            
>    [8] Set handling of eight-bit  data.
>  There
>            
>    are   two  kinds  
>of  eight-bit  data:  that
>            
>    declared as  such  using  
>the  BODY=8BITMIME
>            
>    ESMTP  declaration or the -B8BITMIME command
>
>            
>    line flag, and undeclared 8-bit  data,
> that
>            
>    is,  input  that  just
> happens  to be eight
>            
>    bits.  There are three basic operations
>that
>            
>    can  happen:  undeclared  8-bit
> data can be
>            
>    automatically converted to  8BITMIME,  unde-
>
>            
>    clared  8-bit data can be passed
>as-is with-
>            
>    out conversion to MIME  (``just  
>send  8''),
>            
>    and  declared 8-bit data can be
>converted to
>            
>    7-bits for transmission  to  a
> non-8BITMIME
>            
>    mailer.  The possible actions are:
>
>            
>          s
>Reject undeclared 8-bit data (``strict'')
>            
>          m
>Convert undeclared 8-bit data to MIME (``mime'')
>            
>          p
>Pass undeclared 8-bit data (``pass'')
>
>            
>    In all cases properly declared 8BITMIME data
>
>            
>    will be converted to 7BIT as needed.
>
>
># nroff -me -Tascii /path/op.me | less
Ok lavr, thank you, but say me please on your MTA what configuration ??? or you not convert base64 to 8bit ????
Правка | Высказать мнение | Ответить | Cообщить модератору | Наверх

3. "define(`SMTP_MAILER_FLAG', `8')"  
Сообщение от devnull email(??) on 13-Апр-06, 22:26 
>>>I am install new release of sendmail, and it encode all incoming
>>>messages in mime base64 format.
>>>How to configure that i can autoconvert all messages in 8bit. (X-autoconverted
>>>from base64 to 8bit for example ). I am very need
>>>this functionality. Please dont send me link to documentation ...... i
>>>am read it for a 3 weeks ....:((((
>>>
>>>I am try
>>>
>>>define(`confEIGHT_BIT_HANDLING', `m')
>>>define('confSMTP_MAILER', `smtp8')dnl
>>>define(`SMTP_MAILER_FLAG', `8')
>>>
>>>
>>>But without  effect .....
>>
>>Look at RFC 1652 (SMTP 8BITMIME Extension) and read op.me (sendmail documentation)
>>
>>
>>from op.me:
>>...
>>5.4.  M -- Define Mailer
>>...
>>      6   Strip headers to
>>seven bits.
>>
>>      7   Strip  all
>> output  to  seven  bits.   This
>>is the
>>          default if
>>the L flag is set.  Note that  clearing
>>          this  
>>option  is  not sufficient to get full eight
>>          bit data
>>passed through sendmail.  If the 7 option
>>          is  
>>set, this is essentially always set, since the
>>          eighth bit
>>was stripped on input.  Note that  this
>>
>>          option  
>>will only impact messages that didn't have
>>          8->7 bit MIME conversions performed.
>>
>>      8   If set, it
>>is acceptable to send eight bit data to
>>          this mailer; the usual attempt to do 8->7 bit MIME
>>          conversions will
>>be bypassed.
>>
>>      9   If set, do  limited  7->8  bit  MIME  conversions.
>>          These  
>>conversions are limited to text/plain data.
>>
>>           The
>> Charset field is used when converting a mes-
>>      sage to MIME; this is the
>>character set  used  in  the
>>      Content-Type:   header.  
>>If  this  is  not  set,  the
>>
>>      DefaultCharset option is used, and if
>>that is not set,
>>      the value "unknown-8bit" is used.  
>>WARNING: this field
>>      applies to the sender's mailer,  
>>not  the  recipient's
>>      mailer.   For  example,
>>if the envelope sender address
>>      lists an address on the local
>>network and the  recipi-
>>      ent  is on an external
>>network, the character set will
>>      be set from the Charset= field
>>for the  local  network
>>      mailer, not that of the external
>>network mailer.
>>
>>           The
>>Type= field sets the type information used in
>>      MIME error messages as defined by
>> RFC  1894.   It  is
>>      actually  three  values separated
>>by slashes: the MTA-
>>      type (that  is,  the
>> description  of  how  hosts  are
>>      named),  the  address  
>>type (the description of e-mail
>>      addresses), and the diagnostic type  
>>(the  description
>>      of  error  diagnostic codes).
>> Each of these must be a
>>      registered value or begin with "X-".
>> The  default  is
>>      "dns/rfc822/smtp".
>>
>>      DefaultCharSet=charset
>>            
>>    [no short name]  When  a
>> message  that  has
>>            
>>    8-bit  characters  but is not
>>in MIME format
>>            
>>    is converted to MIME (see  the
>> EightBitMode
>>            
>>    option)  a character set must be
>>included in
>>            
>>    the Content-Type:  header.   This
>> character
>>            
>>    set  is normally set from the
>>Charset= field
>>            
>>    of the mailer descriptor.  If  
>>that  is  not
>>            
>>    set,  the  value of this
>>option is used.  If
>>            
>>    this  option   is  
>> not   set,   the   value
>>
>>            
>>    "unknown-8bit" is used.
>>
>>      EightBitMode=action
>>            
>>    [8] Set handling of eight-bit  data.
>>  There
>>            
>>    are   two  kinds  
>>of  eight-bit  data:  that
>>            
>>    declared as  such  using  
>>the  BODY=8BITMIME
>>            
>>    ESMTP  declaration or the -B8BITMIME command
>>
>>            
>>    line flag, and undeclared 8-bit  data,
>> that
>>            
>>    is,  input  that  just
>> happens  to be eight
>>            
>>    bits.  There are three basic operations
>>that
>>            
>>    can  happen:  undeclared  8-bit
>> data can be
>>            
>>    automatically converted to  8BITMIME,  unde-
>>
>>            
>>    clared  8-bit data can be passed
>>as-is with-
>>            
>>    out conversion to MIME  (``just  
>>send  8''),
>>            
>>    and  declared 8-bit data can be
>>converted to
>>            
>>    7-bits for transmission  to  a
>> non-8BITMIME
>>            
>>    mailer.  The possible actions are:
>>
>>            
>>          s
>>Reject undeclared 8-bit data (``strict'')
>>            
>>          m
>>Convert undeclared 8-bit data to MIME (``mime'')
>>            
>>          p
>>Pass undeclared 8-bit data (``pass'')
>>
>>            
>>    In all cases properly declared 8BITMIME data
>>
>>            
>>    will be converted to 7BIT as needed.
>>
>>
>># nroff -me -Tascii /path/op.me | less
>Ok lavr, thank you, but say me please on your MTA what
>configuration ??? or you not convert base64 to 8bit ????

I am setup

define(`confEIGHT_BIT_HANDLING', `pass8')
define('confSMTP_MAILER', `smtp8')dnl
define(`SMTP_MAILER_FLAG', `9')
define(`confDEF_CHAR_SET', `ISO-8859-1')

But Letters with atachments passed in base64 :(((( What i wrong doing ????

Правка | Высказать мнение | Ответить | Cообщить модератору | Наверх

Архив | Удалить

Индекс форумов | Темы | Пред. тема | След. тема
Оцените тред (1=ужас, 5=супер)? [ 1 | 2 | 3 | 4 | 5 ] [Рекомендовать для помещения в FAQ]




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2025 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру