Lovell Mcilwain | 2 Apr 2007 16:30
Picon

Re: Fetchmail/Multiple Local Users/Multiple Email Accounts


On Apr 2, 2007, at 2:08 AM, Rob MacGregor wrote:

> On 4/1/07, Lovell Mcilwain <lovell.mcilwain <at> gmail.com> wrote:
>>>> When I attempt this I get the following error when trying to run
>>>> fetchmail as user2:
>>>> ===============
>>>> [user2 <at> linux ~]$ fetchmail -c
>>>> fetchmail: can't check mail while another fetchmail to same host is
>>>> running.
>>>> ===============
>
>
> Contents of both .fetchmailrc files?
Primary account on Linx
[user1 <at> Linux ~]$ more .fetchmailrc
defaults proto pop3 user lmcilwain <at> gmail.com mda "/usr/bin/procmail - 
d user1"
poll pop.gmail.com port 995 pass <pass> ssl is user1 here
set daemon 120
set syslog
set postmaster ""
set no bouncemail
set no spambounce
set properties ""
set logfile "fetchmail.log"

Second account on Linux
[user2 <at> Linux ~]$ more .fetchmailrc
defaults proto pop3 user lmcilwain mda "/usr/bin/procmail -d user2"
(Continue reading)

Rob MacGregor | 2 Apr 2007 19:58
Picon
Gravatar

Re: Fetchmail/Multiple Local Users/Multiple Email Accounts

On 4/2/07, Lovell Mcilwain <lovell.mcilwain <at> gmail.com> wrote:
<---SNIP--->
> [user1 <at> Linux ~]$ more .fetchmailrc
> defaults proto pop3 user lmcilwain <at> gmail.com mda "/usr/bin/procmail -
> d user1"
> poll pop.gmail.com port 995 pass <pass> ssl is user1 here
> set daemon 120
> set syslog
> set postmaster ""
> set no bouncemail
> set no spambounce
> set properties ""
> set logfile "fetchmail.log"
>
> Second account on Linux
> [user2 <at> Linux ~]$ more .fetchmailrc
> defaults proto pop3 user lmcilwain mda "/usr/bin/procmail -d user2"
> poll work.smtp.com port 995 pass <pass>  ssl is user2 here
> set daemon 300
> set syslog
> set postmaster ""
> set no bouncemail
> set no spambounce
> set properties ""
> set logfile "fetchmail.log"

Ok, nothing I can see that causes fetchmai to complain.  Can you do
the following:

1) The output of "id" as each user
(Continue reading)

Lovell Mcilwain | 2 Apr 2007 20:22
Picon

Re: Fetchmail/Multiple Local Users/Multiple Email Accounts


On Apr 2, 2007, at 1:58 PM, Rob MacGregor wrote:

> On 4/2/07, Lovell Mcilwain <lovell.mcilwain <at> gmail.com> wrote:
> <---SNIP--->
>> [user1 <at> Linux ~]$ more .fetchmailrc
>> defaults proto pop3 user lmcilwain <at> gmail.com mda "/usr/bin/procmail -
>> d user1"
>> poll pop.gmail.com port 995 pass <pass> ssl is user1 here
>> set daemon 120
>> set syslog
>> set postmaster ""
>> set no bouncemail
>> set no spambounce
>> set properties ""
>> set logfile "fetchmail.log"
>>
>> Second account on Linux
>> [user2 <at> Linux ~]$ more .fetchmailrc
>> defaults proto pop3 user lmcilwain mda "/usr/bin/procmail -d user2"
>> poll work.smtp.com port 995 pass <pass>  ssl is user2 here
>> set daemon 300
>> set syslog
>> set postmaster ""
>> set no bouncemail
>> set no spambounce
>> set properties ""
>> set logfile "fetchmail.log"
>
> Ok, nothing I can see that causes fetchmai to complain.  Can you do
(Continue reading)

Rob MacGregor | 2 Apr 2007 20:30
Picon
Gravatar

Re: Fetchmail/Multiple Local Users/Multiple Email Accounts

On 4/2/07, Lovell Mcilwain <lovell.mcilwain <at> gmail.com> wrote:
> > 1) The output of "id" as each user
> user1
> uid=500(user1) gid=500(user1) groups=500(user1)
> context=user_u:system_r:unconfined_t
>
> user2
> uid=501(user2) gid=501(user2) groups=501(user2)
> context=user_u:system_r:unconfined_t

Ok, these really are 2 users (worth checking :>)

