RE: Fetchmail don't keep messages !!!

2003-09-16 Thread Wade Chandler
How much did you pay for Fetchmail?  If you think it is a bug check out
the project website.  Red Hat and nobody on the list wrote it.  Most
developers are willing to listen to anyone with a genuine concern, but
you should remember to keep your cool if you want to ask for someone to
spend hours of their time helping you.  ;-)

Wade

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Marcos S. Trazzini
Sent: Monday, September 15, 2003 8:33 PM
To: [EMAIL PROTECTED]
Subject: Re: Fetchmail don't keep messages !!!


On Mon, 2003-09-15 at 21:02, Joseph A Nagy Jr wrote:
> On Monday 15 September 2003 19:02, Marcos S. Trazzini wrote this in an
> attempt to be witty or informative:
> > I'm Using fetchmail to synch some accounts with remote POP3 servers.
> >
> > But if I set then to "keep" the messages on server, fetchmail 
> > download the already downloaded messages on the next run !!!
> >
> > This result in a lot of repeated messages in my mailbox =(
> >
> > This problem occurs to me with any versio of fetchmail, in any other

> > POP3 server and in any other Linux Distro tha I've tested...
> >
> > --
> > Marcos S. Trazzini <[EMAIL PROTECTED]>
> > Servmicro Informática LTDA
> 
> It's not a bug. The same occurs when you use a mail client (like 
> Kmail,
> Mozilla Mail, Evolution).

Negative !!!

If I configure the "same" account in Evolution (in example), only the
"new" messages are downloaded, and "only" one time. but the
fetchmail download the same messages that are in the remote POP3 server
every time it runs...

"Any" Other email clients that I've tested (Outlook Express,
Mozilla-Mail, Eudora, etc..) works fine...

And "THIS IS REALLY A BUG OR A MISSCONFIGURATION ON FETCHMAIL"




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Fetchmail don't keep messages !!!

2003-09-15 Thread MKlinke
On Monday 15 September 2003 19:02, Marcos S. Trazzini wrote:
> I'm Using fetchmail to synch some accounts with remote POP3 servers.
>
> But if I set then to "keep" the messages on server, fetchmail
> download the already downloaded messages on the next run !!!
>
> This result in a lot of repeated messages in my mailbox =(
>
> This problem occurs to me with any versio of fetchmail, in any other
> POP3 server and in any other Linux Distro tha I've tested...

Have you eliminated all the possible problems listed in the 
documentation? 

"man fetchmail" 

Search for "RETRIEVAL FAILURE MODES"

Regards,  Mike Klinke



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Fetchmail don't keep messages !!!

2003-09-15 Thread Joseph A Nagy Jr
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 15 September 2003 20:58, Marcos S. Trazzini wrote this in an 
attempt to be witty or informative:
> On Mon, 2003-09-15 at 22:36, Joseph A Nagy Jr wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> > On Monday 15 September 2003 20:15, Marcos S. Trazzini wrote this in
> > an attempt to be witty or informative:
> > 
> >
> > > Ah... If I configure fetchmail to "flush" the messages, all works
> > > perfectly... but I don't have a copy of the messages on the
> > > server !!! =P
> >
> > What's the point of having a POP3 account if you don't download the
> > messages?
>
> Simple to read the same messages in different locations, and
> deleting as I want. This is becouse I've to keep a copy of "all"
> emails at work, and at home I "don't" want to flush "any" messages
> that are work-related.

Ah, makes sense.

>
> Thinking this that are possible to "KEEP" the messageson the server.
>
> Maybe IMAP solve my problem (Use IMAP in one location and POP3
> "flushing" the messages in another.), I'm trying...

Well, when I've told Mozilla to keep the mail on the server, it does so 
unless it goes through a second time (at which time it'll download and 
flush)

- -- 
Wielder of the mighty +1 LARTsaber of Unsubscribe Instructions At End of
Message, the +3 Clue-by-Four of No Attachments to a Mailing List, and
the -4 Shield of No Spell Checker.
http://joseph-a-nagy-jr.homelinux.org http://mc-luug.homelinux.org/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/ZnJ7njt9jEvKYeARAtKgAKCEArHuzOESvXIvALEq409NYi5VrwCcCJYY
SUJE1XiXIvlDoA7LtF58bXY=
=9Zvm
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Fetchmail don't keep messages !!!

2003-09-15 Thread Marcos S. Trazzini
On Mon, 2003-09-15 at 22:36, Joseph A Nagy Jr wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On Monday 15 September 2003 20:15, Marcos S. Trazzini wrote this in an 
> attempt to be witty or informative:
> 
> > Ah... If I configure fetchmail to "flush" the messages, all works
> > perfectly... but I don't have a copy of the messages on the server
> > !!! =P
> 
> What's the point of having a POP3 account if you don't download the 
> messages?
> 

Simple to read the same messages in different locations, and
deleting as I want. This is becouse I've to keep a copy of "all" emails
at work, and at home I "don't" want to flush "any" messages that are
work-related.

Thinking this that are possible to "KEEP" the messageson the server.

Maybe IMAP solve my problem (Use IMAP in one location and POP3
"flushing" the messages in another.), I'm trying...


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Fetchmail don't keep messages !!!

2003-09-15 Thread Joseph A Nagy Jr
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 15 September 2003 20:15, Marcos S. Trazzini wrote this in an 
attempt to be witty or informative:

> Ah... If I configure fetchmail to "flush" the messages, all works
> perfectly... but I don't have a copy of the messages on the server
> !!! =P

What's the point of having a POP3 account if you don't download the 
messages?

- -- 
Wielder of the mighty +1 LARTsaber of Unsubscribe Instructions At End of
Message, the +3 Clue-by-Four of No Attachments to a Mailing List, and
the -4 Shield of No Spell Checker.
http://joseph-a-nagy-jr.homelinux.org http://mc-luug.homelinux.org/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/ZmkDnjt9jEvKYeARAnvrAJ4kz7fEVk4Jl3SBf4xxIsuKvyqdCQCeIZk2
lSGMekFuNUCuvAqcaqDXeds=
=7mV8
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Fetchmail don't keep messages !!!

2003-09-15 Thread Marcos S. Trazzini
On Mon, 2003-09-15 at 21:50, Joseph A Nagy Jr wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On Monday 15 September 2003 19:32, Marcos S. Trazzini wrote this in an 
> attempt to be witty or informative:
> 
> > Negative !!!
> >
> > If I configure the "same" account in Evolution (in example), only the
> > "new" messages are downloaded, and "only" one time. but the
> > fetchmail download the same messages that are in the remote POP3
> > server every time it runs...
> 
> But did you tell Evolution to leave the messages on the server?
> 
> >
> > "Any" Other email clients that I've tested (Outlook Express,
> > Mozilla-Mail, Eudora, etc..) works fine...
> 
> Not if you tell them to leave the messages on the server. I know as I've 
> done that and found it too annoying (that and I get a lot of spam) so I 
> just download everything from my POP3 accounts.
> 
> >
> > And "THIS IS REALLY A BUG OR A MISSCONFIGURATION ON FETCHMAIL"
> 
> Consider yourself clue'd in.
> 

I've counfigured Evolution to keep messages o the server. (of course)
Remembering that fetchmail continue to add a lot of repeated messages in
my mailbox.

Ah... If I configure fetchmail to "flush" the messages, all works
perfectly... but I don't have a copy of the messages on the server !!!
=P


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Fetchmail don't keep messages !!!

2003-09-15 Thread Marcos S. Trazzini
On Mon, 2003-09-15 at 21:34, Jason Dixon wrote:
> On Mon, 2003-09-15 at 20:32, Marcos S. Trazzini wrote:
> 
> > Negative !!!
> > 
> > If I configure the "same" account in Evolution (in example), only the
> > "new" messages are downloaded, and "only" one time. but the
> > fetchmail download the same messages that are in the remote POP3 server
> > every time it runs...
> > 
> > "Any" Other email clients that I've tested (Outlook Express,
> > Mozilla-Mail, Eudora, etc..) works fine...
> > 
> > And "THIS IS REALLY A BUG OR A MISSCONFIGURATION ON FETCHMAIL"
> 
> Hey, guess what?  I was going to look into your problem and try to offer
> some assistance, until...
> 
> You became a jerk.  You've berated another user who attempted to resolve
> your problem by yelling at him.  Twice.  Hope you have better luck with
> other folks, it's certainly not coming from my direction.
> 

Wow !!! I'm so sorry.. there isn't my intention...

There's only my FURY against the FETCHMAIL... hehe... nothing against
any ither user of the list.



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Fetchmail don't keep messages !!!

2003-09-15 Thread Joseph A Nagy Jr
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 15 September 2003 19:32, Marcos S. Trazzini wrote this in an 
attempt to be witty or informative:

> Negative !!!
>
> If I configure the "same" account in Evolution (in example), only the
> "new" messages are downloaded, and "only" one time. but the
> fetchmail download the same messages that are in the remote POP3
> server every time it runs...

But did you tell Evolution to leave the messages on the server?

>
> "Any" Other email clients that I've tested (Outlook Express,
> Mozilla-Mail, Eudora, etc..) works fine...

Not if you tell them to leave the messages on the server. I know as I've 
done that and found it too annoying (that and I get a lot of spam) so I 
just download everything from my POP3 accounts.

>
> And "THIS IS REALLY A BUG OR A MISSCONFIGURATION ON FETCHMAIL"

Consider yourself clue'd in.

- -- 
Wielder of the mighty +1 LARTsaber of Unsubscribe Instructions At End of
Message, the +3 Clue-by-Four of No Attachments to a Mailing List, and
the -4 Shield of No Spell Checker.
http://joseph-a-nagy-jr.homelinux.org http://mc-luug.homelinux.org/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/Zl5znjt9jEvKYeARAuahAJ9fG7swbK0OD98SyfomvKhXm1Cy8ACfT2Rc
CGn/XZASv41KCwxS9SN77KE=
=aFDQ
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Fetchmail don't keep messages !!!

2003-09-15 Thread Jason Dixon
On Mon, 2003-09-15 at 20:32, Marcos S. Trazzini wrote:

> Negative !!!
> 
> If I configure the "same" account in Evolution (in example), only the
> "new" messages are downloaded, and "only" one time. but the
> fetchmail download the same messages that are in the remote POP3 server
> every time it runs...
> 
> "Any" Other email clients that I've tested (Outlook Express,
> Mozilla-Mail, Eudora, etc..) works fine...
> 
> And "THIS IS REALLY A BUG OR A MISSCONFIGURATION ON FETCHMAIL"

Hey, guess what?  I was going to look into your problem and try to offer
some assistance, until...

You became a jerk.  You've berated another user who attempted to resolve
your problem by yelling at him.  Twice.  Hope you have better luck with
other folks, it's certainly not coming from my direction.

-- 
Jason Dixon, RHCE
DixonGroup Consulting
http://www.dixongroup.net


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Fetchmail don't keep messages !!!

2003-09-15 Thread Marcos S. Trazzini
On Mon, 2003-09-15 at 21:02, Joseph A Nagy Jr wrote:
> On Monday 15 September 2003 19:02, Marcos S. Trazzini wrote this in an 
> attempt to be witty or informative:
> > I'm Using fetchmail to synch some accounts with remote POP3 servers.
> >
> > But if I set then to "keep" the messages on server, fetchmail
> > download the already downloaded messages on the next run !!!
> >
> > This result in a lot of repeated messages in my mailbox =(
> >
> > This problem occurs to me with any versio of fetchmail, in any other
> > POP3 server and in any other Linux Distro tha I've tested...
> >
> > --
> > Marcos S. Trazzini <[EMAIL PROTECTED]>
> > Servmicro Informática LTDA
> 
> It's not a bug. The same occurs when you use a mail client (like Kmail, 
> Mozilla Mail, Evolution).

Negative !!!

If I configure the "same" account in Evolution (in example), only the
"new" messages are downloaded, and "only" one time. but the
fetchmail download the same messages that are in the remote POP3 server
every time it runs...

"Any" Other email clients that I've tested (Outlook Express,
Mozilla-Mail, Eudora, etc..) works fine...

And "THIS IS REALLY A BUG OR A MISSCONFIGURATION ON FETCHMAIL"




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Fetchmail don't keep messages !!!

2003-09-15 Thread Joseph A Nagy Jr
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 15 September 2003 19:02, Marcos S. Trazzini wrote this in an 
attempt to be witty or informative:
> I'm Using fetchmail to synch some accounts with remote POP3 servers.
>
> But if I set then to "keep" the messages on server, fetchmail
> download the already downloaded messages on the next run !!!
>
> This result in a lot of repeated messages in my mailbox =(
>
> This problem occurs to me with any versio of fetchmail, in any other
> POP3 server and in any other Linux Distro tha I've tested...
>
> --
> Marcos S. Trazzini <[EMAIL PROTECTED]>
> Servmicro Informática LTDA

It's not a bug. The same occurs when you use a mail client (like Kmail, 
Mozilla Mail, Evolution).

- -- 
Wielder of the mighty +1 LARTsaber of Unsubscribe Instructions At End of
Message, the +3 Clue-by-Four of No Attachments to a Mailing List, and
the -4 Shield of No Spell Checker.
http://joseph-a-nagy-jr.homelinux.org http://mc-luug.homelinux.org/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/ZlMSnjt9jEvKYeARAuNYAJ4pzTmHDEGVcFtM8k+8bl0pWnnOTQCgklVl
Z8/x0eSFBAX4JYK6bMMo1KQ=
=d0VG
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Fetchmail don't keep messages !!!

2003-09-15 Thread Marcos S. Trazzini
I'm Using fetchmail to synch some accounts with remote POP3 servers.

But if I set then to "keep" the messages on server, fetchmail download
the already downloaded messages on the next run !!!

This result in a lot of repeated messages in my mailbox =(

This problem occurs to me with any versio of fetchmail, in any other
POP3 server and in any other Linux Distro tha I've tested...

-- 
Marcos S. Trazzini <[EMAIL PROTECTED]>
Servmicro Informática LTDA


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: increase timeout for fetchmail socket error (exitcode=2)?

2003-09-10 Thread gregory mott
On Fri, 2003-09-05 at 23:46, Sean Estabrooks wrote:
> On 05 Sep 2003 12:32:15 +0100 gregory mott <[EMAIL PROTECTED]> wrote:
> > hi redhatters,
> >
> > fetchmail has a parameter for timeout, but apparently that parameter
> > doesn't affect whatever timeout results in exitcode=2, socket error.
> > 
> > i bet the relevant timeout is in the kernel, not fetchmail?
> > 
> > this is happening alot when our dialup is busy with other things, like
> > rsync, or up2date, or other traffic between lan and internet..
> > 
> > any idea where to cast the tweaking eye?
>
> Hi Gregory,
> 
> The default keepalive values will let a connection persist 
> for over 11 minutes without an answer.   If this is what is
> causing your disconnects you have some _serious_ 
> congestion.   Perhaps it's something else but you can 
> take a look at /proc/sys/net/ipv4/tcp_keepalive_*
> 
> Also, from the fetchmail FAQ:
> 
>Fetchmail is timing out during message fetches:
>  
>   
>This is probably a general networking issue. Sending a "RETR"
>command will cause the server to start sending large amounts of
>data, which means large packets. If your networking layer has a
>packet-fragmentation problem, that's where you'll see it.
> 
> It also recommends disabling tcp_timestamps if you see
> timeout problems:
> 
> echo 0 > /proc/sys/net/ipv4/tcp_timestamps
> 
> Good luck,
> Sean

On Sun, 2003-09-07 at 19:40, gregory mott wrote: 
> ty for answering,
> 
> i should have mentioned before, my previous experience with heavy dialup
> traffic has shown that round trip time for pings can be longer than 15
> seconds for sure, possibly longer than 30.  so i expect that i'm on the
> hunt for some timeout that is not waiting long enough.
> 
> also fetchmail exitcode=2 (socket error) means "An  error  was 
> encountered  when attempting to open a socket to retrieve mail."  so i
> suspect there's some timeout somewhere relevant to opening a connection.
> 
> so if anyone has an idea where to look..
> 
> tia,
> -greg

fwiw the following tweaks have made no difference:

  #  cd /proc/sys/net/ipv4
  #  echo 60   >| ipfrag_time
  #  echo 6000 >| inet_peer_maxttl
  #  echo 6000 >| inet_peer_minttl
  #  echo 0>| tcp_timestamps


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: increase timeout for fetchmail socket error (exitcode=2)?

2003-09-07 Thread gregory mott
ty for answering,

i should have mentioned before, my previous experience with heavy dialup
traffic has shown that round trip time for pings can be longer than 15
seconds for sure, possibly longer than 30.  so i expect that i'm on the
hunt for some timeout that is not waiting long enough.

also fetchmail exitcode=2 (socket error) means "An  error  was 
encountered  when attempting to open a socket to retrieve mail."  so i
suspect there's some timeout somewhere relevant to opening a connection.

so if anyone has an idea where to look..

tia,
-greg

On Fri, 2003-09-05 at 23:46, Sean Estabrooks wrote: 
> On 05 Sep 2003 12:32:15 +0100 gregory mott <[EMAIL PROTECTED]> wrote:
> > hi redhatters,
> > 
> > fetchmail has a parameter for timeout, but apparently that parameter
> > doesn't affect whatever timeout results in exitcode=2, socket error.
> > 
> > i bet the relevant timeout is in the kernel, not fetchmail?
> > 
> > this is happening alot when our dialup is busy with other things, like
> > rsync, or up2date, or other traffic between lan and internet..
> > 
> > any idea where to cast the tweaking eye?
> 
> Hi Gregory,
> 
> The default keepalive values will let a connection persist 
> for over 11 minutes without an answer.   If this is what is
> causing your disconnects you have some _serious_ 
> congestion.   Perhaps it's something else but you can 
> take a look at /proc/sys/net/ipv4/tcp_keepalive_*
> 
> Also, from the fetchmail FAQ:
> 
>Fetchmail is timing out during message fetches:
>  
>   
>This is probably a general networking issue. Sending a "RETR"
>command will cause the server to start sending large amounts of
>data, which means large packets. If your networking layer has a
>packet-fragmentation problem, that's where you'll see it.
> 
> It also recommends disabling tcp_timestamps if you see
> timeout problems:
> 
> echo 0 > /proc/sys/net/ipv4/tcp_timestamps
> 
> Good luck,
> Sean


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


fetchmail error

2003-09-07 Thread Soner OZYILDIZ
hi
I installed fetchmail but it reports an error code 2 or 7.
how I can solve the problem.
_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: increase timeout for fetchmail socket error (exitcode=2)?

2003-09-05 Thread Sean Estabrooks
On 05 Sep 2003 12:32:15 +0100
gregory mott <[EMAIL PROTECTED]> wrote:

> hi redhatters,
> 
> fetchmail has a parameter for timeout, but apparently that parameter
> doesn't affect whatever timeout results in exitcode=2, socket error.
> 
> i bet the relevant timeout is in the kernel, not fetchmail?
> 
> this is happening alot when our dialup is busy with other things, like
> rsync, or up2date, or other traffic between lan and internet..
> 
> any idea where to cast the tweaking eye?
> 

Hi Gregory,

The default keepalive values will let a connection persist 
for over 11 minutes without an answer.   If this is what is
causing your disconnects you have some _serious_ 
congestion.   Perhaps it's something else but you can 
take a look at /proc/sys/net/ipv4/tcp_keepalive_*

Also, from the fetchmail FAQ:

   Fetchmail is timing out during message fetches:
   

   This is probably a general networking issue. Sending a "RETR"
   command will cause the server to start sending large amounts of
   data, which means large packets. If your networking layer has a
   packet-fragmentation problem, that's where you'll see it.

It also recommends disabling tcp_timestamps if you see
timeout problems:

echo 0 > /proc/sys/net/ipv4/tcp_timestamps

Good luck,
Sean


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


increase timeout for fetchmail socket error (exitcode=2)?

2003-09-05 Thread gregory mott
hi redhatters,

fetchmail has a parameter for timeout, but apparently that parameter
doesn't affect whatever timeout results in exitcode=2, socket error.

i bet the relevant timeout is in the kernel, not fetchmail?

this is happening alot when our dialup is busy with other things, like
rsync, or up2date, or other traffic between lan and internet..

any idea where to cast the tweaking eye?

tia,
greg


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: adding fetchmail startup script

2003-08-28 Thread Marc Adler
* Michael Schwendt <[EMAIL PROTECTED]> [2003-08-28 10:20]:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On Thu, 28 Aug 2003 05:46:25 -0400, Juan Martinez wrote:
> 
> > > I can see that now! It has been running every minute, and filling my
> > > mailbox with notices! How do I get rid of the notification function?
> > > 
> > > MAILTO= didn't work.
> > 
> > Redirect the output to /dev/null  Cron uses /bin/sh as its shell so your
> > redirection would look like this "fetchmail >&/dev/null"  That redirects
> > stdout as well as stderr to /dev/null.  Read the man page for bash and
> > look for REDIRECTION for an explanation.
> 
> That way you would lose any error output from fetchmail which is most
> likely not what you would like. Instead, run fetchmail in daemon mode
> triggered from a cron job. That is, create a cron job that starts
> fetchmail in daemon mode once a day or several times a day to make
> sure that after a reboot your user's fetchmail daemon will be started
> again. For that cron job, feel free to redirect stdout/stderr to
> /dev/null. In daemon mode, fetchmail submits notification messages
> about major errors such as ongoing connection failures.

Actually, after playing around with the cron job approach, I went ahead
and installed the first replier's startup script, because I boot up my
computer several times a day sometimes (sometimes only once), but
always at different times, and the first thing I have to do when I boot
up is read my mail, so if my bootup time didn't coincide with the time
set in the cron job, I would have to start fetchmail manually anyway.
The startup script works beautifully, and I have fetchmail running as a
daemon through the fetchmailrc file.

Thanks for all the help, though.

-- 
Marc Adler


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: adding fetchmail startup script

2003-08-28 Thread Michael Schwendt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 28 Aug 2003 05:46:25 -0400, Juan Martinez wrote:

> > I can see that now! It has been running every minute, and filling my
> > mailbox with notices! How do I get rid of the notification function?
> > 
> > MAILTO= didn't work.
> 
> Redirect the output to /dev/null  Cron uses /bin/sh as its shell so your
> redirection would look like this "fetchmail >&/dev/null"  That redirects
> stdout as well as stderr to /dev/null.  Read the man page for bash and
> look for REDIRECTION for an explanation.

That way you would lose any error output from fetchmail which is most
likely not what you would like. Instead, run fetchmail in daemon mode
triggered from a cron job. That is, create a cron job that starts
fetchmail in daemon mode once a day or several times a day to make
sure that after a reboot your user's fetchmail daemon will be started
again. For that cron job, feel free to redirect stdout/stderr to
/dev/null. In daemon mode, fetchmail submits notification messages
about major errors such as ongoing connection failures.

- -- 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/TmPA0iMVcrivHFQRAqhxAJ9y9SjD+CfdOVt2j/Kssp7r4cfzKQCePQ9l
t1EHYalcDu+I+1DgZPXbrnU=
=cMyW
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: adding fetchmail startup script

2003-08-28 Thread Marc Adler
* Marc Adler <[EMAIL PROTECTED]> [2003-08-28 08:24]:
> * MKlinke <[EMAIL PROTECTED]> [2003-08-28 08:13]:
> > On Thursday 28 August 2003 03:28, Marc Adler wrote:
> > > * Bret Hughes <[EMAIL PROTECTED]> [2003-08-27 17:27]:
> > > > On Wed, 2003-08-27 at 22:11, Johnie Stafford wrote:
> > > > > On Wed, 2003-08-27 at 21:52, MKlinke wrote:
> > > > > > On Wednesday 27 August 2003 21:21, Marc Adler wrote:
> > >
> > > [snip shell script -- I'm too newbie for that...]
> > >
> >  
> > If you're interested in how this works, start with the manual and the 
> > section on services. This is a fairly decent discussion and will get 
> > you started:
> > 
> > http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/ch-services.html
> > 
> > Regards,  Mike Klinke
> 
> This was actually the solution I was looking for, but the discussion of
> chkconfig, the init.d directory, and run levels in the books I have is
> too cursory for me to have any confidence I would be doing it correctly.
> I'll check out the link, though. Thanks for the info!
> 

Just as a followup: I added the script (calling it fetchmail_startup) to
the init.d directory and then did "chkconfig --add fetchmail_startup". I
rebooted and presto! It works!

I can't believe it's so simple!

-- 
Marc Adler


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: adding fetchmail startup script

2003-08-28 Thread Marc Adler
* MKlinke <[EMAIL PROTECTED]> [2003-08-28 08:13]:
> On Thursday 28 August 2003 03:28, Marc Adler wrote:
> > * Bret Hughes <[EMAIL PROTECTED]> [2003-08-27 17:27]:
> > > On Wed, 2003-08-27 at 22:11, Johnie Stafford wrote:
> > > > On Wed, 2003-08-27 at 21:52, MKlinke wrote:
> > > > > On Wednesday 27 August 2003 21:21, Marc Adler wrote:
> >
> > [snip shell script -- I'm too newbie for that...]
> >
>  
> If you're interested in how this works, start with the manual and the 
> section on services. This is a fairly decent discussion and will get 
> you started:
> 
> http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/ch-services.html
> 
> Regards,  Mike Klinke

This was actually the solution I was looking for, but the discussion of
chkconfig, the init.d directory, and run levels in the books I have is
too cursory for me to have any confidence I would be doing it correctly.
I'll check out the link, though. Thanks for the info!

-- 
Marc Adler


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: adding fetchmail startup script

2003-08-28 Thread MKlinke
On Thursday 28 August 2003 03:28, Marc Adler wrote:
> * Bret Hughes <[EMAIL PROTECTED]> [2003-08-27 17:27]:
> > On Wed, 2003-08-27 at 22:11, Johnie Stafford wrote:
> > > On Wed, 2003-08-27 at 21:52, MKlinke wrote:
> > > > On Wednesday 27 August 2003 21:21, Marc Adler wrote:
>
> [snip shell script -- I'm too newbie for that...]
>
 
If you're interested in how this works, start with the manual and the 
section on services. This is a fairly decent discussion and will get 
you started:

http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/ch-services.html

Regards,  Mike Klinke


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: adding fetchmail startup script

2003-08-28 Thread Juan Martinez
On Thu, 2003-08-28 at 05:31, Marc Adler wrote:
> * Juan Martinez <[EMAIL PROTECTED]> [2003-08-27 22:51]:
> > On Thu, 2003-08-28 at 04:28, Marc Adler wrote:
> > 
> > This is no different than * * * * * (I.E. it will run every minute).  To
> > make it run every hour you must pick a time of the hour when you want it
> > to run (E.G. at half past the hour).  The corresponding time fields for
> > the crontab line would be: 30 * * * *
> 
> I can see that now! It has been running every minute, and filling my
> mailbox with notices! How do I get rid of the notification function?
> 
> MAILTO= didn't work.

Redirect the output to /dev/null  Cron uses /bin/sh as its shell so your
redirection would look like this "fetchmail >&/dev/null"  That redirects
stdout as well as stderr to /dev/null.  Read the man page for bash and
look for REDIRECTION for an explanation.

Juan
 
> > > Also, do I need to write out "/usr/bin/fetchmail" or will a simple
> > > "fetchmail" do?
> > 
> > "fetchmail" will do.
> >
> 
> Ok.
> 
> > > 
> > > And a final question: this should be done by using crontab -e to create
> > > the var/spool/cron/marc file, right?
> > 
> > That's right using "crontab -e" will let you edit the crontab.  It will
> > update timestamps on the crontab directory so cron will notice that
> > there have been changes made and reread any changed crontabs.  If you
> > didn't use "crontab -e" you would have to restart the daemon after
> > editing for the new changes to be picked up.
> >
> 
> Good. That's how I did it.
> 
> Thanks a lot!
> 
> -- 
> Marc Adler


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: adding fetchmail startup script

2003-08-28 Thread Marc Adler
* Juan Martinez <[EMAIL PROTECTED]> [2003-08-27 22:51]:
> On Thu, 2003-08-28 at 04:28, Marc Adler wrote:
> > * Bret Hughes <[EMAIL PROTECTED]> [2003-08-27 17:27]:
> > > On Wed, 2003-08-27 at 22:11, Johnie Stafford wrote:
> > > > On Wed, 2003-08-27 at 21:52, MKlinke wrote:
> > > > > On Wednesday 27 August 2003 21:21, Marc Adler wrote:
> > 
> 
> This is no different than * * * * * (I.E. it will run every minute).  To
> make it run every hour you must pick a time of the hour when you want it
> to run (E.G. at half past the hour).  The corresponding time fields for
> the crontab line would be: 30 * * * *

I can see that now! It has been running every minute, and filling my
mailbox with notices! How do I get rid of the notification function?

MAILTO= didn't work.

> 
> > Also, do I need to write out "/usr/bin/fetchmail" or will a simple
> > "fetchmail" do?
> 
> "fetchmail" will do.
>

Ok.

> > 
> > And a final question: this should be done by using crontab -e to create
> > the var/spool/cron/marc file, right?
> 
> That's right using "crontab -e" will let you edit the crontab.  It will
> update timestamps on the crontab directory so cron will notice that
> there have been changes made and reread any changed crontabs.  If you
> didn't use "crontab -e" you would have to restart the daemon after
> editing for the new changes to be picked up.
>

Good. That's how I did it.

Thanks a lot!

-- 
Marc Adler


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: adding fetchmail startup script

2003-08-28 Thread Juan Martinez
On Thu, 2003-08-28 at 04:28, Marc Adler wrote:
> * Bret Hughes <[EMAIL PROTECTED]> [2003-08-27 17:27]:
> > On Wed, 2003-08-27 at 22:11, Johnie Stafford wrote:
> > > On Wed, 2003-08-27 at 21:52, MKlinke wrote:
> > > > On Wednesday 27 August 2003 21:21, Marc Adler wrote:
> 
> [snip shell script -- I'm too newbie for that...]
> 
> > > 
> > > Another option is to have cron earn its keep. Add something like this to
> > > your crontab
> > > 
> > > */5 * * * * fetchmail >> /var/log/fetchmail.log
> > > 
> > 
> > sort of what I do.  I have a once a day fetchmail cronjob that runs in
> > the morning for my self.  we only have a few users that need this so it
> > is no big deal.  ~/.fetchmailrc has set daemon 300 as the first line so
> > it puts it in daemon mode if it is not running and tickles it if it is
> > already running.  It only runs once a day :
> > 
> > 0 7 * * * /usr/bin/fetchmail
> > 
> 
> So if I understand this properly, */5 means making it run every five
> minutes, but my ~/.fetchmailrc file is already set to fetch my mail
> every sixty seconds, so I don't need that, I assume. On the other hand,
> 0 7 * * * sets it to run at seven in the morning every day, right?  The
> problem is, I turn off my computer during the day sometimes, so if I
> want to have it run every hour, I'm assuming I should set it like this: 
> 
> * */1 * * *
> 

This is no different than * * * * * (I.E. it will run every minute).  To
make it run every hour you must pick a time of the hour when you want it
to run (E.G. at half past the hour).  The corresponding time fields for
the crontab line would be: 30 * * * *

> Also, do I need to write out "/usr/bin/fetchmail" or will a simple
> "fetchmail" do?

"fetchmail" will do.

> 
> And a final question: this should be done by using crontab -e to create
> the var/spool/cron/marc file, right?

That's right using "crontab -e" will let you edit the crontab.  It will
update timestamps on the crontab directory so cron will notice that
there have been changes made and reread any changed crontabs.  If you
didn't use "crontab -e" you would have to restart the daemon after
editing for the new changes to be picked up.


Juan

> 
> Thanks for your patience!
> -- 
> Marc Adler


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: adding fetchmail startup script

2003-08-28 Thread Marc Adler
* Bret Hughes <[EMAIL PROTECTED]> [2003-08-27 17:27]:
> On Wed, 2003-08-27 at 22:11, Johnie Stafford wrote:
> > On Wed, 2003-08-27 at 21:52, MKlinke wrote:
> > > On Wednesday 27 August 2003 21:21, Marc Adler wrote:

[snip shell script -- I'm too newbie for that...]

> > 
> > Another option is to have cron earn its keep. Add something like this to
> > your crontab
> > 
> > */5 * * * * fetchmail >> /var/log/fetchmail.log
> > 
> 
> sort of what I do.  I have a once a day fetchmail cronjob that runs in
> the morning for my self.  we only have a few users that need this so it
> is no big deal.  ~/.fetchmailrc has set daemon 300 as the first line so
> it puts it in daemon mode if it is not running and tickles it if it is
> already running.  It only runs once a day :
> 
> 0 7 * * * /usr/bin/fetchmail
> 

So if I understand this properly, */5 means making it run every five
minutes, but my ~/.fetchmailrc file is already set to fetch my mail
every sixty seconds, so I don't need that, I assume. On the other hand,
0 7 * * * sets it to run at seven in the morning every day, right?  The
problem is, I turn off my computer during the day sometimes, so if I
want to have it run every hour, I'm assuming I should set it like this: 

* */1 * * *

Also, do I need to write out "/usr/bin/fetchmail" or will a simple
"fetchmail" do?

And a final question: this should be done by using crontab -e to create
the var/spool/cron/marc file, right?

Thanks for your patience!
-- 
Marc Adler


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: adding fetchmail startup script

2003-08-28 Thread Bret Hughes
On Wed, 2003-08-27 at 22:11, Johnie Stafford wrote:
> On Wed, 2003-08-27 at 21:52, MKlinke wrote:
> > On Wednesday 27 August 2003 21:21, Marc Adler wrote:
> > > I want to have fetchmail start up automatically, because as it is I
> > > have to type "fetchmail" (twice for some reason) at the shell prompt
> > > before it goes and fetches my mail. I looked at some of the scripts
> > > in /etc/init.d, but couldn't figure out how to simply write one for
> > > fetchmail. Is there a simple way?  I tried serviceconf, but fetchmail
> > > wasn't in the list.
> > >
> > > Thanks,
> > 
> > 
> > Here's a script that works under RH9 for me.  It's set up as a daemon 
> > that runs every 900 seconds.  If you downloaded fetchmail in the 
> > tarball fashion it's a slight modification from the one found in the 
> > contrib directory...
> >  
> > 
> > #!/bin/sh
> > #
> > # fetchmail This shell script takes care of starting and stopping
> > #   fetchmail.
> > #
> > # chkconfig: 2345 81 45
> > # description: The Fetchmail daemons allows to retrieve mail using 
> > various
> > #  mail protocols and route them to the local MTA just as if
> > #  the mail was sent directly to the local MTA. This is
> > #  specially useful on intermittent dial-up connections.
> > # processname: fetchmail
> > # config: /etc/fetchmailrc
> > # author[s]:
> > #   Andrea Sterbini <[EMAIL PROTECTED]>
> > #   ObiTuarY <[EMAIL PROTECTED]>
> > 
> 
> 
> Another option is to have cron earn its keep. Add something like this to
> your crontab
> 
> */5 * * * * fetchmail >> /var/log/fetchmail.log
> 

sort of what I do.  I have a once a day fetchmail cronjob that runs in
the morning for my self.  we only have a few users that need this so it
is no big deal.  ~/.fetchmailrc has set daemon 300 as the first line so
it puts it in daemon mode if it is not running and tickles it if it is
already running.  It only runs once a day :

0 7 * * * /usr/bin/fetchmail

Bret


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: adding fetchmail startup script

2003-08-28 Thread Johnie Stafford
On Wed, 2003-08-27 at 21:52, MKlinke wrote:
> On Wednesday 27 August 2003 21:21, Marc Adler wrote:
> > I want to have fetchmail start up automatically, because as it is I
> > have to type "fetchmail" (twice for some reason) at the shell prompt
> > before it goes and fetches my mail. I looked at some of the scripts
> > in /etc/init.d, but couldn't figure out how to simply write one for
> > fetchmail. Is there a simple way?  I tried serviceconf, but fetchmail
> > wasn't in the list.
> >
> > Thanks,
> 
> 
> Here's a script that works under RH9 for me.  It's set up as a daemon 
> that runs every 900 seconds.  If you downloaded fetchmail in the 
> tarball fashion it's a slight modification from the one found in the 
> contrib directory...
>  
> 
> #!/bin/sh
> #
> # fetchmail This shell script takes care of starting and stopping
> #   fetchmail.
> #
> # chkconfig: 2345 81 45
> # description: The Fetchmail daemons allows to retrieve mail using 
> various
> #  mail protocols and route them to the local MTA just as if
> #  the mail was sent directly to the local MTA. This is
> #  specially useful on intermittent dial-up connections.
> # processname: fetchmail
> # config: /etc/fetchmailrc
> # author[s]:
> #   Andrea Sterbini <[EMAIL PROTECTED]>
> #   ObiTuarY <[EMAIL PROTECTED]>
> 


Another option is to have cron earn its keep. Add something like this to
your crontab

*/5 * * * * fetchmail >> /var/log/fetchmail.log


Johnie



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: adding fetchmail startup script

2003-08-28 Thread MKlinke
On Wednesday 27 August 2003 21:21, Marc Adler wrote:
> I want to have fetchmail start up automatically, because as it is I
> have to type "fetchmail" (twice for some reason) at the shell prompt
> before it goes and fetches my mail. I looked at some of the scripts
> in /etc/init.d, but couldn't figure out how to simply write one for
> fetchmail. Is there a simple way?  I tried serviceconf, but fetchmail
> wasn't in the list.
>
> Thanks,


Here's a script that works under RH9 for me.  It's set up as a daemon 
that runs every 900 seconds.  If you downloaded fetchmail in the 
tarball fashion it's a slight modification from the one found in the 
contrib directory...
 

#!/bin/sh
#
# fetchmail This shell script takes care of starting and stopping
#   fetchmail.
#
# chkconfig: 2345 81 45
# description: The Fetchmail daemons allows to retrieve mail using 
various
#  mail protocols and route them to the local MTA just as if
#  the mail was sent directly to the local MTA. This is
#  specially useful on intermittent dial-up connections.
# processname: fetchmail
# config: /etc/fetchmailrc
# author[s]:
#   Andrea Sterbini <[EMAIL PROTECTED]>
#   ObiTuarY <[EMAIL PROTECTED]>

. /etc/rc.d/init.d/functions

# Source networking configuration.
. /etc/sysconfig/network

# Check that networking is up.
if [ ${NETWORKING} = "no" ]
then
exit 0
fi 

# See how we were called.
case "$1" in
  start)
if [ -s /etc/fetchmailrc ]; then
echo -n "Loading fetchmail: "
/usr/local/bin/fetchmail -d 900 -f /etc/fetchmailrc
echo
touch /var/lock/subsys/fetchmail
    else
    exit 1
fi
;;
  stop) 
    echo -n "Shutting down fetchmail: "
/usr/bin/fetchmail -q >/dev/null 2>&1 && echo fetchmail
killproc fetchmail
rm -f /var/lock/subsys/fetchmail
;;
  status)
    status fetchmail
;;
  restart|reload)
$0 stop
$0 start
;; 
*)
echo "Usage: fetchmail {start|stop|status|restart|reload}"
exit 1
esac

exit 0

# === End of File ===


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


adding fetchmail startup script

2003-08-28 Thread Marc Adler
I want to have fetchmail start up automatically, because as it is I have
to type "fetchmail" (twice for some reason) at the shell prompt before
it goes and fetches my mail. I looked at some of the scripts in
/etc/init.d, but couldn't figure out how to simply write one for
fetchmail. Is there a simple way?  I tried serviceconf, but fetchmail
wasn't in the list.

Thanks,
-- 
Marc Adler


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


mailing list not working in fetchmail

2003-08-01 Thread nlimbu



Hi all, 


I'm using fetchmail-6.2.2 with sendmail-8.12.5-7 on RH-8 platform as an 
offline dialup mail server. My /etc/.fetchmailrc is as follows: 


set syslog 
set postmaster "root" 
set bouncemail 
set showdots 
set properties "" 
poll 202.52.255.47 with proto POP3 and options no dns 
localdomains hnetbutwal.org.np  
user 'username' there with password 'xx' is * here 
fetchall  
warnings 3600  
antispam 571 550 501 554 


Subscribed Mailing list (eg [EMAIL PROTECTED]) doesn't reach to user's mailbox 
but goes to postmaster i.e. root's mailbox. Do I have to do anything more inorder to 
solve this problem. 




With Regards 
Nabin Limbu 




Re: Cron/Fetchmail mail

2003-06-30 Thread Edward Dekkers
gregory mott wrote:

i think fetchmail is silent to stdout/err when you tell it to log to
syslog instead.  fwiw i also run it as daemon instead of relaunching it
all the time.
Thanks for all replies - Steve,Alexey and Gregory.

When you said that a light went up (back in 1991 at university I did 
actually learn the intricacies of stdin, stdout, and stderr). It makes 
complete sense. Amazing what you forget when you don't use things for 12 
years. I'm getting old.

As for re-launching, I've always done it that way. I'm still of the 
belief the less I leave running constantly (even if it's only a small 
service like fetchmail), the more resources available, and less chance 
of problems.

Besides, when I have something running, I prefer not to touch it, 
because I'm very good at breaking things. :)

Thanks all.

Regards,
Ed.


--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: Cron/Fetchmail mail

2003-06-30 Thread gregory mott
On Mon, 2003-06-30 at 12:02, Cowles, Steve wrote:
> > From: Edward Dekkers
> > Sent: Monday, June 30, 2003 4:41 AM
> > 
> > I have put in a crontab:
> > */30*   *   *   *   /usr/bin/fetchmail > /dev/null
> > 
> > This works great unless there are errors, then they are mailed to the 
> > crontab owner.
> > 
> > Can they be suppressed completely? Even when there's an error?
> 
> I would think fetchmail is outputting any errors to stderr. The above
> crontab entry is only redirecting stdout, not stdout and stderr.
> 
> Try: */30 * * * * /usr/bin/fetchmail >/dev/null 2>&1

i think fetchmail is silent to stdout/err when you tell it to log to
syslog instead.  fwiw i also run it as daemon instead of relaunching it
all the time.


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Cron/Fetchmail mail

2003-06-30 Thread Alexey Fadyushin
Most probably the errors are outputted to the stderr file descriptor
while
the usual messages are outputted to the stdout descriptor. You have
redirected to
/dev/null the stdout only. To suppress error messages you need to add
the redirection for stderr. The crontab entry shold be as follows

*/30*   *   *   *   /usr/bin/fetchmail > /dev/null
2> /dev/null

Alexey Fadyushin
Brainbench MVP for Linux
http://www.brainbench.com


Edward Dekkers wrote:
> 
> This should be simple, but I'm not sure what to search on with google
> (whatever I tried was irrelevant to my situation).
> 
> I have put in a crontab:
> 
> */30*   *   *   *   /usr/bin/fetchmail > /dev/null
> 
> This works great unless there are errors, then they are mailed to the
> crontab owner.
> 
> Can they be suppressed completely? Even when there's an error?
> 
> Regards,
> Ed.
> 
> --
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: Cron/Fetchmail mail

2003-06-30 Thread Cowles, Steve
> -Original Message-
> From: Edward Dekkers
> Sent: Monday, June 30, 2003 4:41 AM
> Subject: Cron/Fetchmail mail 
> 
> 
> This should be simple, but I'm not sure what to search on with google 
> (whatever I tried was irrelevant to my situation).
> 
> I have put in a crontab:
> 
> */30  *   *   *   *   /usr/bin/fetchmail > /dev/null
> 
> This works great unless there are errors, then they are mailed to the 
> crontab owner.
> 
> Can they be suppressed completely? Even when there's an error?

I would think fetchmail is outputting any errors to stderr. The above
crontab entry is only redirecting stdout, not stdout and stderr.

Try: */30 * * * *   /usr/bin/fetchmail >/dev/null 2>&1

Steve Cowles


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Cron/Fetchmail mail

2003-06-30 Thread Edward Dekkers
This should be simple, but I'm not sure what to search on with google 
(whatever I tried was irrelevant to my situation).

I have put in a crontab:

*/30	*	*	*	*	/usr/bin/fetchmail > /dev/null

This works great unless there are errors, then they are mailed to the 
crontab owner.

Can they be suppressed completely? Even when there's an error?

Regards,
Ed.


--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Fetchmail, daemon or cron?

2003-06-10 Thread Jon Haugsand
* Daniel A. Chartrand

> QUESTION: In Redhat 9, is there a Daemon that automatically checks for mail or
> do i need to do a Cron job?

Here is my ~/.fetchmailrc file:

set daemon 30 
poll OSLOMAIL2 protocol imap username "nbjhh1" keep stripcr

It checks every 30 seconds.

(Remove keep, it you don't like backups at the imap server.)
-- 
 Jon Haugsand, [EMAIL PROTECTED]
 http://www.norges-bank.no


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: fetchmail and sendmail

2003-06-07 Thread Anthony E. Greene
On 07-Jun-2003/14:25 +0530, [EMAIL PROTECTED] wrote:
>I am using fetchmail and sendmail as a dialup mailserver.  I have
>configured sendmail to operate in queued Delivery mode. So whenever any
>users connect to my server and send mail, then their mails are first
>queued and then sent when connection is made. But this option has also
>resulted that all the mails downloaded by fetchmail are also put in
>/var/spool/mqueue. Is there any option to send mail directly to their
>mailbox when fetchmail downloads mails from pop server.

Use the "mda" option in fetchmail to specify procmail as the local
delivery agent.

Tony
-- 
Anthony E. Greene <mailto:[EMAIL PROTECTED]>
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
AOL/Yahoo Messenger: TonyG05HomePage: <http://www.pobox.com/~agreene/>
Linux. The choice of a GNU generation <http://www.linux.org/>


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: fetchmail and sendmail

2003-06-07 Thread Jiann-Ming Su
On Sat, 7 Jun 2003 [EMAIL PROTECTED] wrote:

> 
> I am using fetchmail and sendmail as a dialup mailserver.  I have
> configured sendmail to operate in queued Delivery mode. So whenever any
> users connect to my server and send mail, then their mails are first
> queued and then sent when connection is made. But this option has also
> resulted that all the mails downloaded by fetchmail are also put in
> /var/spool/mqueue. Is there any option to send mail directly to their
> mailbox when fetchmail downloads mails from pop server.
> 

Have the users use procmail as well.  

-- 
Jiann-Ming Su  [EMAIL PROTECTED]  404-712-2603
Development Team Systems Administrator
General Libraries Systems Division


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


fetchmail and sendmail

2003-06-07 Thread nlimbu
Hi all,

I am using fetchmail and sendmail as a dialup mailserver.  I have
configured sendmail to operate in queued Delivery mode. So whenever any
users connect to my server and send mail, then their mails are first
queued and then sent when connection is made. But this option has also
resulted that all the mails downloaded by fetchmail are also put in
/var/spool/mqueue. Is there any option to send mail directly to their
mailbox when fetchmail downloads mails from pop server.

With Regards
Nabin Limbu


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: fetchmail

2003-06-06 Thread Michael Schwendt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 06 Jun 2003 19:55:56 +0530, [EMAIL PROTECTED] wrote:

> When fetchmail downloads message from pop server it queus mail in 
> /var/spool/mqueue instead of sending to local mailboxes. I have defined my domain 
> as localdomains in fetchamilrc also.
> 
> What might be the problem?

Consult /var/log/maillog.

Alternatively, if you think you'll never run out of disk space,
you can add

mda "/usr/bin/procmail -t -f -"

to your pop account options in $HOME/.fetchmailrc -- that will
deliver retrieved messages directly via procmail. Note, though, that
with that method there is not way for messages to be bounced or put
back into a queue in case there are fatal errors (such as out of
disk space or permission denied).

- -- 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+4OGz0iMVcrivHFQRAnj+AJ9M7/jhj9BTF8xKPP6ALaOj5EXuiQCePtta
Tjx7fQGJG5PLA5DQoExPpX4=
=NEkd
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Fetchmail, daemon or cron?

2003-06-06 Thread MKlinke
On Friday 06 June 2003 17:42, Daniel A. Chartrand wrote:
> I have created a /home/someuser/.fetchmailrc file.
>
> QUESTION: In Redhat 9, is there a Daemon that automatically checks
> for mail or do i need to do a Cron job?
>
> I would like the mail to be checked every few minutes. If there is a
> Daemon for fetchmail that accomplishes what i need, how can i verify
> that it is working and what is the interval of checks? If not, what
> are some best practices for Cron?
>
> Thanks.

'man fetchmail' and search for 'DAEMON MODE' as there's quite a lot 
there.  I've used it in my setup and it seems to work very well with my 
relatively small needs.

Regards,  Mike Klinke


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: Fetchmail, daemon or cron?

2003-06-06 Thread Richard Humphrey
use fetchmail -d  and you can use
ps -auxw | grep fetchmail to see if the process is running.

i.e. fetchmail -d 60 will ch3eck every 60 seconds


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Daniel A. Chartrand
Sent: Friday, June 06, 2003 11:43 AM
To: [EMAIL PROTECTED]
Subject: Fetchmail, daemon or cron?


I have created a /home/someuser/.fetchmailrc file.

QUESTION: In Redhat 9, is there a Daemon that automatically checks for
mail or
do i need to do a Cron job?

I would like the mail to be checked every few minutes. If there is a
Daemon for
fetchmail that accomplishes what i need, how can i verify that it is
working and
what is the interval of checks? If not, what are some best practices for
Cron?

Thanks.


--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Fetchmail, daemon or cron?

2003-06-06 Thread Joseph A Nagy Jr
Daniel A. Chartrand wrote:
I have created a /home/someuser/.fetchmailrc file.

QUESTION: In Redhat 9, is there a Daemon that automatically checks for mail or
do i need to do a Cron job?
I would like the mail to be checked every few minutes. If there is a Daemon for
fetchmail that accomplishes what i need, how can i verify that it is working and
what is the interval of checks? If not, what are some best practices for Cron?
Thanks.


Check out 'fetchmailconf', you can set up everything there. Or, if you 
want to just edit the fetchmail.rc file, read 'man fetchmail'. Also, to 
check to see if it's running, try 'ps -ef | grep fetchmail'

--
Wielder of the mighty +1 LARTsaber of Unsubscribe Instructions At End of 
Message,
the +3 Clue-by-Four of No Attachments to a Mailing List,
and the -4 Shield of No Spell Checker

--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Fetchmail, daemon or cron?

2003-06-06 Thread Daniel A. Chartrand
I have created a /home/someuser/.fetchmailrc file.

QUESTION: In Redhat 9, is there a Daemon that automatically checks for mail or
do i need to do a Cron job?

I would like the mail to be checked every few minutes. If there is a Daemon for
fetchmail that accomplishes what i need, how can i verify that it is working and
what is the interval of checks? If not, what are some best practices for Cron?

Thanks.


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: fetchmail

2003-06-06 Thread Richard Humphrey
Did you tell fetchmail what user to send the mail to in your
.fetchmailrc?

something like this?

username  password  is 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Friday, June 06, 2003 9:26 AM
To: [EMAIL PROTECTED]
Subject: fetchmail


Hi all,
When fetchmail downloads message from pop server it queus mail in
/var/spool/mqueue instead of sending to local mailboxes. I have defined
my domain
as localdomains in fetchamilrc also.

What might be the problem?


With Regards
Nabin Limbu


--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


fetchmail

2003-06-06 Thread nlimbu
Hi all,
When fetchmail downloads message from pop server it queus mail in 
/var/spool/mqueue instead of sending to local mailboxes. I have defined my domain 
as localdomains in fetchamilrc also.

What might be the problem?


With Regards
Nabin Limbu


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Problems wiht FETCHMAIL on RH mail server

2003-02-17 Thread Stephen Kuhn
I set up an RH 7.3 box with FETCHMAIL/PROCMAIL/SENDMAIL/IMAP and SAMBA
for a file server/mail server for a client. The client accesses the
internet via ADSL on a Win2k box that "shares" the connection with the
rest of the internal network. The machines on the "internal" network
have the basic 192.168.0.0 addressing set. No problems there. The
problem is, though, that when using fetchmail, I'm consistently stuck
getting an errorcode of 7 - fetchmail timeout waiting for response from
the server. I've changed the timeout values, I've changed the batch size
limit, and just about everything else, but still get the constant
timeout error code.

Is there any way around this, or is it possibly a problem with the ISP
from whence the mail originates?

I've used this same setup for several other sites, but have not hit a
wall like this until now.

Any nice words are appreciated.

-- 
Tue, 18 Feb 2003 09:15:00 +1100
  9:15am  up 18:11,  5 users,  load average: 0.38, 1.82, 1.69
--
|____  | kuhn media australia|
|   / ,, /| |'-.   | http://kma.0catch.com   |
|  .\__/ || |   |  |=|
|   _ /  `._ \|_|_.-'  | stephen kuhn|
|  | /  \__.`=._) (_   |  email: [EMAIL PROTECTED] |
|  |/ ._/  |"""""""""| |  email: [EMAIL PROTECTED]|
|  |'.  `\ | | |icq: 5483808 |
|  ;"""/ / | | | |
|  smk  ) /_/| |.---.| | mobile: 0410-728-389|
|  '  `-`' " " | Berkeley, New South Wales, AU   |
--
 linux user:267497 * RH 7.3 * PC/Mac/Linux/Networking/Consulting
--

I recognize terror as the finest emotion and so I will try to terrorize the
reader.  But if I find that I cannot terrify, I will try to horrify, and if
I find that I cannot horrify, I'll go for the gross-out.
-- Stephen King
-- 
Tue, 18 Feb 2003 09:20:00 +1100
  9:20am  up 18:16,  5 users,  load average: 0.17, 0.77, 1.26
--
|____  | kuhn media australia|
|   / ,, /| |'-.   | http://kma.0catch.com   |
|  .\__/ || |   |  |=|
|   _ /  `._ \|_|_.-'  | stephen kuhn|
|  | /  \__.`=._) (_   |  email: [EMAIL PROTECTED] |
|  |/ ._/  |"""""""""| |  email: [EMAIL PROTECTED]|
|  |'.  `\ | | |icq: 5483808 |
|  ;"""/ / | | | |
|  smk  ) /_/| |.---.| | mobile: 0410-728-389|
|  '  `-`' " " | Berkeley, New South Wales, AU   |
--
 linux user:267497 * RH 8.0 * PC/Mac/Linux/Networking/Consulting
