[vchkpw] Forwarding spec. users w/o local domain

2006-06-28 Thread Ted Fines
Hi,

Our system: netqmail-1.05 on RHEL4.

I have a 'gateway' qmail system. It delivers nothing locally, and just does 
some filtering and logging before passing all messages through. locals 
contains only LOCALHOST, and there are no virtual domains. smtproutes 
contains the line macalester.edu:141.140.1.31:26, and rcpthosts contains 
macalester.edu.

I'd like to do something I would think is very simple and possible, but I am 
stuck. I would like to setup some user forwards on this system. For example, if 
a message comes in for [EMAIL PROTECTED] I would like to be able to set a 
forward for that address to [EMAIL PROTECTED] or wherever. I would like to 
have a file with entries like:
[EMAIL PROTECTED]:[EMAIL PROTECTED]
[EMAIL PROTECTED]:[EMAIL PROTECTED]
...and so on... Of course I don't care about the syntax, but you get the idea. 
All other addresses would just follow the rule in smtproutes.

Here's the line of thinking I've been following and the conclusions I've come 
to.
1. Since no mail is delivered locally, creating local user qmail accounts with 
.qmail files has no effect.
2. The moresmtproutes patch is not applicable here because it is for forwarding 
a given address to a specific destination host, not a specific destination 
address.
3. Since no mail is delivered locally, the ~alias/.qmail-default file isn't 
processed either. I had tried populating that file wth the line | 
/var/qmail/bin/fastforward -d /etc/aliases.cdb, created an aliases file, 
installed fastforward, etc., but it just doesn't get used.

A user on the qmail mailing list suggested using qmailtap.  I think it would 
almost do what I need, so I thought it was worth posting the question to this 
list too.  qmailtap sends a copy to a specific address, however it would still 
allow qmail to attempt delivery of the original message, which would result in 
a failure notice for the sender.  The end result would be that the user would 
receive a forwarded copy of the message, but the sender would think it didn't 
work.  

Does anyone have any ideas on how to accomplish this goal, using qmailtap or 
something else?

Thanks in advance,
Ted



Re: [vchkpw] Forwarding spec. users w/o local domain

2006-06-28 Thread Tom Collins

On Jun 28, 2006, at 6:11 AM, Ted Fines wrote:
Does anyone have any ideas on how to accomplish this goal, using  
qmailtap or something else?


If the server that accepts mail for macalester.edu can be convinced to  
accept mail for somehost.macalester.edu, you can use vpopmail and  
qmailadmin to accomplish your goals.  Make sure  
[EMAIL PROTECTED] is working correctly before modifying your  
gateway system.


Stop qmail-smtpd and qmail-send before doing any of this, to make sure  
you get it set up right.


You're going to add macalester.edu as a vpopmail domain on your gateway  
system.  Change the catchall to [EMAIL PROTECTED].  If  
you're using qmailadmin, you can just enter @somehost.macalester.edu  
as the catchall email address, and it will automatically set it up.


Here's the feature request on that undocumented feature:  
http://sourceforge.net/tracker/index.php? 
func=detailaid=910410group_id=6691atid=356691


Remove the entry from smtproutes.  At this point, you might be able to  
start qmail-send (leaving qmail-smtpd off) and use qmail-inject to  
inject a test message.  Watch the logs to make sure it gets through.   
If so, you can start qmail-smtpd back up.


Now, add aliases for the addresses you want forwarded elsewhere.  Use  
QmailAdmin, or just create a .qmail-user45 file in the domain  
directory.


If an alias exists, the email will be forwarded.  If it doesn't exist,  
it will go to [EMAIL PROTECTED]  You'll probably also want  
to modify the postmaster user to have its mail get forwarded to  
[EMAIL PROTECTED]


If you really want to be safe, you could add the domain as test.com  
first, make sure everything works (using qmail-inject, or manually  
telnetting to port 25 on localhost) before doing it with the real  
domain.


