1 |
I use msmtp for outgoing mail, and plan to continue to do so. |
2 |
|
3 |
However, I need to temporarily set up an SMTP server to accept |
4 |
incoming mail from "the Internet" for local users. It is not going to |
5 |
handle sending of email, and I need it _not_ to install something as |
6 |
/usr/bin/sendmail (that's already taken by msmtp). It doesn't need to |
7 |
handle queueing, relaying, or anything other than acting as an SMTP |
8 |
server and delivering mail locally to mbox or maildir destinations. |
9 |
|
10 |
What's the easiest/simplest MTA to set up for that? |
11 |
|
12 |
sendmail? (No... just no.) |
13 |
|
14 |
qmail? (Seems a bit overly complex for my use case). |
15 |
|
16 |
postfix? |
17 |
|
18 |
exim? |
19 |
|
20 |
It's been a long time since I've used either postfix or exim, but I |
21 |
don't remember either of them being too complex to configure. |
22 |
|
23 |
I'm guessing that Portgage is going to object to installing both msmtp |
24 |
and postfix/exim, so I'll probably have to build the rx-only MTA from |
25 |
sources and install it in a non-standard location? |
26 |
|
27 |
Maybe I should just write a simple SMTP server in Python. [That's |
28 |
actually a lot easier than it sounds. Python's standard library has |
29 |
an smtpd class that's pretty simple to use.] |
30 |
|
31 |
-- |
32 |
Grant Edwards grant.b.edwards Yow! Remember, in 2039, |
33 |
at MOUSSE & PASTA will |
34 |
gmail.com be available ONLY by |
35 |
prescription!! |