Well you guys never answered my question, so I had to learn something on my own again (dang) ;-) I found a solution!
Mail to local users STILL is delivered to local users! (Whaaa?) Yeah, mail to [EMAIL PROTECTED] or `echo 'hello' | mail j` actually sends mail to a local user. The user would still be able to check this mail using their /etc/passwd file and old username if vpopmail was compiled to allow it, but currently it wont: system passwords = OFF --disable-passwd (default) So mail is delivered into ~/Maildir for each user. But they cannot check this mail. So, we must do a forward. To forward a real local user to a remote address, you give the user a ~/.qmail file. This is the qmail-version of the .forward file. So, for example... [EMAIL PROTECTED]/0 control]$cat /home/j/.qmail &[EMAIL PROTECTED] It *does not work* to put the qmail file in: /var/qmail/alias/.qmail-j because this place only works for users that don't exist (local or virtual). So now I will make a script to go through all local user home directories, and create the necessary Maildir and .qmail file and direct to their main email address (e.g. /home/j/.qmail -> &[EMAIL PROTECTED]). Quinn On Fri, 10 Nov 2006 13:50:44 -0800, Quinn Comendant wrote: > I'm still trying to troubleshoot this... On a qmail system, what is > the difference between these two? > > echo "hello" | mail -s 'testing1' root; > > echo "hello" | formail -A 'Subject: testing2' | sendmail root; > > Q > > > On Fri, 10 Nov 2006 10:00:53 -0800, Quinn Comendant wrote: >> Return-Path: >> <[EMAIL PROTECTED]> >> Delivered-To: [EMAIL PROTECTED] >> From >> [EMAIL PROTECTED] >> Fri Nov 10 18:02:24 2006 >> Return-Path: >> <[EMAIL PROTECTED]> >> Delivered-To: [EMAIL PROTECTED] >> Received: (qmail 23776 invoked by uid 89); 10 Nov 2006 18:02:24 -0000 >> Delivered-To: [EMAIL PROTECTED] >> Received: (qmail 23769 invoked by uid 89); 10 Nov 2006 18:02:24 -0000 >> DomainKey-Status: no signature >> Received: by simscan 1.2.0 ppid: 23659, pid: 23665, t: 5.6275s >> scanners: attach: 1.2.0 clamav: 0.88.5/m:41/d:2183 spam: 3.1.7 >> X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on >> mailserver.strangecode.com >> X-Spam-Level: >> X-Spam-Status: No, score=-2.6 required=3.2 >> tests=BAYES_00,DK_POLICY_SIGNSOME >> autolearn=ham version=3.1.7 >> Received: from unknown (HELO ns1.qmailtoaster.com) (38.99.66.144) >> by mailserver.strangecode.com with (DHE-RSA-AES256-SHA encrypted) >> SMTP; 10 Nov 2006 18:02:18 -0000 >> Received-SPF: pass (mailserver.strangecode.com: SPF record at >> qmailtoaster.com designates 38.99.66.144 as permitted sender) >> Received: (qmail 811 invoked by uid 89); 10 Nov 2006 18:02:05 -0000 >> Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm >> Precedence: bulk >> List-Post: <mailto:qmailtoaster-list@qmailtoaster.com> >> List-Help: <mailto:[EMAIL PROTECTED]> >> List-Unsubscribe: <mailto:[EMAIL PROTECTED]> >> List-Subscribe: <mailto:[EMAIL PROTECTED]> >> Reply-To: qmailtoaster-list@qmailtoaster.com >> Delivered-To: mailing list qmailtoaster-list@qmailtoaster.com >> Received: (qmail 805 invoked by uid 89); 10 Nov 2006 18:02:05 -0000 >> Received-SPF: none (ns1.qmailtoaster.com: domain at strangecode.com >> does not designate permitted sender hosts) >> Date: Fri, 10 Nov 2006 10:00:53 -0800 >> From: Quinn Comendant <[EMAIL PROTECTED]> >> To: qmailtoaster-list@qmailtoaster.com >> Message-ID: <[EMAIL PROTECTED]> >> In-Reply-To: <[EMAIL PROTECTED]> >> References: <[EMAIL PROTECTED]> >> Mime-Version: 1.0 (GMessage framework 1.3.9) >> Content-Type: text/plain; charset=us-ascii >> Content-Transfer-Encoding: 7bit >> X-Mailer: GyazMail version 1.3.9b5 >> Subject: Re: [qmailtoaster] forwarding mail for real users to their virtual >> counterpart >> >> A related error with messages intended for [EMAIL PROTECTED] >> >> --- >> >> Hi. This is the qmail-send program at two.strangecode.com. >> I'm afraid I wasn't able to deliver your message to the following >> addresses. >> This is a permanent error; I've given up. Sorry it didn't work out. >> >> <[EMAIL PROTECTED]>: >> Sorry, I couldn't find any host named >> localhost.mailserver.strangecode.com. (#5.1.2) >> >> --- Below this line is a copy of the message. >> [...] >> >> >> >> On Fri, 10 Nov 2006 09:57:26 -0800, Quinn Comendant wrote: >>> With sendmail I would have just added a /home/mmartin/.forward file. >>> I tried adding /var/qmail/alias/.qmail-mmartin -- but didn't work. >>> >>> Ideas? >> >> --------------------------------------------------------------------- >> QmailToaster hosted by: VR Hosted <http://www.vr.org> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> > > --------------------------------------------------------------------- > QmailToaster hosted by: VR Hosted <http://www.vr.org> > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- QmailToaster hosted by: VR Hosted <http://www.vr.org> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]