--
Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/



[vchkpw] forwarding to local users

2005-10-21 Thread hbeaumont hbeaumont
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]

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

I need something that will keep all the original virtual domain addresses in tact.

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

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

Any ideas?




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




[vchkpw] Forwarding/Moving Mails directly to a IMAP Subfolder

2005-08-04 Thread Philipp Suek
Hi,

I currently try to forward mails with the dot-qmail files .qmail-adress
to a courier-imap subfolder of a Maildir.

I tried to use vdelivermail, but it needs a Maildir directory. I tried
to move the files from the cur to the subfolder, but it didn't work
perfectly.

Do you have any idea?

Regards

Philipp Suek




Re: [vchkpw] Forwarding/Moving Mails directly to a IMAP Subfolder

2005-08-04 Thread Tren Blackburn

Philipp Suek wrote:

Hi,

I currently try to forward mails with the dot-qmail files .qmail-adress
to a courier-imap subfolder of a Maildir.

I tried to use vdelivermail, but it needs a Maildir directory. I tried
to move the files from the cur to the subfolder, but it didn't work
perfectly.

Do you have any idea?



As I remember you can just put the path of the Maildir in the 
.qmail-user file.


Regards,

Tren.


AW: [vchkpw] Forwarding/Moving Mails directly to a IMAP Subfolder

2005-08-04 Thread Philipp Suek
It works! What a nice day.

Thank you

 -Ursprüngliche Nachricht-
 Von: Tren Blackburn [mailto:[EMAIL PROTECTED] 
 Gesendet: Freitag, 5. August 2005 03:07
 An: vchkpw@inter7.com
 Betreff: Re: [vchkpw] Forwarding/Moving Mails directly to a 
 IMAP Subfolder
 
 
 Philipp Suek wrote:
  Hi,
  
  I currently try to forward mails with the dot-qmail files 
  .qmail-adress to a courier-imap subfolder of a Maildir.
  
  I tried to use vdelivermail, but it needs a Maildir 
 directory. I tried 
  to move the files from the cur to the subfolder, but it didn't work 
  perfectly.
  
  Do you have any idea?
  
 
 As I remember you can just put the path of the Maildir in the 
 .qmail-user file.
 
 Regards,
 
 Tren.
 




[vchkpw] forwarding mails

2005-05-26 Thread Payal Rathod
Hi,
How in the world am I suppossed to forward mails in qmail+vpopmail 
setup?

# pwd
/home/vpopmail/domains/example.net

# echo [EMAIL PROTECTED]  .qmail-rp

This does not work.

Neither this does,
# echo [EMAIL PROTECTED]  rp/.qmail

With warm regards,
-Payal





Re: [vchkpw] forwarding mails

2005-05-26 Thread Rick van Vliet

Payal Rathod wrote:

Hi,
How in the world am I suppossed to forward mails in qmail+vpopmail 
setup?


# pwd
/home/vpopmail/domains/example.net

# echo [EMAIL PROTECTED]  .qmail-rp

This does not work.

Neither this does,
# echo [EMAIL PROTECTED]  rp/.qmail

With warm regards,
-Payal







Use valias. Or qmailadmin from http://inter7.com/?page=qmailadmin

To forward mail for [EMAIL PROTECTED] to two different external 
addresses:


# /home/vpopmail/bin/valias -i [EMAIL PROTECTED]
[EMAIL PROTECTED]
# /home/vpopmail/bin/valias -i [EMAIL PROTECTED]
[EMAIL PROTECTED]

valias works by putting a .qmail-aliens file in the relevant domain 
directory.


(Check the permissions on the dot-qmail files you already made, and be 
sure that owner=vpopmail, group=vchkpw.) Then they might work as you expect.

Rick


Re: [vchkpw] forwarding mails

2005-05-26 Thread DAve

Payal Rathod wrote:

Hi,
How in the world am I suppossed to forward mails in qmail+vpopmail 
setup?


# pwd
/home/vpopmail/domains/example.net

# echo [EMAIL PROTECTED]  .qmail-rp

This does not work.

Neither this does,
# echo [EMAIL PROTECTED]  rp/.qmail

With warm regards,
-Payal


What are perms and ownership of the .qmail- files?

What do the logs say?

I have mine scripted to be 644 and vpopmail:vchkpw at creation.
I use valias for forwards mostly, though I still have a few .qmail files 
around for accounts that have mail 'copied' to other accounts.


DAve



Re: [vchkpw] forwarding mails

2005-05-26 Thread Chris Pugh
 Payal Rathod wrote:
  How in the world am I suppossed to forward mails
 in qmail+vpopmail setup?

 # pwd
 /home/vpopmail/domains/example.net
  
  # echo [EMAIL PROTECTED]  .qmail-rp
  
  This does not work.

This is the correct format. With the right 
permissions no reason why it shouldn't work.
 
  Neither this does,
  # echo [EMAIL PROTECTED]  rp/.qmail

  ( scratches head..  )

 What are perms and ownership of the .qmail- files?

--- DAve [EMAIL PROTECTED] wrote:
I have mine scripted to be 644 and vpopmail:vchkpw
at creation.

They work tickety-boo as below,

-rw---  vpopmail vchkpw .qmail-rp

If it's really giving you grief, why not use
qmailadmin to set them?

HTH

Chris.



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new Resources site
http://smallbusiness.yahoo.com/resources/


[vchkpw] Forwarding problem by using maildrop

2003-09-24 Thread Andrej
Hello List,

I'm using qmail 1.03, vpopmail 5.2.1, SpammAssassin-2.53 with Maildrop.

Some of the mail-accounts have a forward file in their directory:

/vopmail-home/domains/problem.com/user/.qmail

If I send an email to an user who have this .qmail forward file, the 
mail will not be forwarded. This happens when the spam filter is activated:

# cat .qmail-default
| /usr/local/bin/maildrop mailfilter
The qmail log file says that everything is ok and that the email is 
delivered local - but she isn't.

Where goes the mail???

Thanks in advice!
Andrej.
# cat mailfilter
VPOP=| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
VHOME=`/home/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED]
if ( $SIZE  262144 )
{
exception {
xfilter /usr/local/bin/spamc -f -u [EMAIL PROTECTED]
}
}
if (/^X-Spam-Flag: *YES/)
{
# try filtering it using user-defined rules
exception {
include $VHOME/Maildir/.mailfilter
}
# then try delivering it to a Spam folder
exception {
# to $VPOP
to $VHOME/Maildir/.Spam/
}
# ah well, I guess they'll just have to live with disappointment
exception {
to $VPOP
}
}
else
{
exception {
include $VHOME/Maildir/.mailfilter
}
exception {
to $VPOP
}
}







[vchkpw] Forwarding....

2003-07-07 Thread Bill Sappington
Ok so after wading through documentation that didn;t document so very damn 
well, and the snide remarks from a few people on this list and suffering 
through the whole It was hard to write so it should be hard to use 
attitude this works for forwarding.

The following assumes a standard Qmail install on Linux, a standard install 
of Vpopmail.

Standard install will create: /home/vpopmail/domains

Within the domains directory a sub-driectory for each domain you put onto 
the system is created it:

New Domain = MyNewDomain.Com

So you will have the following directory structure:

/home/vpopmail/domains/MyNewDomain.com

for the obligitory postmaster you will have:

/home/vpopmail/domains/MyNewDomain.com/postmaster

within the above you will have

/home/vpopmail/domains/MyNewDomain.com/postmaster/MailDir

within Maildir you will have three directories:  new, cur  tmp

*=*=*=*=*=*=*=*=*=*=*= THE DEFAULT FORWARD *=*=*=*=*=*=*=*=*=*=*=*

Create a user for the domain MyNewDomain.com, ie: 'info' and you will have:

/home/vpopmail/domains/MyNewDomain.com/info/MailDir

within Maildir you will have three directories:  new, cur  tmp

within the directory: /home/vpopmail/domains/MyNewDomain.com execute the 
ls -all command
and you will see the file '.qmail-default'.  This file handles all e-mail 
comming to this domain that has no valid destination.  The contents of this 
file are:

| /home/vpopmain/bin/vdelivermail '' bounce

To make all e-mail without a valid destination in MyNewDomain.com go to a 
specific user, replace the word 'bounce' with the fully qualified address 
of the person you want it to go to.  This can be ANYONE!  Inside or outside 
your domain.

So suppose you want all e-mail with no valid destination at MyNewDomain.com 
to go to your mailbox on hotmail.com change the line to look like this:

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

This is the Catch All!

*=*=*=*=*=*=*=*=*=*=*=*= THE INDIVIDUAL FORWARD 
*=*=*=*=*=*=*=*=*=*=*=*=*=*=

To forward for a specific user create a file in the DOMAIN directory:

/home/vpopmail/domains/MyNewDomain.com

name it .qmail-[user name of the person in this domain for which you would 
like to do forwarding]

So in the above example, I have a domain called 'MyNewDomain.com' and a 
user named 'info'.  If I want to forward ALL e-mail for the user 'info' to 
my hotmail address I would use a text editor such as pico since its very 
simple to use and execute the following command:

pico /home/vpopmail/domains/MyNewDomain.com/.qmail-info

Then add the following to the file:

[EMAIL PROTECTED]

Save the file and I have just created the forwarding rule for the 
individual user.

= end 





RE: [vchkpw] Forwarding....

2003-07-07 Thread Benjamin Tomhave
I didn't follow your thread before, but this is all elementary qmail
configuration.  What was the problem?  Are you familiar with qmailadmin,
because it does all of this for you through a compiled CGI GUI (soon to be
PHP-based, with a little luck).

 -Original Message-
 From: Bill Sappington [mailto:[EMAIL PROTECTED]
 Sent: Monday, July 07, 2003 11:10 AM
 To: 'vpopmail list'
 Subject: [vchkpw] Forwarding


 Ok so after wading through documentation that didn;t document so
 very damn
 well, and the snide remarks from a few people on this list and suffering
 through the whole It was hard to write so it should be hard to use
 attitude this works for forwarding.

 The following assumes a standard Qmail install on Linux, a
 standard install
 of Vpopmail.

 Standard install will create: /home/vpopmail/domains

 Within the domains directory a sub-driectory for each domain you put onto
 the system is created it:


 New Domain = MyNewDomain.Com

 So you will have the following directory structure:

 /home/vpopmail/domains/MyNewDomain.com

 for the obligitory postmaster you will have:

 /home/vpopmail/domains/MyNewDomain.com/postmaster

 within the above you will have

 /home/vpopmail/domains/MyNewDomain.com/postmaster/MailDir

 within Maildir you will have three directories:  new, cur  tmp

 *=*=*=*=*=*=*=*=*=*=*= THE DEFAULT FORWARD *=*=*=*=*=*=*=*=*=*=*=*

 Create a user for the domain MyNewDomain.com, ie: 'info' and you
 will have:

 /home/vpopmail/domains/MyNewDomain.com/info/MailDir

 within Maildir you will have three directories:  new, cur  tmp

 within the directory: /home/vpopmail/domains/MyNewDomain.com execute the
 ls -all command
 and you will see the file '.qmail-default'.  This file handles all e-mail
 comming to this domain that has no valid destination.  The
 contents of this
 file are:

 | /home/vpopmain/bin/vdelivermail '' bounce

 To make all e-mail without a valid destination in MyNewDomain.com go to a
 specific user, replace the word 'bounce' with the fully qualified address
 of the person you want it to go to.  This can be ANYONE!  Inside
 or outside
 your domain.

 So suppose you want all e-mail with no valid destination at
 MyNewDomain.com
 to go to your mailbox on hotmail.com change the line to look like this:

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

 This is the Catch All!

 *=*=*=*=*=*=*=*=*=*=*=*= THE INDIVIDUAL FORWARD
 *=*=*=*=*=*=*=*=*=*=*=*=*=*=

 To forward for a specific user create a file in the DOMAIN directory:

 /home/vpopmail/domains/MyNewDomain.com

 name it .qmail-[user name of the person in this domain for which
 you would
 like to do forwarding]

 So in the above example, I have a domain called 'MyNewDomain.com' and a
 user named 'info'.  If I want to forward ALL e-mail for the user
 'info' to
 my hotmail address I would use a text editor such as pico since its very
 simple to use and execute the following command:

 pico /home/vpopmail/domains/MyNewDomain.com/.qmail-info

 Then add the following to the file:

 [EMAIL PROTECTED]

 Save the file and I have just created the forwarding rule for the
 individual user.

 = end
 






[vchkpw] forwarding a while domain regardless of users

2003-03-19 Thread Rob Short


I have a client asking me to act as a sort of bypass for their mail. I
have spam and virus checking installed using spamassassin and trophie,
and need to forward all users that come in addressed to a certain domain
to another. They add and delete up to 20 users a day, but they don't
want to have to add and delete them on their server *and* on my server. 

i.e., I receive a mail for [EMAIL PROTECTED], and I need to forward it to
[EMAIL PROTECTED], but I can't have vpopmail look to see if
[EMAIL PROTECTED] exists on my server - it just needs to know that
this.com exists, and all users are valid for that domain. The client
will handle that on their mailserver when I forward them the mail. Is
there a way to do this with vpopmail? I'm using qmail with maildrop,
BTW.



Rob Short




[vchkpw] forwarding a while domain regardless of users

2003-03-19 Thread Rob Short
Should read forwarding a WHOLE domain...apologies.

Rob Short




Re: [vchkpw] forwarding a while domain regardless of users

2003-03-19 Thread Peter Palmreuther
Hi Rob,

On Wed, 19 Mar 2003 10:36:24 -0600 Rob Short wrote:

 I tried the 
 |/home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED]
 
 line earlier this morning. No avail - I got syntax errors on that line.

So _who exactly_ reported that syntax error?

I've just set up an additional domain, for testing purposes only, that
was modified to have a .qmail-default exactly as given above (execept
'that.com' replaced by another domain).

What should I say ... it worked _immediately_.

'pitpalme.de' is the primary domain, 'asdfg.pitpalme.de' the new
test domain.

,-
| info msg 945386: bytes 246 from [EMAIL PROTECTED] qp 4783 uid 0
| starting delivery 52: msg 945386 to local \
|   [EMAIL PROTECTED]
| status: local 1/10 remote 0/20
| new msg 945395
| info msg 945395: bytes 358 from [EMAIL PROTECTED] qp 4788 uid 89
| starting delivery 53: msg 945395 to remote [EMAIL PROTECTED]
`-

Line wrapping escaped with '\' inserted manually to avoid ugly wrapping
in this email.

So you see ... it works.

 I think I'm moving this to an alternate server that calls spamassassin
 and trophie from qmail-scanner.

If you like ... do that. But be assured it would work without that work
araound. :-)
-- 
Pit



