Virginie Maillet | 18 Aug 2011 05:04
Picon
Favicon

AUTO: Virginie Maillet/UK/IBM is on holiday (returning 30/08/2011)


I am out of the office until 30/08/2011.

I am on holiday and will return on Tuesday 30 August 11.

In my absence, please contact Rhian Johns Office: +44 208 818 4638 / 364638
on Smarter Cities or Emma Crosby +44 7753 829858

Alternatively I will respond to your message on my return

Many thanks Virginie

Note: This is an automated response to your message  "[vmailmgr] single
base (system) user" sent on 18/8/2011 0:43:13.

This is the only notification you will receive while this person is away.

---------------------------------------------------------------------
To unsubscribe, e-mail: vmailmgr-unsubscribe <at> lists.untroubled.org
For additional commands, e-mail: vmailmgr-help <at> lists.untroubled.org

Shantanu Kulkarni | 18 Aug 2011 01:43
Picon

single base (system) user

Hi,
I am not a frequent user of vmailmgr so please excuse if this question
is amounting to sacrilege :)
How can I use a single base (system) user in which I can have a bunch
of virtualdomains?

Regards,
Shantanu
--

-- 

---------------------------------------------------------------------
To unsubscribe, e-mail: vmailmgr-unsubscribe <at> lists.untroubled.org
For additional commands, e-mail: vmailmgr-help <at> lists.untroubled.org

Bernhard Graf | 9 Jun 2011 08:53
Picon

Server side filtering

Simple question:

Is there a way to do server side filtering with vmailmgr?
Maybe in the vdeliver-predeliver script?

To give you an idea: I want to move all mails, that a tagged by 
SpamAssassin in a vuser's Spam folder, if that exists.

--

-- 
Bernhard Graf

---------------------------------------------------------------------
To unsubscribe, e-mail: vmailmgr-unsubscribe <at> lists.untroubled.org
For additional commands, e-mail: vmailmgr-help <at> lists.untroubled.org

Bernhard Graf | 29 Apr 2010 09:52
Picon

troubles with glibc 2.10

Hi,

I've just installed vmailmgr on a current openSUSE 11.2.

Compiling fails with:

> make[2]: Entering directory `/home/graf/packages/BUILD/vmailmgr-0.97/authenticate'
> g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../lib    -g -O2 -fno-rtti -fno-exceptions -Wall -c checkvpw.cc
> checkvpw.cc: In function 'char* strcasestr(const char*, const char*)':
> checkvpw.cc:108: error: new declaration 'char* strcasestr(const char*, const char*)'
> /usr/include/string.h:367: error: ambiguates old declaration 'const char* strcasestr(const char*,
const char*)'
> make[2]: *** [checkvpw.o] Error 1
> make[2]: Leaving directory `/home/graf/packages/BUILD/vmailmgr-0.97/authenticate'

The reason is strcasestr() which is defined in checkvpw.cc, but also
exists in glibc. This didn't hurt until now, because both were declared
the same way, but now in glibc 2.10 the declaration changed slightly:
strcasestr() returns "const char *" instead of "char *", and this
results in the above error.

The easy fix is to delete strcasestr() from checkvpw.cc, this is what
the attached patch does. A check for strcasestr() in configure on the
current system would probably better.

--

-- 
Bernhard Graf
Joan Picanyol i Puig | 11 Jan 2010 12:58

probable vmailmgr bug (only under freebsd?) with vchforwards

[hacked up In-Reply-To old thread]

Olivier,

Regarding the issue you found modifying forwards from the cli, could you
confirm/deny that it's FreeBSD-only and/or that the patch in
http://lists.untroubled.org/?list=vmailmgr&cmd=showmsg&msgnum=9905
solves it for you?

Just for the sake of the archives :)

tks
--

-- 
pica

tobias carlsson | 15 Dec 2006 10:36
Picon

authvmailmgr with courier-authlib-0.58

Hi!

I'm having problems to get vmailmgr authmodule to work with the latest courier-authlib.
It seems like courier-authlib have changed its setup since I last used it. All the auth modules is
installed under /usr/local/lib/courier-authlib.

