Hi, friends.

I have discovered why my spoolfile had disappeared.

I check my pop servers with fetchmail, and procmail send them to my
spoolfile.
My spoolfile is in ~/mail/spoolfile.
Environment variable $MAIL=~/mail/spoolfile

When I received a new mail it goes to spoolfile, but if I check mail
with terminal command > mail it says there is 1 mail, then I type
1<enter> to read the new mail.
After reading it, command mail delete spoolfile because it is empty.

Now I use procmail to make an automatic backup in spoolfile~ with

:0c:
spoolfile~

:0:
spoolfile

So if I use ever again the command > mail to read any new mail in
spoolfile, I now to have a backup in spoolfile~.
With logrotate I keep it not growing too much.

Question: Is it posible to avoid that command mail delete spoolfile when
it has no mail, just let it 0 bytes?

I hope my english is enough clear :-)

Best regards.

El 10.08.27 18:22:02 ->- j...@telefonica.net dijo:
> Hi, friends.
> 
> While I was testing my new Mutt and it seems to work vey nice, suddenly
> I can't read my new mail because spoolfile has desappeared.
> 
> I really don't know how it happens.
> 
> I was looking postfix.log, fetchmail.log and procmail.log with tail
> -f... and when back in Mutt it says spoolfile doesn't exit.
> 
> Has it happens to anybody anytime?
> 
> I think I'm going to check my harddisk....
> 
> Best regards.
> 
> -- 
> Jose Angel Navarro Cortes
> email: j...@telefonica.net
> web: http://janc.es/
> Usuario Linux: #49178

-- 
Jose Angel Navarro Cortes
email: j...@telefonica.net
web: http://janc.es/
Usuario Linux: #49178

Reply via email to