Author Topic: Multiple SMTP servers  (Read 21561 times)

Offline mikep

  • Newbie
  • *
  • Posts: 2
Multiple SMTP servers
« on: June 18, 2007, 05:28:51 PM »
Is to possible to set this up with more than one SMTP server to send mail.
I can read my mail from multiple accounts although using the same syntax the system does not seem to be able to use the SMTP server relavent to that mail account.

Is this possible?

Other than that its a very useful system!

Offline Jo_shi

  • Jr. Member
  • **
  • Posts: 10
Re: Multiple SMTP servers
« Reply #1 on: June 21, 2007, 10:22:53 AM »
Why you have to choose different smtp-Server. You can send the email yourname@firstdomain.com over a different smtp Server like smtp.anydomain.com.

Greetings Jo_shi

Offline mikep

  • Newbie
  • *
  • Posts: 2
Re: Multiple SMTP servers
« Reply #2 on: June 22, 2007, 05:04:10 PM »
Yes it is possible to send from any email address over any SMTP server, but that is also one of the main things that causes legitimate email to be flagged/filtered by spam filters, when the email domain is not the same as the domain of the server that it came from. I would rather avoid this situation therefore wanting to be able to send via either of the SMTP servers for my two email accounts.

Thanks

Offline Flintz

  • Newbie
  • *
  • Posts: 1
Re: Multiple SMTP servers
« Reply #3 on: September 06, 2007, 09:53:04 AM »
I would also like it to see, that different SMTP servers are possible, perhaps dependent on the identity you choose for sending.
I have one IMAP to check for my mails but different SMTP for sending.

Offline zoelu

  • Newbie
  • *
  • Posts: 2
Re: Multiple SMTP servers
« Reply #4 on: December 02, 2007, 06:08:45 AM »
Same problem here. I got bounces and sent mails flagged as spam using a different identity in roundcube. Would be great if I could use a different smtp server per identity.

Cheers

EDIT:
Sorry, didn't realize this thread is for rc1. Is there a way to handle multiple smtp servers using the same user with different identities in rc2?

Offline OctaneZ

  • Newbie
  • *
  • Posts: 1
Re: Multiple SMTP servers
« Reply #5 on: December 27, 2007, 04:48:31 PM »
I haven't seen a way to do it in RC2 so I think this thread is still relevant.
Linking a SMTP server to the IMAP server selected at login would do it for me.

Offline AMG

  • Newbie
  • *
  • Posts: 5
Re: Multiple SMTP servers
« Reply #6 on: March 01, 2008, 06:07:38 AM »
I use RC2 and still have the same problem (mail is flagged as spam because of differences between senders address and send mail host)

It would be great if the following would be possible:
- when I write as andy@domain1.com - the mail goes out via smtp.domain1.com (or something I have configured here)
- when I write as andy@domain2.com - the mail goes out via smtp.domain2.com (or something I have configured here)
- and so on...

Is there a workaround known so far to solve this issue?

Thanks in advance,
Andy

Offline stueckwerk

  • Newbie
  • *
  • Posts: 1
Re: Multiple SMTP servers
« Reply #7 on: October 30, 2013, 05:13:07 AM »
Hi there,

I found this old topic via search engine. I wonder if there ist s solution for the problem.

$rcmail_config['default_host'] = array(
  'ssl://imap.domain1.de' => 'Server1',
  'ssl://diffpref.domain2.de:993' => 'Server2'

Now I've one smtp-domain for each of the IMAP-Servers :

tls://smtp.domain1.de ==> for Server 1 (login like Server1)
tls://smtp.domain3.de ==> for Server 2 (different login as Server2)

Any ideas? Thank you!

Offline alec

  • Hero Member
  • *****
  • Posts: 1,152
Re: Multiple SMTP servers
« Reply #8 on: October 30, 2013, 06:13:33 AM »
Try smtp_server = 'tls://smtp.%z'

Offline Srg04

  • Newbie
  • *
  • Posts: 4
Re: Multiple SMTP servers
« Reply #9 on: November 13, 2013, 11:22:56 PM »
Try smtp_server = 'tls://smtp.%z'
thanks!