List Info

Thread: maildrop and /tmp




maildrop and /tmp
country flaguser name
France
2007-04-03 03:19:13
Hi,

I would like to change the working directory of maildrop,
currently i saw
that it write temporary files under /tmp and i don't see any
information to
change this to an other directories...

lsof | grep '/tmp'
maildrop   6005    vmail    3u      REG      253,0  4444749 
     6147
/tmp/tmpf8zoHGH (deleted)
maildrop   6005    vmail    4u      REG      253,0  2461696 
     6154
/tmp/tmpfkNaVDt (deleted)
maildrop   6006    vmail    3u      REG      253,0  4444749 
     6148
/tmp/tmpfRZT0EH (deleted)
maildrop   6006    vmail    4u      REG      253,0  3937278 
     6155
/tmp/tmpfYErLWz (deleted)
maildrop   6007    vmail    3u      REG      253,0  4444749 
     6149
/tmp/tmpfs1MrOH (deleted)
maildrop   6007    vmail    4u      REG      253,0  4048896 
     6153
/tmp/tmpfK6o9vt (deleted)
maildrop   6008    vmail    3u      REG      253,0  4444749 
     6150
/tmp/tmpfxuCJZH (deleted)


my maildroprc is
````````````````
cat /etc/courier/maildroprc

if ( /^X-Loop: $LOGNAME/:h )
{
     echo "This message is looping, it already has my
'X-Loop' Header!"
     EXITCODE = 1
     exit
}

# Add Delivered-To: header
xfilter "reformail -A'X-Loop: $LOGNAME'"


my master.cf is
```````````````

maildrop  unix  -   n   n   -   -   pipe
    flags=Rhu user=vmail argv=/usr/bin/maildrop -d
$ -w 85

Thanks
Romain


------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Courier-maildrop mailing list
Courier-maildroplists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/courie
r-maildrop

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )