Rick et al,
On 3/6/11 9:30 PM, "Rick Widmer" <[email protected]> wrote:
> On 3/6/2011 10:13 PM, Kurt Bigler wrote:
>> Hi,
>>
>> I'm in a time-sensitive bind in which I need to set something up quickly for
>> a user in my existing qmail+vpopmail+qmailadmin system (which has a little
>> procmail sprinkled in).
>>
>> The goal is to create a new forward or forwarding account that forwards to
>> this user's existing account but bypasses the .qmail file associated with
>> that account (which invokes spam filtering). In short I want to deliver to
>> the Maildir but skip the .qmail instructions. If I'm not mistaken the
>> mechanisms I can think of within vpopmail do NOT do this.
>
> Don't create an account for the new address, instead create a
> .qmail-new-address file in the domain directory. In that .qmail file
> add the following:
>
> /full/path/to/old/Maildir/
>
> I don't believe it is possible with qmailadmin anymore, but you should
> be able to set it up by hand. It will probably show up in qmailadmin
> once you create the forward, but DO NOT edit it with qmailadmin.
>
> Rick
Yes, thanks, I just tried that, having carefully checked the full path name,
incoming emails are being discarded. The log shows qmail-queue accepting
delivery but nothing comes through.
Permissions look ok, unless qmail is being fussy about the owner. I do have
one symlink involved in my setup (which has caused no other problems):
vps# ll -ld /var/vpopmail/domains
lrwxr-xr-x 1 root vchkpw 12 Feb 13 2009 /var/vpopmail/domains ->
/old/domains
and I wonder whether the root owner of the symlink should instead be
vpopmail, but don't dare to change it casually since the mail system is live
and working.
The rest of the items in the pathname are all:
drwx------ vpopmail vchkpw
And I also tried spelling the full pathname using /old/domains directly
instead of going through the symlink /var/vpopmail/domains.
Next I'm trying to see if I can use a relative path (using . instad of /) in
the qmail-* file.
Thanks for the help so far.
-Kurt
!DSPAM:4d747e6032715437842646!