Results 1 to 8 of 8

Thread: zmtrainsa problem

Hybrid View

  1. #1
    Join Date
    Nov 2005
    Posts
    51
    Rep Power
    9

    Default zmtrainsa problem

    Getting a error when trying to feen zmtrainsa some spam.

    [zimbra@mail bin]$ zmtrainsa localhost spam@domain.com "password" spam "/inbox/spam/"
    fetchmail:/opt/zimbra/conf/.fetchmailrc:2: syntax error at end of input
    bayes: synced databases from journal in 1 seconds: 1514 unique entries (4010 total entries)

    Not sure whats causing this and or if its even a problem.
    we are running M3-network on Cent4

  2. #2
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default Begs the question...

    What's in your fetchmailrc file, that it's throwing the error on? If it's being removed by the script, can you edit the trainsa script to skip the fetchmailrc file removal?

  3. #3
    Join Date
    Nov 2005
    Posts
    51
    Rep Power
    9

    Default

    I dont have a .fetchmail.rc file. Its looking for the file in /opt/zimbra/conf I touched a file there and it just gives me a > instead of the error. Im not sure what I would have to modify in the script to pull it out.

  4. #4
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default fetchmail

    copy the shell script and mod. the copy to output the rc file.

  5. #5
    Join Date
    Nov 2005
    Posts
    51
    Rep Power
    9

    Default

    Im not quite following you. Explain please.

  6. #6
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default error in fetchmailrc

    You reported an error in fetchmailrc, which is created by the trainsa script, then removed.

    copy the trainsa script, and modify it so that it doesn't remove the fetchmailrc file.
    run the modified trainsa script
    post the rc file, so we can find the error.

  7. #7
    Join Date
    Nov 2005
    Posts
    51
    Rep Power
    9

    Default

    [zimbra@mail bin]$ cat /opt/zimbra/conf/.fetchmailrc
    server localhost protocol IMAP user spam@domain.com@localhost password #PW# keep
    [zimbra@mail bin]$

    I changed the domain and pw. Although the original password does have # on both ends. Not sure if thats causing the problem but Its possible because I have to " " it when I run it.

  8. #8
    Join Date
    Nov 2005
    Posts
    51
    Rep Power
    9

    Default

    The # sign in the password was causing the problem. I removed the # from the password and its running now.

Similar Threads

  1. Replies: 3
    Last Post: 12-18-2006, 10:50 PM
  2. zmtrainsa problem
    By rvissers in forum Administrators
    Replies: 0
    Last Post: 09-26-2006, 11:25 AM
  3. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 10:11 PM
  4. Problem with zmtrainsa
    By phoenix in forum Administrators
    Replies: 15
    Last Post: 12-06-2005, 01:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •