Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: mail-sources: %t has invalid value
       [not found] <m3of12l2o7.fsf@wilson.rwth-aachen.de>
  2003-06-13 11:54 ` mail-sources: %t has invalid value Al Arduengo
@ 2003-06-15 16:33 ` Torsten Bronger
       [not found]   ` <84llw318f2.fsf@lucy.is.informatik.uni-duisburg.de>
  1 sibling, 1 reply; 7+ messages in thread
From: Torsten Bronger @ 2003-06-15 16:33 UTC (permalink / raw)


Halloechen!

Torsten Bronger <bronger@physik.rwth-aachen.de> writes:

> In my .gnus it says
>
> (setq mail-sources
>       '((pop :server "acaxp.physik.rwth-aachen.de"
>              :user "***"
>              :password "***"
> 	     :postscript "mv -f %t /tmp/foo; formail -bs spamc < /tmp/foo > %t")
> ))
>
> (The :postscript is taken from gnus.pdf section 8.18.3.)
>
> The value of %t is "/home/bronger/.emacs-mail-crash-box" but this
> file doesn't exist during the :postscript command.  Thus the "mv"
> command fails (and with it the spamc call).
>
> What must I do to fix this?

Alternatively, how can I achieve in general that Gnus fetches my
mail, sends it through Spam Assassin and splits it in my split
routine?  The Spam Assassin daemon spamd is active.

Tschoe,
Torsten.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mail-sources: %t has invalid value
       [not found]   ` <84llw318f2.fsf@lucy.is.informatik.uni-duisburg.de>
@ 2003-06-17 13:49     ` Torsten Bronger
       [not found]       ` <84smq8wnag.fsf@lucy.is.informatik.uni-duisburg.de>
  0 siblings, 1 reply; 7+ messages in thread
From: Torsten Bronger @ 2003-06-17 13:49 UTC (permalink / raw)


Halloechen!

kai.grossjohann@gmx.net (Kai Großjohann) writes:

> Torsten Bronger <bronger@physik.rwth-aachen.de> writes:
>
>> Alternatively, how can I achieve in general that Gnus fetches my
>> mail, sends it through Spam Assassin and splits it in my split
>> routine?  The Spam Assassin daemon spamd is active.
>
> Gnus 5.10 comes with spam.el which provides oodles of methods for
> dealing with spam.  I'm confident that it has the one you need, too.
> Even though I haven't read anything about it...

I've installed the newest Gnus and read the sections about spam in
the manual.  (Very difficult stuff I must say.)

Anyway, I still like SpamAssasin's method most.  Unfortunately a
search in Gnus' sources didn't show any implicit connection with
SpamAssassin.  The manual still claims that the snippet from my
original posting works, however it doesn't.

Can it be my rather odd backend (nnfolder)?

Tschoe,
Torsten.

-- 
Torsten Bronger, aquisgrana


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: fetchmail for POP3 on WinDOS 2000
       [not found]                 ` <u7k7gqr7b.fsf_-_@att.net>
@ 2003-06-21  3:35                   ` calmar
  2003-06-21  9:44                     ` calmar
  2003-06-21  7:05                   ` Torsten Bronger
  1 sibling, 1 reply; 7+ messages in thread
From: calmar @ 2003-06-21  3:35 UTC (permalink / raw)


Michael R. Wolf <MichaelRWolf@att.net> writes:

>
> I'm still running in a biforcated world. gnus thinks I'm on a WinDOS
> machine, ergo the "C:/"-rooted path, but fetchmail is being run from
> cygwin and has a "/"-rooted path. Configure as necessary.
>
That's exactly what I tried to do today with no success.
I tried to use cygwin - fetchmail but called from outsite the
cygwin environment -- but like this, fetchmail obviously can't
find the /var/spool/mail folder.
I also didn't find any solution to change this in a 'windows
path' unfortunately.

So my question: how can you start the fetchmail in the cygwin
environment let's say with the windows start up?

Many Thanks for any hints ..


PS: when I can't find a solution for this, I will need to use
Hamster, which (I don't really know why) I don't really like :)

