|
pkgsrc/mail/qpopper
pkgsrc/mail/procmail
で make install
rcp hoge:/etc/aliases /etc/mail/aliases
rcp -pR hoge:/etc/mail-list/* /etc/mail-list/
rcp hoge:/etc/sendmail.acceptdomain
/usr/pkgsrc/mail/sendmail
make install
ln -fs /usr/pkg/etc/mailer.conf.sendmail /etc/mailer.conf
ttyp1:root@ibook 20:48:32/030127(...mail/sendmail)# /usr/sbin/sendmail -bd -q30m
554 5.0.0 /etc/mail/sendmail.cf: line 205: readcf: unknown option name AutoRebuildAliases
/usr/src/gnu/usr.sbin/sendmail/cf/cf/netbsd-proto.mc
を使って作ってくれた(らしい)ものは上のように言われるので、
/usr/pkgsrc/mail/sendmail/work/sendmail-8.12.6/cf/cf
に
先の
netbsd-proto.mc
を写して ./Build netbsd-proto.cf すると、
ttyp1:root@ibook 20:56:11/030127(...cf/cf)# ./Build netbsd-proto.cf
Using M4=/usr/pkg/bin/gm4
rm -f netbsd-proto.cf
/usr/pkg/bin/gm4 ../m4/cf.m4 netbsd-proto.mc > netbsd-proto.cf || ( rm -f netbsd-proto.cf && exit 1 )
*** ERROR: FEATURE() should be before MAILER()
*** ERROR: FEATURE() should be before MAILER()
*** ERROR: FEATURE() should be before MAILER()
*** ERROR: FEATURE() should be before MAILER()
*** ERROR: FEATURE() should be before MAILER()
*** WARNING: missing -T<TMPF> in argument of FEATURE(`access_db', hash -o /etc/mail/access)
*** ERROR: FEATURE() should be before MAILER()
WARNING: confAUTO_REBUILD is no longer valid.
There was a potential for a denial of service attack if this is set.
chmod 444 netbsd-proto.cf
いろいろうるさいので、これらが出ないようにして
include(`../m4/cf.m4')
VERSIONID(`@(#)netbsd-proto.mc $Revision: 1.10 $')
OSTYPE(bsd4.4)dnl
DOMAIN(generic)dnl
dnl AUTO_REBUILD', True)dnl
FEATURE(genericstable,DATABASE_MAP_TYPE` -o 'MAIL_SETTINGS_DIR`genericstable')
FEATURE(mailertable, DATABASE_MAP_TYPE` -o 'MAIL_SETTINGS_DIR`mailertable')
FEATURE(virtusertable,DATABASE_MAP_TYPE` -o 'MAIL_SETTINGS_DIR`virtusertable')
FEATURE(domaintable, DATABASE_MAP_TYPE` -o 'MAIL_SETTINGS_DIR`domaintable')
FEATURE(access_db, DATABASE_MAP_TYPE` -o 'MAIL_SETTINGS_DIR`access')
FEATURE(`redirect')
MAILER(local)dnl
MAILER(smtp)dnl
# Enable IPv6. IPv6 is marked as optional so the configuration file
# can be used on IPV4-only kernel as well.
DAEMON_OPTIONS(`Family=inet, address=0.0.0.0, Name=MTA')dnl
DAEMON_OPTIONS(`Family=inet6, address=::, Name=MTA6, Modifiers=O')dnl
次の二つを調整して
Fw/etc/mail/local-host-names
FR-o /etc/mail/relay-domains
を見ても
confPRIVACY_FLAGS PrivacyOptions [authwarnings] Privacy flags.
これでは何のことか ?
O PrivacyOptions=authwarnings/novrfy/noexpn
つまり
define(`confPRIVACY_FLAGS', ``authwarnings,noexpn,novrfy'')
こうかな。
@
stat=Deferred: prog mailer (/bin/sh) exited with EX_TEMPFAIL:
これは何 ? ~/.forward に
p=/usr/bin/procmail
と書いているのに /usr/pkg/bin/procmail にあるせい ?
写したら大丈夫。
| |
最近の日記
2024年07月03日
・kicad oddity
2024年05月08日
・comparison on ./buildsh tools
2024年05月06日
・py-setuptools (python 3.11.9)
・make release took 1 hours and 10 min
・qemu invocation for 10.99.10
2024年05月05日
・Windows 10 version
・serial connection
・bc bench
2024年05月04日
・Trial on 10.99.10
・another version (later trial) to succeed
|