Re: [vchkpw] Forwarding....

2003-03-16 Thread Jonas Pasche
Hi Bill,

 So what I would like to know is about setting a forwarder for a particular 
 user of a domain.
 
 There does not seem to be a reference in the documentation; however, I 
 could be blind and stupid.

Forwardings are handled by qmail-local before vpopmail drops in. They're
well documented by Life with qmail:

http://lifewithqmail.org/lwq.html#dot-qmail-files
http://lifewithqmail.org/lwq.html#extension-addresses
http://lifewithqmail.org/lwq.html#aliases

 the .qmail-default file seems to alude to this via the empty set, ie:
 
 | /home/vpopmail/bin/vdelivermail '' delete

No.

 is then
 
 | /home/vpopmail/bin/vdelivermail [EMAIL PROTECTED] [EMAIL PROTECTED]
 
 The correct syntax to forward ???

No. Uh-oh, never start fiddling around with such trials. This is Unix;
you need to read the documentation to solve problems. If things are not
in the docs, we're here to help. :)

Jonas




Re: [vchkpw] Forwarding....

2003-03-16 Thread Anders Brander
Hi,

On Sun, 2003-03-16 at 17:03, Jonas Pasche wrote:
 Forwardings are handled by qmail-local before vpopmail drops in. They're
 well documented by Life with qmail:

