Results 1 to 16 of 16
  1. #1
    Join Date
    Sep 2002
    Location
    Scotland
    Posts
    421

    Sendmail and Socketmail error

    HI,

    We have been trying to install socketmail for a few weeks. Even had Servint engineers do it, but no luck.

    First it would not run on our webserver with cpanel. So installed on our database server.

    Now Servint have set up sendmail config fine I think. But the database was missing soem tables, so I reinstalled it.

    During install you have to create a file in your web dir called socketmail-domains.

    Now scant instructions so I used touch socketmail-domains and then used pico to add the domain name.

    The system is currently sending mail but not recieving it.

    When i restart send mail I get this error:

    [[email protected] public_html]# /etc/rc.d/init.d/sendmail restart
    Shutting down sendmail: [ OK ]
    Shutting down sm-client: [FAILED]
    Starting sendmail: 451 4.0.0 /etc/mail/sendmail.cf: line 94: fileclass: cannot open '/home/monsternet/public_html/socketmail-domains': World writable directory
    [FAILED]
    Starting sm-client: [ OK ]

    Any ideas what that means. I tried chmoding the file to various settings and Servint have already uncommented the dont blame bit in the config:

    # addressing the actual file configuration problem is preferred
    # need to set this before any file actions are encountered in the cf file
    #O DontBlameSendmail=safe
    O DontBlameSendmail=GroupWritableDirPathSafe
    #O DontBlameSendmail=IncludeFileInUnsafeDirPath

    I emailed the product support and posted on their forum but no luck so far. Would appreciate any ideas.

    Thanks

    James

  2. #2
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,290
    chmod -o-w /home/monsternet/public_html/socketmail-domains will make it not world writeable
    Steven Ciaburri | Industry's Best Server Management - Rack911.com
    Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
    Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
    FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance

  3. #3
    Join Date
    Sep 2002
    Location
    Scotland
    Posts
    421
    That was quick, thanks!

    I tried that see below:

    [[email protected] etc]# chmod -o-w /home/monsternet/public_html/socketmail-domains
    [[email protected] etc]# /etc/rc.d/init.d/sendmail restart
    Shutting down sendmail: [ OK ]
    Shutting down sm-client: [FAILED]
    Starting sendmail: 451 4.0.0 /etc/mail/sendmail.cf: line 94: fileclass: cannot open '/home/monsternet/public_html/socketmail-domains': World writable directory
    [FAILED]
    Starting sm-client: [ OK

    Could it be one of the directories like piblic_html that is causing the problem?

    Thanks

    James

  4. #4
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,290
    ls -l /home/monsternet/public_html/ | grep socketmail-domains

    whats it say
    Steven Ciaburri | Industry's Best Server Management - Rack911.com
    Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
    Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
    FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance

  5. #5
    Join Date
    Sep 2002
    Location
    Scotland
    Posts
    421
    Says:

    [[email protected] etc]# ls -l /home/monsternet/public_html/ | grep socketmail-domains
    -----w--w- 1 monster monster 22 May 17 10:16 socketmail-domains

    James

  6. #6
    Join Date
    Sep 2002
    Location
    Scotland
    Posts
    421
    Anyone fancy taking a look at this to see if they can get it working. Can pay if not feeling altruistic ;-)

    Cheers

    James

  7. #7
    Join Date
    Jun 2000
    Location
    Washington, USA
    Posts
    5,991
    Try this command...

    chmod 644 /home/monsternet/public_html/socketmail-domains

  8. #8
    Join Date
    Sep 2002
    Location
    Scotland
    Posts
    421
    Hi JTY,

    Thanks

    Gave it a go but no joy,

    [[email protected] etc]# chmod 644 /home/monsternet/public_html/socketmail-domains
    [[email protected] etc]# /etc/rc.d/init.d/sendmail restart
    Shutting down sendmail: [ OK ]
    Shutting down sm-client: [FAILED]
    Starting sendmail: 451 4.0.0 /etc/mail/sendmail.cf: line 94: fileclass: cannot open '/home/monsternet/public_html/socketmail-domains': World writable directory
    [FAILED]
    Starting sm-client: [ OK ]
    [[email protected] etc]#

    I also tried chmoding the public_html to various settings and then set it back.

    I am not even sure if this is why it is not recieving mail, but it is the only error I can find so far.

    James

  9. #9
    Join Date
    Jun 2001
    Location
    Kalamazoo
    Posts
    33,190
    Originally posted by Fatty
    Anyone fancy taking a look at this to see if they can get it working. Can pay . . .
    Moved by request.
    There is no best host. There is only the host that's best for you.

  10. #10
    I'll take a look at it if you get back to me within a couple minutes.

  11. #11
    Join Date
    Sep 2002
    Location
    Scotland
    Posts
    421
    HI Alan, sent you a PM. thanks

    James

  12. #12
    Join Date
    Dec 2003
    Posts
    936
    Fatty
    Can you be online on AIM?
    Primary email: advanced dot programmer at gmail dot com ..

  13. #13
    Problem solved

  14. #14
    Join Date
    Sep 2002
    Location
    Scotland
    Posts
    421
    HI thanks for replying. The issue has been solved by AlanP.

    Thanks to all who helped.

    Regards


    James

  15. #15
    Join Date
    Dec 2003
    Posts
    936
    What was the problem?
    Would you please like to share with us?
    Primary email: advanced dot programmer at gmail dot com ..

  16. #16
    Join Date
    Sep 2002
    Location
    Scotland
    Posts
    421
    Hi, yes I would have posted but I think there were multiple issues.

    AlanP would be able to post what they were. I am not sure.

    I think the permission thing, plus some setup errors and some daemons not running.

    James

Posting Permissions

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