#24 Mailterm service - unknown script

v1.0 (example)
open
nobody
None
5
2008-05-09
2008-05-09
No

Configured mailterm to use $PATH-TO-GCALDaemon/scripts as mailterm.dir.path:

root@exterior:/usr/local/sbin/GCALDaemon/conf# cat gcal-daemon.cfg | grep mailterm.dir
mailterm.dir.path=/usr/local/sbin/GCALDaemon/scripts

Put a simple hello.sh inside mailterm.dir.path:

root@exterior:/usr/local/sbin/GCALDaemon/conf# ls /usr/local/sbin/GCALDaemon/scripts/
hello.sh password-encoder.sh

Sent email to gmail accont with body:
hello

Reply from GCALDaemon:
Unknown script: javax.mail.internet.MimeMultipart@4026e9f9

Sent email to gmail accont with body:
hello.sh

Reply from GCALDaemon:
Unknown script: javax.mail.internet.MimeMultipart@4026e9f9

Content of hello.sh:

root@exterior:/usr/local/sbin/GCALDaemon/conf# cat /usr/local/sbin/GCALDaemon/scripts/hello.sh
#!/bin/bash
echo Hello World

Permissions on hello.sh:
-rwxrwxrwx

Discussion

  • Logged In: YES
    user_id=2083331
    Originator: YES

    The above was actually using version 1.0.15, whereas when trying with the latest version, 1.0.16, I get the following errors ( I tried the latest version in both Windows and Linux, and since it managed to determine that a script needed to be run, I assume that it has logged in successfully to retrieve the email ):

    INFO | jvm 1 | 2008/05/10 14:33:58 | WARN | Unexpected mailterm error!
    INFO | jvm 1 | 2008/05/10 14:33:58 | javax.mail.SendFailedException: Invalid Addresses;
    INFO | jvm 1 | 2008/05/10 14:33:58 | nested exception is:
    INFO | jvm 1 | 2008/05/10 14
    :33:58 | com.sun.mail.smtp.SMTPAddressFailedException: 553-5.1.2 We weren't able to find the recipient domain. Please check
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553-5.1.2 for any spelling errors, and make sure you didn't enter any
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553-5.1.2 spaces, periods, or other punctuation after the recipient's
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553 5.1.2 email address. 4sm4547635fgg.6
    INFO | jvm 1 | 2008/05/10 14:33:58 | ;
    INFO | jvm 1 | 2008/05/10 14:33:58 | nested exception is:
    INFO | jvm 1 | 2008/05/10 14:33:58 | com.sun.mail.smtp.SMTPAddressFailedException: 553-5.1.2 We weren't able to find the recipient domain. Please check
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553-5.1.2 for any spelling errors, and make sure you didn't enter any
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553-5.1.2 spaces, periods, or other punctuation after the recipient's
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553 5.1.2 email address. 4sm4547635fgg.6
    INFO | jvm 1 | 2008/05/10 14:33:58 | ;
    INFO | jvm 1 | 2008/05/10 14:33:58 | nested exception is:
    INFO | jvm 1 | 2008/05/10 14:33:58 | com.sun.mail.smtp.SMTPAddressFailedException: 553-5.1.2 We weren't able to find the recipient domain. Please check
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553-5.1.2 for any spelling errors, and make sure you didn't enter any
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553-5.1.2 spaces, periods, or other punctuation after the recipient's
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553 5.1.2 email address. 4sm4547635fgg.6
    INFO | jvm 1 | 2008/05/10 14:33:58 | ;
    INFO | jvm 1 | 2008/05/10 14:33:58 | nested exception is:
    INFO | jvm 1 | 2008/05/10 14:33:58 | com.sun.mail.smtp.SMTPAddressFailedException: 553-5.1.2 We weren't able to find the recipient domain. Please check
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553-5.1.2 for any spelling errors, and make sure you didn't enter any
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553-5.1.2 spaces, periods, or other punctuation after the recipient's
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553 5.1.2 email address. 4sm4547635fgg.6
    INFO | jvm 1 | 2008/05/10 14:33:58 | ;
    INFO | jvm 1 | 2008/05/10 14:33:58 | nested exception is:
    INFO | jvm 1 | 2008/05/10 14:33:58 | com.sun.mail.smtp.SMTPAddressFailedException: 553-5.1.2 We weren't able to find the recipient domain. Please check
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553-5.1.2 for any spelling errors, and make sure you didn't enter any
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553-5.1.2 spaces, periods, or other punctuation after the recipient's
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553 5.1.2 email address. 4sm4547635fgg.6
    INFO | jvm 1 | 2008/05/10 14:33:58 | ;
    INFO | jvm 1 | 2008/05/10 14:33:58 | nested exception is:
    INFO | jvm 1 | 2008/05/10 14:33:58 | com.sun.mail.smtp.SMTPAddressFailedException: 553-5.1.2 We weren't able to find the recipient domain. Please check
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553-5.1.2 for any spelling errors, and make sure you didn't enter any
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553-5.1.2 spaces, periods, or other punctuation after the recipient's
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553 5.1.2 email address. 4sm4547635fgg.6
    INFO | jvm 1 | 2008/05/10 14:33:58 | ;
    INFO | jvm 1 | 2008/05/10 14:33:58 | nested exception is:
    INFO | jvm 1 | 2008/05/10 14:33:58 | com.sun.mail.smtp.SMTPAddressFailedException: 553-5.1.2 We weren't able to find the recipient domain. Please check
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553-5.1.2 for any spelling errors, and make sure you didn't enter any
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553-5.1.2 spaces, periods, or other punctuation after the recipient's
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553 5.1.2 email address. 4sm4547635fgg.6
    INFO | jvm 1 | 2008/05/10 14:33:58 |
    INFO | jvm 1 | 2008/05/10 14:33:58 | at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1196)
    INFO | jvm 1 | 2008/05/10 14:33:58 | at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584)
    INFO | jvm 1 | 2008/05/10 14:33:58 | at javax.mail.Transport.send0(Transport.java:169)
    INFO | jvm 1 | 2008/05/10 14:33:58 | at javax.mail.Transport.send(Transport.java:98)
    INFO | jvm 1 | 2008/05/10 14:33:58 | at org.gcaldaemon.core.GmailEntry.send(GmailEntry.java:561)
    INFO | jvm 1 | 2008/05/10 14:33:58 | at org.gcaldaemon.core.mailterm.MailTerminal.receiveMails(MailTerminal.java:280)
    INFO | jvm 1 | 2008/05/10 14:33:58 | at org.gcaldaemon.core.mailterm.MailTerminal.run(MailTerminal.java:176)
    INFO | jvm 1 | 2008/05/10 14:33:58 | Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 553-5.1.2 We weren't able to find the recipient domain. Please check
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553-5.1.2 for any spelling errors, and make sure you didn't enter any
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553-5.1.2 spaces, periods, or other punctuation after the recipient's
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553 5.1.2 email address. 4sm4547635fgg.6
    INFO | jvm 1 | 2008/05/10 14:33:58 | ;
    INFO | jvm 1 | 2008/05/10 14:33:58 | nested exception is:
    INFO | jvm 1 | 2008/05/10 14:33:58 | com.sun.mail.smtp.SMTPAddressFailedException: 553-5.1.2 We weren't able to find the recipient domain. Please check
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553-5.1.2 for any spelling errors, and make sure you didn't enter any
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553-5.1.2 spaces, periods, or other punctuation after the recipient's
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553 5.1.2 email address. 4sm4547635fgg.6
    INFO | jvm 1 | 2008/05/10 14:33:58 | ;
    INFO | jvm 1 | 2008/05/10 14:33:58 | nested exception is:
    INFO | jvm 1 | 2008/05/10 14:33:58 | com.sun.mail.smtp.SMTPAddressFailedException: 553-5.1.2 We weren't able to find the recipient domain. Please check
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553-5.1.2 for any spelling errors, and make sure you didn't enter any
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553-5.1.2 spaces, periods, or other punctuation after the recipient's
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553 5.1.2 email address. 4sm4547635fgg.6
    INFO | jvm 1 | 2008/05/10 14:33:58 | ;
    INFO | jvm 1 | 2008/05/10 14:33:58 | nested exception is:
    INFO | jvm 1 | 2008/05/10 14:33:58 | com.sun.mail.smtp.SMTPAddressFailedException: 553-5.1.2 We weren't able to find the recipient domain. Please check
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553-5.1.2 for any spelling errors, and make sure you didn't enter any
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553-5.1.2 spaces, periods, or other punctuation after the recipient's
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553 5.1.2 email address. 4sm4547635fgg.6
    INFO | jvm 1 | 2008/05/10 14:33:58 |
    INFO | jvm 1 | 2008/05/10 14:33:58 | at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1047)
    INFO | jvm 1 | 2008/05/10 14:33:58 | ... 6 more
    INFO | jvm 1 | 2008/05/10 14:33:58 | Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 553-5.1.2 We weren't able to find the recipient domain. Please check
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553-5.1.2 for any spelling errors, and make sure you didn't enter any
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553-5.1.2 spaces, periods, or other punctuation after the recipient's
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553 5.1.2 email address. 4sm4547635fgg.6
    INFO | jvm 1 | 2008/05/10 14:33:58 | ;
    INFO | jvm 1 | 2008/05/10 14:33:58 | nested exception is:
    INFO | jvm 1 | 2008/05/10 14:33:58 | com.sun.mail.smtp.SMTPAddressFailedException: 553-5.1.2 We weren't able to find the recipient domain. Please check
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553-5.1.2 for any spelling errors, and make sure you didn't enter any
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553-5.1.2 spaces, periods, or other punctuation after the recipient's
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553 5.1.2 email address. 4sm4547635fgg.6
    INFO | jvm 1 | 2008/05/10 14:33:58 |
    INFO | jvm 1 | 2008/05/10 14:33:58 | ... 7 more
    INFO | jvm 1 | 2008/05/10 14:33:58 | Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 553-5.1.2 We weren't able to find the recipient domain. Please check
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553-5.1.2 for any spelling errors, and make sure you didn't enter any
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553-5.1.2 spaces, periods, or other punctuation after the recipient's
    INFO | jvm 1 | 2008/05/10 14:33:58 | 553 5.1.2 email address. 4sm4547635fgg.6
    INFO | jvm 1 | 2008/05/10 14:33:58 |
    INFO | jvm 1 | 2008/05/10 14:33:58 | ... 7 more
    INFO | jvm 1 | 2008/05/10 14:33:58 | DEBUG | Please verify your username/password and IMAP settings!