When couriers authdaemon tries to load the authmailmgr module it looks for a shared object file
called libauthvmailmgr.so. All the auth modules will be called in this matter, authmodule -> libauthmodule.

Anyone who has a clue on how to get the two to work? Maybe they're not compatible anymore?

Best regards
Tobias Carlsson

Graham Miller | 6 Dec 2006 02:09
Picon

RE: Greylisting or Postfix

George Georgalis wrote:
> well qmail and mailbox verification are like oil and water ;)

This is precisely why I use Bruce's smtpfront-qmail instead of qmail-smtpd.
Join this with the CVM authentication checking daemon and mailbox
verification into vmailmgr run mailboxes is a snap.

> I run openbsd spamd
> http://www.openbsd.org/cgi-bin/man.cgi?query=spamd&sektion=8 with
> greylisting, it's 100% separate from your mta, doing packet 
> forwarding (for port 25 connections from IPs that past the test)
> from your fw to your mta.  It works on all the BSDs that I'm aware
> of, since it requires pf it only works on BSDs though. It doesn't
> need be on the same box or even site as the mta, and like most
> firewalls it requires almost zero cpu. That removes 98.5% of spam
> with no (RFC compliant) false positives, presumably as any
> greylisting would.

That looks interesting. Thanks for the tip. I'll check that out. We use
CentOS here so it will be interesting to see if has a port for that OS.