--

Do not do unto others as you would they should do unto you.  Their tastes
may not be the same.
-- George Bernard Shaw



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Fetchmail and system-wide configuration

2003-02-11 Thread Jeffrey Tadlock
On Wed, Feb 12, 2003 at 05:27:13AM +1100, Stephen Kuhn wrote:
> > Awuku Danso wrote:
> > Hi all
> > I'm currently running fetchmail as a user with a .fetchmailrc from the user's home 
>directory and it seems to work fine. What I really do want is to run it as a service 
>or daemon at boot time without any user intervention i.e without logging in to the 
>machine at all. In effect I want the fetchmailrc file to be system-wide. 
> 
> Wouldn't it be better to put it back as say /root/.fetchmailrc and then
> run the cron job as "root" ? Then it would be able to read the
> /root/.fecthmailrc file and distribute to the other users mboxes?

FWIW, this is how I set fetchmail up when I had it running for
multiple users.  Just ran the job as root and had my .fetchmailrc
in /root/.  Worked very well for me.

/jft



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Fetchmail and system-wide configuration

2003-02-11 Thread Stephen Kuhn
On Tue, 2003-02-11 at 20:40, Awuku Danso wrote:
> Hi all
> I'm currently running fetchmail as a user with a .fetchmailrc from the user's home 
>directory and it seems to work fine. What I really do want is to run it as a service 
>or daemon at boot time without any user intervention i.e without logging in to the 
>machine at all. In effect I want the fetchmailrc file to be system-wide. 
> 
> So  I made a copy of the .fetchmailrc file and placed it in the /etc directory 
>(/etc/fetchmailrc) and  later run fetchmail with the -d option from 
>/etc/rc.d/rc.local. But this hasn't worked even though in principle I think it 
>should. It seems to me that I'm missing a few tricks and that I'm not too far away 
>from  getting it right. Does anyone know if this is possible and has anyone tried it? 
>Any tricks or tips from anyone would be very much appreciated.
> 
> Awuku Danso  
> 

