Re: way to deliver to Maildir bypassing .qmail files?

Kurt Bigler <[email protected]>
Newsgroups gmane.mail.vpopmail
Message-ID <C999C849.314F6%[email protected]>
It is working now.  I had omitted the / at the end of the pathname used to
distinguish a Maildir line from an mbox line.

Incidentally the Maildir line works equally well in the .qmail-* file in the
domain directory and in the .qmail file in the account directory.

Thanks for the help, and sorry for taking extra bandwidth due to my typo.

-Kurt


On 3/6/11 10:42 PM, "Kurt Bigler" <[email protected]> wrote:

> 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:4d74884e32711005111589!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.