Not entirely correct, .qmail files is read by vdelivermail if they are
placed inside users own directory. Please look at the
check_forward_deliver() function in vdelivermail.c

In other words, .qmail files in the domain directory is handled by
qmail-local, while .qmail files in user-directories is handled by
vdelivermail.

-- 
Anders Brander [EMAIL PROTECTED]




[vchkpw] Forwarding....

2003-03-15 Thread Bill Sappington
Ok,

Well I have the system working I even have the catch all working.

So what I would like to know is about setting a forwarder for a particular 
user of a domain.

There does not seem to be a reference in the documentation; however, I 
could be blind and stupid.

the .qmail-default file seems to alude to this via the empty set, ie:

| /home/vpopmail/bin/vdelivermail '' delete

syntax in as much as the following works...

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

will forward e-mail for non existant users to the named account, is then

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

The correct syntax to forward ???

Thanks in advance.





Re: [vchkpw] Forwarding....

2003-03-15 Thread Negative Nine
I have forwards setup like the following:

make a .qmail-USER file in the directory of the domain (replace USER with
the username)
in the file type [EMAIL PROTECTED] (without the quotes)

example of a forward from [EMAIL PROTECTED] to [EMAIL PROTECTED]
:
[EMAIL PROTECTED] closer]# cat
/usr/vpopmail/domains/neg9.netnitco.net/.qmail-root
[EMAIL PROTECTED]
[EMAIL PROTECTED] closer]#

