f



UTF-8 in some emails?

When root, or a regular user, sends an email using "mail", the mail is 
received on a windoze box in Western European (ISO) format.

When the cron daemon sends out an email it's received by the same person  in 
Unicode (UTF-8) format.

Is this some feature/strangeness in sendmail or is it happening in the mail 
program.
There are times I wish I could use UTF-8, eg: reports that require the 
degree symbol.
Is there any way to control this.

Any help would restore my sanity.   Tom 


0
onetime1 (2)
7/14/2006 1:33:33 PM
comp.mail.sendmail 13518 articles. 1 followers. jfretby (35) is leader. Post Follow

5 Replies
885 Views

Similar Articles

[PageSpeed] 20

On Fri, 14 Jul 2006, in the Usenet newsgroup comp.mail.sendmail, in article
<sbKdnS84DcyrACrZnZ2dnUVZ_qudnZ2d@adelphia.com>, Tom wrote:

>When root, or a regular user, sends an email using "mail", the mail is
>received on a windoze box in Western European (ISO) format.
>
>When the cron daemon sends out an email it's received by the same person  in
>Unicode (UTF-8) format.
>
>Is this some feature/strangeness in sendmail or is it happening in the mail
>program.

Hmmm...

>X-Newsreader: Microsoft Outlook Express 6.00.2900.2869

No - no hint there.  Tom - do you think you might be able to figure out what
Operating System you have there?  If it's a form of *nix, maybe 'uname -a'
would tell.

Big Clue:   What is the environment you are using as root, regular user,
and cron daemon?   Most people today are using some variant/derivative of a
Bourne shell, so find a command line and enter the word 'set' and see what
it returns. Then create a one-time cron job the run the same command and
put the results into a temporary file somewhere. If you are one of the
weirdos using a C style shell, try 'printenv' instead. cron daemons are
usually run with a very restricted environment, and such things as LOCALE
may well be different.

        Old guy
0
ibuprofin2 (2868)
7/14/2006 8:05:09 PM
"Moe Trin" <ibuprofin@painkiller.example.tld> wrote in message 
news:slrnebfu7d.m0h.ibuprofin@compton.phx.az.us...
> On Fri, 14 Jul 2006, in the Usenet newsgroup comp.mail.sendmail, in 
> article
> <sbKdnS84DcyrACrZnZ2dnUVZ_qudnZ2d@adelphia.com>, Tom wrote:
>
>>When root, or a regular user, sends an email using "mail", the mail is
>>received on a windoze box in Western European (ISO) format.
>>
>>When the cron daemon sends out an email it's received by the same person 
>>in
>>Unicode (UTF-8) format.
>>
>>Is this some feature/strangeness in sendmail or is it happening in the 
>>mail
>>program.
>
> Hmmm...
>
>>X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
>
> No - no hint there.  Tom - do you think you might be able to figure out 
> what
> Operating System you have there?  If it's a form of *nix, maybe 'uname -a'
> would tell.
>
> Big Clue:   What is the environment you are using as root, regular user,
> and cron daemon?   Most people today are using some variant/derivative of 
> a
> Bourne shell, so find a command line and enter the word 'set' and see what
> it returns. Then create a one-time cron job the run the same command and
> put the results into a temporary file somewhere. If you are one of the
> weirdos using a C style shell, try 'printenv' instead. cron daemons are
> usually run with a very restricted environment, and such things as LOCALE
> may well be different.
>
>        Old guy

Hey Old guy -
My OS is Linux Fedora Core 5 with the latest updates. Bash is my shell of 
choice.
There are a lot of diffs between the "me" and "cron" environments, but the 
only ones that stand out are:

cron:    $LANG="",   $POSIXLY_CORRECT=y
me:    $LANG=en_US.UTF-8,  $POSIXLY_CORRECT=""

As me, I set and exported both to look like cron's but it made no 
difference.
This is just one of those strange interactions that has to be researched 
deeper.

If I get the poop on this I'll post it.
Thanks for your help.


0
onetime1 (2)
7/15/2006 2:40:14 PM
On Sat, 15 Jul 2006, in the Usenet newsgroup comp.mail.sendmail, in article
<pIudnVjP76DFYyXZnZ2dnUVZ_qmdnZ2d@adelphia.com>, Tom wrote:

>My OS is Linux Fedora Core 5 with the latest updates. Bash is my shell of
>choice.
>There are a lot of diffs between the "me" and "cron" environments, but the
>only ones that stand out are:
>
>cron:    $LANG="",   $POSIXLY_CORRECT=y
>me:    $LANG=en_US.UTF-8,  $POSIXLY_CORRECT=""

Are the LOCALE the same?

>As me, I set and exported both to look like cron's but it made no
>difference.

How - if you are running a GUI login (look at your runlevel in /etc/inittab)
you have to remember that the GUI is your login shell, and thus the normal
Bash login scripts (/etc/profile and friends, ~/.bash_profile and such)
do not get run. You would set your environmental stuff in the user's GUI
startup scripts. Which one depends on which GUI you are using. See
/etc/inittab and the output of 'ps afuwx' for clues, and then grab the
man page.

>This is just one of those strange interactions that has to be researched
>deeper.

They're just trying to keep you on your toes.

>If I get the poop on this I'll post it.

You might have more luck in comp.os.linux.misc as this really isn't a mail
problem.

        Old guy
0
ibuprofin2 (2868)
7/16/2006 9:12:46 PM
Tom wrote:

> When root, or a regular user, sends an email using "mail", the mail is 
> received on a windoze box in Western European (ISO) format.
> 
> When the cron daemon sends out an email it's received by the same person  in 
> Unicode (UTF-8) format.
> 
> Is this some feature/strangeness in sendmail or is it happening in the mail 
> program.

I'd say the latter. I have seen Sendmail changing the transfer
encoding, but never the character set.

> There are times I wish I could use UTF-8, eg: reports that require the 
> degree symbol.
> Is there any way to control this.

You could always bypass "mail" completely, create your own MIME headers
and feed the lot directly to Sendmail. That way, you control everything.

HTH

-- 
Tilman Schmidt                            t.schmidt@phoenixsoftware.de
Phoenix Software GmbH                             Tel. +49 228 97199 0
Adolf-Hombitzer-Str. 12                           Fax +49 228 97199 99
53227 Bonn, Germany                      http://www.phoenixsoftware.de
0
t.schmidt (173)
7/18/2006 9:09:24 AM
Tilman Schmidt <t.schmidt@phoenixsoftware.de> writes:

> Tom wrote:
> 
> > When root, or a regular user, sends an email using "mail", the mail is 
> > received on a windoze box in Western European (ISO) format.
> > 
> > When the cron daemon sends out an email it's received by the same person  in 
> > Unicode (UTF-8) format.
> > 
> > Is this some feature/strangeness in sendmail or is it happening in the mail 
> > program.
> 
> I'd say the latter. I have seen Sendmail changing the transfer
> encoding, but never the character set.

Most likely mail is sent with different character set.

It may be that default locale is some utf-8 locale. And commands
run from cron job then produce utf-8.

 
> > There are times I wish I could use UTF-8, eg: reports that require the 
> > degree symbol.
> > Is there any way to control this.
> 
> You could always bypass "mail" completely, create your own MIME headers
> and feed the lot directly to Sendmail. That way, you control everything.
> 
> HTH
> 
> -- 
> Tilman Schmidt                            t.schmidt@phoenixsoftware.de
> Phoenix Software GmbH                             Tel. +49 228 97199 0
> Adolf-Hombitzer-Str. 12                           Fax +49 228 97199 99
> 53227 Bonn, Germany                      http://www.phoenixsoftware.de

/ Kari Hurtta
0
hurtta (156)
7/18/2006 9:51:13 AM
Reply:

Similar Artilces:

Dilma Roussef =?UTF-8?B?bsOjbyBhY3I=?= =?UTF-8?B?ZWRpdGE=?= =?UTF-8?B?IGVtIERFVQ==?= =?UTF-8?B?UyAyMDE=?= =?UTF-8?B?Mjc=?=
Se voce acredita em tudo que a candidata fala por ai , veja o video que comprova que ela nao acredita em DEUS, cuidado ao jogar o seu voto no lixo! http://www.youtube.com/watch?v=24fqyh-kvvk Dilma Roussef n�o acredita em DEUS Dilma Roussef n�o acredita em DEUS Dilma Roussef n�o acredita em DEUS Dilma Roussef n�o acredita em DEUS Dilma Roussef n�o acredita em DEUS Dilma Roussef n�o acredita em DEUS http://www.youtube.com/watch?v=24fqyh-kvvk g@hxZIjqAV^Y=ai^VNXu.D!zG ...

Dilma Roussef =?UTF-8?B?bsOjbyBhY3I=?= =?UTF-8?B?ZWRpdGE=?= =?UTF-8?B?IGVtIERFVQ==?= =?UTF-8?B?UyA2Nzc=?= =?UTF-8?B?Njc=?=
Se voce acredita em tudo que a candidata fala por ai , veja o video que comprova que ela nao acredita em DEUS, cuidado ao jogar o seu voto no lixo! http://www.youtube.com/watch?v=24fqyh-kvv Dilma Roussef n�o acredita em DEU Dilma Roussef n�o acredita em DEU Dilma Roussef n�o acredita em DEU Dilma Roussef n�o acredita em DEU Dilma Roussef n�o acredita em DEU Dilma Roussef n�o acredita em DEU http://www.youtube.com/watch?v=24fqyh-kvvk !jQZyeJ(+JqFwvgXvtAk%k=n& ...

sending e-mail to oneself (w/ sendmail 8.13.8+Sun/8.13.8)
Hello everyone, I hate to ask a basic question. But I already spent two weeks. I think I have suffered enough to post a question. I have been using Solaris 9 (SPARC) for years. My sendmail.mc with older sendmail worked okay for years. Now I updated my machine to Solaris 10, which comes with a newer version of sendmail (8.13.8). I tried my old sendmail.mc (with some tweaks) but it didn't work. So, I reverted the changes I made, one by one. Finally, I used the original sendmail.mc that comes with Solaris 10. It still didn't work. The problem I'm having is that I cannot send e-mails to myself. (Mail client == Mail host) I tried: # /usr/lib/sendmail -v myself </dev/null It hangs. The mail is stored in a spool because sendmail failed to deliver. I can see it by using 'mailq' command. Eventually the e-mail is forwarded to 'root' as an undeliverable e- mail (from MAIL-DAEMON). 553 5.3.5 mailhost.my_domain.com config error: mail loops back to me (MX problem?)554 5.3.5 Local configuration error As you my suspect, I can send an e-mail to somebody else (local). // My question is: What is the correct sequence should occur when sending e-mail to oneself? How can I debug this problem? (After e-amil is submitted to a mail spool) // The newer version of sendmail now uses 'submit.cf'. I'm suspecting that sendmail puts e-mails into a spool even the e-mail doesn't need any relaying. As my understanding of sendmail is very shallow, I'...

