[comp.mail.misc] Mail questions

jon@chiron.UUCP (Jon L. Griffeth) (07/05/88)

1. I'm looking for software to provide a mail gateway between a UNIX system
   and IBM's PROFS.  The software would preferrably run under UNIX.  Does
   anyone know of such a system?

2. I'm also developing a mail system between numerous PC's and a central
   UNIX host.   I've heard about a mail server called 'POPS'.  Does anyone
   know where I can get information concerning this?


Thanks in advance,
Jon

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Jon L. Griffeth
jon@chiron.UUCP
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

ge@hobbit.sci.kun.nl (Ge' Weijers) (07/07/88)

In article <129@chiron.UUCP>, jon@chiron.UUCP (Jon L. Griffeth) writes:
> 2. I'm also developing a mail system between numerous PC's and a central
>    UNIX host.   I've heard about a mail server called 'POPS'.  Does anyone
>    know where I can get information concerning this?

POP stands for Post Office Protocol and is a protocol from the Arpa suite.
It is included with the MH mail system. It enables a host on an ethernet
(although a special login could probably be used too) to download
mail from a host with the POP server.
-- 
Ge' Weijers, Informatics dept., Nijmegen University, the Netherlands
UUCP: {uunet!,}mcvax!kunivv1!hobbit!ge

jon@chiron.UUCP (Jon L. Griffeth) (07/18/88)

> 1. I'm looking for software to provide a mail gateway between a UNIX system
>    and IBM's PROFS.  The software would preferably run under UNIX.  Does
>    anyone know of such a system?
>
> 2. I'm also developing a mail system between numerous PC's and a central
>    UNIX host.   I've heard about a mail server called 'POPS'.  Does anyone
>    know where I can get information concerning this?

Thanks for all the responses.  To summarize:

Apparently, IBM will be releasing an X.400 interface for PROFS in the near
future (I don't know what "near" means).  Since X.400 interfaces are available
for UNIX systems (or so I've been told) and X.400 is an international standard,
this probably makes the best solution.

It has also be mentioned that IBM has a TCP/IP package that supports a PROFS
to SMTP interface.  This certainly looks promising for the near term.

Finally, DEC's Mail Bus supports a PROFS gateway.  Unfortunately, it runs only
under VMS.  However, since it also supports a UNIX mail gateway, mail could
be routed through it.  Needless to say, this would only be useful if you had
a VMS system sitting around.

'POP2' is defined in RFC 937 and doesn't serve my needs.  I'll probably be
using SMTP instead.

My thanks to Chris Kern and Jon A. Tankersley for their help.


Thanks again,
Jon L. Griffeth

jon@chiron.UUCP

chip@ateng.com (Chip Salzenberg) (08/01/89)

[Followups to comp.mail.misc]

According to jamesf@ibmpcug.UUCP (James Fielding):
>Does anyone know how to set up SCO Xenix so that any incoming
>UUCP/Usenet mail which is not addressed properly and gets bounced, is
>also copied to the uucp account mail box on my system.

You can probably do this with Deliver, which is typically used as a back end
for Smail. (You recompile Smail to run /usr/bin/deliver for local mail.)

With Deliver, you write a "system delivery file" -- a shell script -- to
control where mail goes.  But of course, since it's a shell script, you can
do other things besides control the delivery process.

Since Smail does the aliasing, any names handed to deliver should be valid
user names from /etc/passwd.  So, then, here is a sample delivery file that
sends a list of invalid addresses, along with the message itself, to "uucp":

	: deliver.sys

	# Collect invalid addresses

	invalid=
	for u
	do
	    if grep "^${u}:" /etc/passwd >/dev/null
	    then
		: no problem
	    else
		invalid="$invalid $u"
	    fi
	    echo $u
	done

	# Note: if any invalid addresses are found, deliver will exit(1),
	# causing Smail to bounce the message.
	# Our only job here is to send the administrator some hate mail.

	if [ "$invalid" ]
	then
	    (
		echo "Mail was sent to the following invalid address(es):"
		echo "    $invalid"
		echo "The mail has been bounced.  Here is a copy of it."
		echo "==================================================="
		cat $HEADER $BODY
	    ) | mail -s 'Boing' uucp
	fi


Of course, further elaboration is possible.  Also, be sure that "uucp" is
a valid address, or you'll have an infinite mail loop.
-- 
You may redistribute this article only to those who may freely do likewise.
Chip Salzenberg         |       <chip@ateng.com> or <uunet!ateng!chip>
A T Engineering         |       Me?  Speak for my company?  Surely you jest!