By Starbuck on
To test Drupal6, logins, triggers, etc it would be helpful if we could get email. The addon SMTP module hasn't been ported beyond v5 yet. What can we do to configure/use an SMTP server with v6 rc4?
BTW, this is my first time using drupal let alone installing it. V6 installed flawlessly without any special tweaks on a DreamHost.com server.
Is there a forum specific to v6 or better place for questions like this?
TIA
Comments
=-=
you are in the correct forum. There are no forums designated for Drupal 6. You've properly tagged this thread.
filing a feature request or support request on the SMTP.module project page may get you an answer as to when the developer/s will be updating to drupal 6. Many don't make their final releases until Drupal 6 is final. That being said, you can check the HEAD version of the module. you can also use the documentation on updating modules from D5 - D6 and provide patches if you want to help update it to the next version. Otherwise, you are going to have to wait until someone else has to scratch that itch and supplies the patches.
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )
I thought so, thanks.
That's the way the rest of the OSS world works... As a completely new Drupal user I'm not sure how things work yet here. I can edit/modify PHP but that's not my primary language and I'm afraid porting code from one release to another is beyond me at this point. I'll take it up at the module level and see what the author or others have in mind.
Patch for v6 for SMTP
FYI for anyone else interested: I found a v6 patch for the SMTP authentication module and will see if I can do anything with it.
SMTP module
are you sure you actually need the SMTP module? I only ask because you say this is your first time using Drupal.
A server with PHP properly configured should be able to send email just fine. Make sure that the email address you set for your Drupal site is one that can relay through your hosts SMTP servers. Your host should be able to help you with that.
--
Anton
New to Drupal? | Troubleshooting FAQ
Example knowledge base built with Drupal
Happy with SMTP
I have other apps on our server for blog, forum, etc. All use SMTP. I really don't want to deal with issues of people not getting mail because their servers refuse mail from relays, or they're using SPF or some other anti-spam tool. This is a problem that's easily solved by avoiding PHP mailing from the start.
I installed the smtp patch in v6 and so far it's working great, though it still needs a code review.
Thanks.
SMTP Patch Problem
Hi all, I am newbie on Drupal, and have problem on the SMTP module.
Some background info. We have a postfix server on LAN, and we decided to keep it as the only one for security reason. So, for some management and security reasons, we don't want to install sendmail or postfix in the Drupal box. Therefore, we have to install SMTP module, or suggested by someone, use PHP Mailer. I personal think the SMTP module would be a better otpion, and thus I gave it a try.
I did a brand new installation of Drupal6 last night wit the latest release. Then install the SMTP module. Ok, I saw the red-cross saying that the module needed to be upgraded. So, I also applied the patches for the module, restart Apache, and I now see the SMTP module in the Administer->Module section without the red-cross. However, when I check on the enable box, the browser will wait and then timeout. The module can't be enabled. Tried so many times but still happen this way. Any suggestion?
Thanks a lot.
...
In your php.ini file, there should be a location to show where your SMTP server is. By default, Drupal uses this. As long as the server (IP Address) is permitted to relay through your postfix server, you shouldn't have to do anything else.
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
Only for PHP on Windows though
With PHP on *nix servers you can't use SMTP and need to use the sendmail command - http://php.net/manual/en/ref.mail.php (personally it seems to me like a silly arbitrary restriction). I haven't tried it with PHP 5.x but I couldn't use SMTP on Linux back with PHP 4.x. Note: I'm assuming the web server is question is *nix based on the mention of not wanting to install Postfix.
But not installing an MTA on a *nix machine is being overly paranoid IMO. They are usually built in and a lot of software assumes you at least have the sendmail client command (from an MTA) available, and the MTA only has security ramifications if you set up the MTA to actually run as a daemon and listen on port 25.
If that is still too much, there are standalone sendmail compatible replacement client utilities around...
eg:
http://esmtp.sourceforge.net/features.html
http://www.perlmonks.org/?node_id=110261
--
Anton
New to Drupal? | Troubleshooting FAQ
Example knowledge base built with Drupal