Re: qmail & anti-virii

2001-08-12 Thread Eduardo Augusto Alvarenga

Averroes <[EMAIL PROTECTED]> wrote:

> I am new in qmail and want to migrate qmail with security purposes
> but I want to know how to deal with virus, worms, etc.
> It is possible to configure qmail with some tools
> which check the contents of mail, attached docs, etc.
> All my server are Linux powered and all clients are Win2k.
> This is why of my mail.

I encourage you to take a look at the AMaViS project at
http://www.amavis.org. Totally qmail compatible.

Best Regards,

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
Blumenau - Santa Catarina. Tel. (47) 9102-3303
   http://www.netron.com.br/~eduardo
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



Re: error

2001-08-07 Thread Eduardo Augusto Alvarenga

[EMAIL PROTECTED]:

> hello,
> 
> how i can resolve this problem:
> 
> Hi. This is the qmail-send program at webmail.emsergipe.com.
> I'm afraid I wasn't able to deliver your message to the following 
> addresses.
> This is a permanent error; I've given up. Sorry it didn't work out.
> 
> <[EMAIL PROTECTED]>:
> Sorry, no mailbox here by that name. (#5.1.1)
> 
> in the log, the error is:
> 
> unable_to_chdir_to_maildir
> 
> i´m waiting for responses,

Probably your maildir permissions are wrong.
Use maildirmake to build the Maildir directory:

cd /home/aviana ; /var/qmail/bin/maildirmake Maildir
chown aviana:users Maildir -R (or adequate it to your OS)

Best Regards,

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
Blumenau - Santa Catarina. Tel. (47) 9102-3303
   http://www.netron.com.br/~eduardo
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



Environment Variables vs POP-before-SMTP

2001-06-07 Thread Eduardo Augusto Alvarenga

Hi there,

I'm using POP-before-SMTP function in vpopmail.
Everything was working fine if to relay successfully authenticated users
since I started trying to set the environment variable DATABYTES on my
tcp.smtp.cdb file, but POP-before-SMTP don't set it on the new
roaming user.

Like:

original tcp.smtp.cdb
192.168.0.:allow,RELAYCLIENT="",DATABYTES="1024"

new created on the fly tcp.smtp.cdb (I guess)
ro.am.ip.:allow,RELAYCLIENT=""

Any tips to resolve this?

vpopmail-4.9.10 - qmail-1.03

Best Regards,

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
Blumenau - Santa Catarina. Tel. (47) 9102-3303
   http://www.netron.com.br/~eduardo
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



Mailbounce message/analisys

2001-06-04 Thread Eduardo Augusto Alvarenga

[EMAIL PROTECTED]

You sent the following message to a mailing list that I'm subscribed
to.  You also sent a copy directly to me.  I don't want an extra copy.
If you respond to a message of mine, please respect the
Mail-Followup-To header field.  If you respond to a message sent by
someone else, please exercise the common sense that they didn't, and
trim the recipient list to excluded anyone who you know is on the
list.
/You can learn more about Mail-Followup-To at
http://cr.yp.to/proto/replyto.html>.
/If you're running qmail 1.03, you can automatically generate
Mail-Followup-To fields in your own mailing list messages.  Set
$QMAILMFTFILE to $HOME/.lists, where $HOME/.lists contains the
addresses of all the mailing lists you've subscribed to, one per line.
man qmail-inject for more information.

How did you do that?

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
Blumenau - Santa Catarina. Tel. (47) 9102-3303
   http://www.netron.com.br/~eduardo
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



Qmail + Radius integration

2001-05-31 Thread Eduardo Augusto Alvarenga

Hi there,

Does anyone have any information/links/howtos about
Qmail+Radius+Proftpd+MySQL integration?

Recentlly I've posted a message about problems with 
vpopmail-radius patch, but got no answers.

Any help will be very appreciated.

BR,

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
Blumenau - Santa Catarina. Tel. (47) 9102-3303
   http://www.netron.com.br/~eduardo
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



Re: limiting databytes per user

2001-05-28 Thread Eduardo Augusto Alvarenga

> Yes, providing you can guarantee that your 2MB users will get 192.
> addresses,
> and your 10MB users will get 193. addresses.  Also note your numbers are
> wrong; you've put 20KB and 100KB limits on them, not 2MB and 10MB.

How can I say 2MB and 10MB so on ?

> 
> Not necessarily.  Some/most DHCP servers let you do pseudo-static
> assignment
> based on MAC address that could fit the bill nicely here.
> 

Not easy on a 230 machines network...

Best Regards,

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
Blumenau - Santa Catarina. Tel. (47) 9102-3303
   http://www.netron.com.br/~eduardo
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



Re: limiting databytes per user

2001-05-28 Thread Eduardo Augusto Alvarenga

> If your users inject mail via SMTP from their workstations to your
> smarthost,
> and you can map IP addresses to usernames, it's trivial -- tcpserver's
> tcprules files can be used to set all environment variables (including
> DATABYTES) on a per-IP basis.
> 
> Charles

Great idea,

I'm using dhcp. Can I use a classless rule like? 

192.168.0.:allow,RELAYCLIENT="",DATABYTES="2" for 2MB users and
193.168.0.:allow,RELAYCLIENT="",DATABYTES="10" for 10MB users?

Should I migrade to fixed IP?

Best Regards,

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
Blumenau - Santa Catarina. Tel. (47) 9102-3303
   http://www.netron.com.br/~eduardo
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



limiting databytes per user

2001-05-28 Thread Eduardo Augusto Alvarenga

Hi there,

Is there a way to limit the control/databytes file by username?
I found some documentation about limiting by domainname but not for just a 
single username. I have some support users that full my queue with 
videos/games/etc; and also have users that use their mailboxes correctlly, for 
work. I want to limit the outgoing size of the stupid users to only 2MB and for 
other users to 10MB (mantain).
Other question: Is there a way to limit the number of outgoing messages per 
day? Ex. User jack has only permission to send 10 messages a day, and user john 
has unlimited permission to send messages daily.

I use vpopmail by default.

Best Regards,

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
Blumenau - Santa Catarina. Tel. (47) 9102-3303
   http://www.netron.com.br/~eduardo
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



Vpopmail-Radius patch

2001-05-27 Thread Eduardo Augusto Alvarenga

Hi there,

Has anyone got the radius-cistron-1.6.4-vpopmail patch working ok on
Linux ?
I've got some trouble compiling but before trying a lot of flags, i've
got these ones working:

# Makefile

CC  = gcc
CFLAGS  = -Wall -DNOSHADOW -g -I/var/vpopmail/include -DECA_MODS
LDFLAGS = -L/var/vpopmail/lib -L/usr/lib/mysql -L/usr/lib
LIBS= -lvpopmail -lmysqlclient -lcrypt
LCRYPT  = -lcrypt

It compiles and installs ok, but when I try to make a radtest to my
local server, it returns me something like this:

# radtest [EMAIL PROTECTED] 123 localhost:1645 12 Testing123
Mon May 28 00:09:42 2001: Auth: Login incorrect:
[[EMAIL PROTECTED]/?{IÁe÷ÛÑ?η?¨òÚë] (from nas 127.0.0.1/S142)

It seems that it is sending the crypted pass the the radius daemon. The
weird characters changes at each test,
even with the same password.

I'm running vpopmail-4.9.10 with mysql-3.22.32, large-site enabled under
Slackware Linux.


Any help will be very appreciated!

Best Regards,

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
Blumenau - Santa Catarina. Tel. (47) 9102-3303
   http://www.netron.com.br/~eduardo
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

 /"\
 \ /  Campanha da Fita ASCII - Contra Mail HTML
  X   ASCII Ribbon Campaign - Against HTML Mail
 / \



Re: Problems with SMTP connections

2001-05-22 Thread Eduardo Augusto Alvarenga

> Hey,
> 
> I'm pretty new to qmail, so I apologize in advance if my
> question is a but mundane.  I have read all the INSTALL docs
> and the FAQ, so I hope I haven't overlooked anything.
> Here's the deal:
> 
> Everything gets delivered locally just fine.  Even remotely
> to certain domains.  However, when sending messages to
> [EMAIL PROTECTED] or [EMAIL PROTECTED], my logs tell me
> that qmail could not establish an SMTP connection with those
> servers.  I telnet to 25 on a given server, and sure enough,
> I can't get a connection.  However, I know these domains are
> receiving.  Should I be running a local DNS server?  If so,
> I don't see why.  Perhaps I'm just a gimp and I overlooked a
> config file.

You can't get a connection ONLY from your server ? Or from you hole link
?
If only particular from your server, try tracing the route to these
hosts, 
from a working machine and from the server.
Since you can receive/send to a couple of other domains with 100%
success,
it looks like you are on a network/routing trouble.

> 
> Any help is appreciated.  Flames are welcome to my email
> address so as not to clog up the mailing list.
> 
> Thanks again,
> 
> -- Graham


Best Regards,

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
Blumenau - Santa Catarina. Tel. (47) 9102-3303
   http://www.netron.com.br/~eduardo
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

 /"\
 \ /  Campanha da Fita ASCII - Contra Mail HTML
  X   ASCII Ribbon Campaign - Against HTML Mail
 / \



Re: Qmail with amavis

2001-05-22 Thread Eduardo Augusto Alvarenga

> Hi All, I'd like to know if someone in the list are
> using qmail with amavis-perl 11 in a Slackware 7.1 box?
> Thank's!
> 
> Francisco André Barbosa Neto

I am.

Best Regards,

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
Blumenau - Santa Catarina. Tel. (47) 9102-3303
   http://www.netron.com.br/~eduardo
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



Re: Logging of qmail to console

2001-05-14 Thread Eduardo Augusto Alvarenga

>  How do I tell qmail's log-functions script what log program to 
> use? I can see where it looks for defaults but I don't know where it
> reads them from.  

It's default read from stderr.

> I would be fine with just using syslog to dump 
> everything to one mail file.  Am I missing something obvious?

Avoid using syslog.
Multilog has many habilities that syslog can't handle.
Use multilog, it's secure, runs chrooted, and rotates automatically.

More info at: http://cr.yp.to/daemontools/multilog.html
You can find some useful init scripts and all info you may need at: 
http://www.lifewithqmail.org/lwq.html#start-qmail


Best Regards,

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
Blumenau - Santa Catarina. Tel. (47) 9102-3303
   http://www.netron.com.br/~eduardo
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



Re: Logging of qmail to console

2001-05-14 Thread Eduardo Augusto Alvarenga

>   I am somewhat of a newbie to qmail but I was wondering if anyone could 
> help me figure out how to get qmail and qpop3 to log to a file instead
> of 
> to the console screen.  I know that this is an issue with tcpserver but
> I 
> can\'t seem to find how to configure the logfile location.

Use multilog for this.
Read qmail manuals and www.lifewithqmail.org.


B.R.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
Blumenau - Santa Catarina. Tel. (47) 9102-3303
http://www.netron.com.br/~eduardo
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



POP3 Cluster

2001-05-04 Thread Eduardo Augusto Alvarenga

Hi,

Anyone on the list(s) have any idea of how to make a "independent-of-another-
servers" pop3 cluster on a group of qmail-vpopmail servers? Preferentlly on 
distinct DMZs.

B.R.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
Blumenau - Santa Catarina. Tel. (47) 9102-3303
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



SPAM Patches recomendations.

2001-05-01 Thread Eduardo Augusto Alvarenga

Greetz,

I've tested my qmail smtp server for spam using the Prodygy Solutions
relay test utility:

http://www.prodigysolutions.com/services/relay_test.php

And got 2(two) holes on my server:

* I'll omit the domain for security reasons of course.

 Relay test 7
 MAIL FROM:([EMAIL PROTECTED]@mail.mydomain.com)
 250 ok 
 RCPT TO:("nobody%prodigysolutions.com")
 250 ok  (Failed Test)
 RSET
 250 flushed 
  
 Relay test 13
 MAIL FROM:([EMAIL PROTECTED]@mail.mydomain.com)
 250 ok 
 RCPT TO:(prodigysolutions.com!nobody)
 250 ok  (Failed Test)
 RSET
 250 flushed 


Anyone has any tip to fix these problems ? (patches/etc) ?
Another question: Emails on using % and ! as the domain separator should
work ?


Best Regards,

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
Blumenau - Santa Catarina. Tel. (47) 9102-3303
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

 /"\
 \ /  Campanha da Fita ASCII - Contra Mail HTML
  X   ASCII Ribbon Campaign - Against HTML Mail
 / \



Re: antivirus for AIX 4.3.3

2001-04-17 Thread Eduardo Augusto Alvarenga

> Are there any documents describing the process step-by-step ? (I mean
> AMaVis and qmail integration).
> 
> Cheers,
> Lukasz
> 

The AMaVis anti-virus documentations are very complete, describes all the steps 
for qmail integration and other MTAs.
Check it out at http://amavis.org


B.R.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
Blumenau - Santa Catarina. Tel. (47) 9102-3303
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



Re: antivirus for AIX 4.3.3

2001-04-17 Thread Eduardo Augusto Alvarenga

> thanks a lot Augusto
> 
>  but is that Anti-virus softwrae available for AIX 4.3.3 platform ,
> 
> 
> thnaks & regards
> Prashant Desai
> 

Sure ;)

And also, Linux, *BSD, Solaris, BSDi, SunOS and any other UNIX relevant system.

Get a evaluation version on McAfee web site (I suggest to buy a copy, it's 
cheap whatever). Look for the package TVD - Total Virus Defense.


B.R.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
Blumenau - Santa Catarina. Tel. (47) 9102-3303
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



Re: antivirus for AIX 4.3.3

2001-04-17 Thread Eduardo Augusto Alvarenga

> hello friends
> 
>  can some one please tell me which antivirus software is available for
> AIX platform
> and can be used with Amavis and qmail running on IBM AIX 4.3.3.
> 
> i know only one sophos , any other is there 
> 
> thank & regards
> Prashant Desai

You can try the McAfee anti-virus 4.14.0 with AMaVis+qmail packages.
I use it on every server I build, and works wonderfully.
And for DAT update, just build a little bash script, powered by wget ;)

