Entry tags:
i hate mail
iOS's mail application doesn't try to authenticate smtp connections unless it's forced to. (apparently.) if it can attempt to send mail without AUTHing, it will, and nothing you can do seems to change that. failure to actually be able to send mail doesn't make it go, "huh, mebbe I should AUTH."
if your sendmail server behaviour changes based on authentication (specifically, to act like a smarthost and allow relays it otherwise wouldn't), this fucks you for sending mail from your iphone.
setting up a second host with exim4 to get around this means trying to get exim4 to acknowledge the concept of AUTH in response to an EHLO in ANY FUCKING WAY WHATSOEVER. which is supposed to be trivial but is instead INSANITY IN A SHELL. NOTHING I've done results in AUTH coming online. much less being required. fuuuuuuuuuuuuuuuck.
no reports or errors, of course. it's just insert coin, say hokaydo! and then change NOTHING WHATSOEVER.
hey, exim4 fans, you got anything here? i didn't think anything in the world could make me go, "y'know, sendmail docs are pretty clear," until I started poking around at exim4. at least, if you want to do anything that isn't handled by the six-screen eximconfig script. which this most definitely isn't.
(i want _some_ damn thing to pick up for smtp over ssh, _require_ auth, then relay whatever it gets to our actual mail server, all so we can fucking send mail from these phones, before I kill everyone. apparently that's hard. YES I WOULD INSTALL SENDMAIL except the fucking package manager won't let me change MTAs without uninstalling the webserver, which is a whole 'nother can of FUUUUUUUUUCK YOUUUUUUUUUU. AAAAAAAAAAAAAAAAAAAGH KJSHE FLKHWEFLIUH LEFIUFS)
i'm going to bed now. somebody be a dear and hand me the large animal tranquillisers. thanks.
if your sendmail server behaviour changes based on authentication (specifically, to act like a smarthost and allow relays it otherwise wouldn't), this fucks you for sending mail from your iphone.
setting up a second host with exim4 to get around this means trying to get exim4 to acknowledge the concept of AUTH in response to an EHLO in ANY FUCKING WAY WHATSOEVER. which is supposed to be trivial but is instead INSANITY IN A SHELL. NOTHING I've done results in AUTH coming online. much less being required. fuuuuuuuuuuuuuuuck.
no reports or errors, of course. it's just insert coin, say hokaydo! and then change NOTHING WHATSOEVER.
hey, exim4 fans, you got anything here? i didn't think anything in the world could make me go, "y'know, sendmail docs are pretty clear," until I started poking around at exim4. at least, if you want to do anything that isn't handled by the six-screen eximconfig script. which this most definitely isn't.
(i want _some_ damn thing to pick up for smtp over ssh, _require_ auth, then relay whatever it gets to our actual mail server, all so we can fucking send mail from these phones, before I kill everyone. apparently that's hard. YES I WOULD INSTALL SENDMAIL except the fucking package manager won't let me change MTAs without uninstalling the webserver, which is a whole 'nother can of FUUUUUUUUUCK YOUUUUUUUUUU. AAAAAAAAAAAAAAAAAAAGH KJSHE FLKHWEFLIUH LEFIUFS)
i'm going to bed now. somebody be a dear and hand me the large animal tranquillisers. thanks.
no subject
(no subject)
no subject
I've messed with Exim on systems that had it installed by default.
And I've set up Postfix to handle multiple domains on a server. Multiple times.
So believe me when I tell you that Postfix is the only way to go while retaining your sanity.
(It helps if you can tell the client to use a port other than 25, so you can put different rules on 25 than on the "submission" port.)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
i apologize for the language, but:
try using dpkg to uninstall exim instead of apt-get (or aptitude or whatever). you may need to apt-get install httpd (or whatever webserver -- ultimately the problem is that the www server was isntalled as a dep for the smtp server and not as it's own package (lesson: package maintainers are stupid). i'm sort of surprised that neither the apt tools nor dpkg have a direct "--ignore-deps" option
removing the www server and reinstalling shouldn't cause any major problems although i can totally understand your reticence to do that. huge potential PITA.
no subject
Is the iOS client capable of making SSL/TLS connections to the mail server (i.e., can it be configured to always do this when you send mail)? Because according to this, that appears to be the only way you can get exim4 (or at least Debian-configured exim4) to do AUTH.
Herewith the salient bits:
ETA: and, of course, now I see a few comments above (buh) that you are using ssh tunneling, in which case the question is, are you doing this outside of the respective mail processes (e.g., running a separate ssh client on iOS to make your tunnel to the [unencrypted but blocked by your firewall] SMTP port) or are you letting Exim handle the TLS stuff itself directly (i.e., having it listen and accept SSL connections itself at an exposed port)?
My guess is the former approach is probably doomed (i.e., if that has anything to do with what you were actually doing, and if not then nevermind... :-)