[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: '~' character in addresses
- To: crosser@online.ru
- Subject: Re: '~' character in addresses
- From: Aarnio Matti <mea@utu.fi>
- Date: Fri, 5 Jul 1996 16:11:30 +0300 (EET DST)
- Cc: zmailer@nic.funet.fi
- In-Reply-To: <ML-2.1.836571349.6838.crosser@chronos> from "Eugene Crosser" at Jul 5, 96 04:55:49 pm
> > > As '~' is not special, space or ctl, it is perfectly legal in the
> > > local part of an address...
> >
> > Yes, this is one of the places where RFC 822 and RFC 821
> > disagree on character sets :-/ I think it can be added
> > into the allowed chars, but I must see what the DRUMS
> > draft says about it (DRUMS group revises 821/822 specs.)
>
> I examined rfc821 a minute ago and found that '~' is a legal character
> for local-part according to it too (Dunno about DRUMS draft).
Hmm.. Ok, lets make it a normal character.
smtpserver/rfc821scn.c:
bash# GNU diff -u rfc821scn.c~ rfc821scn.c
--- rfc821scn.c~ Wed Jun 19 15:07:15 1996
+++ rfc821scn.c Fri Jul 5 16:06:30 1996
@@ -174,7 +174,7 @@
/* 123: `{' */ CHR_ENT(0,0,0,0,1,1,1,0,0),
/* 124: `|' */ CHR_ENT(0,0,0,0,1,1,1,0,0),
/* 125: `}' */ CHR_ENT(0,0,0,0,1,1,1,0,0),
-/* 126: `~' */ CHR_ENT(0,0,0,0,0,1,1,0,0),
+/* 126: `~' */ CHR_ENT(0,0,0,0,1,1,1,0,0),
/* 127: `DEL' */ CHR_ENT(0,0,0,0,0,1,1,0,0),
/* 128: `\200' */ CHR_ENT(0,0,0,0,0,0,0,0,0),
/* 129: `\201' */ CHR_ENT(0,0,0,0,0,0,0,0,0),
> BTW, I must tell you that smtpserver sometimes (approx. once a month)
> "disappears", that is, machine stops responding to 25 port and there is
> no smtpserver process (There is no core file, either). When I start
> smtpserver, things countinue to work for another month or two. I suspect
> that this might be the same problem that I have already reported:
> smtpserver is the only program that uses some special version of malloc().
> that segfaults under some unknown circumstances.
That could be it. I see it also (and damn rarely) at sol.utu.fi
You can get it to make a core -- my /etc/zmailer -script has line:
cd / ; $MAILBIN/smtpserver $SMTPOPTIONS
That is, the core will drop at the root (good or bad ? Propably bad,
because it may drop when euid is daemon --> can't write --> no core)
Create somewhere a directory whose owner is daemon, and then change
that start script -- plus make sure the "ulimit -c" value (max core
file size) is large enough..
> --
> Eugene Crosser, "Russia-On-Line" System Administrator (Sovam Teleport)
> +7 501 258 4170 mailto:crosser@online.ru http://www.online.ru/~crosser/
/Matti Aarnio <mea@utu.fi>