www.nai.com / www.mcafee.com

Best Regards,


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
Blumenau - Santa Catarina. Tel. (47) 9102-3303
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



Intranet Qmail server

2001-02-14 Thread Eduardo Augusto Alvarenga

Hi,

Does anybody has already implemented something like this ?

A qmail intranet+internet mail server with:
  - Users (envelopes) with internet and intranet mail relay permitted.
  - Users (envelopes) with just intranet mail relay permitted.

At this time, I\'m running a Qmail server with mail relay for the users, but 
without any kind of restriction, all users can receive and send mail from 
inside or outside. The actual relay is based on SMTP-after-POP, with vchkpw.

Example of the question:

User [EMAIL PROTECTED] can send/receive mail from the internet an from the 
intranet accounts, but user [EMAIL PROTECTED] can only send/receive mail 
inside the mydomain domain. And if possible, make foobar get DENIED just to 
inside-outside relay, and not make messages from outside-inside relay blocked, 
so anyone can still send mail to intranet-only users.

[EMAIL PROTECTED] ---> [EMAIL PROTECTED]   -- OK
[EMAIL PROTECTED] ---> [EMAIL PROTECTED]-- OK
[EMAIL PROTECTED]   ---> [EMAIL PROTECTED] -- OK
johnsmith pop3 access  ---> OK
[EMAIL PROTECTED]---> [EMAIL PROTECTED]   -- DENIED
[EMAIL PROTECTED]---> [EMAIL PROTECTED] -- OK
[EMAIL PROTECTED]   ---> [EMAIL PROTECTED]-- DENIED (OK if possible)
foobar pop3 access ---> OK

