• Re: Mailproc.ini programs

    From Merlin@VERT to Digital Man on Thu Jan 6 17:36:00 2005
    Ah, log says:

    Jan 6 17:35:00 carso synchronet: mail 0028 SMTP RX: RCPT TO:<merlin@carso.dyndns.org>
    Jan 6 17:35:00 carso synchronet: mail 0028 SMTP RX: DATA
    Jan 6 17:35:00 carso synchronet: mail 0028 SMTP End of message (body: 40 lines, 1379 bytes, header: 22 lines, 1047 bytes)
    Jan 6 17:35:00 carso synchronet: mail 0028 SMTP Executing external process: emailstamp.js
    Jan 6 17:35:00 carso synchronet: mail 0028 !SMTP system(emailstamp.js) returned 512 (errno: 2)
    Jan 6 17:35:00 carso synchronet: mail 0028 SMTP Created message #3291 from Richard Brumpton to merlin@carso.dyndns.org <#1>

    Do you know what errno 2 means?!?!

    Merin

    "Digital Man" <digital.man@vert.synchro.net> wrote in message news:41DC8918.68.sync-js@vert.synchro.net...
    Re: Mailproc.ini programs
    By: Merlin to All on Wed Jan 05 2005 11:13 pm

    Hi,. I've just updated to latest CVS and my mailproc program has stopped working. In the mailproc.ini it says at the bottom

    [emailstamp.js]
    native=

    My emailstamp.js is below. Basically, it adds a tag to all incoming mail with my BBS QWK ID and the IP of the smtp server delivering the email.
    It worked prior to update and I can't see anything wrong with it...
    Is there an expert who can cast their eye upon it...

    Is there any indication in your logs that your mail processor is running? Perhaps you can paste a port of your mail server log when receiving an
    SMTP
    message?

    (Thanks for posting this question here. This area doesn't get much
    traffic).
    :-)

    digital man

    Snapple "Real Fact" #114:
    The oldest known animal was a tortoise, which lived to be 152 years old.

    --- Synchronet 3.12b-Win32 NNTP Service 1.80
    * Vertrauen - Anaheim Hills, California - telnet://vert.synchro.net

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ telnet://vert.synchro.net
  • From Merlin@VERT to Digital Man on Fri Jan 7 17:12:00 2005
    Right, ive fixed that to native=false and now it is sort of working....

    Jan 7 17:09:29 carso synchronet: mail 0030 SMTP End of message (body: 40 lines, 1385 bytes, header: 22 lines, 1047 bytes)
    Jan 7 17:09:29 carso synchronet: mail 0030 SMTP Executing external process: emailstamp.js
    Jan 7 17:09:29 carso synchronet: mail 0030 JavaScript: Creating runtime: 8388608 bytes
    Jan 7 17:09:29 carso synchronet: mail 0030 JavaScript: Initializing context (stack: 16384 bytes)
    Jan 7 17:09:29 carso synchronet: mail 0030 SMTP Created message #3307 from Richard Brumpton to merlin@carso.dyndns.org <#1>


    The emailstamp.js is running and the mail is being posted to the bBs, but
    the emailstamp.js is not appending any text to the message. As far as I can see it should work ok and the script is the same that was working in the previous version....Has anything changed?

    Merlin

    "Digital Man" <digital.man@vert.synchro.net> wrote in message news:41DE0F47.71.sync-js@vert.synchro.net...
    Re: Re: Mailproc.ini programs
    By: Merlin to Digital Man on Thu Jan 06 2005 05:36 pm

    It mean "file not found". The "system()" call means that it thinks the
    mail
    proc is native. Either set "native=false" or just remove that key (The default
    value is false).

    digital man

    Snapple "Real Fact" #89:
    The average American walks 18,000 steps a day.

    --- Synchronet 3.12b-Win32 NNTP Service 1.80
    * Vertrauen - Anaheim Hills, California - telnet://vert.synchro.net

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ telnet://vert.synchro.net
  • From Merlin@VERT to Digital Man on Sat Jan 8 20:30:00 2005
    I've just settled down in front of the PC for a hour of debugging the emailstamp problem. Though, I'd sent it another test to see what happens,
    and its started working again.

    No idea how or why, it definately was broken yesterday. anyway I will keep
    an eye on it and see what happens!

    Merlin

    "Digital Man" <digital.man@vert.synchro.net> wrote in message news:41DF4885.74.sync-js@vert.synchro.net...
    Re: Re: Mailproc.ini programs
    By: Merlin to Digital Man on Fri Jan 07 2005 05:12 pm

    Right, ive fixed that to native=false and now it is sort of working....

    Jan 7 17:09:29 carso synchronet: mail 0030 SMTP End of message (body:
    40
    lines, 1385 bytes, header: 22 lines, 1047 bytes)
    Jan 7 17:09:29 carso synchronet: mail 0030 SMTP Executing external process:
    emailstamp.js
    Jan 7 17:09:29 carso synchronet: mail 0030 JavaScript: Creating
    runtime:
    8388608 bytes
    Jan 7 17:09:29 carso synchronet: mail 0030 JavaScript: Initializing context
    (stack: 16384 bytes)
    Jan 7 17:09:29 carso synchronet: mail 0030 SMTP Created message #3307 from
    Richard Brumpton to merlin@carso.dyndns.org <#1>


    The emailstamp.js is running and the mail is being posted to the bBs,
    but
    the emailstamp.js is not appending any text to the message. As far as I can
    see it should work ok and the script is the same that was working in the previous version....Has anything changed?

    The example (exec/mailproc_example.js) still appears to work with v3.12a,
    so
    I'm curious as to what the problem is with your mail processor.

    I also was unable to reproduce any scenario where the "native" property
    was set
    to true (unless I specifically set it to "1"/"true").

    digital man

    Snapple "Real Fact" #105:
    You will burn 7% more calories walking on hard dirt than pavement.

    --- Synchronet 3.12b-Win32 NNTP Service 1.80
    * Vertrauen - Anaheim Hills, California - telnet://vert.synchro.net


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ telnet://vert.synchro.net