Sending email with multiple accounts

Asked by Thom Vreeland

Scanned the other questions here and didn't see anything that matched so...

I have a personal POP email account that works fine with Evo. We recently updated our email server at work and I can now use IMAP to access it as well. No problems setting that up in Evo either. Folders and all came in fine!

Now, I try to reply to a work email. The FROM field shows my work email address, which is what I want. However, after hitting SEND, Evo tries to send this through my personal POP/SMTP email (which is set as default) and it's rejected by the mailserver because of the improper FROM address.

Is there a way to properly get Evo to send the email through my Work mailserver when using my work email address in FROM and my personal mailserver when using that email address in the FROM?

Thanks in advance for any tips!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu evolution Edit question
Assignee:
No assignee Edit question
Solved by:
Simos Xenitellis 
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
Simos Xenitellis  (simosx) said :
#1

Go into Edit/Preferences and check again the SMTP settings for both accounts.
What I believe has happened is you have put the same server settings for both accounts.

Mozilla Thunderbird has this default feature to use a common SMTP server unless you change it explicitly.

Revision history for this message
Thom Vreeland (tvreeland) said :
#2

Hrm. Settings are right...

But, after playing around a bit more I found this to be interesting:

  * If I send email from my work account to another address in my work domain, it works fine.
  * If I try to send outside my work domain from my work domain address, it fails.

This leads me to believe that I AM contacting my work server when I try to send and that it's a problem with the work server?

When I try to send from my work account to my personal account, this is the error message Evo gives me:

************************************************
Error while performing operation.

RCPT TO <tvreeland@homeaccount> failed: <tvreeland@homeaccount>: Relay access denied
************************************************

(I edited out my email address for obvious reasons.)

So, is this a problem with Evo or the IMAP/SMTP server?

Revision history for this message
Best Simos Xenitellis  (simosx) said :
#3

No, it's a problem with the settings.

Thanks for the part about "Relay access denied".

Your work mail is IMAP based, however for the sending of e-mail for your work address you need to specify an SMTP server. The IMAP protocol does not include support to send e-mails.

Can you check the SMTP settings (Mail delivery) of your work account? Ask the admin for these settings.

Revision history for this message
Thom Vreeland (tvreeland) said :
#4

I know what I need to set...I've got the server name and I know that the SMTP portion doesn't use encryption...just plain-text authentication of password. The IMAP part uses SSL encryption...

I'll see the guy who set this up tomorrow. He and I are the only ones currently using anything other than Web-based access. He's using Thunderbird and I am trying Evo. I guess the Thunderbird works fine!

Thanks for the help so far. I'll see what more I can find out tomorrow.

Revision history for this message
Thom Vreeland (tvreeland) said :
#5

I know what I need to set...I've got the server name and I know that the SMTP portion doesn't use encryption...just plain-text authentication of password. The IMAP part uses SSL encryption...

I'll see the guy who set this up tomorrow. He and I are the only ones currently using anything other than Web-based access. He's using Thunderbird and I am trying Evo. I guess the Thunderbird works fine!

Thanks for the help so far. I'll see what more I can find out tomorrow.

Revision history for this message
Thom Vreeland (tvreeland) said :
#6

Thanks Simos Xenitellis, that solved my question.

Revision history for this message
Thom Vreeland (tvreeland) said :
#7

I'm dumb! Heh. I was trying to send work email FROM HOME through the work SMTP server. That's where the trouble was coming from. Switching to using my personal email's SMTP server fixed all the problems.

Revision history for this message
Alexander Nevskiy (kepkin) said :
#8

Hello guys!

I have exactly the same problem. Recently I was using Claws Mail, which worked fine for me, but now I would like to try evolution:
I have 3 accounts:
- work 1 imap
- work 2 imap (actually the same imap server)
- gmail

If I choose work 1 to be default e-mail account, evolution will use smtp server from work account for all e-mail. (works only if I send from my work e-mail)
If I choose gmail to be default e-mail account, evolution will use smtp server from gmail account for all e-mail. (works only if I send from my gmail e-mail)

I have read this thread but still can't find answer for my problem. Please advise.

Revision history for this message
Joachim (joachimrs) said :
#9

Hello Alexander,

i am experiencing this behaviour in Hardy, Evolution version 2.22.1

I am using one IMAP account and around 7 POP accounts. For each of them I configured the respective SMTP server that should handle the requests.

Evolution _always_ uses the one I configured for the "default" account, thus ignoring my settings for each and every account.

I have two choices:
1. Either I change the "default" account before sending eMail (which is what I do now) or
2. I switch to Thunderbird loosing the features of Evolution like Calendar etc. and would have to migrate to Sunbird and multiple tools for that.

I chose for staying with Evolution hoping it'll be resolved sometime. It's been years since I left Amiga and I still miss YAM... :-(

Revision history for this message
Rob (robhester) said :
#10

I'm using Hardy and have the same problem.

One account was GMail, the other was from work. What I did was go into GMail, and go through the setup to send Work email from my GMail account, and then went into Evolution, and changed the sending server under my non-default account (work) to the gmail SMTP server. It sends fine now.

This is a temporary work-around, but hopefully someone can address the actual bug soon! Good luck!

Revision history for this message
Thomas Roten (tsroten) said :
#11

I'm also using Hardy with Evolution 2.22.1 and I am having the same problem.
I have:
4 POP3 accounts
4 SMTP accounts

The account that is labeled default is the one that Evolution always tries to use for SMTP regardless of which "From" address I specify when composing the e-mail.

Revision history for this message
Thomas Roten (tsroten) said :
#12

After some more testing it seems that Evolution is indeed using the correct SMTP accounts, it just displays the SMTP server address of the default SMTP account while it is sending from the correct account.