Date: Thu, 7 Mar 2002 12:58:01 -0700 From: "Samuel Chow" <cyschow@shaw.ca> To: "Andreas Ntaflos" <ntaflos.andreas@gmx.net> Cc: <freebsd-questions@freebsd.org> Subject: Re: Starting daemon only for user; gotta be simple? Message-ID: <01d801c1c612$63596b00$2784412f@ca.nortel.com> References: <20020307181919.A94491@Deadcell.ant>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01d801c1c612$63596b00$2784412f>
