OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: How to change the uucp request issuer?
From: Michael Ju. Tokarev (mjttls.msk.ru)
Date: Mon Sep 11 2000 - 03:21:16 CDT


rakeshisac.ernet.in wrote:
>
> I am trying to setup postfix for UUCP connection. For this purpose, I read the
> postfix document "Using UUCP as the default transport". Accordingly, I defined
> following lines in /etc/postfix/main.cf:
> hostname=myhost
> relayhost=relayhost
> default_transport=uucp
>
> and in /etc/postfix/master.cf:
> uucp unix - n n - - pipe
> flags=F user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
>
> As a result, all the required C & D files are created successfully. In C File,
> following line appears:
> S D.myhost069172d D.myhost069172d uucp - D.myhost069172d 0666 uucp
> S D.relayhost067d72d X.relayhostN067d uucp - D.relayhost067d72d 0666 uucp
> and in one of the D files, a line appears as:
> U uucp myhost
> for all sent mails.
>
> Hence, the command "uustat -a" shows that all uucp requests are issued by the
> user "uucp"; whereas my earlier UUCP setup, working successfully with Sendmail,
> was reporting the uucp request issuer to be the mail sender userid.

With sendmail, if you tell it to queue first (-odq?), then uucp jobs
will be
owned by daemon (or what default user set in sendmail.cf).
Postfix always queues files, so the difference.

> How to do the same in Postfix?

This is not possible.

>
> Thanks in advance.
>
> Rakesh Kumar
>
> -------------------------------------------------
> This mail sent through IMP: isacmail