Roundcube Community Forum

 

Can I configure Linux Sendmail with Roundcube Mail client?

Started by nishith, September 15, 2008, 08:53:58 AM

Previous topic - Next topic

nishith

Using Fedora 7,i386 Build. I am having sendmail installed on my PC. Now,to access my webmail,I would like to install "roundcube" instead of "squirrelmail".

So,please let me know that "Is it possible to install Sendmail & roundcube together"

If yes,then by shutting my sendmail MTA service,what will happen to roundcube?

Waiting,

Nishith.

bpat1434

RoundCube might work with it.  I'm not sure about how the SMTP stuff is done, but it might be possible for you to specify the program and any flags as the default smtp server in RoundCube.  I'm not sure it would work, but it's worth a shot.
 
 

zulander

I was just wondering if anyone has done this or not. I just installed this nice webmail client and I am having some SMTP problems when sending mail. I was wondering if a work around has been done to allow either smtp or using sendmail switches.

I have roundmail corrently installed on a Fedora 9 server. I am not an SMTP/sendmail guru so if anyone here has actually set up roundcube on a Fedora 9 box please tell me how you ave your configuration setup so it works and maybe how your SMTP is set up as well since almost all SMTP connections are getting rejected. I am currently using a sendmail-dovecot setup.

Thanks,
-Z

Julius Caesar

You can use Sendmail with Roundcube, however, only for sending mail. Sendmail is a MTA (Message Transfer Agent). To read your mail, you'll need and IMAP server like Dovecot. You can install it using yum:

yum install dovecot

More about configuring check out Dovecot or you can use WebMin to configure your linux server (including sendmail).
Julius Caesar

You can download the Groupvice4 theme here.
Sie können Groupvice4 hier he

zulander

I have dovecot and webmin installed. Are there any settings that I should-double check and report on?

Julius Caesar

Quote from: zulander;16091I have dovecot and webmin installed. Are there any settings that I should-double check and report on?

Most of my settings are default, except the Mailbox location:

mail_location = mbox:~/Mail/:INBOX=/var/mail/%u

You should verify that with your own system.
Julius Caesar

You can download the Groupvice4 theme here.
Sie können Groupvice4 hier he

Julius Caesar

Quote from: zulander;16082I have roundmail corrently installed on a Fedora 9 server. I am not an SMTP/sendmail guru so if anyone here has actually set up roundcube on a Fedora 9 box please tell me how you ave your configuration setup so it works and maybe how your SMTP is set up as well since almost all SMTP connections are getting rejected. I am currently using a sendmail-dovecot setup.

What is the error in the log-file: /var/log/maillog ?
Julius Caesar

You can download the Groupvice4 theme here.
Sie können Groupvice4 hier he

zulander

In /var/log/maillog:
Jan  7 15:55:51 roundcube sendmail[5917]: n07Dtp9A005917: did not issue MAIL/EXPN/VRFY/ETRN during connection to Daemon0

In roundcube's log:
[07-Jan-2009 15:55:51 +0200] SMTP Error: SMTP error: Authentication failure: Invalid response code received from server (Code: 535) in /home/httpd/virtuals/innernet/webmail/program/steps/mail/func.inc on line 1248 (POST /webmail/?_task=mail&_action=send)
[07-Jan-2009 15:57:13] Invalid response code received from server (535):


Thanks for any help :)

zulander

Quote from: Julius Caesar;16084You can use Sendmail with Roundcube, however, only for sending mail. Sendmail is a MTA (Message Transfer Agent).

If I want to use sendmail instead of smtp to send e-mails (IMAP receiving is OK) what do I need to do to the code/config?

Julius Caesar

Quote from: zulander;16099In /var/log/maillog:
Jan  7 15:55:51 roundcube sendmail[5917]: n07Dtp9A005917: did not issue MAIL/EXPN/VRFY/ETRN during connection to Daemon0

In roundcube's log:
[07-Jan-2009 15:55:51 +0200] SMTP Error: SMTP error: Authentication failure: Invalid response code received from server (Code: 535) in /home/httpd/virtuals/innernet/webmail/program/steps/mail/func.inc on line 1248 (POST /webmail/?_task=mail&_action=send)
[07-Jan-2009 15:57:13] Invalid response code received from server (535):

Are the settings in the main.inc.php correct for SMTP-authentication?
Julius Caesar

You can download the Groupvice4 theme here.
Sie können Groupvice4 hier he

Julius Caesar

Quote from: zulander;16101If I want to use sendmail instead of smtp to send e-mails (IMAP receiving is OK) what do I need to do to the code/config?

Configure the sendmail-server as your SMTP-server
Julius Caesar

You can download the Groupvice4 theme here.
Sie können Groupvice4 hier he

zulander

Yeah it is Fixed!!!

I decided to "carefully" look through the config and found this part:
// use this host for sending mails.
// to use SSL connection, set ssl://smtp.host.com
// if left blank, the PHP mail() function is used
$rcmail_config['smtp_server'] = '';  

No more problems - sending mail worked as it should have. I am happy. Now for full testing of this tool - if it works well for my small production server I will donate a nice pice of money to the developers :)
-Z