Re: Fetchmail only writes the most recent mail

Ralph Corderoy <[email protected]>
Newsgroups gmane.mail.fetchmail.user
Message-ID <[email protected]>
Hi Daniel,

> --mda "/bin/sh -c 'cat > /mnt/partage_local/DATA/MAIL/principale-fetchmail/DRAFT/new/$(date +%''s_%N)'"

This is wrong.  The $() is expanded once by your shell before fetchmail
is run because it's in a ""-quoted string.  Put a backslash before
the `$'.

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.