Re: fetchmail in system-wide mode

2011-09-07 Thread Daniel Bye
On Wed, Sep 07, 2011 at 05:25:50AM +0200, Xavier FreeBSD questions wrote:
 On Tue, Sep 06, 2011 at 03:19:36PM +0100, Daniel Bye wrote: 
 I paste the fetchmail_startup in: http://pastebin.com/vFqdhwfg
 
 For you, the answer of why don't worked for me fetchmail is lines 502 and
 503 ?

Looks like a permissions problem on the fetchmail config file,
/usr/local/etc/fetchmailrc. What do you get when you run

 $ ls -l /usr/local/etc/fetchmail*

? 

I have just freshly installed fetchmail on a new system, and I see this:

 -rw---  1 fetchmail  fetchmail  130  7 Sep 21:24 - 
/usr/local/etc/fetchmailrc
 -rw-r--r--  1 fetchmail  fetchmail  130  7 Sep 21:24 - 
/usr/local/etc/fetchmailrc.sample

If you see something different, try setting the permissions and ownership to
what you see here, or try reinstalling the port.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgp7g4H3AKS9O.pgp
Description: PGP signature


Re: fetchmail in system-wide mode

2011-09-07 Thread Xavier FreeBSD questions
2011/9/7 Daniel Bye freebsd-questi...@slightlystrange.org

Hi Daniel,

On Wed, Sep 07, 2011 at 05:25:50AM +0200, Xavier FreeBSD questions wrote:
  On Tue, Sep 06, 2011 at 03:19:36PM +0100, Daniel Bye wrote:
  I paste the fetchmail_startup in: http://pastebin.com/vFqdhwfg
 
  For you, the answer of why don't worked for me fetchmail is lines 502 and
  503 ?

 Looks like a permissions problem on the fetchmail config file,
 /usr/local/etc/fetchmailrc. What do you get when you run

  $ ls -l /usr/local/etc/fetchmail*

 ?

 I have just freshly installed fetchmail on a new system, and I see this:

  -rw---  1 fetchmail  fetchmail  130  7 Sep 21:24 -
 /usr/local/etc/fetchmailrc
  -rw-r--r--  1 fetchmail  fetchmail  130  7 Sep 21:24 -
 /usr/local/etc/fetchmailrc.sample

 If you see something different, try setting the permissions and ownership
 to
 what you see here, or try reinstalling the port.


I don't have the /usr/local/etc/fetchmailrc because I use a user local file.

Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: fetchmail in system-wide mode

2011-09-07 Thread Daniel Bye
On Wed, Sep 07, 2011 at 11:17:15PM +0200, Xavier FreeBSD questions wrote:
 2011/9/7 Daniel Bye freebsd-questi...@slightlystrange.org
 
 Hi Daniel,
 
 On Wed, Sep 07, 2011 at 05:25:50AM +0200, Xavier FreeBSD questions wrote:
   On Tue, Sep 06, 2011 at 03:19:36PM +0100, Daniel Bye wrote:
   I paste the fetchmail_startup in: http://pastebin.com/vFqdhwfg
  
   For you, the answer of why don't worked for me fetchmail is lines 502 and
   503 ?
 
  Looks like a permissions problem on the fetchmail config file,
  /usr/local/etc/fetchmailrc. What do you get when you run
 
   $ ls -l /usr/local/etc/fetchmail*
 
  ?
 
  I have just freshly installed fetchmail on a new system, and I see this:
 
   -rw---  1 fetchmail  fetchmail  130  7 Sep 21:24 -
  /usr/local/etc/fetchmailrc
   -rw-r--r--  1 fetchmail  fetchmail  130  7 Sep 21:24 -
  /usr/local/etc/fetchmailrc.sample
 
  If you see something different, try setting the permissions and ownership
  to
  what you see here, or try reinstalling the port.
 
 
 I don't have the /usr/local/etc/fetchmailrc because I use a user local file.