> [user2 <at> Linux ~]$ tail -f fetchmail.log
> fetchmail: Lock-busy error on lmcilwain <at> work.pop.com
> fetchmail: POP3> QUIT
> fetchmail: POP3< +OK signing off.
> fetchmail: lock busy on server error while fetching from
> lmcilwain <at> work.pop.com
> fetchmail: 6.3.6 querying  <at> work.pop.com (protocol POP3) at Mon 02 Apr
> 2007 02:15:38 PM EDT: poll completed
> fetchmail: Query status=9 (LOCKBUSY)
> fetchmail: Deleting fetchids file.
> fetchmail: sleeping at Mon 02 Apr 2007 02:15:38 PM EDT for 300 seconds
> fetchmail: terminated with signal 15
> fetchmail: Deleting fetchids file.

Ok, how about the rest of the log.  Log snippets just waste my time.

Note that the log does suggest the problem is that you have multiple
programs connecting to the mailbox and your work's POP server only
(Continue reading)

Lovell Mcilwain | 2 Apr 2007 21:29
Picon

Re: Fetchmail/Multiple Local Users/Multiple Email Accounts


On Apr 2, 2007, at 2:30 PM, Rob MacGregor wrote:

> On 4/2/07, Lovell Mcilwain <lovell.mcilwain <at> gmail.com> wrote:
>>> 1) The output of "id" as each user
>> user1
>> uid=500(user1) gid=500(user1) groups=500(user1)
>> context=user_u:system_r:unconfined_t
>>
>> user2
>> uid=501(user2) gid=501(user2) groups=501(user2)
>> context=user_u:system_r:unconfined_t
>
> Ok, these really are 2 users (worth checking :>)
>
>> [user2 <at> Linux ~]$ tail -f fetchmail.log
>> fetchmail: Lock-busy error on lmcilwain <at> work.pop.com
>> fetchmail: POP3> QUIT
>> fetchmail: POP3< +OK signing off.
>> fetchmail: lock busy on server error while fetching from
>> lmcilwain <at> work.pop.com
>> fetchmail: 6.3.6 querying  <at> work.pop.com (protocol POP3) at Mon 02 Apr
>> 2007 02:15:38 PM EDT: poll completed
>> fetchmail: Query status=9 (LOCKBUSY)
>> fetchmail: Deleting fetchids file.
>> fetchmail: sleeping at Mon 02 Apr 2007 02:15:38 PM EDT for 300  
>> seconds
>> fetchmail: terminated with signal 15
>> fetchmail: Deleting fetchids file.
>
(Continue reading)

Rob MacGregor | 2 Apr 2007 21:54
Picon
Gravatar

Re: Fetchmail/Multiple Local Users/Multiple Email Accounts

On 4/2/07, Lovell Mcilwain <lovell.mcilwain <at> gmail.com> wrote:
<---SNIP working run--->
> I did turn off my IMAPS client before I tried this last test.

This suggests that your ISP only supports a single connection.  You
may find that it will allow multiple IMAP connections though - worth a
try.

--

-- 
                 Please keep list traffic on the list.

Rob MacGregor
      Whoever fights monsters should see to it that in the process he
        doesn't become a monster.                  Friedrich Nietzsche
Lovell Mcilwain | 2 Apr 2007 20:36
Picon

Re: Fetchmail/Multiple Local Users/Multiple Email Accounts


On Apr 2, 2007, at 2:30 PM, Rob MacGregor wrote:

> On 4/2/07, Lovell Mcilwain <lovell.mcilwain <at> gmail.com> wrote:
>>> 1) The output of "id" as each user
>> user1
>> uid=500(user1) gid=500(user1) groups=500(user1)
>> context=user_u:system_r:unconfined_t
>>
>> user2
>> uid=501(user2) gid=501(user2) groups=501(user2)
>> context=user_u:system_r:unconfined_t
>
> Ok, these really are 2 users (worth checking :>)
>
>> [user2 <at> Linux ~]$ tail -f fetchmail.log
>> fetchmail: Lock-busy error on lmcilwain <at> work.pop.com
>> fetchmail: POP3> QUIT
>> fetchmail: POP3< +OK signing off.
>> fetchmail: lock busy on server error while fetching from
>> lmcilwain <at> work.pop.com
>> fetchmail: 6.3.6 querying  <at> work.pop.com (protocol POP3) at Mon 02 Apr
>> 2007 02:15:38 PM EDT: poll completed
>> fetchmail: Query status=9 (LOCKBUSY)
>> fetchmail: Deleting fetchids file.
>> fetchmail: sleeping at Mon 02 Apr 2007 02:15:38 PM EDT for 300  
>> seconds
>> fetchmail: terminated with signal 15
>> fetchmail: Deleting fetchids file.
>
(Continue reading)


Gmane