Find the answer to your Linux question:
Results 1 to 2 of 2
Hello all, I having a little problem trying to send outgoing mail from a php script which communicates with the sendmail service on a fedora lnux distribution. However i had ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2005
    Posts
    1

    outgoing mail not working


    Hello all,

    I having a little problem trying to send outgoing mail from a php script which communicates with the sendmail service on a fedora lnux distribution. However i had it working before when i was using red hat and there wasn't any complications(confusing).

    I've been doing some research on the net and the suggestions were to make sure that the send mail settings were correct. From what i can see they're being the smtp name is correct with the port number and the path to the where sendmail is saved was correct as well.

    This is most confusing beause everthing to me seems correct and double checked to see if the sendmail service was actually running and it is


    Any suggestions would be cool

    Billl


    P.S

    Theres nothing wrong with my PHP script. lol

  2. #2
    Linux Enthusiast
    Join Date
    Feb 2005
    Location
    SE, Stockholm
    Posts
    512
    Try to do some easy investigations like

    telnet your-smtp-host 25
    from your phpBB server.
    If this works, try some standard SMTP envelope commands

    Code:
    EHLO <your-host-name>
    MAIL FROM&#58;<some1@somewhere.com>
    RCPT TO&#58;<some-valid-receiver@valid-domain.com>
    DATA
    From&#58;You
    To&#58;Some1
    Subject&#58;Hello World
    
    Just a plain and simple test e-mail
    .
    The ending '.' [dot] on a single line is important to terminate current SMTP session with you SMTP server.

    If you fail at:
    telnet command: Your SMTP server is NOT running
    RCPT TO: You are not allowed to Relay SMTP on your SMTP server
    MAIL FROM: You might hve configured some RBL checking and your adress is not passing that test.

Posting Permissions

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