Wouldn't it be better to put it back as say /root/.fetchmailrc and then
run the cron job as "root" ? Then it would be able to read the
/root/.fecthmailrc file and distribute to the other users mboxes?

-- 
OzIT Support * http://www.ozitsupport.com.au

Stephen Kuhn | Help Desk Professional

Australia's Premier Computer Specialists
Call us at: 1-902-225-000




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Fetchmail and system-wide configuration

2003-02-11 Thread mklinke
Awuku,

I use a startup script in /etc/init.d as follows:
--
#!/bin/sh
#
# fetchmail Script to up/down mail retrieval daemon
#
# chkconfig: 345 82 30
# description: fetchmail is a mail retrieval and forwarding utility; it 
\
#   fetches mail from remote mailservers and forwards to your \
#   local (client) machine's delivery system.
#
# Source function library.
. /etc/rc.d/init.d/functions

# Source networking configuration
. /etc/sysconfig/network

# Check that networking is up
[ ${NETWORKING} = "no" ] && exit 0

# See how we were called.
case "$1" in
  start)
    echo -n "Starting fetchmail: "
daemon /usr/bin/fetchmail --daemon 900 --syslog \
   --fetchmailrc /etc/fetchmailrc
echo
    ;;
  stop)
echo -n "Stopping fetchmail: "
killproc fetchmail
    echo
;;
  status)
status fetchmail
;;
  restart|reload)
