Author Topic: Can I configure Linux Sendmail with Roundcube Mail client?  (Read 15967 times)

Offline nishith

  • Jr. Member
  • **
  • Posts: 13
Can I configure Linux Sendmail with Roundcube Mail client?
« on: September 15, 2008, 08:53:58 AM »
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.

Offline bpat1434

  • Administrator
  • Hero Member
  • *****
  • Posts: 673
Can I configure Linux Sendmail with Roundcube Mail client?
« Reply #1 on: September 15, 2008, 06:48:27 PM »
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.
 
  

Offline zulander

  • Newbie
  • *
  • Posts: 5
Can I configure Linux Sendmail with Roundcube Mail client?
« Reply #2 on: January 07, 2009, 02:38:50 AM »
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

Offline Julius Caesar

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 498
    • http://www.de-keizer.net/
Can I configure Linux Sendmail with Roundcube Mail client?
« Reply #3 on: January 07, 2009, 03:48:01 AM »
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

Offline zulander

  • Newbie
  • *
  • Posts: 5
Can I configure Linux Sendmail with Roundcube Mail client?
« Reply #4 on: January 07, 2009, 05:12:08 AM »
I have dovecot and webmin installed. Are there any settings that I should-double check and report on?

Offline Julius Caesar

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 498
    • http://www.de-keizer.net/
Can I configure Linux Sendmail with Roundcube Mail client?
« Reply #5 on: January 07, 2009, 05:20:15 AM »
Quote from: zulander;16091
I 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

Offline Julius Caesar

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 498
    • http://www.de-keizer.net/
Can I configure Linux Sendmail with Roundcube Mail client?
« Reply #6 on: January 07, 2009, 05:26:09 AM »
Quote from: zulander;16082
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.


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

Offline zulander

  • Newbie
  • *
  • Posts: 5
Can I configure Linux Sendmail with Roundcube Mail client?
« Reply #7 on: January 07, 2009, 09:01:05 AM »
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 :)

Offline zulander

  • Newbie
  • *
  • Posts: 5
Can I configure Linux Sendmail with Roundcube Mail client?
« Reply #8 on: January 07, 2009, 09:03:26 AM »
Quote from: Julius Caesar;16084
You 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?

Offline Julius Caesar

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 498
    • http://www.de-keizer.net/
Can I configure Linux Sendmail with Roundcube Mail client?
« Reply #9 on: January 07, 2009, 09:23:40 AM »
Quote from: zulander;16099
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):


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

Offline Julius Caesar

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 498
    • http://www.de-keizer.net/
Can I configure Linux Sendmail with Roundcube Mail client?
« Reply #10 on: January 07, 2009, 09:24:52 AM »
Quote from: zulander;16101
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?


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

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

Offline zulander

  • Newbie
  • *
  • Posts: 5
Can I configure Linux Sendmail with Roundcube Mail client?
« Reply #11 on: January 07, 2009, 09:30:35 AM »
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