BBS水木清华站∶精华区
发信人: is83120@cis.nctu (Aiken Sam), 信区: Linux
标 题: Re: 是不是没人知道怎麽让sendmail接受大写的User account?
发信站: Dept. Comp. Sci. & Info. Eng., Chiao-Tun (Sun Nov 3 02:18:52 1996)
转信站: Maxwell!netnews.ntu!spring!news.cc.nctu!news.csie.nctu!is83120
阿C (Jenshi.bbs@bbs.ee.ntu.edu.tw) wrote:
> => 在 Jenshi@Maxwell (阿C) 的文章中提到:
> : 最近装了 redhat-4.0, 其中的 sendmail 在收信时好像会
> : 把帐号中的大写字母转成小写, 而产生错误.
> : 请问有什麽办法可以更正此以错误呢?
> 看了很多的FAQ, 还是找不到怎麽改才能让 sendmail 接受大写的
> 帐号....
> 而我在 sendmail.cf 中的 Mlocal 的设定F中加入了 u, 结果还是不行;
> 请问大家是怎麽解决的呢?
Linux 不接受大写 user 的 email 有两个原因.
1. sendmail
2. local deliver
sendmail.cf 大家都会改 , 但是 local deliver 却没爸□
Redhat 4.0 我没试过. 但 Slackware 96 我却试过,
那个 local deliver ( procmail ) , complie 的时候就把大写 user
的功能拿掉了... X!@#@! :P
自己把 procmail 重新 complie 一遍吧. 记得改 Makefile !
Redhat 大概也是如此...
> ------------------------------------------------------------------------ <
发信人: is83120@cis.nctu.edu.tw (Aiken Sam), 看板: Linux
标 题: Re: mail寄得出去但却收不到mail
发信站: Dept. of Computer & Information Science, NC (Thu Nov 7 18:06:51 1996)
转信站: JoeLu!netnews.ntu!linux2.tpml!UUserv.Net.tw!news.cis.nctu!is83120
> 大写的user还是收不到信,sendmail.cf我改了,不过没用,有位大大说过要重
> 新compile procmail ,不过...呃...要改哪啊??指点一下吧??
in procmail-3.10/config.h :
#define NO_USER_TO_LOWERCASE_HACK /* uncomment if your getpwnam() is
case insensitive or if procmail
will always be supplied with the correct case in the explicit
delivery mode argument(s) */
> -------------------------------------------------------------------------- <
发信人: is83120@cis.nctu.edu.tw (Aiken Sam), 看板: linux
标 题: Re: 有关寄信的问题
发信站: Dept. of Computer & Information Science, NC (Sun Apr 28 22:16:21 1996)
白痴小孩 (Toidi.bbs@cis.nctu.edu.tw) wrote:
> 我开了一个Toidi的帐号...
> 当我寄信给Toidi的时候却发生Toidi... User unknown
> 同学说是不能用大写字母....
> 有没有哪位好心的大爷可以告诉我要怎样才可以免除这个问题..
> 谢谢...
in /etc/sendmail.cf
##################################################
### Local and Program Mailer specification ###
##################################################
##### @(#)local.m4 8.6 (Berkeley) 10/24/93 #####
这个 " u" 要加上去 -------------------|
V
Mlocal, P=/usr/bin/deliver, F=lsDFMShPu, S=10, R=20/40,
A=deliver $u
Mprog, P=/bin/sh, F=lsDFMeu, S=10, R=20/40, D=$z:/,
A=sh -c $u
> ----------------------------------------------------------------------- <
发信人: is83120@cis.nctu.edu.tw (Aiken Sam), 看板: Linux
标 题: Re: 请问改可以大写寄信的问题 ...
发信站: Dept. of Computer & Information Science, NC (Fri Dec 20 02:05:59 1996)
转信站: sobee!netnews.ntu!linux2.tpml!UUserv.Net.tw!news.cis.nctu!is83120
笨佑 (york.bbs@203.69.232.1) wrote:
> 我是说寄信给大写 user 的问题, 要重新 compile config.h 这个档,
> 我装完 slackware96 後它是不是就被砍啦, 找不到说, 请问它在哪里□
> Thankx ...
uncomment 下面的 define.
procmail-3.10/config.h:
/*#define NO_USER_TO_LOWERCASE_HACK /* uncomment if your getpwnam() is
case insensitive or if procmail
will always be supplied with the correct case in the explicit
delivery mode argument(s) */
procmail-3.10 应该可以从 slackware-3.1(96)/source 或 redhat-4.0/SRPMS 拿到.
nctuccca:/OS/Linux/distributions/slackware96/source/n/sendmail????
linux.cis.nctu.edu.tw:/pub/distributions/slackware/source/n/sendmail????
linux.cis.nctu.edu.tw:/pub/distributions/redhat/redhat-4.0/SRPMS/procmail???
注: nctuccca 的 redhat-4.0/SRPMS 不完整, 没有 procmail 的 source.
不过 nctuccca linux 部份也不单单这个地方不完整啦...
(现在 linux part 没人管吧?)
哪一位有时间又有爱心的朋友去应徵当 maintainer 吧!
我实在是有心无力.
要注意的是 procmail-3.11pre4 已经不用 recompile, 详情自己 try 吧
(但 redhat 4.0 & slackware 3.1 还在用 procmail-3.10)
我还在用 procmail-3.10 , 不要说我自己留一手, 不讲明白 3.11pre4 怎麽用....
唉...
K 一 K 它的 readme, 发现真的什麽也没讲... 不可以怪大家.
procmail-3.11pre4/HISTORY:
1995/10/29: v3.11pre4
Changes to procmail:
[delete]
- Made the USER_TO_LOWERCASE_HACK run-time adapting
- /usr/spool/mail perm 1777, procmail setgid mail, procmail
----
Aiken Sam (NCTU.CIS)
BBS水木清华站∶精华区