|
ÂŴ˪L http://www.lslnet.com 2006¦~7¤ë28¤é 12:08
°t¸msendmail ¥ÎM4§»©R¥O¥Í®Éªº¿ù»~¡]«æ¡Isos¡^
¦b°t¸msendmailªA°È®É¥Î m4 sendmail.m4 > sendmail.cf
´¦¥Ü¡Gnone:0: m4: error:eof in string ³oÓ¿ù»~¡A«á¦bºô¤W§ä¬O»¡sendmail.m4¦³§ï°Ê
¥H¤U¬O§Úªºsendmail.m4 ªº°t¸m¤å¥ó¡G
divert(0)dnl
include(`/usr/share/sendmail/cf/m4/cf.m4`)dnl
VERSIONID(`$Id: generic-linux.mc,v 8.1 1999/09/24 22:48:05 gshapiro Exp $`)OSTYPE(linux)dnl
FEATURE(`access_db`)dnl
DOMAIN(generic)dnl
MAILER(local)dnl
«áÅ¥»¡n¸Ësendmail-cf ªº¥]¡A¥i§Ú¦³¡G
rmp -qa |grep sendmail
sendmail-cf-8.12.8-4
sendmail-devel-8.12.8-4
«á¬Ý¨ì¦³³o¼Ë»¡ªk§Ú¤]¥Î m4 /etc/mail/sendmail.mc >/etc/mail/sendmail.cf ¤]¬O¤@¼Ëªº¿ù»~¡C
¥i¥Î whereis m4 ¤S¥i¥H¬Ý¨ì¦³³oÓ©R¥O¡G
m4: /usr/bin/m4
±æ½Ð°ª¤âÌ«üÂI¡A³oÓ°ÝÃDn¦p¦ó¸Ñ¨M©O¡H
¤p¥Í¤£¬Æ·P¿E¡I¡I:em16::em16: |
°ª¤â̧A̦bþ¸Ì°Ú¡I¡I¡I
¦b©I³ê¤¤ |
¥hsendmail.org¤W¥h¬Ý¬Ým4ªº¤åÀɧa¡C |
©x¤èºô¨S¦³·j¯Á¥\¯à°Ú¡H
¦³ÂIÃø§ä¡A¨þ¨þ¡A§ä§ä¬Ý |
Why do I have so many sendmail problems after configuring sendmail with linuxconf?
Date: June 15, 2000
Updated: September 27, 2000
Do not edit sendmail.cf with linuxconf. This tool and its module "mailconf" are broken and based on very old rulesets from 8.8.7 . You will have many troubles if you do this. First make sure that the sendmail-cf RPM is installed. Then create your own myhost.mc file in /usr/lib/sendmail-cf/cf:
% cd /usr/lib/sendmail-cf/cf
% cp redhat.mc myhost.mc
(Edit myhost.mc)
% m4 ../m4/cf.m4 myhost.mc > myhost.cf
(Test this new myhost.cf; once it's known good, install it:)
(If 8.9.x or earlier:)
% cp myhost.cf /etc/sendmail.cf
% chown root /etc/sendmail.cf
(If 8.10.x or later:)
% cp myhost.cf /etc/mail/sendmail.cf
% chown root /etc/mail/sendmail.cf
See /usr/doc/sendmail/README.cf (or just README) for features and detailed instructions how to do this.
First make sure that the sendmail-cf RPM is installed. Then create your own myhost.mc file in /usr/lib/sendmail-cf/cf:
³o¨âÂI¦n¹³§Ú³£¦³¸Õ¹L°Ú¡H |
VERSIONID(`$Id: generic-linux.mc,v 8.1 1999/09/24 22:48:05 gshapiro Exp $`)OSTYPE(linux)dnl
OSTYPE ³BÀ³¸Ó´«¦æ,
¥t¥~Àˬd¨C¤@¦æªº¦æ§À¤£¸Ó¦³ªÅ¥Õ
¦æÀY¤]¤£¯à¦³ªÅ¥Õ, ` ' ùتºªÅ¥Õ¤]nª`·N, |
/etc/mail ¤Uª½±µmake´N¥i¥H¤F¡A¤£¥Î¤°»òm4©R¥O |
-->
¼B¥S,³oÓªF¦è¥i¬On¬Ý¼Ó¥D«ç»ò¦w¸Ëªº¤~¯à¥Î 'make' ¨Ó²£¥Í .cf
¦Ó make ©Ò°µªº¤]¬O m4 «ü¥O¦Ó¥H,Y .mc ¦³°ÝÃD,¨ºÁÙ¬O·|²£¥Í¤@¼Ëªº¿ù»~ªº |
en
§ÚÀˬd¬Ý¬Ý
ÁÂÁÂ |
-->
è¬Ý¤F¡A§Úªºsendmail.mc ¸Ì¬O¦³´«¦æªº¡A§Ú¤W±¬OºV¿ù¤F¡A¤£¦n·N«ä¡C
ÁÙ¦³¤°»ò¥i¯àªº°ÝÃD¶Ü |
-->
¤j¤Ñ¨ÏÁÂÁ§Aªº´£¿ô¡Gµo²{¬O³oÃ䱪º»yªk¥X¿ù¤F¡A¨þ¨þ
¡]`¡z¡^¨Óªí¥Ü¡I |
| |