
iqbala-qmail at qwestip
Feb 9, 2006, 2:58 PM
Post #9 of 18
(2667 views)
Permalink
|
On Tue, Jan 31, 2006 at 12:16:09PM, Charles Cazabon wrote: > Asif Iqbal <iqbala-qmail [at] qwestip> wrote: > > > > > > ? Not sure of your question. If you mean you want to have mini-qmail > > > installations (i.e. queueless QMQP clients feeding your QMQP server), cron > > > calls /usr/sbin/sendmail, sendmail calls qmail-inject as usual, and > > > qmail-inject calls the qmail-qmqpc client, which replaces qmail-queue. > > > > What I meant to ask is, what will happen to any emails that system send to > > root? For example if cronjob fails a related email alert that currently > > sitting in /var/mail/root folder. > > What will happen, assuming your `cron` queues a message to "root": > > -cron invokes /usr/sbin/sendmail with "root" as an argument > > -qmail's sendmail wrapper invokes qmail-inject > > -qmail-inject qualifies "root" with the contents of > /var/qmail/control/defaulthost, and possibly > /var/qmail/control/defaultdomain > > -qmail-inject invokes the qmail-queue replacement, qmail-qmqpc, > with the envelope recipient set to the address determined above > > -that message is queued on your central mailhub and delivered > appropriately How would it handle /etc/alias entries like this that I used to use with original sendmail? \john where john is a local account and any of john's cron job fails he gets a error message instead of root [at] local Thanks -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu "..there are two kinds of people: those who work and those who take the credit...try to be in the first group;...less competition there." - Indira Gandhi
|