I came across a little greylisting daemon that can be slotted into the run
chain for smtp. It is called cqgreylist. It greylists on IP address of
sender only.
(http://oss.albawaba.com/cqgreylist.html)
This program I stuck in the run file after rblsmtpd and before
smtpfront-qmail. It worked OK and reduced the spam a fair bit, but not
fantastic. It has a couple of problems with not closing the connection and
leaving a connection slot busy and it logs pretty messily. It used a 60
second greylist wait time. But it gave me some good ideas.

So I then wrote a new greylistd program based on the code from DJB's
rblsmtpd. By using the same timeout and exit routines as he does, I figured
the program would avoid connection hangup problems. And I used the same
error logging style as djb too. So that is much tidier.

Similar to cqgreylist, we need to run a cron script every night to remove
entries over a day old (the time I chose) otherwise we will leave open some
IP addresses of zombies that manage to get past the greylisting. There is
also a way of whitelisting and blacklisting (along the same lines as
rblsmtpd).

Although the idea came from cqgreylist, I have created this program from
scratch and seems cleaner with some more features. These things can be set
on the command line and therefore can be different per instance:
- greylist wait time.
- limited smtp conversation timeout.
- directory to use for greylisting files.
- log file verbosity.

I am using 120 seconds as a greylist wait time at the moment. This has
considerably reduced the spam further.

So I have this running on a beta test smtp interface for one of my domains
and it has substantially reduced the spam arriving in mailboxes there. I am
talking a difference of something like 150 per day down to only around 10
per day. Admittedly, it has only been going for a couple of days, but shows
promising signs.

So what is the downside of doing it in this way?

This method ONLY greylists on IP address of sender only. All we do is see if
the IP address is greylisted yet or not and if not, set the greylist file,
and have a limited conversation with the sending MTA giving it a 4xx
temporary error and exiting after running the next program in the run chain.

So zombie computers can often send mail to several email addresses at your
domain and after the greylisting wait time, any new emails from that PC will
get through. I have seen some of this in the logs already. The other spam
getting through is via what looks like legitimate mail servers.

> If the remote mta gets through that, I have accept and deny
> lists for various IPs.

Good idea. I used the same mechanism as rblsmtpd uses. Set them in the
environment (GREYLIST=) using tcpserver.

> Next line of defense is a QMAILQUEUE script that does a variety of
> tests, including spamassassin, you could probably use mailfront
> here, but I've not tried it. Anyway, pass the test and mail goes to
> qmail-queue, fail and a header is added, the return path is striped
> and it goes to qmail-queue anyway (ie users can get smtp rejected
> mail in their spam mailbox, prune the maildir with cron find old and
> rm).

Mmmm, we do not do this. Once we accept the email, we deliver it to the
client.

> I don't know exactly why you want smtp rcpt verify, but the above
> works well with near zero back-scatter. Actually, if reducing
> back-scatter is your concern, you can create an ~alias/.qmail-default
> to /dev/null at little cost (which is very similar to what I do).

Mailfront does this well with vmailmgr mailboxes.

regards
Graham

---------------------------------------------------------------------
To unsubscribe, e-mail: vmailmgr-unsubscribe <at> lists.untroubled.org
For additional commands, e-mail: vmailmgr-help <at> lists.untroubled.org

ChuanWee | 21 Feb 2006 09:59
Picon
Favicon

Procmail in Vmailmgr

Hi,

I need to filter incoming emails to a spam folder if their Spam-status is set 
to Yes. The email has been processed by SpamAssassin on another server.

After looking thru all of the archive, it seems that getting Procmail to work 
with Vmailmgr is not as simple as setting up a .qmail file and getting 
procmail to run in it.

Has anyone implemented this in a simple way? 

Tom Goulet had supposely succeeded and document it in
http://web.em.ca/~tomg/tips/vmailmgr_procmail.html
but the link is not working....Anyone has the correct/updated link?

cheers
ChuanWee

---------------------------------------------------------------------
To unsubscribe, e-mail: vmailmgr-unsubscribe <at> lists.untroubled.org
For additional commands, e-mail: vmailmgr-help <at> lists.untroubled.org

Rik Burt | 20 Feb 2006 03:30

Re: compiling vmailmgr-0.97 on OpenBSD 3.8

Joan Picanyol i Puig wrote:
> * Greg <runman <at> speedfactory.net> [20060129 00:14]:
> [...] 
>> bash-3.00# make check
>> Making check in php
>> Making check in lib
>> Making check in misc
>> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..    -g -O2 -fno-rtti -fno-exceptions
>> -Wall -c crc32.cc
> [...]
>> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..    -g -O2 -fno-rtti -fno-exceptions
>> -Wall -c server.cc
>> server.cc: In function `unsigned char* encode_string(unsigned char*,
>> mystring)
>>    ':
>> server.cc:36: error: `memcpy' undeclared (first use this function)
>> server.cc:36: error: (Each undeclared identifier is reported only once for
>> each
>>    function it appears in.)
>> server.cc: In member function `int server_call::connect(const mystring&)
>> const
>>    ':
>> server.cc:82: error: `strcpy' undeclared (first use this function)
>> server.cc:83: error: `strlen' undeclared (first use this function)
>> *** Error code 1
>>
>> Stop in /usr/local/src/vmailmgr-0.97/lib/misc.
>> *** Error code 1
>>
>> Stop in /usr/local/src/vmailmgr-0.97/lib (line 190 of Makefile).
>> *** Error code 1
>>
>> Stop in /usr/local/src/vmailmgr-0.97 (line 177 of Makefile).
> 
> This one is because str{cpy,len} are not defined in stdlib.h but
> string.h on *BSD. Add a line like the following to the beggining of
> server.cc:
> 
> #include <string.h>

I added this line and my failure was:

g++  -g -O2 -fno-rtti -fno-exceptions -Wall  -o vauthenticate
vauthenticate.o authvlib.o ../lib/libvmailmgr.a
../lib/libvmailmgr.a(exec.o)(.text+0x39): In function `presetenv(char
const*, mystring const&)':
/home/rikb/DJB/build/vmailmgr-0.97/lib/misc/exec.cc:32: warning:
strcpy() is almost always misused, please use strlcpy()
make: don't know how to make checkvpw.1. Stop in
/home/rikb/DJB/build/vmailmgr-0.97/authenticate.
*** Error code 1

> 
> after this it fails for me like:
> 
> Making check in cdb++
> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..    -g -O2 -fno-rtti -fno-exceptions -Wall -c datum.cc
> In file included from ../fdbuf/fdbuf.h:79,
>                  from datum.h:5,
>                  from datum.cc:17:
> ../fdbuf/fdobuf.h:53: error: expected `;' before '(' token

I didn't see this error. Did you try a make clean?
> 
> And I'm stumped here :(

Me too but I ran 'gmake check' and it compiled fine.  Haven't checked 
how it works but I am about to find out.

> 
> qvb
> --
> pica
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: vmailmgr-unsubscribe <at> lists.untroubled.org
> For additional commands, e-mail: vmailmgr-help <at> lists.untroubled.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: vmailmgr-unsubscribe <at> lists.untroubled.org
For additional commands, e-mail: vmailmgr-help <at> lists.untroubled.org

Giam Teck Choon | 20 Feb 2006 00:15
Favicon

Re: compiling vmailmgr-0.97 on OpenBSD 3.8


> * Greg <runman <at> speedfactory.net> [20060129 00:14]:
> [...]
>  > bash-3.00# make check
>  > Making check in php
>  > Making check in lib
>  > Making check in misc
>  > g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..    -g -O2 -fno-rtti 
> -fno-exceptions
>  > -Wall -c crc32.cc
> [...]
>  > g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..    -g -O2 -fno-rtti 
> -fno-exceptions
>  > -Wall -c server.cc
>  > server.cc: In function `unsigned char* encode_string(unsigned char*,
>  > mystring)
>  >    ':
>  > server.cc:36: error: `memcpy' undeclared (first use this function)
>  > server.cc:36: error: (Each undeclared identifier is reported only 
> once for
>  > each
>  >    function it appears in.)
>  > server.cc: In member function `int server_call::connect(const mystring&)
>  > const
>  >    ':
>  > server.cc:82: error: `strcpy' undeclared (first use this function)
>  > server.cc:83: error: `strlen' undeclared (first use this function)
>  > *** Error code 1
>  >
>  > Stop in /usr/local/src/vmailmgr-0.97/lib/misc.
>  > *** Error code 1
>  >
>  > Stop in /usr/local/src/vmailmgr-0.97/lib (line 190 of Makefile).
>  > *** Error code 1
>  >
>  > Stop in /usr/local/src/vmailmgr-0.97 (line 177 of Makefile).
> 
> This one is because str{cpy,len} are not defined in stdlib.h but
> string.h on *BSD. Add a line like the following to the beggining of
> server.cc:
> 
> #include <string.h>
> 
> after this it fails for me like:
> 
> Making check in cdb++
> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..    -g -O2 -fno-rtti 
> -fno-exceptions -Wall -c datum.cc
> In file included from ../fdbuf/fdbuf.h:79,
>                  from datum.h:5,
>                  from datum.cc:17:
> ../fdbuf/fdobuf.h:53: error: expected `;' before '(' token
> 
> And I'm stumped here :(
> 
> qvb
> -- 
> pica

Try the following patches:

--- lib/fdbuf/fdbuf.h.orig      Mon Feb 20 01:21:46 2006
+++ lib/fdbuf/fdbuf.h   Mon Feb 20 01:23:45 2006
 <at>  <at>  -21,6 +21,8  <at>  <at> 
  #include "config.h"
  #include <string.h>
  #include <fcntl.h>
+#include <unistd.h>

  #ifdef _REENTRANT
  #include <pthread.h>

--- lib/misc/server.cc.orig     Mon Feb 20 01:07:16 2006
+++ lib/misc/server.cc  Mon Feb 20 01:07:32 2006
 <at>  <at>  -20,6 +20,7  <at>  <at> 
  #include <unistd.h>
  #include "un.h"
  #include "debug.h"
+#include <string.h>

  server_call::~server_call()
  {

--
Giam Teck Choon

---------------------------------------------------------------------
To unsubscribe, e-mail: vmailmgr-unsubscribe <at> lists.untroubled.org
For additional commands, e-mail: vmailmgr-help <at> lists.untroubled.org

Richard Feldmann | 24 Sep 2005 06:59
Picon

is Xfig and/or TransFig mandatory to install vmailmgr?

I just tried installing the latest version of vmailmgr and get errors with finding the fig2dev program. As
the subject states, is it necessary or can those requirements be disabled?

Thanks,
Richard

--

-- 
Did this email or post help you? If so, please rate me at affero: http://rate.affero.net/RhunDraco

---------------------------------------------------------------------
To unsubscribe, e-mail: vmailmgr-unsubscribe <at> lists.untroubled.org
For additional commands, e-mail: vmailmgr-help <at> lists.untroubled.org


Gmane