Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Virtual users and .forward files
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Pavel Georgiev  
View profile  
 More options Jan 30 2008, 10:58 am
Newsgroups: list.postfix.users
From: Pavel Georgiev <pa...@netclime.com>
Date: Wed, 30 Jan 2008 17:58:43 +0200
Local: Wed, Jan 30 2008 10:58 am
Subject: Virtual users and .forward files
Hi list,

I have postfix and virtual domains, how do I add a .forward file for a
specific virtual user?

I have

virtual_mailbox_base = /srv/mail

in main.cf. I tried creating a .forward file in /srv/mail/domain/user/ (where
mail is delivered) and also /srv/mail/.forward+user@domain but it did not
work.

postconf -d|grep forward_path
forward_path = $home/.forward${recipient_delimiter}${extension},
$home/.forward


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Noel Jones  
View profile  
 More options Jan 30 2008, 11:21 am
Newsgroups: list.postfix.users
From: Noel Jones <njo...@megan.vbhcs.org>
Date: Wed, 30 Jan 2008 10:21:59 -0600
Local: Wed, Jan 30 2008 11:21 am
Subject: Re: Virtual users and .forward files

.forward processing is implemented in the local(8) delivery
agent, so that won't work with virtual mailbox users.

Instead add an entry for the user in virtual_alias_maps.

--
Noel Jones


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pavel Georgiev  
View profile  
 More options Jan 30 2008, 3:48 pm
Newsgroups: list.postfix.users
From: Pavel Georgiev <pa...@netclime.com>
Date: Wed, 30 Jan 2008 22:48:32 +0200
Local: Wed, Jan 30 2008 3:48 pm
Subject: Re: Virtual users and .forward files
On Wednesday 30 January 2008 22:09:34 Pavel Georgiev wrote:

OK, does not look like the best solution, but adding a new transport in
master.cf with hardcoded path the mailbox did the job. Anyone has a better
idea how to make maildrop without hardcoding the path to the mailbox?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pavel Georgiev  
View profile  
 More options Jan 30 2008, 4:44 pm
Newsgroups: list.postfix.users
From: Pavel Georgiev <pa...@netclime.com>
Date: Wed, 30 Jan 2008 23:44:48 +0200
Local: Wed, Jan 30 2008 4:44 pm
Subject: Re: Virtual users and .forward files
On Wednesday 30 January 2008 23:02:34 mouss wrote:

OK, here are few details about the setup, let me know if you need more info:
Distro: Ubuntu 6.06 TLS
postfix 2.2.10, maildrop 1.5.3, libsasl2 2.1.19 from standart ubuntu packages
postfix is configured with virtual users, lookups are made in mysql.

In the standart configuration, maildrop transport is defined as `maildrop -d
${recipeint}`, which doen not work (out of the box) with virtual users.
$nexthop is also not a solution it sometime expands to dummy. To prove it I
replaced /usr/bin/maildrop with a simple bash script:

#!/bin/bash
echo "$@" >> /tmp/_debug

and it turns out $nexthop resolves ti dummy. I have a 'user@domain
maildrop:dummy' line in transport maps.

I tried with 'user@domain maildrop' and it seems to expand nexthop properly,
which is much better than the hadcoded link. Anyway, I`d be interested to see
how maildrop can be used with authlib against the same sql that postfix uses.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
mouss  
View profile  
 More options Jan 30 2008, 5:29 pm
Newsgroups: list.postfix.users
From: mouss <mo...@netoyen.net>
Date: Wed, 30 Jan 2008 23:29:49 +0100
Local: Wed, Jan 30 2008 5:29 pm
Subject: Re: Virtual users and .forward files

Pavel Georgiev wrote:
> OK, here are few details about the setup, let me know if you need more info:
> Distro: Ubuntu 6.06 TLS
> postfix 2.2.10, maildrop 1.5.3, libsasl2 2.1.19 from standart ubuntu packages
> postfix is configured with virtual users, lookups are made in mysql.

> In the standart configuration, maildrop transport is defined as `maildrop -d
> ${recipeint}`, which doen not work (out of the box) with virtual users.

Please stop saying "it does not work". It does work here since years.
Please describe your problem: what exactly happens, what error you see,
... etc.

You may be a victim of a packaging bug. find the sources of the maildrop
package on ubuntu, then grep HAVE_COURIER in the patch files (*.patch).
if you find some, shoot the package maintainer ;-p (HAVE_COURIER is for
use with the courier-mta, not with postfix or other MTAs).

> $nexthop is also not a solution it sometime expands to dummy.

Nothing works if you fight against yourself ;-p

> To prove it I
> replaced /usr/bin/maildrop with a simple bash script:

> #!/bin/bash
> echo "$@" >> /tmp/_debug

> and it turns out $nexthop resolves ti dummy. I have a 'user@domain
> maildrop:dummy' line in transport maps.

why do you put "dummy" in the transport entry.

> I tried with 'user@domain maildrop' and it seems to expand nexthop properly,
> which is much better than the hadcoded link. Anyway, I`d be interested to see
> how maildrop can be used with authlib against the same sql that postfix uses.

I use the config with ${nexthop} (yes with authdaemon, mysql ...) on a
NetBSD system.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »