Re: [vchkpw] Re: Maildrop

2002-12-09 Thread Fernando Costa de Almeida

Thanks, now Im sending emails with maildrop with success.., but I still
have some questions:

1) How can I make a .qmail-default and maildroprc that dinamically
choose the user sender? What I want is to not put a .qmail file to every
user in my domains, but instead justt a .qmail-default in the domain dir...

2) I have quotas support, but maildrop cant see them, since vdelivermail
is the responsable to do this.. How can I do not loose the vdelivermail
features, but use maildrop filters? Im reading about the seekable patch, and
althougt I applied the patch sucessfully, vdelivermail seens to not see my
emails. Here is my .qmail.default

$ cat .qmail-default
| /usr/local/bin/maildrop ./teste/Maildir/.mailfilter |
/var/vpopmail/bin/vdelivermail '' bounce-no-mailbox

Im not getting 'lseek erros' any more, but it seens that vdelivermail
dont do this work :-)

Thanks in advance.



> Fernando Costa de Almeida writes:
>
> > Hi,
> >
> > Im trying to add mail filtering feature to my existent vpopmail setup:
> >
> > 1) vpopmail-5.2
> > 2) sqwebmail-3.3.3
> > 3) maildrop-1.5.0
> > 4) qmailadmin-1.0.4
> > 5) OpenLdap 2.0.27
> >
> > But I always get this error when sending email:
> >
> > delivery 43: deferral: /usr/local/bin/maildrop:_Unable_to_open_mailbox./
> >
> >

> > _
> > $ cat /usr/local/share/sqwebmail/maildirfilterconfig
> > MAILDIRFILTER=.mailfilter
> > MAILDIR=./Maildir
> >
> > $ cat /var/vpopmail/domains/teste.com.br/.qmail-default
> > | /usr/local/bin/maildrop ./teste/Maildir/.mailfilter
> > | /var/vpopmail/bin/vdelivermail '' bounce-no-mailbox
>
>
> I ran into the same problem.  Try setting MAILDIR=teste/Maildir in
> maildirfilterconfig.  For some reason maildrop looks for "Maildir" folder
in
> domains/domain.com/ dir.  Update your filters using sqwebmail or editing
> .mailfilter file.  Then send a test message.
>
> LanMan
>
>
>





[vchkpw] Empty Delivered-To: line

2002-12-09 Thread Claudio Nieder
Hi,

I'm using vpopmail-5.2.1 and I send an E-Mail to user@domain which has a
.qmail File containing a

./Maildir/

line as delivery instruction. Mail get's delivered into his/her Mailbox, 
but with an Delivered-To: line containing no address.

According to a glance into the source of vdelivermail.c the problem
occurs, because the maildir_to_email procedure, which is used to
determine the users E-Mail address, still expects the delivery
instruction to be a directory path containing at least all components
from / DOMAINS_DIR / down to Maildir and is not prepared to work with
relative paths in the .qmail file.

claudio
-- 
Claudio Nieder  .  mailto:[EMAIL PROTECTED]  .  http://www.inodes.ch
 iNodes AG  .  Friesenbergstrasse 3  .  CH-8055 Zürich  .  +41 43 960 0066




[vchkpw] Re-mapping domain name ?

2002-12-09 Thread Brian Ipsen
Hi! 

Is it somehow possible via the control-files to re-map mail for one domain
into the directory of another one (when using vpopmail - local
delivery) ? Example, I have two domains, xxxyyy.dk and xxx-yyy.dk  - when
the server receives mail for a user one domain xxxyyy.dk, it should be
re-mapped to xxx-yyy.dk - like [EMAIL PROTECTED] -> [EMAIL PROTECTED] 

Thanks in advance 

/Brian Ipsen 



Re: [vchkpw] Re-mapping domain name ?

2002-12-09 Thread Johan Almqvist
* Brian Ipsen <[EMAIL PROTECTED]> [021209 17:45]:
> Is it somehow possible via the control-files to re-map mail for one domain
> into the directory of another one (when using vpopmail - local
> delivery) ? Example, I have two domains, xxxyyy.dk and xxx-yyy.dk  - when
> the server receives mail for a user one domain xxxyyy.dk, it should be
> re-mapped to xxx-yyy.dk - like [EMAIL PROTECTED] -> [EMAIL PROTECTED] 

vaddaliasdomain
http://inter7.com/vpopmail/doc/vaddaliasdomain.html

-Johan
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/



msg10122/pgp0.pgp
Description: PGP signature


Re: [vchkpw] using SpamAssassin on a per user basis with qmail

2002-12-09 Thread Nick Lomonte

>   ~vpopmail/domains/example.com/user/.qmail
> 
> Is this what you are asking?

Yes ;)
 
-- 
Nick Lomonte
Network Engineer
Eonet
[EMAIL PROTECTED]
409.833.1700





[vchkpw] vpopmail domain password

2002-12-09 Thread smtpfog
Hi,

Simple question how to change password to virtual
domain created with vpopmail?
 
Thanks




Re: [vchkpw] vpopmail domain password

2002-12-09 Thread Davide Giunchi

vpasswd postmaster@domain newpassword

Regards.

> Hi,
>
> Simple question how to change password to virtual
> domain created with vpopmail?
>
> Thanks

-- 
Davide Giunchi.
Membro del FoLUG (Forlí Linux User Group) - http://folug.linux.it
GPG Key available on http://www.keyserver.net 
Fingerprint: 4BFF 2682 6A58 ECFE 071B  A1A4 F2A3 9EFA 6494 81FD





Re: [vchkpw] Re-mapping domain name ?

2002-12-09 Thread Matthew Walker
Johan Almqvist said:
> * Brian Ipsen <[EMAIL PROTECTED]> [021209 17:45]:
>> Is it somehow possible via the control-files to re-map mail for one
>> domain into the directory of another one (when using vpopmail - local
>> delivery) ? Example, I have two domains, xxxyyy.dk and xxx-yyy.dk  -
>> when the server receives mail for a user one domain xxxyyy.dk, it should
>> be re-mapped to xxx-yyy.dk - like [EMAIL PROTECTED] -> [EMAIL PROTECTED]
>
> vaddaliasdomain
> http://inter7.com/vpopmail/doc/vaddaliasdomain.html
>
> -Johan
> --
> Johan Almqvist
> http://www.almqvist.net/johan/qmail/

Or vaddaliasuser (I think.) Either that, or set up a .qmail file to forward
that user's mail to the other domain.






Re: [vchkpw] vpopmail domain password

2002-12-09 Thread smtpfog
Thanks Davide,

I'll try

Regards
Paco.


Davide Giunchi wrote:

> 
> 
> vpasswd postmaster@domain newpassword
> 
> Regards.
> 
> > Hi,
> >
> > Simple question how to change password to virtual
> > domain created with vpopmail?
> >
> > Thanks
> 
> -- 
> Davide Giunchi.
> Membro del FoLUG (Forlí Linux User Group) -
> http://mail.mailbanamex.com/jump/http://folug.linux.it";>http://folug.linux.it
> GPG Key available on http://mail.mailbanamex.com/jump/http://www.keyserver.net";>http://www.keyserver.net
 
> Fingerprint: 4BFF 2682 6A58 ECFE 071B  A1A4 F2A3 9EFA
> 6494 81FD




RE: [vchkpw] vpopmail domain password

2002-12-09 Thread Gilberto J. Palau
I am trying to unsubscribe... why doesn't it do it.. :<

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Monday, December 09, 2002 4:05 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [vchkpw] vpopmail domain password

Thanks Davide,

I'll try

Regards
Paco.


Davide Giunchi wrote:

> 
> 
> vpasswd postmaster@domain newpassword
> 
> Regards.
> 
> > Hi,
> >
> > Simple question how to change password to virtual
> > domain created with vpopmail?
> >
> > Thanks
> 
> -- 
> Davide Giunchi.
> Membro del FoLUG (Forlí Linux User Group) -
> http://mail.mailbanamex.com/jump/http://folug.linux.it";>http://fol
ug.linux.it
> GPG Key available on http://mail.mailbanamex.com/jump/http://www.keyserver.net";>http://
www.keyserver.net 
> Fingerprint: 4BFF 2682 6A58 ECFE 071B  A1A4 F2A3 9EFA
> 6494 81FD








Re: [vchkpw] vpopmail domain password

2002-12-09 Thread Bill Shupp
On Monday, December 9, 2002, at 01:05  PM, Gilberto J. Palau wrote:


I am trying to unsubscribe... why doesn't it do it.. :<



Send a message to [EMAIL PROTECTED] and follow the 
instructions that are send to you.

Bill




[vchkpw] Log/back up all in/out msgs on a unique virtualdomain

2002-12-09 Thread Luis Marcelo de Almeida Nogueira
Hello All,

I'm using Qmail with Vpopmail. I need to LOG all incoming and outgoing
messages on an specific virtualdomain (not all domains on my mail
server).

To log incoming mail, I add a:  &backup@"monitoreddomain".com
in all .qmail-* files (including .qmail-default) and created .qmail-
files to all pop users with two line: the line above and the line with
his/her mail directory. If someone has and idea to make it simple. It
will be welcome.

Regarding the outgoing mail, I have no idea how to log it.

Thanks,


Luís Marcelo de Almeida Nogueira



---
Este e-mail é confidencial e de uso exclusivo do destinatário. Seu
conteúdo não deve ser revelado a terceiros. Caso você não seja o
destinatário, favor notificar o remetente e apagar esta mensagem
imediatamente.
Alertamos que esta mensagem transitou por via pública de comunicação,
e seu conteúdo original pode ter sido adulterado.

This e-mail is private and confidential, and of exclusive use of the
addressee only. Its contents should not be revealed to third parties.
If you are not the intended addressee, please notify the sender and
promptly delete this message. 
It should be advised that this correspondence has been transmitted
through a public communication channel, and its original contents may
have suffered alteration.
---





RE: [vchkpw] using SpamAssassin on a per user basis with qmail

2002-12-09 Thread Charles J. Boening
Here's how I do it (my users are stored in postgresql)

##
.qmail in /home/vpopmail/domains//
##
|maildrop mailfilter


##
mailfilter in /home/vpopmail/domains//
##

import EXT
import HOST
import HOME
MAX = 99

if ($SIZE < 262144)
{
xfilter "/usr/bin/spamc -p 1783 -f -u $EXT@$HOST"
}

if ((/^X-Spam-Status: Yes, hits=![0-9]+\.[0-9]+!.*/:h && $MATCH2 >
$MAX))
{
exit
}

if ((/^X-Spam-Flag:.*YES/))
{
   `test -d ./Maildir/.SPAM`
   if( $RETURNCODE == 1 )
   {
   `maildirmake ./Maildir/.SPAM;chown -R vpopmail.vchkpw
./Maildir/.SPAM`
   `/home/vpopmail/subImapSpam.sh ./`
   }
   to "./Maildir/.SPAM/"
}

to "./Maildir/"

##
/home/vpopmail/subImapSpam.sh (subscribes imap folder for squirrelmail
users)
##

#!/bin/bash
IMAP="$1/Maildir/courierimapsubscribed"
if [ -f "$IMAP" ]; then
CHECK=`cat "$1/Maildir/courierimapsubscribed" | grep
"INBOX.SPAM"`
if [ "$CHECK" == "" ]; then
echo "INBOX.SPAM" >> $IMAP
fi
else
NEW="INBOX\nINBOX.Sent\nINBOX.Trash\nINBOX.Drafts\nINBOX.SPAM"

echo -e $NEW > $IMAP
chown vpopmail.vchkpw $IMAP
chmod 644 $IMAP
fi





Hope someone finds this useful.
Charlie


-Original Message-
From: Nick Lomonte [mailto:[EMAIL PROTECTED]] 
Sent: Monday, December 09, 2002 9:53 AM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] using SpamAssassin on a per user basis with qmail



>   ~vpopmail/domains/example.com/user/.qmail
> 
> Is this what you are asking?

Yes ;)
 
-- 
Nick Lomonte
Network Engineer
Eonet
[EMAIL PROTECTED]
409.833.1700








[vchkpw] Moving servers question (different directory structures)

2002-12-09 Thread Hubbard, David
Hi all,
I'm going to be attempting a move from one
server to another and they have different directory
structures both to the vpopmail directory and
within vpopmail.

The old server runs an older version of vpopmail
under /export/home/vpopmail, the new server will
just be /home/vpopmail.  The second change is
that the old server has all the domains under
~vpopmail/domains/ where the new server has broken
them up into segmented directories:

~vpopmail/domains/
~vpopmail/domains/0
~vpopmail/domains/1

etc...  I have already vadddomain'd the domains on
the new box to get the directory structure vpopmail
would like me to have.  I can write a simple perl
script to edit all the vpasswd files to remove
the leading /export from the paths and move the
files into the correct directories but how do I
regenerate all the vpasswd.cdb files?  Second, do I
need to worry about the .dir-control files located
in all the domain directories?

Thanks a lot for any guidance on this,

David