I'm trying to get qmail to support something like the LUSER support in
sendmail. Here's the situation:

This is a client machine. That is, it relays everything off of a mail
hub (which happens to be running sendmail).

I've set defaulthost and defaultdomain to "cimedia.com" so any mail
sent to an unqualfied address on the machine is qualified with
"@cimedia.com" and then forwarded to the mailhub (since I have also
setup smtproutes to forward everything to the mail hub).

fetchmail is used to grab mail for the machine and it delivers it
through qmail-smtpd via tcpserver.

That all works fine.

The machine has a limited set of users, let's say it has root and bob.

I'd like mail which originates on the machine but is addressed to
either root or bob (that is, anyone in /var/qmail/users/cdb on this
machine) to be qualified with /var/qmail/control/me instead of with
defaulthost.

Is there anyway to do this w/o wrapping qmail-inject or replacing it
with new-inject? Can I even do this with new-inject?

j.
--
Jay Soffian <[EMAIL PROTECTED]>                       UNIX Systems Administrator
404.572.1941                                             Cox Interactive Media

Reply via email to