fidogate for debian
- From
- Oleg Lobachev (2:2432/260.1)
- To
- All
- Date
- 2006-09-20T20:44:22Z
- Area
- RU.UNIX.FTN
Say yes, All. At least say hello.
Как и обещалось - дурацие вопросы.
Fidogate 5.2.2-ds, собран с fidogate-permissions.patch и
fidogate-newspath.patch, которые, впрочем кроме путей (более правильных) и прав
(более слабых) не меняют. inn 2.4.2. debian sarge.
После долгих пинков ftn2rfc работает. А вот rfc2ftn - нет. Проверялось на
конфиге из дистрибутива и работающем конфиге от 5091/31 (спасибо ему большое за
терпение).
Такое впечатление, что что-то не так с runinc -o, потому что send-fidogate
отрабатывает: из news/outgoing/fidogate изчезает строчка, в логах показано
шевеление. А в /var/log/fidogate/log и в log-news тишина. В аутбонде и в
/var/spool/fidogate пусто.
Вот запощена мессяга, send-fidogate отработал. В этот раз все пускалось от
рута, проблем с правами быть не должно. Но от ньюсов все так-же.
===== |sudo runinc -o -vvvvvvvvvv ====
config: LIBEXECDIR /usr/lib/fidogate
config: BINDIR /usr/bin
config: SPOOLDIR /var/spool/fidogate
config: PINBOUND /var/spool/ftn/pin
config: INBOUND %B/inb
config: BTBASEDIR /var/spool/ftn
config: LOCKDIR /var/run/fidogate
Creating lock file /var/run/fidogate/runinc ...
do_dir(): outpkt
entering /var/spool/fidogate/outpkt
pkt's not found - ftntoss not started
tick's not found - ftntick not started
do_dir(): outpkt/mail
entering /var/spool/fidogate/outpkt/mail
pkt's not found - ftntoss not started
tick's not found - ftntick not started
do_dir(): outpkt/news
entering /var/spool/fidogate/outpkt/news
pkt's not found - ftntoss not started
tick's not found - ftntick not started
Deleting lock file /var/run/fidogate/runinc succeeded.
passwd_free()
hosts_free()
uplinks_free()
areasbbs_free()
config_free()
acl_ftn_free()
charset_free()
===== cut end =====
===== cut begin: |tail /var/log/fidogate/* =====
==> /var/log/fidogate/afixlog <==
af OAL.FWD 2:2432/260 <null> 1158779909
==> /var/log/fidogate/log <==
/skip - слишком рано/
Sep 20 21:18:29 ftn2rfc create newsgroup fido.oal.fwd
Sep 20 21:18:29 ftn2rfc can't create newsgroup (rc != 0)
==> /var/log/fidogate/log-in <==
/skip - слишком рано/
Sep 19 20:50:01 runinc create directory /var/spool/ftn/inb/tmpunpack
==> /var/log/fidogate/log-news <==
/skip - слишком рано, исправлено/
Sep 20 21:15:53 ftnnews can't exec /usr/libexec/rfc2ftn (errno=2: No such file
or directory)
==> /var/log/fidogate/send-fidogate.log <==
send-fidogate: [14444] end fidogate
send-fidogate: [14444] end Срд Сен 20 21:30:01 CEST 2006
send-fidogate: [14469] begin Срд Сен 20 21:31:08 CEST 2006
send-fidogate: [14469] begin fidogate
real 0m0.013s
user 0m0.011s
sys 0m0.002s
send-fidogate: [14469] end fidogate
send-fidogate: [14469] end Срд Сен 20 21:31:08 CEST 2006
===== cut end =====
===== cut begin: |grep -v ^# /etc/fidogate/fidogate.conf | grep -v ^$ =====
CONFIGDIR /etc/fidogate
BINDIR /usr/bin
LIBEXECDIR /usr/lib/fidogate
LOGDIR /var/log/fidogate
VARDIR /var/lib/fidogate
LOCKDIR /var/run/fidogate
SPOOLDIR /var/spool/fidogate
BTBASEDIR /var/spool/ftn
NLDIR /var/spool/ftn/nodelist
NLFDIR /var/spool/ftn/fileecho/nodelist
DIFFDIR /var/spool/ftn/fileecho/nodediff
INBOUND %B/inb
PINBOND %B/inb
ACL %C/acl
ALIASES %C/aliases
AREAS %C/areas
HOSTS %C/hosts
FTNACL %C/ftnacl
PASSWD %C/passwd
PACKING %C/packing
ROUTING %C/routing
SPYES %C/spyes
UPLINKS %C/uplinks
CONFIG_GATE = %C/fidogate.conf
HISTORY %V/history
TIC_HISTORY %V/tic_hist
DBC_HISTORY %V/dbc
HUBROUTEDB %V/route
LOGFILE %G/log
CHARSETMAP %L/charset.bin
SEQ_MAIL %V/seq/mail
SEQ_NEWS %V/seq/news
SEQ_MSGID %V/seq/msgid
SEQ_PKT %V/seq/pkt
SEQ_SPLIT %V/seq/split
SEQ_FF %V/seq/ff
SEQ_TOSS %V/seq/toss
SEQ_PACK %V/seq/pack
SEQ_TICK %V/seq/tick
OUTRFC_MAIL %S/outrfc/mail
OUTRFC_NEWS %S/outrfc/news
OUTPKT %S/outpkt
OUTPKT_MAIL %S/outpkt/mail
OUTPKT_NEWS %S/outpkt/news
TOSS_TOSS %S/toss/toss
TOSS_ROUTE %S/toss/route
TOSS_PACK %S/toss/pack
TOSS_BAD %S/toss/bad
TICK_HOLD %B/tick
INN_BATCHDIR /var/spool/news/outgoing
NEWSVARDIR /var/lib/news
NEWSLIBDIR /usr/lib/news
NEWSBINDIR /usr/lib/news/bin
NEWSSPOOLDIR /var/spool/news/articles
LogFacility local15
LogLevel notice
AreasBBS %V/areas.bbs
FAreasBBS %V/fareas.bbs
Hostname aute
Address 2:2432/260.1
Zone default .fidonet.org fidonet outb
Zone 1 .fidonet.org fidonet outb.001
Zone 2 .fidonet.org fidonet outb
Zone 3 .fidonet.org fidonet outb.003
Zone 4 .fidonet.org fidonet outb.004
Zone 5 .fidonet.org fidonet outb.005
Zone 6 .fidonet.org fidonet outb.006
Zone 7 .fidonet.org fidonet outb.007
AreaFixMailer /usr/sbin/sendmail -t -t
AreaFixCc postmaster@aute
AreaFixHelp %C/areafix.help
AvailFile /var/spool/ftn/list/1003.list
ForbiddenChar %,;,#
IgnorePRLKey
AreaFixSubscribeOnlyIfPlus
AreaFixNoTrafficTimeout 60
AreaFixRequestTimeout 60
FileFixNoTrafficTimeout 60
FileFixRequestTimeout 60
AreaFixCreateLogFile %G/afixlog
AreaFixAvailPrintsAllAreas
FStatusAreaFixList
AutoCreateSubscribeNodes 2:2432/260.1
AutoCreateSubscribeFileechoNodes 2:2432/260.1
MaxMsg 400
MaxOpenFiles 40
MaxArc 2048
DiskFreeMin 10240
DiskFreeMethod prog
DiskFreeProg df -P %p
KillRouted
KillInsecure
LogNetMail
CheckPath
KillCircular
DupeCheck
MaxHistory 28
KillOld
KillNoMSGID
BundleDisp 1
IgnoreFileAttach 0
RepackMailTime 24
MaxHistoryDBC 14
TrafficStatistics
AreaFixCreateForbiddenAreas RU.SEX.PICTURES.UUE
AreaFixCreateForbiddenAreasFile %C/fidokill.a
FileFixCreateForbiddenAreas XXX
FileFixCreateForbiddenAreasFile %C/fidokill.f
AutoCreateLine -# -s S -t 0 -k A
AutoCreateDontCheckPassword
CheckMsgHdrAddr
UplinkCanBeReadonly
TickFlav "Normal"
FAttachFlav "Normal"
TickMode 0644
FileEchoFilesModeChange 0644
UnknownTickArea UNKNOWN
TickDontSetTime
TickReplacedDir "%G/oldfiles"
TickReplacedIgnore
AutoCreateFileechoDontCheckPassword
AutoCreateFileechoLine -# -s S -t 0 -k B
AutoCreateFechoPath /var/spool/ftn/fileecho
PassthroughtBoxesDir %B/fboxes
TickWaitHour 24
TickWaitAction delete
KillTickDupe
MaxTicHistory 14
Origin "Teh gate at .1"
Organization "No one can be told what aute is..."
UseOriginForOrganization
UseOrganizationForOrigin
UseXHeaderForTearline
NoChrsKludge
NoRfcKludge
NoGatewayKludge
X-FTN ftTOVDPKF
MaxMsgSize 32000
BounceCCMail postmaster@aute
TrackerMail postmaster@aute
FTNJunkGroup fido.junk
FTNJunkGroup fido.junk
Errors-To postmaster@aute
AreasXlate _ -
AreasXlate & -
AreasXlate $ -
RFCLevel 0
NoFromLine
NoFSC0035
NoFSC0035ifAlias
EchogateAlias
FTNInSendmail /usr/sbin/sendmail -f%s -t
FTNInRnews /usr/lib/news/bin/rnews
FTNInRecombine %L/ftninrecomb
NetMail8bit
XFlagsPolicy s
DontUseReplyTo
RFCAddrMode 1
IgnoreCHRS
DontIgnoreSoftCR
DontChangeContentTypeCharset
DefaultCharset cp866:cp866:koi8-r
NetMailCharset cp866:cp866:koi8-r
NetMailCharsetUse1st
NewsPathTail "fidogate!not-for-mail"
Regex1stLine ^In article <?[^ ]*@[^ ]*>? on ..:..:..,? (.*) (writes|wrote)
Regex1stLine ^In article <?[^ ]*@[^ ]*>? on ..\...\...,? (.*) (writes|wrote)
Regex1stLine ^In article <?[^ ]*@[^ ]*>?,? (.*) (writes|wrote):$
Regex1stLine ^In <[^ ]*@[^ ]*>,? (.*) (writes|wrote):$
Regex1stLine ^I[nm] Artikel <?[^ ]*@[^ ]*>?,? (.*) (schreibt|schrieb)
Regex1stLine ^([a-z0-9_.\-]*@[a-z0-9_.\-]* \(.*\))
(writes|wrote|schreibt|schrieb)
Regex1stLine ^(.* <[a-z0-9_.\-]*@[a-z0-9_.\-]*>)
(writes|wrote|schreibt|schrieb)
Regex1stLine ^(.* \([a-z0-9_.\-]*@[a-z0-9_.\-]*\))
(writes|wrote|schreibt|schrieb)
Regex1stLine ^([a-z0-9_.\-]*@[a-z0-9_.\-]*) (writes|wrote|schreibt|schrieb)
Regex1stLine ^On ..., .. ... .... ..:..:.. [+\-]...., (.*)
(writes|wrote|schreibt|schrieb):$
Regex1stLine ^On .. ... .... ..:..:.. [+\-]...., (.*)
(writes|wrote|schreibt|schrieb):$
Regex1stLine ^[ ]*([^>|].*) (writes|wrote|schreibt|schrieb):$
MessageLineLength 92
FTNJunkGroup junk
CarbonNameGroup Oleg_Lobachev carbon.copy
AutoCreateNG
AutoRemoveNG
AutoCreateNewgroupCmd /usr/local/news/bin/ctlinnd newgroup %s
AutoCreateRenumberCmd /usr/local/news/bin/ctlinnd renumber %s
AutoCreateRmgroupCmd /usr/local/news/bin/ctlinnd rmgroup %s
AreaFixCreateAnnounceFile %G/newareas
===== cut end =====
===== cut begin: |grep -v ^# /etc/fidogate/acl | grep -v ^$ =====
rfc2ftn
NetMail
* *
EchoMail
* fido.*
ftn2rfc
NetMail
* *
EchoMail
* *
===== cut end =====
===== cut begin: |grep -v ^# /etc/news/newsfeeds | grep -v ^$ =====
ME:!*/!junk,!control::
fidogate\
:*,!junk\
:Tf,Wnm:fidogate
===== cut end =====
Вечные вопросы:
Какой файл еще показать, что делать, кто виноват?
Научно-позновательные вопросы:
1) у меня в news/outgoing нет fidogate.work, только fidogate (и какой-то
останок глюка fidogate.fidogate). Если ничего нет - fidogate пуст, если есть:
там строчки. touch fidogate.work не спасает, после send-fidogate он испарается.
Так и должно быть?
2) Куда высасываются статьи batcher'ом в потрохах send-fidogate? Что должно
измениться после send-fidogate (кроме news/outgoing)?
3) Где лежит то, что runinc -o переваривает в фидошные бандлы? То бишь: до и
после отработавшего runinc -o что меняется (кроме появления бандлов в
аутбонде)?
Greetingz Oleg
--- np: last.fm
* Origin: Thou hast seen nothing yet. -- Miguel de Cervantes (2:2432/260.1)
SEEN-BY: 46/50 50/12 203 400/567 814 450/186 1024 451/30 452/25 154 454/9
SEEN-BY: 461/1313 465/285 469/142 418 550/196 2432/260 4615/21 4635/1024
SEEN-BY: 4642/4 4646/15 5000/5000 5001/100 5001 5002/50 63 5003/57 58 5010/2
SEEN-BY: 5010/53 5011/13 5012/23 30 46 5015/28 221 5019/31 5020/154 175 400
SEEN-BY: 5020/545 639 715 758 760 830 1042 1523 1604 1641 1982 2142 2238 2871
SEEN-BY: 5020/4441 5021/29 44 5022/128 5025/3 750 5026/45 5027/12 5028/61
SEEN-BY: 5029/60 5030/49 115 556 731 830 901 966 1063 1080 1900 2828 5031/47
SEEN-BY: 5031/70 5035/38 5036/10 5040/47 5041/4 5042/12 13 21 5049/19 50 164
SEEN-BY: 5054/1 8 9 37 45 50 63 67 89 5058/42 5059/9 37 5061/120 5062/1 10
SEEN-BY: 5063/3 5064/7 5070/156 5071/22 5072/333 5077/70 5078/20 5080/80 111
SEEN-BY: 5080/147 237 239 1003 5083/21 5085/13 87 5090/108 113 5093/4 33 55
SEEN-BY: 5095/20 5096/18 5097/31 64 303 5099/11 6001/10 6002/3 6028/1 6055/2
SEEN-BY: 6070/5 6083/12 6090/1
PATH: 2432/260 5080/1003 5020/4441 545 5054/1 37