nullmailer: Re: Using nullmailer-smtpd for localhost:25
Subject:
Re: Using nullmailer-smtpd for localhost:25
From:
Mikko Ohtamaa ####@####.####
Date:
24 Mar 2013 11:56:51 -0000
Message-Id: <CAK8RCUu8vC=vv+ofSq5h9K=UkrPXrWgo87UvoAGsRDOMxkbqSQ@mail.gmail.com>
Hi,
On 24 March 2013 01:21, Bruce Guenter ####@####.#### wrote:
> On Sat, Mar 23, 2013 at 08:09:46PM +0200, Mikko Ohtamaa wrote:
> > I would like to have dummy SMTP server running on the server which would
> > use nullmailer to relay all localhost:25 SMTP traffic to the real mail
> > server.
> >
> > I assume nullmailer-smtpd is the tool to perform this.
>
> Unfortunatly, you assume wrong, although it could be abused to do so.
> nullmailer-smtpd is designed to be executed in response to the sendmail
> -bs option, and only supports what is needed for that. In particular,
> there is no support for rejecting any senders or recipients, nor does it
> log anything.
>
> > How one should configure nullmailer-smtpd so that
>
> If you want to do it, given the above, you would need to run a front end
> like tcpserver (from ucspi-tcp) like this (untested):
>
> tcpserver -HRUv localhost 25 nullmailer-smtpd
>
> A better option would be to write a nullmailer backend for mailfront,
> but such a module has not been written yet.
>
Thank you for clarification! I'll look into options, but maybe this time I
just make those web apps talk directly to the master SMTP server.
Also sorry for using the wrong list address when posting the question.
--
Mikko Ohtamaa
http://opensourcehacker.com
http://twitter.com/moo9000