Cant send mail from script to my server

Discussion in 'Server Operation' started by warrior, Dec 16, 2007.

  1. warrior

    warrior New Member

    I have reinstall my server nowe and I cant send enny email from the script off my portal nowe.
    My mail server working and I can send and recived mail to my outlook
    but when I try to send from my portal I cant get enny email.
    And I olso have try whit some different script and I dont get enny mail.
    I have lok into my service and send mail is running so plz howe can I get this to work ?????
    :confused:
     
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Any errors in your mail log?
     
  3. warrior

    warrior New Member

    sorry where can I find that log ????
     
  4. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    It's in the /var/log directory. Which distribution are you using?
     
  5. warrior

    warrior New Member

    I have fedooracore 6 and I cant se enny eror in the log directory about this shuld I must install some thing ?
     
  6. tfunky

    tfunky New Member

    This seems to bite me in the butt everytime I build a server...Etch so I don't know that it will directly apply, but...

    I always forget that script has to have rights to the MTA if it's going to send mail.

    Not saying that's exactly your problem, but I thought I'd toss it out there in case :)
     
  7. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Take a look at /var/log/maillog.
     
  8. warrior

    warrior New Member

    this I have found in the log file

    Dec 30 04:02:10 sendmail[4052]: lBU32A46004051: to=<root@localhost.localdomain>, ctladdr=<root@localhost.localdomain> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=39394, dsn=2.0.0, stat=Sent
     
  9. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Are you using Sendmail, not Postfix?
     
  10. warrior

    warrior New Member

    I´m using sendmail
     
  11. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    I'm sorry, but I'm no Sendmail expert. I'm always using Postfix because it's much easier to manage...
    Is Sendmail a must for you?
     
  12. warrior

    warrior New Member

    I must have sendmail to my joomla portal
     
  13. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Joomla works with Postfix as well. Postfix is Sendmail compatible.
     
  14. warrior

    warrior New Member

    alright but howe shuld I get this to work ?
     
  15. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

  16. warrior

    warrior New Member

  17. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    So you're using Axigen, not Sendmail?
     
  18. warrior

    warrior New Member

    axigen use sendmail
     
  19. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    I don't know Axigen, so I can't tell you if you an safely replace Sendmail with Postfix.
     

Share This Page