Well, there you go, then. The system global operation requires that file.
You'll need to run per-user daemons, which can be set up by following the
instructions in /usr/local/etc/rc.d/fetchmail. In particular, pay attention
to `fetchmail_users'.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpjHgB8dCSYF.pgp
Description: PGP signature


fetchmail in system-wide mode

2011-09-06 Thread Xavier FreeBSD questions
Hello,

On the Internet there are some sites where they say to start fetchmail(1) in
system-wide should put these two options in rc.conf(5) :

fetchmail_enable=YES
fetchmail_polling_interval=60

Although the second is optional and at first has little to do with this
question because this question is addressed rather to the first option.

I searched in /etc/defaults/rc.conf and rc.conf(5) manual and find no
reference to these two options.

I have them in my rc.conf(5) but fetchmail(1) does not start automatically.

In /usr/src/UPDATING not found any reference to it.

Which is the correct way to start fetchmail(1) in system-wide?

Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: fetchmail in system-wide mode

2011-09-06 Thread Daniel Bye
On Tue, Sep 06, 2011 at 03:10:50PM +0200, Xavier FreeBSD questions wrote:
 Hello,
 
 On the Internet there are some sites where they say to start fetchmail(1) in
 system-wide should put these two options in rc.conf(5) :
 
 fetchmail_enable=YES
 fetchmail_polling_interval=60

This has worked for me in the past when I've needed fetchmail(1).

 
 Although the second is optional and at first has little to do with this
 question because this question is addressed rather to the first option.
 
 I searched in /etc/defaults/rc.conf and rc.conf(5) manual and find no
 reference to these two options.

This is to be expected. fetchmail(1) is a port, not part of the base system.


 
 I have them in my rc.conf(5) but fetchmail(1) does not start automatically.
 
 In /usr/src/UPDATING not found any reference to it.

Again, what you'd expect.

 
 Which is the correct way to start fetchmail(1) in system-wide?

Is fetchmail installed on your system? If so, and you still can't get it to
start automatically, try this:

 # script fetchmail_startup sh -x /usr/local/etc/rc.d/fetchmail start

You'll now have a file called `fetchmail_startup' which will contain a
record of exactly what the fetchmail rc script did as it executed, which may
or may not prove informative.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpqwPjWkYetD.pgp
Description: PGP signature


Re: fetchmail in system-wide mode

2011-09-06 Thread Xavier FreeBSD questions
On Tue, Sep 06, 2011 at 03:19:36PM +0100, Daniel Bye wrote:

Hi Daniel,

 On Tue, Sep 06, 2011 at 03:10:50PM +0200, Xavier FreeBSD questions wrote:
  Hello,
 
  On the Internet there are some sites where they say to start
fetchmail(1) in
  system-wide should put these two options in rc.conf(5) :
 
  fetchmail_enable=YES
  fetchmail_polling_interval=60

 This has worked for me in the past when I've needed fetchmail(1).

 
  Although the second is optional and at first has little to do with this
  question because this question is addressed rather to the first option.
 
  I searched in /etc/defaults/rc.conf and rc.conf(5) manual and find no
  reference to these two options.

 This is to be expected. fetchmail(1) is a port, not part of the base
system.


 
  I have them in my rc.conf(5) but fetchmail(1) does not start
automatically.
 
  In /usr/src/UPDATING not found any reference to it.

 Again, what you'd expect.

 
  Which is the correct way to start fetchmail(1) in system-wide?

 Is fetchmail installed on your system? If so, and you still can't get it
to
 start automatically, try this:

  # script fetchmail_startup sh -x /usr/local/etc/rc.d/fetchmail start

 You'll now have a file called `fetchmail_startup' which will contain a
 record of exactly what the fetchmail rc script did as it executed, which
may
 or may not prove informative.


I paste the fetchmail_startup in: http://pastebin.com/vFqdhwfg

For you, the answer of why don't worked for me fetchmail is lines 502 and
503 ?

Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org