mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-22 18:56:00 +02:00
* Fix messages with no origin line
* Fix end of message/termination detection for FTN packets * Start of archive support -- one use will be FTN archives * Work on FTN ArcMail/bundles
This commit is contained in:
parent
a858a93ee1
commit
1417b7efdd
5 changed files with 229 additions and 39 deletions
|
@ -209,6 +209,18 @@ function getDefaultConfig() {
|
|||
}
|
||||
},
|
||||
|
||||
archivers : {
|
||||
zip : {
|
||||
name : "PKZip",
|
||||
sig : "504b0304",
|
||||
offset : 0,
|
||||
compressCmd : "7z",
|
||||
compressArgs : [ "a", "-tzip", "{archivePath}", "{fileList}" ],
|
||||
decompressCmd : "7z",
|
||||
decompressArgs : [ "e", "-o{extractDir}", "{archivePath}" ]
|
||||
}
|
||||
},
|
||||
|
||||
messageConferences : {
|
||||
system_internal : {
|
||||
name : 'System Internal',
|
||||
|
@ -231,13 +243,13 @@ function getDefaultConfig() {
|
|||
scannerTossers : {
|
||||
ftn_bso : {
|
||||
paths : {
|
||||
outbound : paths.join(__dirname, './../mail/out/'),
|
||||
inbound : paths.join(__dirname, './../mail/in/'),
|
||||
secInbound : paths.join(__dirname, './../mail/secin/'),
|
||||
outbound : paths.join(__dirname, './../mail/ftn_out/'),
|
||||
inbound : paths.join(__dirname, './../mail/ftn_in/'),
|
||||
secInbound : paths.join(__dirname, './../mail/ftn_secin/'),
|
||||
},
|
||||
|
||||
maxPacketByteSize : 256000,
|
||||
maxBundleByteSize : 256000,
|
||||
maxPacketByteSize : 512000, // 512k, before placing messages in a new pkt
|
||||
maxBundleByteSize : 2048000, // 2M, before creating another archive
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue