"Sameer D. Sahasrabuddhe" wrote:

> I have been trying to install qmail on my system and i have landed up with
> a strange problem. I have been going step-by-step according to INSTALL.*
> files in the source. I was able to get qmail to work and it reports success
> for a test message which I sent to root from root.
> 
> But the message never reached the mailbox. In fact there is no root file in
> the /var/spool/mail folder. It contains files for "alias" apparently
> created and maintained by qmail and for "sameer" a non-priviledged user on
> the system. The "alias" file seems to have recorded all messages as well as
> error messages generated during the qmail trials, but none were delivered.

qmail will not deliver any mail to root -- that's considered a potential
security risk. You will therefore need to define an alias for root. Go
to ~alias (or /var/qmail/alias) and create a file named ".qmail-root"
containing just one line: "sameer". This will deliver all mail for root
to the user sameer.

qmail delivers all mail to the ~/Mailbox file. The .forward file is
ignored so placing any directives in there won't help. qmail instead
uses a .qmail file that is similar to .forward but far more powerful. if
your mail command isn't working, check if $MAIL is pointing to the
correct mailbox.

Maildir is the recommended mail storage method for qmail. This format
uses a separate file for every message, thereby increasing stability at
the cost of a few inodes. It's also the cause of some trouble. The mail
command will no longer be able to read mail, PINE will need patching
before it can understand the format, and so will procmail, pop3d and
imapd. RPMs of patched versions are easily available from qmail.org
though.

Let's talk about this at the meet tomorrow if you have any additional
problems/queries.

-- 

Kiran Jonnalagadda
http://lunateks.com

baby.sh: while true; do echo "^G^G^G^G^G"; sed -e 's/food/poop/'; sync;
sync; sleep 15; done

To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the mailing list 
button and fill the appropriate information 
and submit. For any other queries contact the ML maintener

Reply via email to