I\'ve saw this engeneering working on a Novell Netware mail server, with netware 
users-based relay, made on a simple way.


Thanks in advice for any tip.


Best Regards,

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
Blumenau - Santa Catarina. Tel. (47) 9102-3303
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



Re: qmailadmin - 500 Internal Se. Error

2000-11-12 Thread Eduardo Augusto Alvarenga

> Are Haugsdal wrote:
> 
> QmailAdmin loads fine, but when I have given the login information,
> and press submit, I get the "500 Internal Server Error".
> 
> Server error log says: "WARNING: chdir to
> /home/vpopmail/domains/mydomainname.com failed
> [Sun Nov 12 12:19:48 2000] [error] [client xxx.xx.xx.xxx] Premature
> end of script headers: /usr/www/cgi-bin/qmailadmin"
> 
> Any thoughts of this might be? The domain, user etc. is created.
> Earlier, this worked fine, and this error only came when login in with
> domains that didn´t exists.
> 
> Thanks.
> 
> Are
> 
> 
> 
> 

Hi,

This happens with me too!
Any clue ?


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
Blumenau - Santa Catarina. Tel. (47) 9102-3303
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

 /"\
 \ /  Campanha da Fita ASCII - Contra Mail HTML
  X   ASCII Ribbon Campaign - Against HTML Mail
 / \



SSL Support

2000-11-09 Thread Eduardo Augusto Alvarenga

Hi all.

I'd like to know how to include SSL support on qmail-smtpd.


[]s
 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
Blumenau - Santa Catarina. Tel. (47) 9102-3303
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

 /"\
 \ /  Campanha da Fita ASCII - Contra Mail HTML
  X   ASCII Ribbon Campaign - Against HTML Mail
 / \



Re: mailtraffic logging, inclusive Subject: field

2000-11-09 Thread Eduardo Augusto Alvarenga

"Olivier M." wrote:
> 
> On Fri, Nov 03, 2000 at 08:43:04AM +1300, Jason Haar wrote:
> > On Thu, Nov 02, 2000 at 03:47:47PM +0100, Olivier M. wrote:
> > > Hello,
> > >
> > > For a project, I'd need to find a way to log the mail traffic
> > > on a qmail server, but not just sender and recipient: subject
> > > is also needed.
> >
> > Qmail-Scanner can certainly give you that - plus attachment data per message.
> >
> > Output looks like:
> >
> > 31/10/2000 08:56:28:2757: p_s:  msg info: [EMAIL PROTECTED] [EMAIL PROTECTED]
> >  My subject   attachment1 attachment2
> 
> Thanks Jason, I will try your solution : it's the best one I guess.
> 
> And then I will directely add an antivirus :) Do you have one
> you are using and you recommend ? (I know the list on the q-s homepage :).
> 
> Regards,
> Olivier
> --
> _
>  Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland
> qmail projects: http://omail.omnis.ch  -  http://webmail.omnis.ch
> 
>   
>Part 1.2Type: application/pgp-signature

