Re: Fetchmail only writes the most recent mail
daniel_1983--- via Fetchmail-users <[email protected]>
| Newsgroups | gmane.mail.fetchmail.user |
|---|---|
| Message-ID | <FZAPS7I8lqfpgpqbvP59RBgX6dL9YHbrfakS7iSnxOdOaBhNg_aB0UHckdFVFODcIjRo-LnwNmMabbkY-qIR0grkJfTZ-09LjVAVfa1wcrk=@protonmail.com> |
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On August 9, 2018 12:27 PM, Ralph Corderoy <[email protected]> wrote: > 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 My highest of fives to you, good sir ! ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Fetchmail-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fetchmail-users