RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Release Support > Older Versions > 0.1 Beta 1

For more information about the ads and why they're here, please see the FAQ
Reply
  #1  
Old 07-25-2006, 08:53 AM
Registered User
 
Join Date: Jul 2006
Posts: 6
Downloads: 0
Uploads: 0
Default Using external SMTP Server.

Hello,

I'm trying to get RC to send outbound mails to an external SMTP server instead of using localhost. This is the config that I entered into 'main.inc.php'

Code:
// 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'] = 'ssl://mail.example.com';

// SMTP port (default is 25; 465 for SSL)
$rcmail_config['smtp_port'] = 465;

// SMTP username (if required) if you use %u as the username RoundCube
// will use the current username for login
$rcmail_config['smtp_user'] = 'name@example.com'; <<< yes the logon is full addy

// SMTP password (if required) if you use %p as the password RoundCube
// will use the current user's password for login
$rcmail_config['smtp_pass'] = '<no-peeking>';

// SMTP AUTH type (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or empty to use
// best server supported one)
$rcmail_config['smtp_auth_type'] = '';
I create a message and click send and RC appears to send it fine. No errors on screen. However there is no mail in the 'Sent' folder and the destination email addy never gets the message. Nothing in my mail.log file for the server either.

Am I missing something here?

Thanks for the input

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 07-26-2006, 01:15 AM
Registered User
 
Join Date: Jul 2006
Posts: 6
Downloads: 0
Uploads: 0
Default Re: Using external SMTP Server.

Figured it out. Since my relay needs the fully qualified email addy, I started to wonder if that was the issue.

So I changed the following:

Code:
$rcmail_config['smtp_user'] = 'name@example.com';
to

Code:
$rcmail_config['smtp_user'] = 'name+example.com';
Which when I tested it by sending an email to my Gmail account worked. Not sure if this is a specific to my relay provider or not but thought I would share none the less.

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

For more information about the ads and why they're here, please see the FAQ

All times are GMT. The time now is 04:15 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright © 2006-2008 RoundCube Webmail Community