From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075325906790.tru64-unix-managers.marc@archive.invalid> From: piercyp () ranplc ! co ! uk Date: Thu, 28 Dec 1995 16:05:07 +0000 To: tru64-unix-managers Subject: sendmail rewrite rules request X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075325906790 Hi DU managers, Perhaps there is a sendmail expert out there who can help me with this one: Currently all our internet mail comes into one of our OSF/1 boxes. However, we have two communities of mail users. 1. Unix users who receive there mail without any problems as the mail spool area from the "mail hub" is nfs mounted etc. 2. VMS users who currently have aliases set up on the mail hub. These aliases send all mail to a VMS cluster member running Digital TCP/IP Services for VMS. This works ok. However, I would prefer to send all local mail that is not addressed to unix users to the VMS systems. This would mean that I would not have to maintain an ever changing aliases file. The question is - can anyone give me some pointers to help me generate the sendmail rewrite rules required. I think the rules should do as follows at the point that sendmail has established that the mail is destined for a local user. 1. Check aliases - if the destination user name is in aliases send using local mail program. 2. Check to see if the destination user is a local unix user by checking the passwd NIS map. If true send using the local mail program. 3. For anything left send it to the VMS system via smtp.Regards, Any alternative/better methods are welcome. Thanks, Paul Piercy Email: piercyp@ranplc.co.uk Tel: 44 171 374 4841 X2640 Fax: 44 171 638 9129 Address: Rolfe & Nolan PLC Lowndes House 1/9 City Road London EC1Y 1AA