Users on my RHES3 use pop and IMAP, and lately I've had trouble with an IMAP user who can't see images in his mailbox -a 404 type error appears in place of the images. I've played with the squirrelmail settings and the problem occasionally goes away, then reappears. Although the user's mail folders appear in /home/user/mail as he configured them under his squirrelmail profile, all of his (and other users) new mail is queued in /var/spool/mail, the qpopper default. I would like to change the mail queue to /home/user/mail, which may solve this problem, and which may make it easier to handle procmail recipes as well as spamassassin, which I plan to install soon.
First I tried running qpopper's ./configure --enable-home-dir-mail=mail as addressed in the qpopper FAQ, but got this error:
configure: WARNING: you should use --build, --host, --target, and
./configure: line 1: =: command not found
qpopper's FAQ also say that you can set home-dir-mail = Mailbox (in my case, mail) to a qpopper configuration file, so I copied qpopper.config to /usr/local/sbin/qpopper from its samples directory, enabling this option:
set home-dir-mail = "mail/.mail"
This is different from the FAQ, however the comments in the config file say to give it a file name, so I gave both a directory name and a file name.
I also enabled set config-file = /etc/mail/pop/qpopper.config and copied the file to /etc/mail/pop and restarted xinetd, however there's no change - mail is still delivered to /var/spool/mail/user. So I tried to recompile qpopper again, and got the same error. The mail log in the user's .procmail folder and /var/log/maillog give me no clue. I have the latest version of qpopper, so the error is mine. What is it?