> ================================================================
>
> ;;; ~/.gnus
> (add-to-list 'gnus-secondary-select-methods '(nnml ""))
> (setq mail-sources
>       '(
>         (file :path "c:/cygwin/var/spool/mail/toshiba"
>               :plugged t
> 	      )
>
> ================================================================
>
> # .fetchmailrc
>
> set daemon 300
> set logfile "/cygdrive/c/Mail/fetchmail.log"
>
> # MichaelRunningWolf@att.net ================
> poll ipostoffice.worldnet.att.net 
>     port 995
>     protocol pop3
>     username "MichaelRunningWolf" there is "toshiba" here
>     password "****"
>     ssl
>     mda '/usr/bin/procmail -d %T'
>
> # MichaelRWolf@att.net ================
> poll ipostoffice.worldnet.att.net 
>     port 995
>     protocol pop3
>     username "MichaelRWolf" there is "toshiba" here
>     password "****"
>     ssl
>     mda '/usr/bin/procmail -d %T'
>
> # MBalenger@att.net ================
> poll ipostoffice.worldnet.att.net 
>     port 995
>     protocol pop3
>     username "MBalenger" there is "toshiba" here
>     password "****"
>     ssl
>     mda '/usr/bin/procmail -d %T'
>
> #  WolfENT@oz.net ================
> # TODO -- still prompts for password over dial-up
> poll mail.oz.net
>     protocol pop3
>     interval 12
>     username "wolfent" there is "toshiba" here
>     password "****"
>     mda '/usr/bin/procmail -d %T'
>
> ================================================================

-- 
calmar (o_         
       //\   <--- GNU/Linux is GREAT     
       V_/_       www.calmar.ws 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: fetchmail for POP3 on WinDOS 2000
       [not found]                 ` <u7k7gqr7b.fsf_-_@att.net>
  2003-06-21  3:35                   ` fetchmail for POP3 on WinDOS 2000 calmar
@ 2003-06-21  7:05                   ` Torsten Bronger
  2003-06-21 12:28                     ` Kai Großjohann
  1 sibling, 1 reply; 7+ messages in thread
From: Torsten Bronger @ 2003-06-21  7:05 UTC (permalink / raw)


Halloechen!

Michael R. Wolf <MichaelRWolf@att.net> writes:

> kai.grossjohann@gmx.net (Kai Großjohann) writes:
>
>> Torsten Bronger <bronger@physik.rwth-aachen.de> writes:
>>
>>> I now did the following:
>>>
>>> (file :path "/var/mail/bronger"
>>>       :prescript "fetchmail acaxp.physik.rwth-aachen.de; formail -bs spamc < /var/mail/bronger > /tmp/foo; mv /tmp/foo /var/mail/bronger")
>>>
>>> For this I had to configure fetchmail first (create .fetchmailrc).
>>>
>>> It works.  However, I don't like this solution at all.  What if
>>> fetchmail fails?  Are "&&" better than ";"?  Can this be as robust
>>> as my old pop3 way at all?
>>
>> It seems a good way.  Yes, "&&" might be better than ";".
>
> Or could you do a pipe?
>
>     fetchmail blah-blah | formail > /var/mail/bronger

This would be wonderful!  But I couldn't find a way to make fetchmal
send the mail to stdout.  It wants to sent it to port 25 where it
expects some other program that listens, or it starts the MTA by
itself.

>> Maybe you can also tell fetchmail to invoke formail directly. Or to
>> invoke spamc directly. Yes, invoking spamc seems like a good thing
>> to do, and it ought to be possible, even though I've never used
>> fetchmail.

As said, as far as I can see fetchmail insists on re-sending the
mail.  I didn't even find a possibility that fetchmail writes my
mail to a file!  I had to use sendmail for that.  On the other hand,
maybe one can do a little magic with fetchmail's mda option.

> This works for me:
>
>  [...]
>
> I'm still running in a biforcated world. gnus thinks I'm on a WinDOS
> machine, ergo the "C:/"-rooted path, but fetchmail is being run from
> cygwin and has a "/"-rooted path. Configure as necessary.

Hmm, you use procmail insead of sendmail.  Is this better?

Tschoe,
Torsten.

-- 
Torsten Bronger, aquisgrana


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: fetchmail for POP3 on WinDOS 2000
  2003-06-21  3:35                   ` fetchmail for POP3 on WinDOS 2000 calmar
@ 2003-06-21  9:44                     ` calmar
  0 siblings, 0 replies; 7+ messages in thread
From: calmar @ 2003-06-21  9:44 UTC (permalink / raw)


calmar <mac@calmar.ws> writes:

>
> So my question: how can you start the fetchmail in the cygwin
> environment let's say with the windows start up?
>
> Many Thanks for any hints ..

Well I see.. You don't really store it with fetchmail , but you deliver it
directly to procmail..


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: fetchmail for POP3 on WinDOS 2000
  2003-06-21  7:05                   ` Torsten Bronger
@ 2003-06-21 12:28                     ` Kai Großjohann
  0 siblings, 0 replies; 7+ messages in thread
From: Kai Großjohann @ 2003-06-21 12:28 UTC (permalink / raw)


Torsten Bronger <bronger@physik.rwth-aachen.de> writes:

> This would be wonderful!  But I couldn't find a way to make fetchmal
> send the mail to stdout.  It wants to sent it to port 25 where it
> expects some other program that listens, or it starts the MTA by
> itself.

What happens when you use /bin/cat as the MTA?  /bin/cat prints to
stdout...

-- 
This line is not blank.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mail-sources: %t has invalid value
       [not found] <m3of12l2o7.fsf@wilson.rwth-aachen.de>
@ 2003-06-13 11:54 ` Al Arduengo
  2003-06-15 16:33 ` Torsten Bronger
  1 sibling, 0 replies; 7+ messages in thread
From: Al Arduengo @ 2003-06-13 11:54 UTC (permalink / raw)


I would suspect that putting the path to mv in the postscript call. eg
'/bin/mv' or the like.

Rgds,
-Al

Torsten Bronger <bronger@physik.rwth-aachen.de> writes:

> Halloechen!
>
> In my .gnus it says
>
> (setq mail-sources
>       '((pop :server "acaxp.physik.rwth-aachen.de"
>              :user "***"
>              :password "***"
> 	     :postscript "mv -f %t /tmp/foo; formail -bs spamc < /tmp/foo > %t")
> ))
>
> (The :postscript is taken from gnus.pdf section 8.18.3.)
>
> The value of %t is "/home/bronger/.emacs-mail-crash-box" but this
> file doesn't exist during the :postscript command.  Thus the "mv"
> command fails (and with it the spamc call).
>
> What must I do to fix this?
>
> Tschoe,
> Torsten.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-06-21 12:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <m3of12l2o7.fsf@wilson.rwth-aachen.de>
2003-06-13 11:54 ` mail-sources: %t has invalid value Al Arduengo
2003-06-15 16:33 ` Torsten Bronger
     [not found]   ` <84llw318f2.fsf@lucy.is.informatik.uni-duisburg.de>
2003-06-17 13:49     ` Torsten Bronger
     [not found]       ` <84smq8wnag.fsf@lucy.is.informatik.uni-duisburg.de>
     [not found]         ` <m3isr3gobe.fsf@wilson.rwth-aachen.de>
     [not found]           ` <84el1qt81y.fsf@lucy.is.informatik.uni-duisburg.de>
     [not found]             ` <m3adcdokbp.fsf@wilson.rwth-aachen.de>
     [not found]               ` <84vfv12q58.fsf@lucy.is.informatik.uni-duisburg.de>
     [not found]                 ` <u7k7gqr7b.fsf_-_@att.net>
2003-06-21  3:35                   ` fetchmail for POP3 on WinDOS 2000 calmar
2003-06-21  9:44                     ` calmar
2003-06-21  7:05                   ` Torsten Bronger
2003-06-21 12:28                     ` Kai Großjohann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).