Multiple SMTP outgoing mail servers

boogerbro

New member
Hi,
i did do a search but nothing helpful came up.

I have an HTC Desire running 2.1 and Sense
For mail i don't use gmail, i connect to my own mail server via IMAP.
Out and about (3g and my companies wifi) sending mail works great (via my servers smtp gateway).
At home, my isp restricts mail sending to their own smtp server.

This means i can choose to have mail send capability at home OR everywhere else.

Can you set multiple smtp gateways on the HTC Desire with the default mail app?
if no, any suggestions about how to work around this?
I was thinking maybe an app like Locale that can change my smtp server based on wifi network
 
IMAP isn't an SMTP server - it's a protocol that is totally separate from relaying mail. Configure your IMAP server to forward outbound email through the ISP's SMTP servers. In sendmail terminology, that's a SMARTHOST configuration option.
 
Are you sure about this?

It's common for ISPs to restrict using THEIR SMTP servers from IP addresses not on their own network, but not the other way around - that would be insane and very difficult to achieve without firewalling all of their customers, who would all leave them in 5 minutes.

You mention it's your own SMTP server... is it running on your home network? If so you probably have one of the numerous routers that can't route to themselves from LAN to WAN to LAN. That would explain why it works from outside your home network, but not from inside.

If you have some more details I'm sure I could help, but I find it highly unlikely that your ISP is blocking SMTP access to all but their own.

On Android, you can only set one SMTP server in your email app, or one per email app. Other apps can't change settings in other apps, so a Locale plugin isn't an option unless one comes with your Email app.
 
hi,
Yup my ISP restrict port25 to their SMTP server only
(http://forums.whirlpool.net.au/forum-replies-archive.cfm/1075468.html)
They are being good netizens and stopping their customers from sending out spam (knowingly or otherwise). Because they can control their smtp server but not their customers machines.
'Three' (my mobile isp) do not have any restriction on the SMTP.

With regards to my mail server, no it's not at home, it's hosted by a company in Texas along with my domain. I have a webmail app their too.

In the end i think i can sort it by changing the smtp port on my mail server to one that isn't blocked by my home isp.
Seems like a obvious feature though, windows mobile has had it for a while. And they aren't exactly known for cutting edge innovation.
 
I was about to suggest changing the port of your SMTP server. You may require your hosing company to allow it through their firewall, unless you have root access on the box and ipchains or whatever they use.
 
ooo I didn't know that, thanks for the advice.
in the end i've got it working at work, home and mobile.
probably won't work round friends house though
(i changed the work ISP to match my home)
 
Back
Top