PDA

View Full Version : $HOME where is it?


tom
21st April 2006, 23:48
How do get suspicious-mails in a suspicious-mail-folder?

I want to get virus-mails to that folder
/home/admispconfig/ispconfig/temp/webmail/web1_abc_localhost/
because I would like to have access from the webmailinterface to the virus-mails.

How I could direct them to this folder?
What does the variable $HOME mean - where is it defined - is it in /etc/passwd?

tom

falko
22nd April 2006, 17:07
How do get suspicious-mails in a suspicious-mail-folder?

I want to get virus-mails to that folder
/home/admispconfig/ispconfig/temp/webmail/web1_abc_localhost/
because I would like to have access from the webmailinterface to the virus-mails.
Have a look at the procmail scripts that come with ISPConfig. They should give you an idea. This might also help you: http://www.howtoforge.com/procmail_tips_recipes


What does the variable $HOME mean - where is it defined - is it in /etc/passwd?

It's the home directory of the respective user which is defined in /etc/passwd.

tom
23rd April 2006, 02:26
go to new treat