Hi! Bit of a complex one, this: I'm building the mailcore for an ISP, using Qmail, Vpopmail and Serialmail. We use Maildir format throughout. >From prior experience, I found that where we had a customer with a dial-up link to their LAN, and wanted to get their mail via SMTP using maildirsmtp, then we had to replace the default .qmail-default file (which calls vdelivermail) with a plain path to the mailbox, so: | /local/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED] became /local/vpopmail/domains/domain.dom/postmaster/Maildir/ This preserved the envelope info and allowed the mail to be properly routed by the (usually Exchange) mailserver at the LAN end. Now I'm looking to add .qmail file functionality to the system, so that a customer can specify: -----[start]----- Mail to <anything-at-all>@my-domain.dom gets delivered to the postmaster mailbox (catch-all mail routing). Mail arriving in the postmaster box should be processed via a .qmail file, so that for example everything gets copied to a back-up address somewhere. Maildirsmtp is used to send the mail on to the user's LAN when they connect. -----[stop]----- My question is, where should the .qmail file(s) go, what should they be called, and are there any restrictions on what they can or cannot do? >From some digging on the web I came across references to vdelivermail using .qmail files in the Maildir directory, but with a restricted command set - but I'm not using vdelivermail to put the mail in the maildirs. Is the only way to do this to have .qmail-default in /local/vpopmail/domains/my-domain containing: &[EMAIL PROTECTED] And then have a .qmail-postmaster file in the same directory which has something like: ./postmaster/Maildir/ &[EMAIL PROTECTED] Or can it be done with our full path .qmail-default and a .qmail file in the user or user/Maildir directory? All comments welcome! -- - Jack Howard, Network Development Engineer & Abuse Prevention Co-ordinator - Firstnet Services Limited : 0113 292 7700 : http://www.firstnet.net.uk - [ This message subject to: http://www.firstnet.net.uk/disclaimer.html ]