Article View: comp.mail.sendmail
Article #3651Re: How does sendmail/majordomo work??
From: Geoff Cox
Date: Fri, 25 Aug 2000 00:00
Date: Fri, 25 Aug 2000 00:00
58 lines
2095 bytes
2095 bytes
Dave, thanks for that....giving it a try Geoff On Fri, 25 Aug 2000 11:37:44 +0100, "Dave Addison" <dave@phaedra1.demon.co.uk> wrote: >You could try > >/usr/sbin/pppd >su - fred -c /usr/bin/fetchmail >/etc/ppp/stop > >as the su man page says that "-c /usr/bin/fetchmail" should be passed as >parameters to the shell started as user fred > >or > > /usr/sbin/pppd > su fred > /usr/bin/fetchmail > exit > /etc/ppp/stop > >as the exit command should return control to the root shell that ran su > >I haven't been able to try either of these as I'm at work and haven't got >root access > >Dave > >Geoff Cox <geoff.cox@cableinet.co.uk> wrote in message >news:88hcqs4d9f19k1qph2vf32nfhvcnnlk2dm@4ax.com... >> Thanks for the info - finally got majordomo working !! >> >> Cheers >> >> Geoff >> >> PS I am trying to write a script to automate this (via crontab) but do >> not know how to su root and pass the password in the script ? >> >> /usr/sbin/pppd >> su fred >> /usr/bin/fetchmail >> su root >> /etc/ppp/stop >> >> Any ideas? >> >> Cheers >> >> Geoff > > >
Technical Details
Message-ID:
<l7lcqsoe7360pqos8trcn75iekhroo8624@4ax.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<vovnps0hq8ukp4lrrucc6c18dui8531083@4ax.com> <39A19174.420090C4@coruscant.demon.co.uk> <88hcqs4d9f19k1qph2vf32nfhvcnnlk2dm@4ax.com> <8o5ibg$m1g$1@mosquito.HL.Siemens.DE>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 108f6a,da7735bbb1614bc X-Google-Attributes: gid108f6a,public X-Google-Thread: 10de99,da7735bbb1614bc X-Google-Attributes: gid10de99,public From: Geoff Cox <geoff.cox@cableinet.co.uk> Subject: Re: How does sendmail/majordomo work?? Date: 2000/08/25 Message-ID: <l7lcqsoe7360pqos8trcn75iekhroo8624@4ax.com> X-Deja-AN: 662320774 Content-Transfer-Encoding: 7bit References: <vovnps0hq8ukp4lrrucc6c18dui8531083@4ax.com> <39A19174.420090C4@coruscant.demon.co.uk> <88hcqs4d9f19k1qph2vf32nfhvcnnlk2dm@4ax.com> <8o5ibg$m1g$1@mosquito.HL.Siemens.DE> Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@blueyonder.co.uk X-Trace: news1.cableinet.net 967202257 213.48.39.89 (Fri, 25 Aug 2000 12:17:37 BST) Organization: Cable Internet (post doesn't reflect views of Cable Internet) MIME-Version: 1.0 NNTP-Posting-Date: Fri, 25 Aug 2000 12:17:37 BST Newsgroups: comp.mail.sendmail,demon.ip.support.unix