Oliver,

Maybe you should try using the AMaViS Anti-Virus (http://amavis.org)
It's a great implemention to qmail-remote and qmail-local to an
anti-virus protection. Works with lots of commercial and free anti-virus
(for Unix!).

    I use AMaViS with the Sophos Anti-Virus. Works wonderfully.


B. Regards,
 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
Blumenau - Santa Catarina. Tel. (47) 9102-3303
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

 /"\
 \ /  Campanha da Fita ASCII - Contra Mail HTML
  X   ASCII Ribbon Campaign - Against HTML Mail
 / \



Re: Converting dates from seconds since epoch to readable dates

2000-11-08 Thread Eduardo Augusto Alvarenga

> > I am attempting to write a script which examines the qmail logs files for
> > statistics on ezmlm mail lists.
> >
> > In order to make sense of the results I need a script or command which
> will
> > turn the dates that come out of qmailanalog's matchup program into human
> > readable form.
> >
> > Does anyone have a script or know the command to turn a date such as
> > 973212991.884939500 to a real date that you and I can easily understand?

You may use something like:


(if log from tai64 to human-readable)


cat /var/log/qmail/current | tai64nlocal

it should appear something like:


2000-11-08 09:22:13.435407500 status: local 0/10 remote 0/20



You can find the tai64nlocal in the daemontools package, made by djb



Best Regards,

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
Blumenau - Santa Catarina. Tel. (47) 9102-3303
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

 /"\
 \ /  Campanha da Fita ASCII - Contra Mail HTML
  X   ASCII Ribbon Campaign - Against HTML Mail
 / \



Re: problem when install qmail+vpopmail+mysql+courier-imap on redhat 6.2??

2000-11-04 Thread Eduardo Augusto Alvarenga
.o): In function
> `vopen_smtp_relay':
> /home/rom/qmail/vpopmail-4.9.4/vauth.c:575: undefined reference to
> `mysql_query'
> /home/rom/qmail/vpopmail-4.9.4/vauth.c:581: undefined reference to
> `mysql_query'
> /home/rom/qmail/vpopmail-4.9.4/vauth.c:585: undefined reference to
> `mysql_store_result'
> /home/rom/qmail/vpopmail-4.9.4/vauth.c:586: undefined reference to
> `mysql_free_result'
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> `vupdate_rules':
> /home/rom/qmail/vpopmail-4.9.4/vauth.c:593: undefined reference to
> `mysql_query'
> /home/rom/qmail/vpopmail-4.9.4/vauth.c:596: undefined reference to
> `mysql_query'
> /home/rom/qmail/vpopmail-4.9.4/vauth.c:601: undefined reference to
> `mysql_use_result'
> /home/rom/qmail/vpopmail-4.9.4/vauth.c:608: undefined reference to
> `mysql_fetch_row'
> /home/rom/qmail/vpopmail-4.9.4/vauth.c:609: undefined reference to
> `mysql_free_result'
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> `vclear_open_smtp':
> /home/rom/qmail/vpopmail-4.9.4/vauth.c:622: undefined reference to
> `mysql_query'
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> `vcreate_relay_table':
> /home/rom/qmail/vpopmail-4.9.4/vauth.c:631: undefined reference to
> `mysql_query'
> /home/rom/qmail/vpopmail-4.9.4/vauth.c:635: undefined reference to
> `mysql_store_result'
> /home/rom/qmail/vpopmail-4.9.4/vauth.c:636: undefined reference to
> `mysql_free_result'
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vclose':
> /home/rom/qmail/vpopmail-4.9.4/vauth.c:650: undefined reference to
> `mysql_close'
> collect2: ld returned 1 exit status
> make[1]: *** [authvchkpw] Error 1
> make[1]: Leaving directory
> `/home/rom/qmail/courier-imap-1.2.1/authlib'
> make: *** [install-recursive] Error 1
> "
> please help me!!
> i used rpm to installed the mysql
> vpopmail configure is
> ./configure --enable-default=test.com --enable-roaming-users
> --enable-hardquota=5242880 --enable-mysql=y --enable-logging=y
> --enable-large-site=y
> courier-imap configure is
> ./configure --enable-workarounds-for-imap-client-bugs
> wish can help u .

Edit vmysql.h on you vpopmail-source-dir and substitute de fields for
the mysql database.

example:

22 /* Edit to match your set up */
23 #define MYSQL_SERVER"localhost"
24 #define MYSQL_USER  "root"
25 #define MYSQL_PASSWD"mysecretpass"
26 /* End of setup section*/

Compile again and it's done.


[]s

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
Blumenau - Santa Catarina. Tel. (47) 9102-3303
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

 /"\
 \ /  Campanha da Fita ASCII - Contra Mail HTML
  X   ASCII Ribbon Campaign - Against HTML Mail
 / \



Quota on outgoing mail

2000-11-03 Thread Eduardo Augusto Alvarenga

Hi,

Is there any way to limit the size (quota) of outgoing SMTP data in
qmail ? I'd like to limit a qmail-send outgoing size to 10MB. My users
are making constant overloads on my bandwidth...


Tks.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
Blumenau - Santa Catarina. Tel. (47) 9102-3303
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

 /"\
 \ /  Campanha da Fita ASCII - Contra Mail HTML
  X   ASCII Ribbon Campaign - Against HTML Mail
 / \