Wer schreibt mir Emails auf Deutsch =?UTF-8?B?w7xiZXIgT1MgT2Jlcm8=?= =?UTF-8?B?biB1bmQgQmx1ZWJ1dHRsZQ==?=
Hallo Leute ! Ich kann leider kein Englisch schreiben. Ich suche daher Leute, die mit mir auf Deutsch über Oberon diskudieren. Besonders über das Betriebssystem Oberon wie Native Oberon, Win Oberon und Bluebottle. Mit freundlichen Gruß Ludwig Braun wick-privat@gmx.net ...

=?UTF-8?B?xqTvuoPguJfWgQ==?=: =?UTF-8?B?IOKModK/4oix4oix?= =?UTF-8?B?IOGPktK/bOKIsQ==?=
Υօu իԲ⩗ҿ ทҿ⩗ҿr Բทຮաҿrҿᖙ աիԲϯ ຮբҿ𐐽ﺃԲl ϯիﺃทց עօu ϯիﺃทk I իԲᖙ ϯօ ᖙօ ϯօ ցҿϯ നע Մຮҿทҿϯ rҿԲᖙҿr ϯօ աօrk աﺃϯի ทօท ᗋៜᑕII 𐐽իԲrԲ𐐽ϯҿrຮ. Iท ∱Բ𐐽ϯ, ∱rօന Բll ԲբբҿԲrԲท𐐽ҿຮ ﺃϯ ຮҿҿനຮ Բຮ ϯիօuցի ❆עօur❆ uຮҿทҿϯ rҿԲᖙҿr ᖙօҿຮ ทօϯ ҿ⩗ҿท Բllօա עօu ϯօ rҿԲᖙ നҿຮຮԲցҿຮ բօຮϯҿᖙ աﺃϯի ຮu𐐽ի uท𐐽օനനօท ﺃϯҿനຮ ∱rօന ϯիҿ Մϯᖴ-৪ lﺃຮϯ օ∱ ຮעനϦօlຮ. ẄիԲϯ ﺃຮ աrօทցᕈ Ẅիע ᖙօท'ϯ עօu ҿ⩗ҿr զuօϯҿ օr rҿຮբօทᖙ ϯօ ຮu𐐽ի നҿຮຮԲցҿຮᕈ ᗋrҿ עօu ∱ﺃทᖙﺃทց ϯիԲϯ עօur ԲϦﺃlﺃϯﺃҿຮ իҿrҿ Բrҿ നօrҿ lﺃനﺃϯҿᖙ ϯիԲท עօu ϯիօuցիϯᕈ Iϯ ຮurҿ ຮҿҿനຮ ϯիԲϯ աԲע! -- "I am skeptical of the claim that voluntarily pedophilia harms children." -- Richard Stallman On 6/3/13 5:49 PM, in article CDD287B9.1BEC6%usenet@gallopinginsanity.com, "Snit" <usenet@gallopinginsanity.com> wrote: > Υօu իԲ⩗ҿ ทҿ⩗ҿr Բทຮաҿrҿᖙ աիԲϯ ຮբҿ𐐽ﺃԲl ϯիﺃทց עօu ϯիﺃทk I իԲᖙ ϯօ ᖙօ ϯօ ցҿϯ > നע Մຮҿทҿϯ rҿԲᖙҿr ϯօ աօrk աﺃϯի ทօท ᗋៜᑕII 𐐽իԲrԲ𐐽ϯҿrຮ. Iท ∱Բ𐐽ϯ, ∱rօന > Բll ԲբբҿԲrԲท𐐽ҿຮ ﺃϯ ຮҿҿനຮ Բຮ ϯիօuցի ❆עօur❆ uຮҿทҿϯ rҿԲᖙҿr ᖙօҿຮ ทօϯ ҿ⩗ҿท > Բllօա עօu ϯօ rҿԲᖙ നҿຮຮԲցҿຮ բօຮϯҿᖙ աﺃϯի ຮu𐐽ի uท𐐽օനനօท ﺃϯҿനຮ ∱rօന ϯիҿ > Մϯᖴ-৪ lﺃຮϯ օ∱ ຮעനϦօlຮ. > > ẄիԲϯ ﺃຮ աrօทցᕈ Ẅիע ᖙօท'ϯ עօu ҿ⩗ҿr զuօϯҿ օr rҿຮբօทᖙ ϯօ ຮu𐐽ի നҿຮຮԲցҿຮᕈ ᗋrҿ > עօu ∱ﺃทᖙﺃทց ϯիԲϯ עօur ԲϦﺃlﺃϯﺃҿຮ իҿrҿ Բrҿ നօrҿ lﺃനﺃϯҿᖙ ϯիԲท עօu ϯիօuցիϯᕈ > > Iϯ ຮurҿ ຮҿҿനຮ ϯիԲϯ աԲע! > ᒪѺᒪ! 𝔗 𝙟∪≷† ç𝙝⋲ç𝓴⋲∂ å∩∂ ⨈𝙝≀⧙⋲ ...