$0 stop
$0 start
;;

  *)
echo "Usage: fetchmail.init {start|stop|status|restart|reload}"
exit 1
esac
-

and have the /etc/fetchmailrc similar to:

-

# Configuration created Fri Nov  1 09:22:48 2002 by fetchmailconf
set postmaster "root"
set syslog
set properties ""

poll  with proto POP3
user  there with password  is  here options fetchall 

poll  with proto IMAP 
user ' there with password  is  here options 
fetchall

--

and this setup works well for me.

Regards, Mike Klinke 




On Tuesday 11 February 2003 09:40, Awuku Danso wrote:
> Hi all
> I'm currently running fetchmail as a user with a .fetchmailrc from
> the user's home directory and it seems to work fine. What I really do
> want is to run it as a service or daemon at boot time without any
> user intervention i.e without logging in to the machine at all. In
> effect I want the fetchmailrc file to be system-wide.
>
> So  I made a copy of the .fetchmailrc file and placed it in the /etc
> directory (/etc/fetchmailrc) and  later run fetchmail with the -d
> option from /etc/rc.d/rc.local. But this hasn't worked even though in
> principle I think it should. It seems to me that I'm missing a few
> tricks and that I'm not too far away from  getting it right. Does
> anyone know if this is possible and has anyone tried it? Any tricks
> or tips from anyone would be very much appreciated.
 



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Fetchmail and system-wide configuration

2003-02-11 Thread Awuku Danso
Hi all
I'm currently running fetchmail as a user with a .fetchmailrc from the user's home 
directory and it seems to work fine. What I really do want is to run it as a service 
or daemon at boot time without any user intervention i.e without logging in to the 
machine at all. In effect I want the fetchmailrc file to be system-wide. 

So  I made a copy of the .fetchmailrc file and placed it in the /etc directory 
(/etc/fetchmailrc) and  later run fetchmail with the -d option from 
/etc/rc.d/rc.local. But this hasn't worked even though in principle I think it should. 
It seems to me that I'm missing a few tricks and that I'm not too far away from  
getting it right. Does anyone know if this is possible and has anyone tried it? Any 
tricks or tips from anyone would be very much appreciated.



Awuku Danso  

"Humanity is perched on a dangerous precipice
from which a fatal miscalculation could bring
mankind to the brink of annihilation"
--Dr. Kwame Nkrumah-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Fetchmail

2003-02-04 Thread irwin
If your computer is on 7/24, maybe your ISP will send all mail directly to 
you without being stored in a mailbox on his computer.  Then your RH can be 
the mail server and eliminate the need for fetchmail.   That's the way mine 
works.

Irwin

On Tuesday 04 February 2003 07:25 am, you wrote:
> Hi Edward,
>
> I've called the ISP and they say there are no problems on their end and I
> should have mentioned that I can download the mail fine if I point Outlook
> directly at the ISP.
>
> It seems to be only certain messages that give errors (I can't find a
> pattern though), when I clear them, the rest of the mail goes through.
> Lately I get about 4 bad messages a week and fetchmail stops working when
> it hits one until I manually clear it.
>
> Is there a way even to get fetchmail to continue fetching despite these
> errors?
>
>
> Thanks,
>
> Brian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



RE: Fetchmail

2003-02-04 Thread Brian James
Hi Edward,

I've called the ISP and they say there are no problems on their end and I
should have mentioned that I can download the mail fine if I point Outlook
directly at the ISP.

It seems to be only certain messages that give errors (I can't find a
pattern though), when I clear them, the rest of the mail goes through.
Lately I get about 4 bad messages a week and fetchmail stops working when it
hits one until I manually clear it.

Is there a way even to get fetchmail to continue fetching despite these
errors?


Thanks,

Brian

-Original Message-
From: Edward Dekkers [mailto:[EMAIL PROTECTED]] 
Sent: Monday, February 03, 2003 6:15 PM
To: [EMAIL PROTECTED]
Subject: Re: Fetchmail


