Use '/home/vpopmail/bin/valias'
On 2/16/2014 4:48 PM, Wicus Roets wrote: > > To forward system generated mail to a qmail account, is it a > requirement to first create a similar vpop account prior to forwarding ? > > > > ***Note - Mail & DNS is hosted on the machine. > > > > Under /var/qmail/alias I created the following files: > > > > .qmail-anonymous > > .qmail-mailer-daemon > > .qmail-postmaster > > .qmail-root > > > > which all has one entry pointing to a valid vpopmail account. i.e > > > > &[email protected] <mailto:&[email protected]> > > > > /var/qmail/control/me reads > > > > ns.server.com > > > > #hostname --fqdn > > > > ns.server.com > > > > However, it doesn't seem to work correctly as per the following example: > > > > > > Received: (qmail 2725 invoked for bounce); 16 Feb 2014 23:25:01 -0000 > > Date: 16 Feb 2014 23:25:01 -0000 > > From: [email protected] > > To: [email protected] > > Subject: failure notice > > > > Hi. This is the qmail-send program at ns.server.com. > > I tried to deliver a bounce message to this address, but the bounce > bounced! > > > > <[email protected]>: > > Sorry, no mailbox here by that name. (#5.1.1) > > > > --- Below this line is the original bounce. > > > > Return-Path: <> > > Received: (qmail 2704 invoked for bounce); 16 Feb 2014 23:25:01 -0000 > > Date: 16 Feb 2014 23:25:01 -0000 > > From: [email protected] > > To: [email protected] > > Subject: failure notice > > > > Hi. This is the qmail-send program at ns.server.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, no mailbox here by that name. (#5.1.1) > > > > --- Below this line is a copy of the message. > > > > Return-Path: <[email protected]> > > Received: (qmail 2700 invoked by uid 0); 16 Feb 2014 23:25:01 -0000 > > Date: 16 Feb 2014 23:25:01 -0000 > > Message-ID: <[email protected]> > > From: [email protected] (Cron Daemon) > > To: [email protected] > > Subject: Cron <root@ns> /usr/sbin/clamav-unofficial-sigs.sh -c > /etc/clamav-unofficial-sigs.conf > > Content-Type: text/plain; charset=UTF-8 > > Auto-Submitted: auto-generated > > X-Cron-Env: <LANG=en_US.UTF-8> > > X-Cron-Env: <SHELL=/bin/sh> > > X-Cron-Env: <HOME=/root> > > X-Cron-Env: <PATH=/usr/bin:/bin> > > X-Cron-Env: <LOGNAME=root> > > X-Cron-Env: <USER=root> > > > > /bin/sh: /usr/sbin/clamav-unofficial-sigs.sh: No such file or directory > > > > > > > > >
