Ok - now that I've fixed my idiotic routing errors (don't have two NIC's
on the same network unless you know what you're doing - which I clearly
don't!), I can get back to Postfix.
From my prior configuration questions in ages past, I have been trying
to make most of my changes in master.cf, so each listener will do
exactly what I want (or to be more correct - exactly what it's TOLD,
which is not necessarily what I wanted...)
There are two processes I would like to configure, but I'm not sure
which lines would be applicable. Which line in the default master.cf
would apply to the BSD mail command on the local server? So when I'm
configuring my Postfix server, and from the command line I type "mail
someb...@hotmail.com", which listener(s) process this?
The other process would be whatever performs the send operation. If I
understand it right, whether I use the command line "mail" command or an
SMTP client, it will connect to an smtpd listener. Various Postfix
internals will munch on the information, and assuming it processed
correctly a Postfix process will then attempt to send it on the remote
destination (assuming I'm sending a mail intended for a remote
destination). Is that step perform by either the "smtp" or "relay" lines?
What I'm actually trying to do is configure a relayhost. What I want is
to setup a Postfix listener for local SMTP connections, which will then
forward to a relayhost for spam processing (in this case, primarily
auto-whitelisting). That relayhost will then send the message back to
Postfix on another connection, and THAT listener will not have a
relayhost defined so it should attempt direct delivery to the remote
host. I know this is something relatively simple - I just seem to be
more obtuse than usual.
--
Daniel
- Local mail listener Daniel L. Miller
-