> (By the way it's worked fine for about a year now, and as far as I 
> know nothing has changed recently.
>
> fetchmail: POP3> TOP 1 
> fetchmail: POP3< +OK
> reading message [EMAIL PROTECTED]:1 
> <mailto:[EMAIL PROTECTED]:1>  of 35 (36049 octets) 
> #***.***[dit dash dot]**** flushed
> fetchmail: POP3> DELE 1
> fetchmail: socket error while fetching from some.server.com
>
>
> Thanks,
> ___
> Brian James

Brian, if nothing has changed, you may wanna give you ISP a call? See if
anything's changed on that end?

Regards,

---
Edward Dekkers (Director)
Triple D Computer Services P/L




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Fetchmail problem with demand dailing

2003-02-04 Thread Michael Schwendt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03 Feb 2003 11:54:56 -0600, Rodolfo J. Paiz wrote:

> > Just curious, is this a case where
> > 
> >   echo "2" > /proc/sys/net/ipv4/ip_dynaddr
> > 
> > or
> > 
> >   sysctl -w net.ipv4.ip_dynaddr=2
> > 
> > (and a corresponding entry in /etc/sysctl.conf) would help?
> 
> For the benefit of the peanut gallery, what would those do?

This is documented in the kernel docs.

- -- 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+P8Vt0iMVcrivHFQRAsZvAJ9baC80bxgUvgen5rC3NZla5gO8iwCdEaX6
FuGwf4QrqUcdR3+020pCk/k=
=Am7h
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Fetchmail

2003-02-03 Thread Edward Dekkers
> (By the way it's worked fine for about a year now, and as far as I know
> nothing has changed recently.
>
> fetchmail: POP3> TOP 1 
> fetchmail: POP3< +OK
> reading message [EMAIL PROTECTED]:1
> <mailto:[EMAIL PROTECTED]:1>  of 35 (36049 octets)
> #***.***[dit dash dot] flushed
> fetchmail: POP3> DELE 1
> fetchmail: socket error while fetching from some.server.com
>
>
> Thanks,
> ___
> Brian James

Brian, if nothing has changed, you may wanna give you ISP a call? See if
anything's changed on that end?

Regards,

---
Edward Dekkers (Director)
Triple D Computer Services P/L




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Fetchmail problem with demand dailing

2003-02-03 Thread Edward Dekkers
> I assume you mean the the ‐‐timeout  setting?

Ahh. Sorry, you didn't explain you'd already seen/tried that.

> appreciate this setting in regards to my problem. The default setting is
> 300 sec. Given that my connection time is < 60 sec (haven't timed it,
> but definitely less than 300), then I 'm not sure altering this will
> help.
>
> My idle time on dial on demand is also 300sec, but as I mentioned actual
> time to bring the connection up is much less.
>
> Since my post I have found on the fetchmail page a comment that pppd on
> demand doesn't always play well with fetchmail (refer below).
>
> "H1. Fetchmail hangs when used with pppd.
>
> Your problem may be with pppd's `demand' option. We have a report that
> fetchmail doesn't play well with it, but works with pppd if `demand' is
> turned off. We have no idea why this is."
>
> Appreciate if you can provide any further direction.

This is NOT true on my system. It's always worked fine. See the other post
on the ip_dyn_addr thingo, though, as I now think that the poster of that
may be spot on. I have that option turned on in my firewall I just noticed.
I must have done that for a reason eons ago.

Regards,

---
Edward Dekkers (Director)
Triple D Computer Services P/L




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Fetchmail problem with demand dailing

2003-02-03 Thread Edward Dekkers
> On Mon, 2003-02-03 at 04:15, Michael Schwendt wrote:
> > Just curious, is this a case where
> >
> >   echo "2" > /proc/sys/net/ipv4/ip_dynaddr
> >
> > or
> >
> >   sysctl -w net.ipv4.ip_dynaddr=2
> >
> > (and a corresponding entry in /etc/sysctl.conf) would help?
>
> For the benefit of the peanut gallery, what would those do?

>From memory, which fails more and more every day, I think it allows the
kernel to route packets from addresses which change dynamically. For example
ppp dial-on-demand usually pick arbitrary addresses while not connected to
the ISP. Lets say 10.0.0.1 for argument's sake. A request goes out for a
HTML page for example. The packet waits to go out, while the system dials.
BUT!!! When the system has connected, the DHCP server at the ISP end gives
your system another (true internet) address. I think what the thingo above
does is re-write the headers of the packets waiting to go out to the new
source address, so that when they do go out, they can be routed back
properly when the request is filled.

I think.

Maybe.

:)

All I know is on my dial-up, I've always had to have this option.

Regards,

---
Edward Dekkers (Director)
Triple D Computer Services P/L




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Fetchmail

2003-02-03 Thread Brian James
Title: Message



Hi,
 
When I run fetchmail 
I get the following type of socket error after the DELE 1 on the first 
message then it quits.
Can anyone help me 
out?
 
(By the way it's 
worked fine for about a year now, and as far as I know nothing has changed 
recently.
fetchmail: POP3> TOP 1 fetchmail: POP3< 
+OKreading message [EMAIL PROTECTED]:1 
of 35 (36049 octets)#***.***[dit dash dot] 
flushedfetchmail: POP3> DELE 1fetchmail: socket error while fetching 
from some.server.com
 
 
Thanks,

___ 
Brian James
Senior Systems 
Administrator
Alpine Environmental 
Ltd.
Office:(403) 
717-8744
Mobile:(403) 
710-0951


Re: Fetchmail problem with demand dailing

2003-02-03 Thread Rodolfo J. Paiz
On Mon, 2003-02-03 at 04:15, Michael Schwendt wrote:
> Just curious, is this a case where
> 
>   echo "2" > /proc/sys/net/ipv4/ip_dynaddr
> 
> or
> 
>   sysctl -w net.ipv4.ip_dynaddr=2
> 
> (and a corresponding entry in /etc/sysctl.conf) would help?

For the benefit of the peanut gallery, what would those do?

-- 
Rodolfo J. Paiz
[EMAIL PROTECTED]




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Fetchmail problem with demand dailing

2003-02-03 Thread Michael Schwendt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 31 Jan 2003 23:35:33 +1300, Roland Hill wrote:

> I have started getting the following error in the fetchmail log:
> 
> fetchmail: Query status=2 (SOCKET)
> 
> The consequence is that mail is not retrieved for my home network.
> 
> My modem is configured to demand dial (via wvdial) and I usually start
> fetchmail with fetchmail -d 7200.
> 
> I have read the man pages and it appears that fetchmail "times out"
> while waiting for my ISP to be connected and the DNS resolved. It
> assumes that the POP server does not exist.
> 
> If the connection is already up, then fetchmail works as intended.
> 
> My suspicion is that resolving my ISP's DNS is taking a little longer
> due to my primary DNS pointing to my DNS cache and my secondary DNS
> pointing to my ISP. This slight delay appears to hang fetchmail. I have
> had fetchmail working perfectly and the implementation of DNS cache is
> the only thing I can think of that I have configured recently that may
> cause a problem.
> 
> As a new user I would appreciate any ideas on how I could solve this
> problem. Can fetchmail be "told" to wait longer before hanging?

Just curious, is this a case where

  echo "2" > /proc/sys/net/ipv4/ip_dynaddr

or

  sysctl -w net.ipv4.ip_dynaddr=2

(and a corresponding entry in /etc/sysctl.conf) would help?

- -- 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+PkEq0iMVcrivHFQRAsjlAJ475NnawtDLehmzy1whe5jcLerXRACfYuQN
Abs50PTp6yywyWHDPZFPpGs=
=xdlN
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Fetchmail problem with demand dailing

2003-02-03 Thread Roland Hill
Edward/List,

>Yes, it can. I didn't know this until I just had a look at the manual
>pages.

I assume you mean the the ‐‐timeout  setting? 

>Because you're a new user, I'll assume you've never used the man pages
>before.

Well, I know better than that having observed this List for 6 months and
made a couple of postings (thanks for going easy on me). I just didn't
appreciate this setting in regards to my problem. The default setting is
300 sec. Given that my connection time is < 60 sec (haven't timed it,
but definitely less than 300), then I 'm not sure altering this will
help.

My idle time on dial on demand is also 300sec, but as I mentioned actual
time to bring the connection up is much less.

Since my post I have found on the fetchmail page a comment that pppd on
demand doesn't always play well with fetchmail (refer below).

"H1. Fetchmail hangs when used with pppd.

Your problem may be with pppd's `demand' option. We have a report that
fetchmail doesn't play well with it, but works with pppd if `demand' is
turned off. We have no idea why this is."

Appreciate if you can provide any further direction.

Regards,

Roland Hill




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Fetchmail problem with demand dailing

2003-02-02 Thread Edward Dekkers
> As a new user I would appreciate any ideas on how I could solve this
> problem. Can fetchmail be "told" to wait longer before hanging?
>
> Regards,
>
> Roland Hill

Yes, it can. I didn't know this until I just had a look at the manual pages.

Because you're a new user, I'll assume you've never used the man pages
before.

To find out what you need above, use:

'man fetchmail'

Regards,

---
Edward Dekkers (Director)
Triple D Computer Services P/L




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Fetchmail problem with demand dailing

2003-01-31 Thread Roland Hill
Hello List,

I have started getting the following error in the fetchmail log:

fetchmail: Query status=2 (SOCKET)

The consequence is that mail is not retrieved for my home network.

My modem is configured to demand dial (via wvdial) and I usually start
fetchmail with fetchmail -d 7200.

I have read the man pages and it appears that fetchmail "times out"
while waiting for my ISP to be connected and the DNS resolved. It
assumes that the POP server does not exist.

If the connection is already up, then fetchmail works as intended.

My suspicion is that resolving my ISP's DNS is taking a little longer
due to my primary DNS pointing to my DNS cache and my secondary DNS
pointing to my ISP. This slight delay appears to hang fetchmail. I have
had fetchmail working perfectly and the implementation of DNS cache is
the only thing I can think of that I have configured recently that may
cause a problem.

As a new user I would appreciate any ideas on how I could solve this
problem. Can fetchmail be "told" to wait longer before hanging?

Regards,

Roland Hill



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Sendmail Configuration with fetchmail

2003-01-23 Thread Dave Young

> >
> > Is there anyway to tell sendmail to allow mail from paticular hosts
> > regardless of the DNS failure orno.
>


in /etc/mail/sendmail.mc

FEATURE(`accept_unresolvable_domains')dnl

then:

m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf

then:

/etc/init.d/sendmail restart



--Dave





-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Sendmail Configuration with fetchmail

2003-01-23 Thread Edward Dekkers
> I am attempting to use fetchmail, to collect mail on my RH8 machine, from
an
> internal machine that does not have a public IP address.
>
> My RH box is refusing the mail because sendmail can not verify the
domain -
> unsurprising, as the domain name does not really exist.
>
> Is there anyway to tell sendmail to allow mail from paticular hosts
> regardless of the DNS failure orno.

Not sure whather this will work, but have you tried putting that machine in
/etc/mail/access?

Regards,

---
Edward Dekkers (Director)
Triple D Computer Services P/L




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Sendmail Configuration with fetchmail

2003-01-23 Thread Andy Kirk
I am attempting to use fetchmail, to collect mail on my RH8 machine, from an
internal machine that does not have a public IP address.

My RH box is refusing the mail because sendmail can not verify the domain -
unsurprising, as the domain name does not really exist.

Is there anyway to tell sendmail to allow mail from paticular hosts
regardless of the DNS failure orno.

Thanks



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Fetchmail, Sendmail and multiple usernames

2003-01-06 Thread mklinke
Awuku,

While I've never used the multidrop syntax, there is an example in the 
"man fetchmail"  listing.  Do a search for "mult-drop" and it should 
plop you right there.

Regards,  Mike Klinke


On Monday 06 January 2003 11:34, Awuku Danso wrote:
> Thanks to all and Eddie is right. There is only one user with one
> password at the ISP end; and this user may have as many email
> addresses as possible. So what I have done is created email addresses
> with the names of users on my local network. The whole picture looks
> like this:
>
> My username at the ISP: USERATISP and the password is ISPPASSWORD.
> E-mail addresses  : [EMAIL PROTECTED]
>
> : [EMAIL PROTECTED]
> : [EMAIL PROTECTED]
>
> Please note that localuser1,2,3 do not exist on the ISP's system and
> all mail  get dropped in to one mailbox at the ISP end. What would a
> typical fetchmailrc in multi-drop mode look like?.
>
> Awuku
>
 



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Fetchmail, Sendmail and multiple usernames

2003-01-06 Thread Awuku Danso
Thanks to all and Eddie is right. There is only one user with one password at the ISP 
end; and this user may have as many email addresses as possible. So what I have done 
is created email addresses with the names of users on my local network. The whole 
picture looks like this:

My username at the ISP: USERATISP and the password is ISPPASSWORD.
E-mail addresses  : [EMAIL PROTECTED] 
: [EMAIL PROTECTED] 
: [EMAIL PROTECTED] 

Please note that localuser1,2,3 do not exist on the ISP's system and all mail  get 
dropped in to one mailbox at the ISP end. What would a typical fetchmailrc in 
multi-drop mode look like?.

Awuku

>>> [EMAIL PROTECTED] 27/12/02 13:32:45 >>>
> Depending on your needed options (man fetchmail) a set of fetchmail
> entries in your fetchmailrc configuration file might be.
>
> -
>
> poll  with proto POP3
> user 'user1' there with password 'user1_password' is 'user10' here
> options fetchall

Uhm, if I understand the question properly, then what he wants to do is
distribute mail locally to individual users who may all get dropped into the
same mailbox at the ISP side?

If so, running fetchmail in multi-drop mode is what we use here, and may be
all he need.

Otherwise, I've misunderstood the question, you are correct and the above is
the only way to do it.

---
Edward Dekkers (Director)
Triple D Computer Services P/L







-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Fetchmail, Sendmail and multiple usernames

2002-12-29 Thread Tim Kehres
Hello,

Actually it *is* guaranteed to misdeliver mail - the first time you get a
message where the recipient list does not match the contents of the headers.
See my original message for the details of why this is the case.  When they
match, the approach will work, however if your mail comes in with not all
the "To:" or "Cc:" fields set as you would expect, you will have
misdelivery.  These cases are common with messages sent to distribution
lists, auto forwarded, bcc'd, etc.

Please remember that the original poster was trying to deliver from a single
remote pop3 account to multiple local pop3 accounts.   This is the problem.
When you've got a 1:1 match between remote and local accounts, this approach
should work without any problems, as the issue of trying to analyze message
headers to induce a recipient list goes away.

Best Regards,

Tim Kehres
International Messaging Associates
http://www.ima.com


- Original Message -
From: "Edward Dekkers" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, December 29, 2002 11:50 AM
Subject: Re: Fetchmail, Sendmail and multiple usernames


> > I'm not sure how simple or difficult it is to do this with sendmail,
> however
> > the approach is guaranteed to misdeliver mail.   The reason is that when
> > Internet mail is in transit - it is sent with two components - the
message
> > content (what you see with your client plus 822 message headers), and
the
> > message envelope.  The contents of the 822 header (To:, Cc:, Subject:,
etc
> > fields) ARE NOT necessarily the same as the message envelope.   The
> message
>
> As I said before, the poster's set up is exactly the same as mine. We use
> fetchmail in multidrop mode to deliver locally to each individual user
here.
> It sounds like you know a lot more about mail , headers, etc. etc. etc.
then
> I do, however be careful saying things like 'guaranteed to misdeliver
mail'.
>
> The set up he's describing CAN and DOES work just fine. I've been running
is
> since RHL 5.2.
>
> To the original poster: Read up on fetchmail in multi-drop mode. I've read
> all the warnings people have given about using this mode over the years,
but
> here, it just works. Certainly worth a try.
>
> ---
> Edward Dekkers (Director)
> Triple D Computer Services P/L



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Fetchmail, Sendmail and multiple usernames

2002-12-28 Thread Edward Dekkers
> I'm not sure how simple or difficult it is to do this with sendmail,
however
> the approach is guaranteed to misdeliver mail.   The reason is that when
> Internet mail is in transit - it is sent with two components - the message
> content (what you see with your client plus 822 message headers), and the
> message envelope.  The contents of the 822 header (To:, Cc:, Subject:, etc
> fields) ARE NOT necessarily the same as the message envelope.   The
message

As I said before, the poster's set up is exactly the same as mine. We use
fetchmail in multidrop mode to deliver locally to each individual user here.
It sounds like you know a lot more about mail , headers, etc. etc. etc. then
I do, however be careful saying things like 'guaranteed to misdeliver mail'.

The set up he's describing CAN and DOES work just fine. I've been running is
since RHL 5.2.

To the original poster: Read up on fetchmail in multi-drop mode. I've read
all the warnings people have given about using this mode over the years, but
here, it just works. Certainly worth a try.

---
Edward Dekkers (Director)
Triple D Computer Services P/L




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Fetchmail, Sendmail and multiple usernames

2002-12-28 Thread Tim Kehres
Awuku,

I'm not sure how simple or difficult it is to do this with sendmail, however
the approach is guaranteed to misdeliver mail.   The reason is that when
Internet mail is in transit - it is sent with two components - the message
content (what you see with your client plus 822 message headers), and the
message envelope.  The contents of the 822 header (To:, Cc:, Subject:, etc
fields) ARE NOT necessarily the same as the message envelope.   The message
envelope, sometimes also referred to as the "recipient list", contains the
addresses to which a message is to be delivered to, independent of the
header fields.  The contents of this list can and often do change as a
message is in transit between the originator and eventual recipients of the
message.  For instance, Bcc'd recipients do not show up in the headers, but
do in the recipient list.  Messages that get forwarded (through .forward
files or equivalent), or resubmitted (distribution lists) normally don't
touch the message headers, however only modify the recipient list.

When messages undergo final delivery, the recipient list, or envelope
information is lost.   This is what you need in order to determine what
mailbox or mailboxes to sort mail to.  A simple example - let's say I send a
message to only this list - you will only see a To: of
[EMAIL PROTECTED] header field, regardless of who it was delivered to.
How do you intend to route this?   There is no way to automate this.  Let's
say your boss sends out a confidential message, and blind copies you.   Your
address will not show up in any of the headers.   How do you intend to
deliver this?   Get it wrong and all of a sudden your co-workers have a copy
of a message that was supposed to be confidential and for your eyes only.

There are several ways in which to properly configure systems which are not
perminantly connected to the Internet (or who are connected utilizing
dynamically assigned IP addresses) so that mail servers will work properly.
Some of these include the use of dynamic IP service providers, message
queuing at your provider with ETRN capabile servers at your location, Batch
SMTP (BSMTP), and a few others.

A more detailed description of this problem, with diagrams can be found in
our Principles of Operation manual
(http://www.ima.com/pdf/iems/v6/principles.pdf) on page 45.  The section
that describes addressing and the problems with POP3 sorting of mail is
generic and not specific to our products, as well as how one such approach
(BSMTP) can be used.

Best Regards,

Tim Kehres
International Messaging Associates
http://www.ima.com


- Original Message -
From: "Awuku Danso" <[EMAIL PROTECTED]>
To: "kehres" <[EMAIL PROTECTED]>; "redhat-list" <[EMAIL PROTECTED]>
Sent: Saturday, December 28, 2002 4:55 AM
Subject: Re: Fetchmail, Sendmail and multiple usernames


> Thanks for your response. All mail on the ISP side, irrespective of the
username, is delivered to a single mailbox. But there must be a way to tell
sendmail after it's received it from fetchmail, to deliver to the various
recipients as per the "TO" FIELD
>
> Awuku
>
> >>> Tim Kehres <[EMAIL PROTECTED]> 12/27/02 09:43 AM >>>
> Hello,
>
> How many mailboxes do you have with the ISP?   In other words - is mail
for
> each user account described being delivered to a DIFFERENT mailbox on the
> ISP, or are they all being delivered to a single mailbox?   For this to
work
> properly, each user should have mail delivered to unique mailboxes on the
> ISP side.
>
> Best Regards,
>
> Tim Kehres
> International Messaging Associates
> http://www.ima.com
>
>
>
> - Original Message -
> From: "Awuku Danso" <[EMAIL PROTECTED]>
> To: "redhat-list" <[EMAIL PROTECTED]>
> Sent: Tuesday, December 24, 2002 3:26 AM
> Subject: Fetchmail, Sendmail and multiple usernames
>
>
> > Hi all
> > I want to configure fetchmail to POP mail for all my users from my ISP
to
> my local mail server running sendmail. At the moment it fetches the mail
and
> delivers  everything to one user but what I really want is for each user's
> mail to be delivered to their mailbox on the mail server. For example mail
> fetched from the ISP as
> >
> > [EMAIL PROTECTED]
> > [EMAIL PROTECTED]
> > [EMAIL PROTECTED]
> >
> > is all dumped into the mailbox of user2 on the local mail server on my
> internal server. BUt what I really want is mail fetched as
> >  [EMAIL PROTECTED] to be deliverd to user1 on my local mail server,
> and that for [EMAIL PROTECTED] to user 2 and so on.
> >
> > I only have one account with the ISP but can have as many usernames as I
> want for mail as long as the part aftr the @ symbol is not changed.
> >
> > Any ideas how I can do this?
> >
> > Awuku
>
>
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/redhat-list
>
>



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Fetchmail, Sendmail and multiple usernames

2002-12-27 Thread Awuku Danso
Thanks for your response. All mail on the ISP side, irrespective of the username, is 
delivered to a single mailbox. But there must be a way to tell  sendmail after it's 
received it from fetchmail, to deliver to the various recipients as per the "TO" FIELD

Awuku

>>> Tim Kehres <[EMAIL PROTECTED]> 12/27/02 09:43 AM >>>
Hello,

How many mailboxes do you have with the ISP?   In other words - is mail for
each user account described being delivered to a DIFFERENT mailbox on the
ISP, or are they all being delivered to a single mailbox?   For this to work
properly, each user should have mail delivered to unique mailboxes on the
ISP side.

Best Regards,

Tim Kehres
International Messaging Associates
http://www.ima.com



- Original Message -
From: "Awuku Danso" <[EMAIL PROTECTED]>
To: "redhat-list" <[EMAIL PROTECTED]>
Sent: Tuesday, December 24, 2002 3:26 AM
Subject: Fetchmail, Sendmail and multiple usernames


> Hi all
> I want to configure fetchmail to POP mail for all my users from my ISP to
my local mail server running sendmail. At the moment it fetches the mail and
delivers  everything to one user but what I really want is for each user's
mail to be delivered to their mailbox on the mail server. For example mail
fetched from the ISP as
>
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
> is all dumped into the mailbox of user2 on the local mail server on my
internal server. BUt what I really want is mail fetched as
>  [EMAIL PROTECTED] to be deliverd to user1 on my local mail server,
and that for [EMAIL PROTECTED] to user 2 and so on.
>
> I only have one account with the ISP but can have as many usernames as I
want for mail as long as the part aftr the @ symbol is not changed.
>
> Any ideas how I can do this?
>
> Awuku




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Fetchmail, Sendmail and multiple usernames

2002-12-27 Thread Edward Dekkers
> Depending on your needed options (man fetchmail) a set of fetchmail
> entries in your fetchmailrc configuration file might be.
>
> -
>
> poll  with proto POP3
> user 'user1' there with password 'user1_password' is 'user10' here
> options fetchall

Uhm, if I understand the question properly, then what he wants to do is
distribute mail locally to individual users who may all get dropped into the
same mailbox at the ISP side?

If so, running fetchmail in multi-drop mode is what we use here, and may be
all he need.

Otherwise, I've misunderstood the question, you are correct and the above is
the only way to do it.

---
Edward Dekkers (Director)
Triple D Computer Services P/L




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: sendmail, fetchmail

2002-12-26 Thread Anthony E. Greene
On 25-Dec-2002/18:52 -0500, "Albert A. Ogonevskij" <[EMAIL PROTECTED]> wrote:
>hi there!
>on my RedHat 7.3 i have sendmail+fetchmail+procmail.
>
>i've dicided to use ssmtp instead of sendmail
>
>muttrc : set sendmail="/usr/sbin/ssmtp"
>
>everything works fine.
>But after uninstalling sendmail fetchmail dunno works
>i've found such thing in maillog:

By default, fetchmail delivers by making an SMTP connection to localhost.
If there is no SMTP server running on localhost, then fetchmail will fail.
You removed the SMTP server when you uninstalled sendmail.

You can tell fetchmail to skip the SMTP attempt and deliver directly to
procmail. My ~/.fetchmailrc looks like this:

defaults protocol POP3 fetchall nokeep mda "procmail -d $LOGNAME"
poll mail.isp1.com   username MyUsername1   password MyPassword1
poll mail.isp2.net   username MyUsername2   password MyPassword2


Tony
-- 
Anthony E. Greene <mailto:[EMAIL PROTECTED]%3E>
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
AOL/Yahoo Messenger: TonyG05HomePage: <http://www.pobox.com/~agreene/>
Linux. The choice of a GNU generation <http://www.linux.org/>



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



sendmail, fetchmail

2002-12-25 Thread Albert A. Ogonevskij
hi there!
on my RedHat 7.3 i have sendmail+fetchmail+procmail.

i've dicided to use ssmtp instead of sendmail

muttrc : set sendmail="/usr/sbin/ssmtp"

everything works fine.
But after uninstalling sendmail fetchmail dunno works
i've found such thing in maillog:

Dec 24 16:14:05 abyss procmail[1381]: Unknown user "myusername"

Any ideas?


Thanx
Albert








-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Fetchmail, Sendmail and multiple usernames

2002-12-24 Thread mklinke
Awuku,

Depending on your needed options (man fetchmail) a set of fetchmail 
entries in your fetchmailrc configuration file might be.

-
 
poll  with proto POP3
user 'user1' there with password 'user1_password' is 'user10' here 
options fetchall 

poll  with proto POP3
user 'user2' there with password 'user2_password' is 'user11' here 
options fetchall 
 
poll  with proto POP3
user 'user3' there with password 'user3_password' is 'user12' here 
options fetchall 

etc.
-

Fill in the user?? and user?_password entries as required.

Regards, Mike Klinke
 

On Monday 23 December 2002 19:26, Awuku Danso wrote:
> Hi all
> I want to configure fetchmail to POP mail for all my users from my
> ISP to my local mail server running sendmail. At the moment it
> fetches the mail and delivers  everything to one user but what I
> really want is for each user's mail to be delivered to their mailbox
> on the mail server. For example mail fetched from the ISP as
>
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
> is all dumped into the mailbox of user2 on the local mail server on
> my internal server. BUt what I really want is mail fetched as
> [EMAIL PROTECTED] to be deliverd to user1 on my local mail
> server, and that for [EMAIL PROTECTED] to user 2 and so on.
>
> I only have one account with the ISP but can have as many usernames
> as I want for mail as long as the part after the @ symbol is not
> changed.
>
> Any ideas how I can do this?
>
> Awuku



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Fetchmail, Sendmail and multiple usernames

2002-12-24 Thread Tim Kehres
Hello,

How many mailboxes do you have with the ISP?   In other words - is mail for
each user account described being delivered to a DIFFERENT mailbox on the
ISP, or are they all being delivered to a single mailbox?   For this to work
properly, each user should have mail delivered to unique mailboxes on the
ISP side.

Best Regards,

Tim Kehres
International Messaging Associates
http://www.ima.com



- Original Message -
From: "Awuku Danso" <[EMAIL PROTECTED]>
To: "redhat-list" <[EMAIL PROTECTED]>
Sent: Tuesday, December 24, 2002 3:26 AM
Subject: Fetchmail, Sendmail and multiple usernames


> Hi all
> I want to configure fetchmail to POP mail for all my users from my ISP to
my local mail server running sendmail. At the moment it fetches the mail and
delivers  everything to one user but what I really want is for each user's
mail to be delivered to their mailbox on the mail server. For example mail
fetched from the ISP as
>
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
> is all dumped into the mailbox of user2 on the local mail server on my
internal server. BUt what I really want is mail fetched as
>  [EMAIL PROTECTED] to be deliverd to user1 on my local mail server,
and that for [EMAIL PROTECTED] to user 2 and so on.
>
> I only have one account with the ISP but can have as many usernames as I
want for mail as long as the part after the @ symbol is not changed.
>
> Any ideas how I can do this?
>
> Awuku



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Fetchmail, Sendmail and multiple usernames

2002-12-24 Thread Rupendra Singh
> Hi all
> I want to configure fetchmail to POP mail for all my users from my ISP to
my local mail server running sendmail. At the moment it fetches the mail and
delivers  everything to one user but what I really want is for each user's
mail to be delivered to their mailbox on the mail server. For example mail
fetched from the ISP as
>
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
> is all dumped into the mailbox of user2 on the local mail server on my
internal server. BUt what I really want is mail fetched as
>  [EMAIL PROTECTED] to be deliverd to user1 on my local mail server,
and that for [EMAIL PROTECTED] to user 2 and so on.
>
> I only have one account with the ISP but can have as many usernames as I
want for mail as long as the part after the @ symbol is not changed.
>
> Any ideas how I can do this?

check out:

http://www.tldp.org/HOWTO/mini/Offline-Mailing.html

--
Rupendra Singh



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Fetchmail, Sendmail and multiple usernames

2002-12-24 Thread Awuku Danso
Hi all
I want to configure fetchmail to POP mail for all my users from my ISP to my local 
mail server running sendmail. At the moment it fetches the mail and delivers  
everything to one user but what I really want is for each user's mail to be delivered 
to their mailbox on the mail server. For example mail fetched from the ISP as 

[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

is all dumped into the mailbox of user2 on the local mail server on my internal 
server. BUt what I really want is mail fetched as
 [EMAIL PROTECTED] to be deliverd to user1 on my local mail server, and that for 
[EMAIL PROTECTED] to user 2 and so on.

I only have one account with the ISP but can have as many usernames as I want for mail 
as long as the part after the @ symbol is not changed.

Any ideas how I can do this?

Awuku



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Fetchmail and Fetchmailconf

2002-12-10 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 10 December 2002 09:05 am, Awuku Danso wrote:
> Hi all
> Does any anyone know where I can get a fetchmailconf rpm that will work
> with the version of fetchmail (5.9.0-20.i386) that comes with RedHat
> 8.0?  I got hold of  Fetchmailconf-5.9.0-20.i386.rpm which happens to
> have the same version number as the mail program itself but it wouldn't
> run after installation. It comes up with the following error message:
>
>"Fetchmailconf-5.9.0-20 requires fetchmail-5.9.0-20"
>
> even though the latter is installed. I've also tried to update
> fetchmail to 5.9.0-21, downloaded from the RH site but still no joy.
> Any ideas about what to do to get fetchmailconf to work would be very
> much appreciated.

http://www.tuxfan.homeip.net:8080/rpms/fetchmailconf-5.9.0-21.i386.rpm

You will have to upgrade fetchmail to 5.9.0-21

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE99mgjn/07WoAb/SsRApf2AJ90xzEtusftcI27wRGM+xZK51DbpQCgsYDz
aP0hpDeprcLNDBxkRLkGeVw=
=si96
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Fetchmail and Fetchmailconf

2002-12-10 Thread Awuku Danso
Hi all
Does any anyone know where I can get a fetchmailconf rpm that will work with the 
version of fetchmail (5.9.0-20.i386)
that comes with RedHat 8.0?  I got hold of  Fetchmailconf-5.9.0-20.i386.rpm which 
happens to have the same version number as the mail program itself but it wouldn't run 
after installation. It comes up with the following error message:

   "Fetchmailconf-5.9.0-20 requires fetchmail-5.9.0-20"

even though the latter is installed. I've also tried to update fetchmail to 5.9.0-21, 
downloaded from the RH site but still no joy. Any ideas about what to do to get 
fetchmailconf to work would be very much appreciated.

Awuku



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: fetchmail

2002-11-25 Thread Anthony E. Greene
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 25-Nov-2002/15:41 -0600, "Simpson, Doug" <[EMAIL PROTECTED]> wrote:
>I going to try and configure Fetchmail for 5 different people and their
>POP3 accounts.  I have fetchmail on my server and Postfix.  The Postfix
>is configured but the Fetchmail is not.  First will Fetchmail and Postfix
>play together.

Yes. Fetchmail defaults to deliving mail via SMTP to localhost:25. Any
local SMTP daemon will work. You also have the option of telling
fetchmail to deliver to the local Mail Delivery Agent (MDA) which is
usually procmail.

>  I cannot find anything in English on the Web about this.
>Second, do I have to change anything in my Postfix config?

No.

Tony
- -- 
Anthony E. Greene <mailto:[EMAIL PROTECTED]%3E>
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
AOL/Yahoo Messenger: TonyG05HomePage: <http://www.pobox.com/~agreene/>
Linux. The choice of a GNU generation <http://www.linux.org/>

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Anthony E. Greene <mailto:[EMAIL PROTECTED]> 0x6C94239D

iD8DBQE94xxIpCpg3WyUI50RAijCAKCBxS3nPXoguxtohladzAT6R3/amgCgoFbR
Ti+iLiho51jiuTaJlJhlBKc=
=ZAeV
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



fetchmail

2002-11-25 Thread Simpson, Doug
I going to try and configure Fetchmail for 5 different people and their POP3
accounts.  I have fetchmail on my server and Postfix.  The Postfix is
configured but the Fetchmail is not.  First will Fetchmail and Postfix play
together.  I cannot find anything in English on the Web about this.  Second,
do I have to change anything in my Postfix config?  Third, is anyone know of
a good HOWTO on Fetchmail.
Thanks,
Doug



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: fetchmail error not understood

2002-11-11 Thread dbrett
Hi Ed

Sorry for not including all the searching and look ups we had done.  We
had searched Microsoft and the internet.

All the things mentioned in what you kindly sent and what we had found
were checked.  This was the reason for my query.

david

On Mon, 11 Nov 2002, Ed Wilts wrote:

> On Mon, Nov 11, 2002 at 12:15:52PM -0500, dbrett wrote:
> > I have been getting my mail from the companies email server (microsoft
> > exchange) for long time with fetchmail.  This morning I ran fetchmail and
> > pulled off 100+ messages without any problem.  An hour later I tried again
> > and got the following error:
> > 
> > fetchmail: IMAP< * OK Microsoft Exchange IMAP4rev1 server version
> > 5.5.2653.23 (to-mail.minacs.com) ready
> > fetchmail: IMAP> A0001 CAPABILITY
> > fetchmail: IMAP< * CAPABILITY IMAP4 IMAP4rev1 IDLE LITERAL+
> > LOGIN-REFERRALS MAILBOX-REFERRALS NAMESPACE AUTH=NTLM
> > fetchmail: IMAP< A0001 OK CAPABILITY completed.
> > fetchmail: IMAP> A0002 LOGIN "dbrett" "*"
> > fetchmail: IMAP< A0002 NO  A required privilege is not held by the client.
> 
> I found the answer in about 5 seconds by using a Google search string of
> "exchange A required privilege is not held by the client".
> 
> http://support.microsoft.com/default.aspx?scid=KB;en-us;q189732
> 
> Bottom line - it's not a Linux issue - it's a server issue.
> 
> > I spent a lot of time on the phone with the exchange support people.  The
> > say nothing has changed on the email server ( I believe them).  I have not
> > made any changes on my computer.  My computer is running rh7.3.
> 
> Your Exchange support people should have been able to troubleshoot this.
> After all, I found the answer in the *first* knowledge base search I
> tried, and I've never managed an Exchange server.  Just select Exchange
> 5.5 as the product and type in the error message you got as a search
> string.  Even an MCSE should have been able to figure that one out :-)
> 
> Here's the full results of the search:
> 
>http://search.support.microsoft.com/search/default.aspx?Catalog=LCID%3D1033%26CDID%3DEN-US-KB%26PRODLISTSRC%3DON&withinResults=&QuerySource=gsfxAdvancedSearch_Query&Product=ech&Queryc=A+required+privilege+is+not+held+by+the+client&Query=A+required+privilege+is+not+held+by+the+client&KeywordType=ALL&maxResults=25&Titles=false&numDays=
> 
> .../Ed
> -- 
> Ed Wilts, Mounds View, MN, USA
> mailto:ewilts@;ewilts.org
> Member #1, Red Hat Community Ambassador Program
> 
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: fetchmail error not understood

2002-11-11 Thread Ed Wilts
On Mon, Nov 11, 2002 at 12:15:52PM -0500, dbrett wrote:
> I have been getting my mail from the companies email server (microsoft
> exchange) for long time with fetchmail.  This morning I ran fetchmail and
> pulled off 100+ messages without any problem.  An hour later I tried again
> and got the following error:
> 
> fetchmail: IMAP< * OK Microsoft Exchange IMAP4rev1 server version
> 5.5.2653.23 (to-mail.minacs.com) ready
> fetchmail: IMAP> A0001 CAPABILITY
> fetchmail: IMAP< * CAPABILITY IMAP4 IMAP4rev1 IDLE LITERAL+
> LOGIN-REFERRALS MAILBOX-REFERRALS NAMESPACE AUTH=NTLM
> fetchmail: IMAP< A0001 OK CAPABILITY completed.
> fetchmail: IMAP> A0002 LOGIN "dbrett" "*"
> fetchmail: IMAP< A0002 NO  A required privilege is not held by the client.

I found the answer in about 5 seconds by using a Google search string of
"exchange A required privilege is not held by the client".

http://support.microsoft.com/default.aspx?scid=KB;en-us;q189732

Bottom line - it's not a Linux issue - it's a server issue.

> I spent a lot of time on the phone with the exchange support people.  The
> say nothing has changed on the email server ( I believe them).  I have not
> made any changes on my computer.  My computer is running rh7.3.

Your Exchange support people should have been able to troubleshoot this.
After all, I found the answer in the *first* knowledge base search I
tried, and I've never managed an Exchange server.  Just select Exchange
5.5 as the product and type in the error message you got as a search
string.  Even an MCSE should have been able to figure that one out :-)

Here's the full results of the search:
http://search.support.microsoft.com/search/default.aspx?Catalog=LCID%3D1033%26CDID%3DEN-US-KB%26PRODLISTSRC%3DON&withinResults=&QuerySource=gsfxAdvancedSearch_Query&Product=ech&Queryc=A+required+privilege+is+not+held+by+the+client&Query=A+required+privilege+is+not+held+by+the+client&KeywordType=ALL&maxResults=25&Titles=false&numDays=

.../Ed
-- 
Ed Wilts, Mounds View, MN, USA
mailto:ewilts@;ewilts.org
Member #1, Red Hat Community Ambassador Program



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



fetchmail error not understood

2002-11-11 Thread dbrett
I have been getting my mail from the companies email server (microsoft
exchange) for long time with fetchmail.  This morning I ran fetchmail and
pulled off 100+ messages without any problem.  An hour later I tried again
and got the following error:

fetchmail: IMAP< * OK Microsoft Exchange IMAP4rev1 server version
5.5.2653.23 (to-mail.minacs.com) ready
fetchmail: IMAP> A0001 CAPABILITY
fetchmail: IMAP< * CAPABILITY IMAP4 IMAP4rev1 IDLE LITERAL+
LOGIN-REFERRALS MAILBOX-REFERRALS NAMESPACE AUTH=NTLM
fetchmail: IMAP< A0001 OK CAPABILITY completed.
fetchmail: IMAP> A0002 LOGIN "dbrett" "*"
fetchmail: IMAP< A0002 NO  A required privilege is not held by the client.
fetchmail: IMAP> A0003 *
fetchmail: Authorization failure on dbrett
fetchmail: IMAP> A0004 LOGOUT
fetchmail: IMAP< A0003 BAD Protocol Error: "Unknown command found"
fetchmail: IMAP< * BYE Microsoft Exchange IMAP4rev1 server version
5.5.2653.23 signing off
fetchmail: IMAP< A0004 OK LOGOUT completed.
fetchmail: Query status=3 (AUTHFAIL)
fetchmail: normal termination, status 

I spent a lot of time on the phone with the exchange support people.  The
say nothing has changed on the email server ( I believe them).  I have not
made any changes on my computer.  My computer is running rh7.3.

Does anybody have idea where to find the answer to what is happening?

david



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: unflushed -- fetchmail error

2002-10-23 Thread Michael Schwendt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, 23 Oct 2002 09:01:23 -0700, Daniel Goldin wrote:

> I cancelled a mail-run midway as I had no more space on my disk. Now
> I cannot fetch my first twenty messages. Instead I get an error:
> 
>   skipping message 20 (2390 octets) not flushed
> 
> Can anybody explain this phenomenon to a nonprogrammer such as myself?
> And how do I retrieve these messages?

They are marked as "read" (old). Run:

$ fetchmail --all

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE9ttCz0iMVcrivHFQRAqXbAKCBBY73GGWG3Y8hIzTvdjzkUiX42QCfafk3
hmDTIMl6maryjGvGJNEWowI=
=6N86
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



unflushed -- fetchmail error

2002-10-23 Thread Daniel Goldin
I cancelled a mail-run midway as I had no more space on my disk. Now
I cannot fetch my first twenty messages. Instead I get an error:

  skipping message 20 (2390 octets) not flushed

Can anybody explain this phenomenon to a nonprogrammer such as myself?
And how do I retrieve these messages?

Thanks for any help.


-- 
Daniel Goldin
323.225.1926
[EMAIL PROTECTED]



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: fetchmail vulnerability

2002-10-10 Thread Edward Dekkers

> How do I know if I'm using fetchmail.  I dont' think I am but am not
> sure.

If your're not sure, you don't need it.

'rpm -q fetchmail' will tell you if it's installed.

'rpm -e ' will uninstall it.

---
Edward Dekkers (Director)
Triple D Computer Services P/L



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: fetchmail vulnerability

2002-10-09 Thread Anthony E. Greene

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09-Oct-2002/09:46 -0500, "scott.list" <[EMAIL PROTECTED]> wrote:
>How do I know if I'm using fetchmail.  I dont' think I am but am not
>sure.

Fetchmail is generally started by the user issuing the command, or adding
the command to a script. It is not run by the system, or automatically
configured by any software that I know of.

  --Tony

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Anthony E. Greene 0x6C94239D <[EMAIL PROTECTED]>

iD8DBQE9pIkTpCpg3WyUI50RArI5AKDMLvWCpeKncerBx+LitwIr85F/vQCgzZad
vI+zqn6xycbjSYWDx/e99g8=
=N6KX
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



fetchmail vulnerability

2002-10-09 Thread scott.list

How do I know if I'm using fetchmail.  I dont' think I am but am not
sure.

Thanks!





-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



fetchmail (sendmail?) question

2002-09-12 Thread Edward Dekkers

Something that has been bothering me for a while but never got around to.

We grab all our mail from our ISP using fetchmail to distribute it to local
users. However, when an e-mails domain does not resolve, fetchmail warns me
of this but doesn't flush the message, with as a result that every time
fetchmail runs, the message stays on the server and there's a log entry for
it.

What is the easiest way to tell fetchmail (or is this done via sendmail or
procmail?), to simply send the non-resolving message to the bit bucket? All
of the ones I've seen are spam anyway. For now I use our ISP's webmail
server to delete the message, but it's something I shouldn't need to do.

TIA

--
Edward Dekkers (Director)
Triple D Computer Services Pty. Ltd.




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Fetchmail

2002-07-10 Thread Anthony E. Greene

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10-Jul-2002/17:31 -0300, Marcelo <[EMAIL PROTECTED]> wrote:
>
>> On Wed, 2002-07-03 at 18:31, Marcelo wrote:
>> > Hi, I'm getting a problem using fetchmail with linuxconf in Red Hat 7.2.
>The system hangs while configuring fetchmail in linuxconf and, when I try to
>reboot, the system hangs in "Configuring Linuxconf hooks". So, if I disable
>the module fetchmail in linuxconf, the system returns to its normal
>operation. Did anyone had a problem like this ? Is this a problem of
>fetchmail ?

No, this is a problem with Linuxconf.

Tony
- -- 
Anthony E. Greene <mailto:[EMAIL PROTECTED]>
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
AOL/Yahoo Messenger: TonyG05HomePage: <http://www.pobox.com/~agreene/>
Linux. The choice of a GNU generation <http://www.linux.org/>

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Anthony E. Greene <mailto:[EMAIL PROTECTED]> 0x6C94239D

iD8DBQE9LLispCpg3WyUI50RArF0AJ97SipMWKjNEQlHR9d5kNcTo6BkmgCg/K40
dlRg7/Rka04L7LRpErTVhfI=
=p8Ha
-END PGP SIGNATURE-



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Fetchmail

2002-07-10 Thread Marcelo

Hi,

This is my fetchmail file.

set logfile "/var/log/fetchmail.log"
set syslog
set postmaster "informatica"
set daemon 120
poll pop.visywork.com.br with protocol POP3, with options
 localdomains domain.br
 user "marcelo_informatica" there with password "ofni" is marcelo here
  with options rewrite mimedecode flush pass8bits

Can you tell me if there is any problem ?

Thanks,
Marcelo.

- Original Message -
From: "Jay Daniels" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 03, 2002 8:43 PM
Subject: Re: Fetchmail


> On Wed, 2002-07-03 at 18:31, Marcelo wrote:
> > Hi, I'm getting a problem using fetchmail with linuxconf in Red Hat 7.2.
The system hangs while configuring fetchmail in linuxconf and, when I try to
reboot, the system hangs in "Configuring Linuxconf hooks". So, if I disable
the module fetchmail in linuxconf, the system returns to its normal
operation. Did anyone had a problem like this ? Is this a problem of
fetchmail ?
> >
> > Thanks,
> > Marcelo.
> >
>
> Like redhat said, linuxconfig is obsolete.  Just edit the .fetchmailrc
> file as root with vi and setup "poll" for all users.
>
>
> $ sudo cat /root/.fetchmailrc.old
> # Configured by jay using vi!
> #
> set logfile "/var/log/fetchmail"
> set postmaster "postmaster"
> set nobouncemail
> set no spambounce
> set properties ""
> poll mail.yourdomain.net via mail.yourdomain.net
>  with proto IMAP port 143
>user 'marcelo' there with password '' is 'marcelo' here
> options fetchall forcecr
> folder JUNK INBOX
> smtpname [EMAIL PROTECTED]
>
> # change proto to pop3 if you need to and comment out the folder and
> smtpname lines if you want.
>
> I know I sound like a smart ass but there are circumstances beyond my
> control, and I am pretty pissed right now.  Check out the unrelated link
> below if you want...  I am a long time linux user and father of two
> wonderful kids, but I have come under attack by local officials!
>
>
> jay
>
> http://www.geocities.com/auftopic
>
>
>
>
> ___
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Fetchmail

2002-07-03 Thread Jay Daniels

On Wed, 2002-07-03 at 18:31, Marcelo wrote:
> Hi, I'm getting a problem using fetchmail with linuxconf in Red Hat 7.2. The system 
>hangs while configuring fetchmail in linuxconf and, when I try to reboot, the system 
>hangs in "Configuring Linuxconf hooks". So, if I disable the module fetchmail in 
>linuxconf, the system returns to its normal operation. Did anyone had a problem like 
>this ? Is this a problem of fetchmail ?
> 
> Thanks,
> Marcelo.
> 

Like redhat said, linuxconfig is obsolete.  Just edit the .fetchmailrc
file as root with vi and setup "poll" for all users.


$ sudo cat /root/.fetchmailrc.old
# Configured by jay using vi!
#
set logfile "/var/log/fetchmail"
set postmaster "postmaster"
set nobouncemail
set no spambounce
set properties ""
poll mail.yourdomain.net via mail.yourdomain.net
 with proto IMAP port 143
   user 'marcelo' there with password '' is 'marcelo' here
options fetchall forcecr
folder JUNK INBOX
smtpname [EMAIL PROTECTED]

# change proto to pop3 if you need to and comment out the folder and
smtpname lines if you want.

I know I sound like a smart ass but there are circumstances beyond my
control, and I am pretty pissed right now.  Check out the unrelated link
below if you want...  I am a long time linux user and father of two
wonderful kids, but I have come under attack by local officials!


jay

http://www.geocities.com/auftopic




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Fetchmail

2002-07-03 Thread Kevin MacNeil

On Wed, Jul 03, 2002 at 07:31:51PM -0300, Marcelo wrote:
> 
> Hi, I'm getting a problem using fetchmail with linuxconf in Red Hat
> 7.2. The system hangs while configuring fetchmail in linuxconf and,
> when I try to reboot, the system hangs in "Configuring Linuxconf
> hooks". So, if I disable the module fetchmail in linuxconf, the system
> returns to its normal operation. Did anyone had a problem like this ?
> Is this a problem of fetchmail ?
> 

You might want to try fetchmailconf.  It's probably already installed on
your system and it worked fine for me.




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Fetchmail

2002-07-03 Thread Marcelo



Hi, I'm getting a problem using fetchmail with 
linuxconf in Red Hat 7.2. The system hangs while configuring fetchmail in 
linuxconf and, when I try to reboot, the system hangs in "Configuring Linuxconf 
hooks". So, if I disable the module fetchmail in linuxconf, the system returns 
to its normal operation. Did anyone had a problem like this ? Is this a problem 
of fetchmail ?
 
Thanks,
Marcelo.
 


Retrieving Yahoo mail via PERL (WAS - Re: Last time fetchmail)

2002-06-24 Thread Alan Harding


No chance you could post those PERL scripts, I would be V interested to
see them as I have been playing around with this unsuccesfully


Thanx


On Fri, 2002-06-21 at 13:32, Joseph R . Erlewein wrote:
> 
> Since yahoo doesn't work anymore via pop3, here's what I had working for my accounts 
>there while it did. I use perl scripts to fetch mail from them now...
> 
> [joe@roark joe]$ cat .fetchmailrc
> #set postmaster "root"
> set no bouncemail
> #set properties ""
> set daemon 2400
> #set daemon 600
> set logfile fetchmail.log
>user 'ay' there with password 'xxx' is joe here options fetchall warnings 
>3600
>user 'lt' there with password 'xxx' is joe here options fetchall warnings 
>3600
>user 'nz' there with password 'xxx' is nate here options fetchall 
>warnings 3600
>user 'je' there with password 'xxx' is john here options fetchall 
>warnings 3600
> 
> straight from manpage...
> 
> -jre
> 
> On Fri, Jun 21, 2002 at 12:30:29PM -, [EMAIL PROTECTED] wrote:
> > Envelope-to: [EMAIL PROTECTED]
> > Delivery-date: Fri, 21 Jun 2002 08:31:54 -0400
> > Delivered-To: [EMAIL PROTECTED]
> > From: [EMAIL PROTECTED]
> > To: [EMAIL PROTECTED]
> > Subject: Last time fetchmail
> > X-Loop: [EMAIL PROTECTED]
> > Errors-To: [EMAIL PROTECTED]
> > X-BeenThere: [EMAIL PROTECTED]
> > X-Mailman-Version: 2.0.1
> > Precedence: bulk
> > Reply-To: [EMAIL PROTECTED]
> > List-Help: <mailto:[EMAIL PROTECTED]?subject=help>
> > List-Post: <mailto:[EMAIL PROTECTED]>
> > List-Subscribe: <https://listman.redhat.com/mailman/listinfo/redhat-list>,
> > <mailto:[EMAIL PROTECTED]?subject=subscribe>
> > List-Id: General Red Hat Linux discussion list 
> > List-Unsubscribe: <https://listman.redhat.com/mailman/listinfo/redhat-list>,
> > <mailto:[EMAIL PROTECTED]?subject=unsubscribe>
> > List-Archive: <https://listman.redhat.com/mailman/private/redhat-list/>
> > X-Original-Date: 21 Jun 2002 12:30:29 -
> > Date: 21 Jun 2002 12:30:29 -
> > X-FromHost: (listman.redhat.com) [66.187.233.211]
> > X-UIDL: 'i'"!bYV!!^IG"!k;n"!
> > 
> > Folks,
> > 
> > Sorry to disturbe you all with this fetchmail problems again, but I'm new at 
> > fetchmail. The situation now is that fetchmail connects to our pop3 server at 
> > our isp and retrieves all our mail and delivers all the mail in the admin 
> > inbox. How can I forward all the other mails to the correct persons?? Many 
> > thanx in advance,
> > 
> > 
> > Patrick
> > 
> > 
> > 
> > ___
> > Redhat-list mailing list
> > [EMAIL PROTECTED]
> > https://listman.redhat.com/mailman/listinfo/redhat-list
> 
> -- 
> 
> 
>joseph r. erlewein
> v - 231.932.4689
> w - 231.935.2364
> c - 231.342.7853
> p - 231.318.8793
> www.erlewein.com
> [EMAIL PROTECTED]
>   [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> 
-- 
Alan Harding
PS Engineer
Network Appliance Ltd
+44 (0)7715 539272

"One by one the penguins are stealing my sanity"



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Last time fetchmail

2002-06-24 Thread Anthony E. Greene

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 21-Jun-2002/14:01 -, [EMAIL PROTECTED] wrote:
>The strange thing is that fetchmail uses the configuration set in the server 
>manager on the e-smith server. But still it doesn't forward the emails. Do you 
>know more about a server manager in e-smith which is based on Red hat systems?

Sorry, I don;t know anythng about E-Smith Server.

Tony
- -- 
Anthony E. Greene <mailto:[EMAIL PROTECTED]>
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
AOL/Yahoo Chat: TonyG05  HomePage: <http://www.pobox.com/~agreene/>
Linux: the choice of a GNU Generation. <http://www.linux.org/>

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Anthony E. Greene 0x6C94239D <[EMAIL PROTECTED]>

iD8DBQE9FyuApCpg3WyUI50RAmTDAJ49H8a8eG9utpj/PnnPkCsSU0Ps9QCffsn4
nPE1I/MO7KBJv7TJWGEpfsI=
=DxSj
-END PGP SIGNATURE-



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



  1   2   3   >