Hope that helps,
Scott

- Original Message -
From: Bill Sappington [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, March 15, 2003 5:39 PM
Subject: [vchkpw] Forwarding


 Ok,

 Well I have the system working I even have the catch all working.

 So what I would like to know is about setting a forwarder for a particular
 user of a domain.

 There does not seem to be a reference in the documentation; however, I
 could be blind and stupid.

 the .qmail-default file seems to alude to this via the empty set, ie:

 | /home/vpopmail/bin/vdelivermail '' delete

 syntax in as much as the following works...

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

 will forward e-mail for non existant users to the named account, is then

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

 The correct syntax to forward ???


 Thanks in advance.






[vchkpw] Forwarding problem

2002-10-07 Thread Medgyesi Gergely

Hi all !

I'm using qmail with vpopmail and qmailadmin.

My poblem is, when I create an alias or a
forward for an address. Everything goes just right,
The mail arrives at its' destination and the From field
Remains the same as in the original message.

BUT 


When I modify an account and set KEEP  FORWARD
Then the mail forwards to the desination BUT the
Header of the message changes so to FROM FIELD will be
The following: [EMAIL PROTECTED]

Can anyone help me how to make vpopmail and
Qmailadmin to set such forwards, that doesn't
Change the FROM field in a message?

Thanks in advance.

PS. Sorry for my bad english...


Bye,


Gerg





Re: [vchkpw] Forwarding problem

2002-10-07 Thread Peter Palmreuther

On Mon, 07 Oct 2002 18:15:46 +0200
Medgyesi Gergely [EMAIL PROTECTED] wrote:

 When I modify an account and set KEEP  FORWARD
 Then the mail forwards to the desination BUT the
 Header of the message changes so to FROM FIELD will be
 The following: [EMAIL PROTECTED]

1.) Which vpopmail version
2.) Which qmailadmin version
3.) What's the result of

