Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

2.1.1 and secure server?

Quote Reply
2.1.1 and secure server?
Hi, back with my old jalopy...

Had to move to a new server and they only allow email to be secure.

Port 995, not 110, but 2.1.1 will not apply it.

Any advice?
Quote Reply
Re: [tonyjones] 2.1.1 and secure server? In reply to
Hi,

I don't have a copy of 2.1.x to hand (in fact, I can't even find the files). However, there are a couple of things you could try:

1) In /Links/Data.pm (I think it's there in that version - otherwise it'll be in /Links/Config/Data.pm, add in:

Code:
'db_smtp_ssl' => '1',
'db_smtp_port' => 995,

2) Failing that, you could try "hacking" GT/Mail/Send.pm, by finding:

Code:
$self->{port} = $self->{ssl} ? 465 : 25;

and change to:

Code:
$self->{port} = 995;

Hope that helps

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] 2.1.1 and secure server? In reply to
Could not find /Links/Data.pm

GT/Mail/Send.pm was found, but searching for the string there was nothing.

The closest to it was:

# Default port for smtp
if ($self->{host}) {
exists ($self->{port}) or $self->{port} = 25;
}

Changing that to reflect

# Default port for smtp
if ($self->{host}) {
exists ($self->{port} = 995;
}

Saved it, went into the admin area > set up, tried to get it to take under Shared POP3, and it came back with the same error:

Error: Could not connect to POP server; Reason: Unble to read from socket, reason (). Read: (0)
Quote Reply
Re: [tonyjones] 2.1.1 and secure server? In reply to
Hi,

Email over FTP logins, and a simple test for me to try it out, and I'll see if I can work it out for you. Bit tricky to do without an installation to play with :)

My email is below

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates