opposite of rmail?

opposite of rmail?

am 29.01.2008 21:19:01 von Mike

The man page for rmail says rmail accepts mail from uucp
that has the commands and envelope data necessary for
local delivery (or further relaying as is necessary).
If rmail accepts the remote messages, what command causes
sendmail to emit the messages for a remote host?

Mike

--
Posted via a free Usenet account from http://www.teranews.com

Re: opposite of rmail?

am 30.01.2008 13:45:51 von Andrzej Filip

Mike writes:

> The man page for rmail says rmail accepts mail from uucp
> that has the commands and envelope data necessary for
> local delivery (or further relaying as is necessary).
> If rmail accepts the remote messages, what command causes
> sendmail to emit the messages for a remote host?
>
> Mike

mta (sendmail) -> uux -> [uucp transfer] -> rmail -> mta (sendmail)

See cf/mailer/uucp.m4 for more details ;-)

BTW rmail uses *UGLY* leading "From " line for passing envelope sender.
It would be nice to create (e.g.) uumail passing envelope sender via
command line argument e.g.
uumail -fsender@example.com -- rec@example.net rec2@example.org
with the following for passing empty envelope sender
uumail -f -- rec@example.net rec2@example.org

*BUT* I am unaware of existence of any organized *group* continuing uucp
related development.

--
[pl>en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
Open-Sendmail: http://open-sendmail.sourceforge.net/
The man who sets out to carry a cat by its tail learns something that
will always be useful and which never will grow dim or doubtful.
-- Mark Twain
----
http://groups.google.com/groups?selm=87y7a7qy68@robert.fsf.h obby-site.com

Re: opposite of rmail?

am 30.01.2008 20:14:15 von Mike

In article <87y7a7qy68@robert.fsf.hobby-site.com>, Andrzej Adam Filip wrote:
> Mike writes:
>
>> The man page for rmail says rmail accepts mail from uucp
>> that has the commands and envelope data necessary for
>> local delivery (or further relaying as is necessary).
>> If rmail accepts the remote messages, what command causes
>> sendmail to emit the messages for a remote host?
>>
>> Mike
>
> mta (sendmail) -> uux -> [uucp transfer] -> rmail -> mta (sendmail)
>
> See cf/mailer/uucp.m4 for more details ;-)
>
> BTW rmail uses *UGLY* leading "From " line for passing envelope sender.
> It would be nice to create (e.g.) uumail passing envelope sender via
> command line argument e.g.
> uumail -fsender@example.com -- rec@example.net rec2@example.org
> with the following for passing empty envelope sender
> uumail -f -- rec@example.net rec2@example.org
>
> *BUT* I am unaware of existence of any organized *group* continuing uucp
> related development.

I have a mandate to put a relay in my DMZ. Mail comes from the net to the
relay and is placed in a queue for the inside (I'm still having problems
putting the messages in a queue... don't have my mouth set right yet).
The mail server on the inside at some frequency (cron) polls the mail
relay in the DMZ for any waiting messages. It's getting messages out of
the mail relay in the DMZ that I want the opposite of rmail(8) for.

net message -> firewall pass through -> dmz -> mail relay -> queue for inside
inside -> mail server -> firewall -> dmz -> mail relay -> regurgitate all waiting messages

Mike

--
Posted via a free Usenet account from http://www.teranews.com

Re: opposite of rmail?

am 31.01.2008 17:54:08 von hugo

Mike wrote:

> In article <87y7a7qy68@robert.fsf.hobby-site.com>, Andrzej Adam Filip wrote:
> > Mike writes:
> >
> >> The man page for rmail says rmail accepts mail from uucp
> >> that has the commands and envelope data necessary for
> >> local delivery (or further relaying as is necessary).
> >> If rmail accepts the remote messages, what command causes
> >> sendmail to emit the messages for a remote host?
> >>
> >> Mike
> >
> > mta (sendmail) -> uux -> [uucp transfer] -> rmail -> mta (sendmail)
> >
> > See cf/mailer/uucp.m4 for more details ;-)

>
> I have a mandate to put a relay in my DMZ. Mail comes from the net to the
> relay and is placed in a queue for the inside (I'm still having problems
> putting the messages in a queue... don't have my mouth set right yet).
> The mail server on the inside at some frequency (cron) polls the mail
> relay in the DMZ for any waiting messages. It's getting messages out of
> the mail relay in the DMZ that I want the opposite of rmail(8) for.
>
> net message -> firewall pass through -> dmz -> mail relay -> queue for inside
> inside -> mail server -> firewall -> dmz -> mail relay -> regurgitate all
> waiting messages
>
> Mike

Hello Mike from the thread "setting up dmz server for etrn?" So you have
dismissed our firewall special passthrough and our Linux firewall magic
I presume?


As Andrzej said, rmail was made to be used with UUCP remote execution
facility (uux/uuxqt). As such, you would have to:

- Install Taylor UUCP on both mail server
- Configure Taylor UUCP on both mail server and test communication
between the 2.
- Re-configure sendmail on both mail server to be UUCP aware and forward
the appropriate domain to the "uucp-dom" mailer. (in mailertable, like
"mydomain.com uucp-dom:internaluucpname" on the dmz server and ".
uucp-dom:dmzuucpname" on the internal server.
- Test everything. When it works, setup the uucp call schedule and
enjoy.


Beside sendmail's cf README and Taylor's "info uucp" manual. You can
found Sendmail+UUCP, UUCP+SSH or Linux+UUCP howtos on the web. It
doesn't help much I know. I can't found the perfect guide encompassing
every thing right now.

Good luck with it.

[Does it makes looks harder than just opening a incoming port redirect
on the firewall that let only the dmz mail server communicate directly
to the internal mail one?]

Re: opposite of rmail?

am 01.02.2008 13:19:57 von Mike

In article <1ibjp3h.1t4ss1g1ibi78dN%hugo@EINTR.net>, Hugo Villeneuve wrote:
> Hello Mike from the thread "setting up dmz server for etrn?" So you have
> dismissed our firewall special passthrough and our Linux firewall magic
> I presume?

Yes, the same Mike. I thought ETRN was more like ATRN. As Andrzej says,
sendmail(8) does not support ATRN. I'm still searching for a way to meet
my requirement of not allowing the mail relay in my DMZ from contacting
my internal mail server.

> As Andrzej said, rmail was made to be used with UUCP remote execution
> facility (uux/uuxqt). As such, you would have to:
>
> - Install Taylor UUCP on both mail server
> - Configure Taylor UUCP on both mail server and test communication
> between the 2.
> - Re-configure sendmail on both mail server to be UUCP aware and forward
> the appropriate domain to the "uucp-dom" mailer. (in mailertable, like
> "mydomain.com uucp-dom:internaluucpname" on the dmz server and ".
> uucp-dom:dmzuucpname" on the internal server.
> - Test everything. When it works, setup the uucp call schedule and
> enjoy.
>
>
> Beside sendmail's cf README and Taylor's "info uucp" manual. You can
> found Sendmail+UUCP, UUCP+SSH or Linux+UUCP howtos on the web. It
> doesn't help much I know. I can't found the perfect guide encompassing
> every thing right now.
>
> Good luck with it.
>
> [Does it makes looks harder than just opening a incoming port redirect
> on the firewall that let only the dmz mail server communicate directly
> to the internal mail one?]

I almost have UUCP setup. I can issue uux and cu from the inside to the
DMZ, and I have messages intended for the inside placed into a seperate
queue in the DMZ from other traffic. Seems like a command I could call
from ssh to emit the queued messages, then feed those messages directly
into rmail(8) on the inside should be easier than the setting up of uucp.

Mike

--
Posted via a free Usenet account from http://www.teranews.com