From: Grant Edwards <grant.b.edwards@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: Simple SMTP to cmd-line MTA relay?
Date: Fri, 19 Jan 2018 23:04:22 +0000 (UTC) [thread overview]
Message-ID: <p3tthm$su7$1@blaine.gmane.org> (raw)
In-Reply-To: 20180119222421.7idqkiuzqnt4ymps@matica.foolinux.mooo.com
On 2018-01-19, Ian Zimmerman <itz@very.loosely.org> wrote:
> On 2018-01-19 20:19, Grant Edwards wrote:
>
>> >>>> Can exim transfer mail to an Exchange server that doesn't expose an
>> >>>> SMTP server?
>> >>>
>> >>> Errr, no. exim does SMTP.
>> >>>
>> >>> If the above is what you need, any orthodox mail server would need
>> >>> to hand the mail over to something that *can* deliver to Exchange.
>> >>
>> >> Yes, and that something is my existing command-line MTA utility
>> >> that has the same usage as /usr/bin/sendmail.
>
> FWIW, you can plug in your existing script into exim as a custom
> "transport", in the exim terminology. In fact that is what I used to do
> for years, to stuff outgoing mail into sendmail on a system where I had
> a shell account. But if I understand the problem now (a well sized if,
> LOL) that doesn't by itself help you because the existing script is
> broken; replacing the script is the main part of the problem. Right?
The existing /usr/bin/sendmail (that's not it's actual path) script
works fine. It's the SSL support in the SMTP server that invokes the
/usr/bin/sendmail script that's broken. I've modified that server to
run an instance of stunnel and use plain SMTP (sans SSL). It looks
like that's probably going to work. There's a custom SSL server
because at some point in the past it had to do some odd things with
headers and the envelope from field (it also implements some special
logging). Then at some later point in the past, the requirement for
those odd things went away. At some other point in history, the SSL
support in that server got broken. The actual failure is intermittent
(it depends on message size and network timing), so it's taken a while
to track it down and decide what to do about it.
For now, I'm going with the custom server and stunnel. If there are
problems with that, I'll try one of sendmail/postfix/exim. [One of
the hassles with those is that portage won't allow me to install any
of them because they conflict with msmtp, which is what I use for
sending normal e-mail.]
--
Grant Edwards grant.b.edwards Yow! Life is a POPULARITY
at CONTEST! I'm REFRESHINGLY
gmail.com CANDID!!
next prev parent reply other threads:[~2018-01-19 23:07 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-19 18:03 [gentoo-user] Simple SMTP to cmd-line MTA relay? Grant Edwards
2018-01-19 18:19 ` Ralph Seichter
2018-01-19 18:31 ` [gentoo-user] " Grant Edwards
2018-01-19 18:51 ` Grant Taylor
2018-01-19 18:59 ` Grant Edwards
2018-01-19 19:10 ` Grant Taylor
2018-01-19 18:28 ` [gentoo-user] " Grant Taylor
2018-01-19 18:38 ` [gentoo-user] " Grant Edwards
2018-01-19 18:57 ` Grant Taylor
2018-01-19 19:48 ` Grant Edwards
2018-01-19 20:14 ` Grant Taylor
2018-01-19 20:29 ` Grant Edwards
2018-01-19 20:36 ` Grant Taylor
2018-01-19 18:46 ` Ian Zimmerman
2018-01-19 18:49 ` Grant Edwards
2018-01-19 19:43 ` Ian Zimmerman
2018-01-19 19:48 ` Alan McKinnon
2018-01-19 20:01 ` Grant Edwards
2018-01-19 20:05 ` Alan McKinnon
2018-01-19 20:04 ` Grant Taylor
2018-01-19 20:16 ` Grant Edwards
2018-01-19 19:54 ` Grant Edwards
2018-01-19 19:56 ` Alan McKinnon
2018-01-19 20:03 ` Grant Edwards
2018-01-19 20:06 ` Alan McKinnon
2018-01-19 20:19 ` Grant Edwards
2018-01-19 22:24 ` Ian Zimmerman
2018-01-19 22:31 ` Grant Taylor
2018-01-19 23:04 ` Grant Edwards [this message]
2018-01-19 23:21 ` Grant Taylor
2018-01-19 23:58 ` Grant Edwards
2018-01-20 0:30 ` Grant Taylor
2018-01-20 0:39 ` Grant Taylor
2018-01-20 0:53 ` Grant Edwards
2018-01-20 0:44 ` Ian Zimmerman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='p3tthm$su7$1@blaine.gmane.org' \
--to=grant.b.edwards@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox