How to set up Postie correctly

ZXNet echo conference «zxnet.general»

From Eugene Palenock To All 1 September 2000

Hello All! To receive, you need to run it like this: postie -host:imap.mailru.com -user:login -pass:password -file:D:Postieemail.dat -rm -raw .dat cannot be thrown into the root directory - postie with this is buggy. -rm - delete messages from the server, -raw - write a specific dump to email.dat boxes, otherwise the recording is in the internal Postie format and then it’s nothing cannot be unpacked externally. I don’t recommend using the -extract switch - I’ll just use packages of the same name overwritten. In principle, you can, of course, accept one message at a time and process (see -msg switch) but if files of the same name are in one message - this won't help. The way out of this problem is simple. You must use PktXCode. It starts immediately after Postie completes with the following line: PktXCode D:Postieemail.dat Then you can add del D:Postieemail.dat del D:PostiePKTXCODE.IDX del D:PostiePKTXCODE.DAT Here is the entire PktXCode config: === Home Windows Clipboard === ; PktXCode v1.24 - configuration file [GENERAL] DATABASEPATH=D:Postie\n EXTRACTPATH=D:IN_IUC EXTRACTBADPATH=D:IN_IUCBAD\n LOGSUMPATH=D:Log\n LOGPATH=D:Log\n LOGLEVEL=ALL SPLITTEXT="x:[ ]" TEXTMARK="Subject:" FORCEFILEJOINING=NO USELONGNAMES=YES ZIPMAGIC95COMPATIBILITY=NO AUTOFILEEXTENSION=NO USEBASE64HEADER=AUTO DUPEHANDLING=COMPARE MEMSIZE=AUTO DELDAYS=14 [END] [DECODEAREA] [END] [MODIFYAREA] [END] [EXTRACTPATH] [END][NETMAILFILTER] [END] [FILTERSETTINGS] ATTACHMESSAGE=NO ATTACHPATH=NO [END] [SHORTTEXT] [END] [SENDTEXT] [END] ===End of Windows Clipboard === What will be in D:IN_IUC can be given to a regular tosser. Now about transmitting packages using Postie. I have this done from the BSO queue. So, let's write another bat file: this is the unique name of the echo packet to be sent. it is also used to return from the SEND subroutine For some reason CALL was not received here... set FILE=9c5149e7 Address where to send the echo packet and what to write in the To field set ADDR="(500:9999/0@ZXNet EchoMail) <9999@inbox.ru>" In principle, everything is the same. ADDRN was invented just for this purpose to write Netmail ;) set ADDRN="(500:9999/0@ZXNet NetMail) <9999@inbox.ru>" unique hlo package name. Used for sending netmail and for deleting *.?lo after sending echomail set LO=00980000 bedding goto SEND return label :9c5149e7 Everything is similar here - this is the next link. There are many more that could be inserted here. set FILE= set ADDR= set ADDRN= set LO= goto SEND :15AB0A8B The end :END exit And the subroutine for sending echo packets :SEND @echo - if not exist D:MODEMFTNFILESOUTBOUND.1F4%FILE%.* goto NOTEM If there is no package, go to posting soap from BSO The echo packet is simply taken from the BSO t-soap and sent as UUE (-uue). If everything is fine, it will be deleted (-rm), otherwise it will remain.Please note that you can send from the left smtp ;) pop.mtu.ru is the smtp of my ISP ;) @echo Sending a EchoMail for %ADDR%... call postie.exe -host:pop.mtu.ru -port:25 -to:%ADDR% -from:"" -replayto:"" -s:" " -msg:" " -dir:D:MODEMFTNFILESOUTBOUND.1F4%FILE%.* -uue -rm Now the soap package :NOTEM if not exist D:MODEMFTNFILESOUTBOUND.1F4%LO%.hut goto ENDSEND If there is no soap - end of the subroutine @echo Sending a NetMail for %ADDR%... Copy D:MODEMFTNFILESOUTBOUND.1F4%LO%.hut D:MODEMFTNFilesOUTB_ren otherwise the soap is copied (to be renamed to pkt) Ren D:MODEMFTNFilesOUTB_ren%LO%.hut %LO%.pkt renamed call postie.exe -host:pop.mtu.ru -port:25 -to:%ADDRN% -from:"" -replayto:"" -s:" " -msg:" " -dir:D:MODEMFTNFILESOUTB_ren%LO%.pkt -uue -rm goto ENDSEND and is sent. and now deleting “unnecessary” files :ENDSEND if exist D:MODEMFTNFILESOUTBOUND.1F4%FILE%.* goto endsend1 del D:MODEMFTNFILESOUTBOUND.1F4%LO%.hlo If the echo packet is sent, then its .hlo can be deleted. :endsend1 if exist D:MODEMFTNFilesOUTB_ren%LO%.pkt goto endsend2 del D:MODEMFTNFILESOUTBOUND.1F4%LO%.hut goto %FILE% :endsend2 del D:MODEMFTNFILESOUTB_ren%LO%.pkt goto %file% and with soap - after all, a renamed copy was sent... If it is not there, you can remove hut from BSO, otherwise (ifthe copy is not gone) - you need to delete it (for the future) * Original written in ZXNET.GENERAL * Copied to FLASH.LOCAL Best regards, Evgeniy.