Hi Jim, Jim Pazarena <[email protected]> (So 02 Jul 2017 06:58:28 CEST): > within a user forward file, which is an advanced exim filter file, I > routinely and repeatedly save a file which I receive hourly. > > with a simple save ".data/tots_fyl.log" > > Is there any way to have the filter file append a day #, or a month #, or > better a month/day as MMDD to the name?
I do not know the exim filter language good enough to answer the
question directly. I'd use:
begin routers
…
…
log:
driver = accept
… some conditions …
transport = log
begin transports
log:
driver = appendfile
file = /tmp/log-${substr_4:$tod_logfile}
Best regards from Dresden/Germany
Viele Grüße aus Dresden
Heiko Schlittermann
--
SCHLITTERMANN.de ---------------------------- internet & unix support -
Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
gnupg encrypted messages are welcome --------------- key ID: F69376CE -
! key id 7CBF764A and 972EAC9F are revoked since 2015-01 ------------ -
signature.asc
Description: PGP signature
-- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
