Results 1 to 2 of 2

Thread: Redmine and Sendmail - Can't send mail from server

  1. #1
    Join Date
    Jan 2011

    Redmine and Sendmail - Can't send mail from server

    Hello All,

    I couldn't find a relevant post for this, so I thought I'd start here. I've toyed around off and on for years on Ubuntu, so my knowledge tends to be spotty. Let me apologize in advance for that now lol.

    I'm currently running Ubuntu 10.10 Server using VirtualBox 3.2.12 r68302. I've setup a LAMP Server and Installed Redmine and I'm going to be starting some projects. The problem I have is that I've linked it to a subdomain thru my hosting, so things are a little more complex for me then usual. Here's the software I've added for this setup:

    Ruby version 1.8.7 (i686-linux)
    RubyGems version 1.3.7
    Rack version 1.1
    Rails version 2.3.5
    Active Record version 2.3.5
    Active Resource version 2.3.5
    Action Mailer version 2.3.5
    Active Support version 2.3.5
    Edge Rails revision unknown
    Application root /usr/share/redmine
    Environment production
    Database adapter mysql
    Database schema version 20100705164950

    Sendmail version: 8.14.3-9.2

    What I'm attempting to do is as follows:

    * I own '' (hosting is remote/not my server) and want '' to be the specific target for my virtual Ubuntu Server.
    * MX Records have been updated at my hosting provider to point to my ISP's IP Address. We'll use for the example (in case it needs to be added in my hosts file later on) of my external IP address and my actual server is locally running on
    * I've setup Redmine and can connect to it via
    * I've setup my /etc/hosts file as follows localhost ip ip
    * I'm having issues getting e-mails off my server and out of Redmine using Sendmail. CLI-wise, I'm using MUTT as a local e-mail program and can send e-mails between users, but nothing can leave the server.
    * In Redmine, my /etc/redmine/default/email.yml file looks like this:
    delivery_method: :sendmail
    port: 587 #I've also used the standard 25
    authentication: :login
    password: 'password'

    I think all-in-all, I'm pretty much confusing myself lol. This is probably more of a sendmail issue then anything and I was wondering if maybe someone could give me some advise on how to proceed. My main confusion is about how mail server functionality works as well as how to properly set the host of the virtual pc.

    Any thoughts? Thanks in advance

  2. #2
    Join Date
    Jan 2011

    Re: Redmine and Sendmail - Can't send mail from server

    Am I not asking the right questions? Maybe I should start smaller. My /etc/hosts file... does it seem wrong for what I'm attempting to do? I know if this isn't setup correctly, it can cause many other issues configuration-wise: localhost ip ip

    I tried an alternative approach with: localhost ip

    and ip

    and that just gives me errors. Mostly:
    Error sending message, child exited 67 (User unknown.)

    Please help. I'm almost done and just about ready to backup this server in case I break something else later down the road

Tags for this Thread


Posting Permissions

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