Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: starion on May 21, 2013, 10:35:08 PM

Title: Sending stopped working...
Post by: starion on May 21, 2013, 10:35:08 PM
Everything has been humming along just fine, or so I thought.  Had a customer email me tonight saying they were getting an error when trying to send a message.  I tested and sure enough, it is saying "failed to send message".

Now this worked at one time, and I haven't made any changes (not intentionally anyway).

My Apache error log says:

/opt/local/sbin/sendmail: No such file or directory

Problem is, I don't recall setting it up to use sendmail.  There is no sendmail in the sbin directory, and as far as I can tell from the backups, there never has been.

How can I fix this?  RoundCube logs into a user's account and views the mail just fine, you just can't send out.
Title: Re: Sending stopped working...
Post by: starion on May 21, 2013, 11:40:35 PM
Okay, further investigation reveals:

I had removed postfix from this particular machine because that is not where our mail server is.  So, I inadvertently removed sendmail as a result.  However, this pointed out another problem:

The server that RoundCube is on is NOT the mail server.  How do I configure RoundCube to smtp to another server?
Title: Re: Sending stopped working...
Post by: SKaero on May 21, 2013, 11:52:11 PM
Check out the SMTP section in the <RC root>/config/main.inc.php
Title: Re: Sending stopped working...
Post by: starion on May 21, 2013, 11:53:31 PM
Yep, I think I got it.  I must not have ever had this configured right.  Seems to be working correctly now.  Duh.