=?utf-8?Q?twapi:=20scan=20for=20ne?==?utf-8?Q?w=20hard?= =?utf-8?Q?ware?=
Hi, we have to remove/add some faulty USB devices by power off/on the 5V from the Win7 box. Most of the time it works well, but sometimes it needs to go to the "Device Manager" and press the "scan for new HW" button to show up the newly powered on device. How can I do that from my tcl script using TWAPI (not only list the current state, but trigger a re-scan) ? Torsten I don't know of any way to do this from twapi, even using WMI. If you are not shipping this to others (because of licensing restrictions wrt distribution), the quickest way is to download devcon.exe (free from Microsoft) to the system(s) of interest and from Tcl do a "exec devcon rescan". Alternatively, if you need it I can add the rescan function to twapi. It so happens I'm getting ready to beta the next release. I'm not sure what you mean by "list state". Do you mean state of each device or state as in current list of known devices? /Ashok Hi Ashok, Thank you for support. devcon is a workaround I had already in mind. To have the rescan functionality in twapi would be even better ;-) With "list the current state" I mean the list of discovered devices before the rescan is triggered. The driver of the faulty USB device creates several com ports, a network interface and a USB composite device. If the USB device does not work anymore we disconnect the 5V USB power and only the USB composite device r...

=?utf-8?Q?ANNOUNCE:=20Tcl=20Wind?==?utf-8?Q?ows=20API?= =?utf-8?Q?=20Beta=204.1b19=20released?=
# Tcl Windows API (TWAPI) 4.1b19 This is a Beta release of TWAPI 4.1. * Project home page is at http://twapi.sourceforge.net * V4.1 documentation is at http://twapi.sourceforge.net/v4.1 ## Supported platforms TWAPI 4.1 requires * Windows XP (32-bit only) or later (32- or 64- bit) * Tcl 8.5 or 8.6 (32- or 64-bit) ## Changes since 4.0 Major changes in this release are support for writing COM servers and other COM enhancements, STARTTLS support for TLS sockets, and additional functionality in the security, services, device management and console modules. For a complete list, including INCOMPATIBLE CHANGES, see http://twapi.sourceforge.net/v4.1/versionhistory.html ## Distributions TWAPI is distributed in multiple formats. See http://twapi.sourceforge.net/v4.1/installation.html for the details and the pros and cons of each format. ## TWAPI Summary The Tcl Windows API (TWAPI) extension provides access to over 600 functions in the Windows API from within the Tcl scripting language. Functions in the following areas are implemented: * System functions including OS and CPU information, shutdown and message formatting * User and group management * COM client and server support * Security and resource access control * Window management * User input: generate key/mouse input and hotkeys * Basic sound playback functions * Windows services * Windows event log access * Windows event tracing ...

: =?utf-8?Q?Re:=20BASIC=20-=20PRINT=20?==?utf-8?Q?USING?= =?utf-8?Q?=20a=20quad=20value?= #2
Nope ... there are 25 spaces in front of the 0 when displayed on the terminal. ...

