Re: [vchkpw] forwarding to local users

2005-10-21 Thread Jeremy Kitchen
On Friday 21 October 2005 10:14 am, hbeaumont hbeaumont wrote:
 Hi,

 I need to forward a vpopmail user to a local users shell mail

 right now i have the domains .qmail-default set to :
 | /home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED]

that's the 'catchall' argument if the user doesn't exist, it will fall 
back to that.

if you simply want to forward your vpopmail user to another user you can do 
something like this:

for [EMAIL PROTECTED]
echo '[EMAIL PROTECTED]'  ~vpopmail/domains/example.com/.qmail-frank

 this works but it rewrites all the headers to not have the original domain.

please show an example of this.

 It works if I chown the users Maildir to vpopmail.vchkpw but that really
 won't work for my purposes.

what does?

 Even worse :) the mail is going to a Mailbox and not a Maildir.

check your .qmail file for the final user.  the path to the maildir must have 
a / at the end for qmail to consider it a maildir.

-Jeremy

-- 
Jeremy Kitchen ++ [EMAIL PROTECTED]

In the beginning was The Word and The Word was Content-type: text/plain
  -- The Word of Bob.


pgpsGF8EcZoee.pgp
Description: PGP signature


Re: [vchkpw] forwarding to local users

2005-10-21 Thread hbeaumont hbeaumont
On 10/21/05, Jeremy Kitchen [EMAIL PROTECTED] wrote:
On Friday 21 October 2005 10:14 am, hbeaumont hbeaumont wrote: Hi, I need to forward a vpopmail user to a local users shell mail right now i have the domains .qmail-default set to :
 | /home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED]
I think I didn't explain myself well :)

I am trying to set the catch-all to a local users shell mail

Setting it with either :

| /home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED]

or

real_user_name@server.com

correctly forwards the mail.

However I need it to keep all the headers in tact for the original virtual domain.

Thanks for any help!




Re: [vchkpw] forwarding to local users

2005-10-21 Thread Jeremy Kitchen
On Friday 21 October 2005 02:21 pm, hbeaumont hbeaumont wrote:
 I am trying to set the catch-all to a local users shell mail

 Setting it with either :
 | /home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED]

 or

 [EMAIL PROTECTED] http://server.com

 correctly forwards the mail.

 However I need it to keep all the headers in tact for the original virtual
 domain.

I'm not sure what you have the http://server.com part in there for.. but 
the headers will remain the same (with the addition of a few new received 
headers and another deliver-to with either of these methods.

Could you please provide us *real* information including an example of the 
headers of an email?

Also, for future reference, if you're going to hide your domain name, please 
use example.com, example.net or example.org, these domains are RFC defined 
for use as 'dummy' domains.  I'm sure the person who owns the mailbox 
real_user_name at server.com would appreciate it.

-Jeremy

-- 
Jeremy Kitchen ++ [EMAIL PROTECTED]

In the beginning was The Word and The Word was Content-type: text/plain
  -- The Word of Bob.


pgp7OgTStuM6J.pgp
Description: PGP signature


Re: [vchkpw] forwarding to local users

2005-10-21 Thread Tom Collins

On Oct 21, 2005, at 2:21 PM, hbeaumont hbeaumont wrote:
 However I need it to keep all the headers in tact for the original 
virtual domain.


Which headers?  The To/From/Subject/Date won't be changed when the 
message is forwarded.  There might be a difference in the 
Delivered-To headers -- is that what you're referring to?


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com