sendmail wont send my messages
Results 1 to 4 of 4

Thread: sendmail wont send my messages

  1. #1
    Senior Member
    Join Date
    Oct 2004
    Posts
    172

    sendmail wont send my messages

    i've just set up a php message board on my linux server and i'm using sendmail to send out the activation emails. the problem i'm having is that i used to use this free smtp server(searched "free smtp" on google and dled the first thing that came up) to host this board on my windows box. well, i'd always set php to use the admin email of admin@mydomain.com, had *@mydomain.com forwarded to my private email, and everything went fine. now, though sendmail checks to see that admin@mydomain.com is a real email and wont send it. how do i turn this off? i really dont feel like using my private email or some bs email for this, admin@mydomain.com is much more impressive and stuff to the users

  2. #2
    Senior Member
    Join Date
    Dec 2004
    Posts
    107
    I think we need a little more information:

    - What has changed between the software working and the software not working? (i.e. upgrading php versions...?)
    - Did you write the php scripts to send? If not, who did or where is the code from? Are you able to post it?
    - Also, how do you know that sendmail is checking if it is an actual address?

    Sounds like a configuration item has changed in the meantime, and you either did it by accident (by doing something else), or someone else did it and didn't tell you so.

    -ik
    Alright Brain, you don\'t like me, and I don\'t like you. But let\'s just do this, and I can get back to killing you with beer.
    -- Homer S.

  3. #3
    Senior Member
    Join Date
    Mar 2004
    Posts
    557
    Hi

    The problem might have two causes: Either your mail-server does not relay the
    email, or you have to configure your message board more properly. For the latter
    you would have to read the documentation, for the first I can give you some
    general information:

    First, either you try to use sendmail to send mails using the php mail()[1] command,
    OR you install a mail server. The sendmail approach is used on *nix based systems.
    On windows based system, a mail server listening on port 25 is required.

    Second, mail servers need an authentication or have to be configured to relay mails
    coming from localhost. It should NOT act as an open relay.

    Have a look at the discussion on this thread[2]. I would try to check your mail-server
    installation first, then troubleshoot using the php message board settings.

    Cheers.

    [1] http://ch2.php.net/mail
    [2] http://www.antionline.com/showthread...hreadid=266324
    If the only tool you have is a hammer, you tend to see every problem as a nail.
    (Abraham Maslow, Psychologist, 1908-70)

  4. #4
    Senior Member
    Join Date
    Oct 2004
    Posts
    172
    wups! looks like my mail forward just took a while to kick in... problem solved

Posting Permissions

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