Hi everyone,

I've decided to give up on passing commandline options to fetchmail and
write a .fetchmailrc.

I don't have anything listening on port 25 so my fetchmail commandline
was:
"fetchmail -K -a -u [username] -d 600 -m "/usr/bin/procmail -d
mary" [server]

This worked fine.

my .fetchmailrc is currently:

        set daemon 600
        set logfile ~mary/fetchmail.log

        poll [server]
                user [username] pass [password] is mary
                nokeep
                fetchall
                mda "/usr/bin/procmail -d %T"
        ;

and while this fetchs the messages and delivers them I get an error
message from syslogd@[machine]:
[machine] procmail[pid] : Descriptor 2 was not open

This error message is delivered to the tty.

Also despite the nokeep option, it is not flushing messages - which I
belive is fetchmail's standard behaviour when there is an error on
delivery.

I have tried changing the mda line to:
mda "/usr/bin/procmail -d %T 2>>~mary/fetchmail.log"
and this doesn't change anything.

So what's wrong with that .fetchmailrc? - the man page isn't very
descriptive and most of the fetchmailrcs I found with google are using
fetchmail's standard delivery option via SMTP to port 25.

Thanks,

Mary.

_______________________________________________
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk

Reply via email to