Roundcube Community Forum

 

Sending stopped working...

Started by starion, May 21, 2013, 10:35:08 PM

Previous topic - Next topic

starion

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.

starion

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?

SKaero

Check out the SMTP section in the <RC root>/config/main.inc.php

starion

Yep, I think I got it.  I must not have ever had this configured right.  Seems to be working correctly now.  Duh.