cat ~vpopmail/domains/$domain/$user/.qmail

with '$domain' replaced with your domain name and '$user' replaced with
correct user name whom the 'keep  forward' is setup for???

I've tested your scenario and can't confirm your problem with vpopmail
v5.3.8  qmailadmin v1.0.6.
-- 
Pit



Re: [vchkpw] Forwarding problem

2002-10-07 Thread Peter Palmreuther

On Mon, 07 Oct 2002 21:11:54 +0200
Medgyesi Gergely [EMAIL PROTECTED] wrote:

 Here's the answers for your questions:
 
 1. vpopmail 5.2.1 (Should I upgrade ??)
 2. qmailadmin 1.0.6
 3. Here's what vpopmail/domains/$domain/$user/.qmail contains: (
 is the test user name...)
 
 [EMAIL PROTECTED]
 /var/vpopmail/domains/nyke.hu//Maildir/
 
 I completely can't understand this, because if I copy these lines to:
 
 vpopmail/domains/$domain/.qmail-any_user_name_here
 
 file, than the forwarding works fine, and the form field remains the
 same as in the original mail.

So it seems 'vdelivermail' in vpopmail-5.2.1 has problems with ''
styled forwards in '~vpopmail/domains/$domain/$user/.qmail' files.

For testing purposes could you change

[EMAIL PROTECTED]

to

|forward [EMAIL PROTECTED]

manually?

Nevertheless, all in all, I guess you'll need to upgrade to 5.3.8 which
I'd personally call 'stable' to get this working, as even if '|forward'
syntax works you'd have to modify qmailadmin. Therefore it might be an
idea to give 5.3.8 a try, as as I said it work here, using exactly this
version, flawless.
-- 
Pit



RE: [vchkpw] Forwarding problem 5.3.8

2002-10-07 Thread Medgyesi Gergely


Hi !

Nooo I screamed, after installing vpopmail 5.3.8, because the
problem remained the same..


Any idea?


Bye,

Gergo


-Original Message-
From: Peter Palmreuther [mailto:[EMAIL PROTECTED]] 
Sent: Monday, October 07, 2002 9:52 PM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] Forwarding problem

On Mon, 07 Oct 2002 21:11:54 +0200
Medgyesi Gergely [EMAIL PROTECTED] wrote:

 Here's the answers for your questions:
 
 1. vpopmail 5.2.1 (Should I upgrade ??)
 2. qmailadmin 1.0.6
 3. Here's what vpopmail/domains/$domain/$user/.qmail contains: (
 is the test user name...)
 
 [EMAIL PROTECTED]
 /var/vpopmail/domains/nyke.hu//Maildir/
 
 I completely can't understand this, because if I copy these lines to:
 
 vpopmail/domains/$domain/.qmail-any_user_name_here
 
 file, than the forwarding works fine, and the form field remains the
 same as in the original mail.

So it seems 'vdelivermail' in vpopmail-5.2.1 has problems with ''
styled forwards in '~vpopmail/domains/$domain/$user/.qmail' files.

For testing purposes could you change

[EMAIL PROTECTED]

to

|forward [EMAIL PROTECTED]

manually?

Nevertheless, all in all, I guess you'll need to upgrade to 5.3.8 which
I'd personally call 'stable' to get this working, as even if '|forward'
syntax works you'd have to modify qmailadmin. Therefore it might be an
idea to give 5.3.8 a try, as as I said it work here, using exactly this
version, flawless.
-- 
Pit