From owner-freebsd-questions Thu Mar 7 11:57:59 2002 Delivered-To: freebsd-questions@freebsd.org Received: from samuelstn.dhs.org (h24-81-235-94.cg.shawcable.net [24.81.235.94]) by hub.freebsd.org (Postfix) with SMTP id A192337B423 for ; Thu, 7 Mar 2002 11:57:37 -0800 (PST) Received: (qmail 94644 invoked from network); 7 Mar 2002 19:57:35 -0000 Received: from firewall (HELO SAMCHOW1.ca.nortel.com) (192.168.1.1) by homeserver with SMTP; 7 Mar 2002 19:57:35 -0000 Message-ID: <01d801c1c612$63596b00$2784412f@ca.nortel.com> From: "Samuel Chow" To: "Andreas Ntaflos" Cc: References: <20020307181919.A94491@Deadcell.ant> Subject: Re: Starting daemon only for user; gotta be simple? Date: Thu, 7 Mar 2002 12:58:01 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > I am looking for a way to have this task automated. A script in > /usr/local/etc/rc.d comes into mind, but this would start polling > for mail only for root wouldn't it? This is not true. I have the following in my fetchmailrc, and fetchmail is started via /usr/local/etc/rc.d. set daemon 900 poll mailserver.myisp.com with proto pop3 user email_account pass my_password is my_local_login here smtpaddress mydomain.com This means: a. get mail from my ISP mailserver with my email account and password. b. send the mail using local smtp server (qmail in my case) using the name my_local_login@mydomain.com Hope this help. --- Samuel Chow cyschow@shaw.ca This message is displayed using recycled electrons. Segmentation Fault (core dumped) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message