Roundcube "imap connection failed" and php mail() not working

futurevision

Verified User
Joined
Nov 26, 2008
Messages
50
As the topic shows I'm having problem with sending and reading mail, i dont know about receiving as i cant access the webmail. I've searched the forum but some solutions to the imap connection failed did not work. I already did "custombuild ./build all d" to rebuild everything but that didnt work also :(

Where should I start looking?

My php test script is:
$r = mail('[email protected]', 'subject', 'message);
var_dump($r);

and it shows bool(false) as result. I'm sure the roundcube webmail was working last week, I even restored a backup of my vps and it isnt working then anymore either, very weird.

Dovecot is running, when I telnet:
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN] Dovecot DA ready.
 
As the topic shows I'm having problem with sending and reading mail, i dont know about receiving as i cant access the webmail. I've searched the forum but some solutions to the imap connection failed did not work. I already did "custombuild ./build all d" to rebuild everything but that didnt work also :(

Where should I start looking?

My php test script is:
$r = mail('[email protected]', 'subject', 'message);
var_dump($r);

and it shows bool(false) as result. I'm sure the roundcube webmail was working last week, I even restored a backup of my vps and it isnt working then anymore either, very weird.

Dovecot is running, when I telnet:
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN] Dovecot DA ready.

Check exim logs to make sure, that email gets sent. I hope it's not a matter of typo in your PHP code, as one quote is missing.

PHP:
$r = mail('[email protected]', 'subject', 'message');
 var_dump($r);
 
Back
Top