sendmail 8.8.8 antispam
Hi, I have implemented the HACK/check features for sendmail8, i.e. it relays to other domains and unresolvable IP addresses, and does not filter the sender address. The mc file: divert(0)dnl VERSIONID(`@(#)main-v7sun.mc 1.2 (Sun) 01/27/98') OSTYPE(solaris2.ml)dnl DOMAIN(solaris-generic)dnl MAILER(local)dnl MAILER(smtp)dnl FEATURE(`mailertable', `dbm -o /etc/mail/mailertable')dnl HACK(use_names, `/etc/mail/LocalNames') HACK(use_relayto, `/etc/mail/RelayTo') HACK(check_rcpt4) HACK(check_mail3, `dbm -o /etc/mail/junk') HACK(check_relay3, `dbm -o /etc/mail/junk') ...

Sendmail 8.14.3 not sendmail hugely attached e-mail files in a timely manner
What could be the problem. They seem stuck and I have to run sendmail -v -q manually just to get them to propogate. Any reason why? -- Member - Liberal International This is doctor@nl2k.ab.ca Ici doctor@nl2k.ab.ca God, Queen and country! Beware Anti-Christ rising! Never Satan President Republic! If you cannot lead a family how can you pastor a church? The Doctor unleashed the infinite monkeys on 21/05/2009 00:07 producing: > What could be the problem. > > They seem stuck and I have to run sendmail -v -q manually just > to get them to propogate. > > Any reason why? With so little information, it's impossible to help you. How do you define "huge"? How long do you wait? What's in your mail logs? -- Rob MacGregor (BOFH) Rule 37: "There is no 'overkill'. There is only 'open fire' and 'I need to reload.'" ...

=?utf-8?B?T2JhbWEgb24gTlNBOiDigJxBIE5vdGhpbmcgQnVyZ2VyIFNlcnZlZCBIb3Q=?= =?utf-8?B?IEFuZCBXaXRoIEEgU3ltcGF0aGV0aWMgU21pbGXigJ0=?=
The Smiling Black Man strikes again. http://www.washingtonsblog.com/2014/01/obama-speech-nsa-spying-substance.html -- Silver Slimer Buying software ensures its continued existence and improvement Silver Slimer wrote: > The Smiling Black Man strikes again. > > http://www.washingtonsblog.com/2014/01/obama-speech-nsa-spying-substance.html > > Oh quit worrying yourself and looking like a schoolboy. The NSA does not care about you at all. The facts are that evil doers cannot send a lot of electronic signals around the world and keep their existence secret. No matter what the public face may be, spy agencies are going to keep looking. On 2014-01-18, Amicus Curious <AmicusCurious@outlook.com> wrote: > Silver Slimer wrote: >> The Smiling Black Man strikes again. >> >> http://www.washingtonsblog.com/2014/01/obama-speech-nsa-spying-substance.html >> >> > Oh quit worrying yourself and looking like a schoolboy. The NSA does > not care about you at all. The facts are that evil doers cannot send a > lot of electronic signals around the world and keep their existence > secret. No matter what the public face may be, spy agencies are going > to keep looking. The problem isn't so much what they are doing now but what some less scrupulous types would do with the apparatus once it is built. If you think you aren't worth worrying about, there plenty of historical ...

=?utf-8?B?QmFzaWMgcXVlc3Rpb25zIGFib3V0IHdvcmRpbmdzIGluIOKAnEludGVyZmE=?= =?utf-8?B?Y2luZyBQcmFnbWFz4oCd?=
Hi people there, Some basic questions about some part of annexe B.1, Interfacing Pragmas.= > 9.1/1 For pragmas Import and Export, the argument for Link_Name shalln= ot = > be given without the pragma_argument_identifier unlessthe argument for= = > External_Name is given. What is that pragma_argument_identifier ? The Convention ? In legality rules > 18 T is an access-to-subprogram type, and its designated profile's > parameter and result types are all L-compatible. Why no similar wording for imported subprograms ? Was just forget or is = = this missing on purpose ? (or I missed it?) In notes at the bottom > 46 5 The local_name in an interfacing pragma can denote more > than one entity in the case of overloading. Such a pragma > applies to all of the denoted entities. Why not the same with types derived from a type with an interfacing prag= ma = ? Finally, what I was checking the RM for (related to the above), Static = Semantics > 30 An interfacing pragma defines the convention of the entity denoted = by = > the local_name. So except if the type is tagged (as stated above), the convention is los= t = for any derived type of subtypes (as all are not anymore denoted by the = = same name the pragma was referring to) ?. -- = =E2=80=9CSyntactic sugar causes cancer of the semi-colons.=E2=80=9D [Ep= igrams on = Programming =E2=80=94 Alan J. =E2=80=94 P. Yale University] =E2=80=9CStructured Programming supports the law of th...

=?utf-8?B?U1BBUksgc3ludGF4IGFuZCDigJx1c2UgdHlwZeKAnSA6IGxhY2sgb2YgZmU=?= =?utf-8?B?YXR1cmUgPw==?=
Hi, I meet a strange behavior with the SPARK syntax checker (via the examine= r). If I have something of the form procedure My_Procedure is Who_Know_What : Who_Know_What_Type; use type My_Type; begin ... bla-bla-bla ... end My_Procedure; it's OK. While if I have something like procedure My_Procedure is use type My_Type; begin ... bla-bla-bla ... end My_Procedure; Then the spark syntax checker complains =E2=80=9CSyntax Error reserved "= IS" cannot = be followed by "USE" here.=E2=80=9D So, if the =E2=80=9Cuse type=E2=80=9D comes after any kind of declaratio= n (type or = entity), that's OK, but if this comes at the first place, or worst, alon= e, = so that it cannot be anywhere than at the first place, then it is reject= ed. Strange. So much strange to me that I wonder if weither or not this is = something which had not been seen as a possible issue. What people here think about it ? Is SPARK missing something or is there a rational ? On 24 May, 19:41, Yannick Duch=EAne (Hibou57) <yannick_duch...@yahoo.fr> wrote: > Hi, > > I meet a strange behavior with the SPARK syntax checker (via the examiner= ). I can't get the behaviour that you are reporting (I'm still on GPL version 8.1.1) - can you post a complete SPARKable example? > If I have something of the form > > =A0 =A0 procedure My_Procedure > =A0 =A0 is > =A0 =A0 =A0 =A0Who_...

problem sendmail sendmail-8.13.8 , aliases and LDAP
Hi guys , Im trying to connect my sendmail to my LDAP. In fact in my ldap i the following field mailLocalAddress with the e- mail of the employee ( john.dupont@mycompanie.com ) le in an other field i have rfc822MailMember which is jdupont@server1.mycompanie.com (where jdupont is the account of my employee for the server1). Now I d like to set up a sendmail server that can translate the e-mail to the rfc822MailMember address. Here is my following configuration : site.config.m4 dnl #compilation de sendmail avec support ldapdnl APPENDDEF(`confMAPDEF', `-DLDAPMAP') APPENDDEF(`confINCDIRS', `-I/apps/openldap-2.1.30/include') APPENDDEF(`confLIBSDIRS', `-L/apps/openldap-2.1.30/lib') APPENDDEF(`confLIBS', `-lldap -llber') sendmail.mc define(`confLDAP_DEFAULT_SPEC',`-h myldap.mycompanie.com ')dnl define(`ALIAS_FILE', `/etc/mail/aliases, ldap:-k "(&(objectClass=inetLocalMailRecipient)(mailLocalAddress=%0))" -d "cn=bindcn,ou=sec,dc=mycompanie,dc=fr" -P "/etc/mail/ldapconnect" -M LDAP_AUTH_SIMPLE -b "dc=mycompanie,dc=fr" -v "rfc822MailMember" ')dnl so when i try to send and e mail to john.dupont with my e-amil client i have the following error "Error 5.1.1 john.dupont@mycompanie.com User unknow. I ve the following log john.dupont@mycompanie.com ... User unknown And i my ldap server i ve the following log Feb 5 13:57:59 ldapserver slapd[7702]: conn=30283 fd=27 ACC...

=?utf-8?B?Q29tcGFyaXNvbiA6IEFkYSBhbmQgVU1MIChjb21wYXJpc29u4oCmIGluZGU=?= =?utf-8?B?ZWQp?=
Hello all, Back to a famous topic of OO with Ada vs OO with other languages; just = that here, let's replace =E2=80=9Cother languages=E2=80=9D by UML. Recall of the case (exposed in many places to show how Ada in more clean= ly = OO than so called pure-OO languages) : Let A and B be two classes. A = defines a method =E2=80=9Cbool A::compare (A other);=E2=80=9D (is that O= K for the syntax ? = =E2=80=A6 I forget so much about C-plus-plus). Then, B = inherits/extends/specializes A, and thus get a method which is =E2=80=9C= bool = B::compare (B other);=E2=80=9D. But the concrete corresponding ones woul= d be from = Ada's point of view : =E2=80=9Cfunction Compare (Left, Righ : A) return = Boolean;=E2=80=9D = in A class, and =E2=80=9Cfunction Compare (Left : B, Right : A) return B= oolean;=E2=80=9D = in B class. Indeed, the receiver of the message in the case of B, is of = = type B, while the parameter is still of type A, as defined in A (Eiffel = = solved this with the =E2=80=9Clike=E2=80=9D keyword if my mind is right)= .. OK, very nice, this shows how much Ada is superior at OO (and Eiffel two= ) = than other pure-OO languages; but that is not the topic : UML seems to d= o = the same! And I just wonder if it can do another way. I wonder about it = = for a personal purpose : I am actually trying to design a personal = transformation from UML to Ada. But I am not so much sure UML is good = enough for the purpose of modeling, while it has...

UTF-8 Email with links
Hi all, I have an email in utf-8 encoding. In the content of the email, I need to send a link in which the filename is in utf-8 string...just like this.. $content = "<a href=\"http://xxxxxx/".$filename."\"">Link to file</a>"; however, the link can not be correctly passsed and it automatically encodes it into %xx format. How to solve the problem? I've tried urlencode($filename) and urldecode($filename) but cannot fix the problem... Need Help~Thx kamlai wrote: > I have an email in utf-8 encoding. In the content of the email, I need > to send a link in which the filename is in utf-8 string...just like > this.. > > $content = "<a href=\"http://xxxxxx/".$filename."\"">Link to file</a>"; > > however, the link can not be correctly passsed and it automatically > encodes it into %xx format. How to solve the problem? Maybe they do get across as-is, just like the same characters outwith URLs would, but your MUA percent-encodes raw non-US-ASCIIs in anything it considers a URL? > I've tried urlencode($filename) and urldecode($filename) but cannot fix > the problem... Have you thought of percent-encoding them yourself *before* sending the e-mail? or, sorry, is that what you're saying you've tried? -- Jock kamlai@gmail.com wrote: > >I have an email in utf-8 encoding. In the content of the email, I need >to send a link in which th...

UTF-8 to e-mail
Thanks to some nice help in here I=B4ve been able to sort out most of my problems with unicode. Just one problem left, not even sure if it belongs in here, but it is kinda cross platform, so I don=B4t know where else to post it. In my C++ Win32 client application I have an (unicode) edit control, where the user types in a text. The program reads the content of the control into a wstring, then converts it via WideCharToMultiByte() to string and sends it over a socket to the server. So far, so good. Now the server (console application on win2003server) has to call a PHP script on ...

UTF-8 subject in an email
Hello, I would like to send UTF-8 material and binary attachment in an email. So, for this, I've built a multipart/mixed MIME message : no problem about this. But, my problem is about UTF-8 encoding. The two parts which can contains no-ascii characters using UTF-8 encoding are : the subject and the body. So, I've first tried to encode the subject line as indicated at http://www.ietf.org/rfc/rfc2047.txt. It gives something like this : use utf8; use open ':utf8'; use Encode; my $subject = encode('MIME-B', "bo�te"); Email is well sent and received, bu...

Sendmail 8.14.4 or Sendmail 8.15.0
Are either coming down the pipe? -- Member - Liberal International This is doctor@nl2k.ab.ca Ici doctor@nl2k.ab.ca God, Queen and country! Beware Anti-Christ rising! Never Satan President Republic! Rudeness is the weak man's imitation of strength. -Eric Hoffer ...

files saved in UTF-8, PHP5 sends UTF-8 BOM ;(
Hi All, I'm using UTF-8 encoding for my PHP scripts, output is also UTF-8. all files have UTF-8 BOM: 0xEF 0xBB 0xBF at the beginning I have PHP Version 5.1.2 on WinNT and PHP 5.1.1 on Gentoo given code: if (PHP_OS == 'WINNT') { header('Content-Type: text/plain; charset=UTF-8"'); var_dump(setlocale(LC_ALL, 'polish_Poland')); echo mb_strtoupper("aesz", 'utf-8'); } else { // this won't work BOM was sent -> headers were sent header('Content-Type: text/plain; charset=UTF-8"'); var_dump(setlocale(LC_ALL, 'pl_PL.utf8')); echo mb_strtoupper("aesz", 'utf-8'); } the output is: WinNT: string(18) "Polish_Poland.1250" AESZ Linux Gentoo: Warning: Cannot modify header information - headers already sent by (output started at /home/xh/public_html/test.php:1) in /home/rr/public_html/test.php on line 25 string(10) "pl_PL.utf8" AESZ mb_strtoupper works fine on both systems but what about PHP complaining about UTF-8 BOM when trying to send headers on Gentoo... on WinNT I have a newer version of PHP... is this error showing up because on Gentoo I use older PHP5? thanks in advance for any help best regards R On 24 Jul 2006 08:55:45 -0700, "R" <ruthless@poczta.onet.pl> wrote: >I'm using UTF-8 encoding for my PHP scripts, output is also UTF-8. > >all files have UTF-8 BOM: 0xEF 0xBB 0xBF at the beginning > >I have PHP Version 5....

Mint =?UTF-8?B?MTcuMuKAizogVGhlIHllYXIncyBiZXN0IExpbnV4IGRlc2t0bw==?= =?UTF-8?B?cA==?=
http://www.zdnet.com/article/2015s-best-linux-desktop-mint-17-2/ Mint 17.2​: The year's best Linux desktop Windows 10? Eh. OS X El Capitan? It's OK I guess. Just give me the latest and greatest Linux desktop from Mint and I'll be happy. By Steven J. Vaughan-Nichols for Linux and Open Source | July 20, 2015 -- 11:56 GMT (04:56 PDT) | Topic: Enterprise Software I currently have nine desktops running in my office. They're running Windows XP, Windows 7, Windows 10 Build 10240, OS X Yosemite, OS X El Capitan beta, Ubuntu 15.04, Chrome OS, Fedora 22, and Linux Mint 17.2. Which one do I use on my main production desktop? If you want a good, solid secure desktop with a familiar look and feel, you want Linux Mint 17.2 with Cinnamon. It's not that much of a contest. Even though I run many different desktops, Linux Mint has been my favorite for years now. This latest long-term-support release, which will be supported until 2019, is the best yet. I'm not the only one who feels that way. A friend of mine who works for a Linux rival to Mint, said, "Mint makes every other distro look like amateur hour." I wouldn't go that far, but I know what he means. So, why do I, and so many others, think Mint, and in particular the version with the Cinnamon desktop is so darn good? Well, I'll tell you. First, while my first "desktops" were all about the shell command, OS/360 and Version 7 Unix, I...

=?utf-8?B?RnVuIHdpdGggSGlzdG9yeTrCoOKAnFdoeSB3YXNuJ3QgQWRhODMgb2JqZWM=?= =?utf-8?B?dCBvcmllbnRlZD/igJ0=?=
Funny paper I=E2=80=99ve never read before. In the middle of the page (t= he link = follows) you read: > Why wasn't Ada83 object oriented? It depends on who you ask. > According to Bertrand Meyer (peut-etre il a parle a Jean?), Jean > =E2=80=94who had been writing Simula compilers, and was thus familiar = with > the paradigm=E2=80=94 thought that dynamic binding would have been too= > radical for the conservative DoD, who after all were the ones > commissioning the language, and so he figured they wouldn't go for > it. According to others, Jean in fact didn't want type extension and > dynamic binding, because he didn't think it was necessary. Quoted from: = http://www.adapower.com/index.php?Command=3DClass&ClassID=3DAdvocacy&CID= =3D39 -- = =E2=80=9CSyntactic sugar causes cancer of the semi-colons.=E2=80=9D [1] =E2=80=9CStructured Programming supports the law of the excluded muddle.= =E2=80=9D [1] [1]: Epigrams on Programming =E2=80=94 Alan J. =E2=80=94 P. Yale Univers= ity Le Fri, 17 Feb 2012 18:22:18 +0100, Yannick Duch=C3=AAne (Hibou57) = <yannick_duchene@yahoo.fr> a =C3=A9crit: > Quoted from: = > http://www.adapower.com/index.php?Command=3DClass&ClassID=3DAdvocacy&C= ID=3D39 Then later after the above quote, there are some words about type = extention's dark sides, and a funny quote again: > Funny story: A new programmer just started using Ada, and posted a > question to this...

Are =?UTF-8?B?4oCdZXh0ZW5kZWQgY2hhcmFjdGVyc+KAnSBzYWZlIGluIGlkZW4=?= =?UTF-8?B?dGlmaWVycz8=?=
The syntax of ECMAScript has allowed “extended characters” in identifiers since 3rd edition (1999). This means, among other things, allowing any Unicode letters, like Greek, Arabic, and Cyrillic letters as well as e.g. Chinese ideographs. As far as I can see, this has been supported in web browsers for a long time (e.g., ever since IE 5.5). So is it really safe to use them, writing, say var π = Math.PI; var ผลบวก = 0; function Götterdämmerung() or are there some pitfalls? Various coding conventions as well as practical editing issues (you can’t be sure of always being able to edit your code on a Unicode-enabled editor) aside, is there still some real technical reason to stick to the A–Z, a–z, 0–9, ”$”, ”_" repertoire? -- Yucca, http://www.cs.tut.fi/~jkorpela/ Jukka K. Korpela wrote: > The syntax of ECMAScript has allowed “extended characters” in identifiers since 3rd edition (1999). This means, among other things, allowing any Unicode letters, like Greek, Arabic, and Cyrillic letters as well as e.g. Chinese ideographs. As far as I can see, this has been supported in web browsers for a long time (e.g., ever since IE 5.5). > > So is it really safe to use them, writing, say > > var π = Math.PI; > var ผลบวก = 0; > function Götterdämmerung() > > or are there some pitfalls? Various coding conventions as well as practical editing issues (you can’t be sure of always being able to edit your code on a Unicode-enabled edi...

problem sendmail sendmail-8.13.8 , aliases and LDAP #2
Hi guys , Im trying to connect my sendmail to my LDAP. In fact in my ldap i the following field mailLocalAddress with the e- mail of the employee ( john.dupont@mycompanie.com ) le in an other field i have rfc822MailMember which is jdupont@server1.mycompanie.com (where jdupont is the account of my employee for the server1). Now I d like to set up a sendmail server that can translate the e-mail to the rfc822MailMember address. Here is my following configuration : site.config.m4 dnl #compilation de sendmail avec support ldapdnl APPENDDEF(`confMAPDEF', `-DLDAPMAP') APPENDDEF(`confINCDIRS', `-I/apps/openldap-2.1.30/include') APPENDDEF(`confLIBSDIRS', `-L/apps/openldap-2.1.30/lib') APPENDDEF(`confLIBS', `-lldap -llber') sendmail.mc define(`confLDAP_DEFAULT_SPEC',`-h myldap.mycompanie.com ')dnl define(`ALIAS_FILE', `/etc/mail/aliases, ldap:-k "(&(objectClass=inetLocalMailRecipient)(mailLocalAddress=%0))" -d "cn=bindcn,ou=sec,dc=mycompanie,dc=fr" -P "/etc/mail/ldapconnect" -M LDAP_AUTH_SIMPLE -b "dc=mycompanie,dc=fr" -v "rfc822MailMember" ')dnl so when i try to send and e mail to john.dupont with my e-amil client i have the following error "Error 5.1.1 john.dupont@mycompanie.com User unknow. I ve the following log john.dupont@mycompanie.com ... User unknown And i my ldap server i ve the following log Feb 5 13:57:59 ldapserver slapd[7702]: conn=30283 fd=27 ACC...

Web resources about - UTF-8 in some emails? - comp.mail.sendmail

Email - Wikipedia, the free encyclopedia
is a method of exchanging digital messages from an author to one or more recipients. Modern email operates across the Internet or other computer ...

'Do patients need to be told?' confidential emails reveal undisclosed extent of chemo dosing errors at ...
The underdosing controversy at St Vincent's hospital extends beyond the hospital's public disclosures, as confidential internal emails revealing ...

The Road Not Taken: Reviving IRAC For In-House Emails
When working in-house, what are the most important things to include in an email to ensure you'll get the response you need?

Google partners with Microsoft and other email providers to bolster Gmail encryption
If you are an email user, there is a very good chance you use Google's ubiquitous Gmail service. While there are countless other options, such ...

Google, Microsoft and others team to make email fully encrypted
When you send an email to someone, it goes through something called Simple Mail Transfer Protocol (SMTP), a standard that was first developed ...

MOST TRANSPARENT, EVAH! Obama EPA Used Secret Email Accounts to Scheme with Lobbyists and Climatards
By Ethan Barton There is new evidence senior Environmental Protection Agency (EPA) officials routinely use private email accounts to conduct ...

Here's the email Cisco's CEO just sent to the troops to announce a big reorg
Business Insider Here's the email Cisco's CEO just sent to the troops to announce a big reorg Business Insider On Monday, Cisco's new CEO ...


Have you done TechCrunch Disrupt’s Startup Alley ($4,000?! Rip off!)– email me!
... Disrupt’s $4,000 Startup Alley (which is based off my ‘DEMO PIT’ innovation from nine years ago — except I don’t charge for it). Email me directly: ...

State investigating police chief's email defending profiling
WYCKOFF, N.J. (AP) — A police chief is taking a temporary leave while prosecutors investigate whether he told his officers that racial profiling, ...

Resources last updated: 3/25/2016 5:40:46 AM