Peter,
> I have a qmail server hosting several virtual domains, and all mail
> delivered to recipients in the virtual domains have a Delivered-To
> header line indicating the "main" domain name of the server.
> I want to delete this line, and I understand that the -d option to
> preline is the way to do this, but *where* do do do this?
>People at local-bapist-church.org wouldn't want hot-sex-pics.com in
>their mail headers. ;-)
The easiest way is to ensure you have a 'Neutral' name for your "main"
domain name of the server. If that's not possible...
You could have parallel qmail installations on the same machine,
i.e. one qmail per domain - using a different IP address (IP alias)
per domain. Then you can tailor all the control files according to
each domain.
I'd be reluctant to mess with Delivered-To lines - not having them
does have the potential to create mail loops.
cheers,
Andrew.