Bug 3416 - wrong port used for ssl when account is created smtp-only
Summary: wrong port used for ssl when account is created smtp-only
Status: RESOLVED INVALID
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: SMTP (show other bugs)
Version: 3.11.1
Hardware: PC Linux
: P3 minor
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2015-04-05 19:41 UTC by Ethan Grammatikidis
Modified: 2015-04-05 20:20 UTC (History)
0 users

See Also:


Attachments

Description Ethan Grammatikidis 2015-04-05 19:41:20 UTC
i just installed claws-mail and made two accounts. one works fine, one doesn't. the one which works correctly was created with imap4 protocol. smtp authentication is enabled and works correctly. A line from the log of a successful send:

* Account 'eekee57@fastmail.fm@mail.messagingengine.com': Connecting to SMTP server: mail.messagingengine.com:465...


the other account is a sort of alias of the first. i can receive mail at anything@eekee57.fastmail.fm; this account was created to send from such an address. it was created with protocol "none (smtp only)". i configured sending exactly as for the first account, but sending fails with "connection refused". i had a closer look, and it turns out when i try to send mail with this account it attempts to connect to port 25! Here's how it looks in the log:

* Account 'Cyall': Connecting to SMTP server: mail.messagingengine.com:25...
*** mail.messagingengine.com:25: connection failed (Connection refused).
*** mail.messagingengine.com:25: connection failed (Connection refused).
*** Error occurred while sending the message.


this smtp-only account is configured with the same send settings as the working one: same server (i copy-pasted); smtp auth enabled; auth method automatic. why is it using a different port?
Comment 1 brad@fineby.me.uk 2015-04-05 19:58:21 UTC
You also need to set up the account's SSL settings;  Have you told it to use an SSL connection?  Anything else, and sending defaults to port 25.
Comment 2 brad@fineby.me.uk 2015-04-05 20:01:05 UTC
Further to my previous;  If I've misunderstood what you're trying to do, you could also look at the account's Advanced settings, and change the SMTP port there.
Comment 3 Ethan Grammatikidis 2015-04-05 20:05:09 UTC
ah. now i've set it to use ssl, and it connects. thank you, sorry about that.
Comment 4 Paul 2015-04-05 20:20:22 UTC
Please consider enquring via the users' mailing list first next time.

Note You need to log in before you can comment on or make changes to this bug.