If you install Debian on a Dedibox dedicated server, by default, you can not send emails from a PHP script (or by any call to sendmail).

In order to enable that, you need to reconfigure exim (which is the MTA installed by default). Run dpkg-reconfigure exim4-config. Select the Internet mode and answer the few following questions about your domains (watch out for open relay issues). Exim will then restart.

You can test your configuration by running sendmail your-address. Type in the body of your message then type CTRL + D on the next blank line to send your message. Hopefully, it made it to your inbox.

To make sure everything is okay and your server has not become an open relay, have Online.Net test your mail server.

Easy enough.

Filed under: Computing, Debian, Système

Tagged with: , , , , , , , ,

Liked this page?

Tweet it

Subscribe to the RSS feed or sign up for the newsletter now.

Posts related to Sending emails from a Dedibox server

2 Comments to "Sending emails from a Dedibox server"

  1. Trackback on Samantha Halfon on January 13, 2011 at 8:00 pm

    New blog post: Sending emails from a Dedibox server:
    If you install Debian on a Dedibox dedicated server, by de… http://bit.ly/g9isvM

  2. Trackback on sid 【ツ】 on January 13, 2011 at 8:03 pm

    Sending emails from a Dedibox server: If you install Debian on a Dedibox dedicated server.. http://bit.ly/g9isvM /via @samo9789

Name (required)

Email (required)

Website

Leave a Reply

  • About Me


    photo of Samantha Halfon Samantha Halfon
    Software Engineer
    blueKiwi software
    Paris, France
    I enjoy playing with my computer(s), listening to Bob Dylan (and related artists) and watching movies (especially if they were directed by Martin Scorsese or John Cassavetes). Sometimes, I play a little guitar... If not doing any of the above, I am either riding a small red bike around Paris, or, making videos. About my videomaking please check out World Wide Angle and its blog.