View Full Version : smtp server that requires authentication
lee.harris
29-Jan-2004, 03:34 PM
How can I get v6 sending mails through our smtp server which requires authentication for outgoing mail?
NormanRouxel
29-Jan-2004, 03:41 PM
Although Authenticated SMTP has been around since 1998 Actinic do not support it as yet!
As a work-around I've written a patch that may help as it allows your servers outgoing mail transport (sendmail, etc) to be used instead. Details at www.rouxel.cwc.net/actinicstuff.html
This does require that a Perl module, Mail::Mailer, be available on your server. You'll either have to try it and see or ask your server gurus.
Norman
lee.harris
29-Jan-2004, 03:49 PM
Top man Norman :)
lee.harris
30-Jan-2004, 04:04 PM
Paging Norman. Paging Norman... :)
Just tried this and as a result am getting 500 errors merging updates on the web site. Have proved this to the modified Actinic.pm.
Any clues?
cdicken
30-Jan-2004, 04:23 PM
Do you have v6.1.0 (or higher)? If so, go to 'Help | Troubleshooting' and click the 'Web Site Analysis' button. What is in the 'Perl version' field?
It may be you have an old version of Perl on the server. If you are using Netbenefit, try changing the 'Path to Perl' in 'Advanced | Network Setup' to '/usr/bin/perl5'.
lee.harris
30-Jan-2004, 04:28 PM
Perl v5.008.
Good? Bad? Indifferent?
cdicken
30-Jan-2004, 04:38 PM
That should be fine. It is only when perl is earlier than 5.006 that there are sometimes problems.
My suggestion is to restore an original Actinic.pm file from your 'Original' folder, and then try the patch again.
lee.harris
30-Jan-2004, 05:54 PM
Definitely unhappy merging the files (500 error) once Norman's patch is applied to Actinic.pm. Restoring Actinic.pm enables a site update to be done.
NormanRouxel
30-Jan-2004, 06:04 PM
Either you made a mistake in the patching or your servers installation of Perl doesn't support the Mail::Mailer module.
Post the verion of Actinic you're using and perhaps someone will send you their patched file of the same version.
Norman
lee.harris
30-Jan-2004, 06:10 PM
Defeinitely copied & pasted from your site ok so it must be my server.
6.1.3.0.0.0.0.0.0.0.0.0.0(joking).DHBA
NormanRouxel
30-Jan-2004, 07:00 PM
Ask them about whether Mail::Mailer is installed then.
Norman
lee.harris
31-Jan-2004, 05:38 PM
Sorted. Mail::Mailer now installed and patch uploads and works well. Thanks.
Artisan
29-Jul-2004, 09:44 PM
As a work-around I've written a patch that may help as it allows your servers outgoing mail transport (sendmail, etc) to be used instead. Details at www.rouxel.cwc.net/actinicstuff.html
This does require that a Perl module, Mail::Mailer, be available on your server. You'll either have to try it and see or ask your server gurus.
Sorry to drag up an old thread, but it looks like I'll have to implement this patch to migrate my v5 and v6 sites to a new resller account with Heart Internet (http://www.heartinternet.co.uk/). I can't get authenticated SMTP to work in v7 (it wouldn't work with my old host, Webfusion, either), is it likely to work with v7?
Malcolm
cdicken
30-Jul-2004, 10:34 AM
I don't know whether Norman's patch will work, but if you can't get the v7 SMTP authentication feature working with v7 I suggest you register an email support query HERE (http://www.actinic.co.uk/support/register.htm) and the team can test your server for you and find out why it is not working.
Artisan
03-Aug-2004, 08:47 AM
I've tried the patch on Actinic.pm in v6 first but I'm getting the following errors:
Actinic gets most of the way through a site update (or refresh) and stops with the message "An error occurred while sending the merge request".
On the website, I can navigate the brochure pages OK, but get the message "Internal Server Error. The server encountered an internal error or misconfiguration and was unable to complete your request" when I click on Products to enter the store.
Restoring the original gets everything back to normal but of course there's no email because of SMTP authentication being required.
Malcolm
NormanRouxel
03-Aug-2004, 09:01 AM
You must have patched it wrongly and broken Actinic.pm. I'd try again from the beginning using the clean Actinic.pm. It might help if someone with a little Perl knowledge (or any programming experience) does this.
Norman
Artisan
03-Aug-2004, 09:43 AM
You must have patched it wrongly and broken Actinic.pm.
That was my first thought so I applied the patch again, following your instructions very carefully, and got the same result. Does anyone have a patched actinic.pm they could send me at office[nospam]@artinet.co.uk (remove [nospam] from address first), or is the file specific to each store?
Malcolm
NormanRouxel
03-Aug-2004, 11:33 AM
There are 2 issues here.
1) You need the Perl module Mail::Mailer to be available on your server for this patch to work. If that module isn't there then you will get run-time errors. Aske your service provider about this.
2) You have to have an Actinic.pm that matches the exact version you are using. See Help / About in Actinic and also search Actinic.pm for the word "revision" to get the revision number of that file.
Post that info and that may help others to send you the appropriate file.
Norman
Artisan
03-Aug-2004, 01:27 PM
1) You need the Perl module Mail::Mailer to be available on your server for this patch to work. If that module isn't there then you will get run-time errors. Ask your service provider about this.
I ascertained that before I started, so no problem there.
2) You have to have an Actinic.pm that matches the exact version you are using. See Help / About in Actinic and also search Actinic.pm for the word "revision" to get the revision number of that file.
I'm using 7.0.1.0.0.0.EGSA, but can only find $ACTINIC::prog_ver = '$Revision: 478 $ '; in Actinic.pm - is that the relevant info?
Malcolm
NormanRouxel
03-Aug-2004, 01:43 PM
I'm confused.
Earlier you said "I've tried the patch on Actinic.pm in v6 first but I'm getting the following errors:..."
I thought you were trying this on V6, not V7. I've no idea if it will work on V7, sorry.
As far as I know V7's Authenticated SMTP should do the job so I'm not going to re-do this patch when the code is already there.
Norman
Artisan
03-Aug-2004, 03:34 PM
I thought you were trying this on V6, not V7. I've no idea if it will work on V7, sorry.
I need the patch for v5 and v6 sites, but if I can get it to work, I will also try it on v7 as I've had no luck with getting v7's built-in authentication to work.
Malcolm
kmcewan
13-Aug-2004, 12:16 PM
Will your workaround also work for Version 7. We don't use a SMTP server as such as we have SMTP feed into Lotus Notes. We use messagelabs for our SMTP feed and have tried to use there server but it will only send to address's on our domain.
Your workaround could help us out if it works on ver 7
Cheers
NormanRouxel
13-Aug-2004, 12:34 PM
You'd have to get someone with Perl knowledge to adapt it. I don't think it would pop straight in.
Norman
Artisan
13-Aug-2004, 02:26 PM
I finally sorted out what was happening...
1) The domain I was uploading to had a DNS issue and had become un-associated from the hosting account, which wasn't helping one bit! This was a version 6 site.
2) I didn't use it on a version 7 site because I sorted that one out, my fault, I had a wrong setting in the SMTP area - doh!
Thanks for all your help, Norman.
Malcolm
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.