Re: Solaris vs. Linux vs. FreeBSD

2001-06-28 Thread Ari Arantes Filho

Linux using ReiserFS has no more limit of 2Gb file size.


- Original Message - 
From: "David T. Ashley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, June 27, 2001 9:42 PM
Subject: RE: Solaris vs. Linux vs. FreeBSD


Just be careful about Linux because it has a maximum 2G file size (size for
a single file).  This can get in the way of some search engines which build
large random-access files that exceed 2G.  But it should not pose any kind
of a problem for mail, especially if MAILDIR format is used.

I understand that Free BSD and Linux are the overwhelming choices of the
Internet pornography industry.  That is a good technical figure of merit,
because it means these servers are stable (for HTTP) when getting lots and
lots of hits.

If Free BSD breaks the 2G limit, I'd go with Free BSD.

Dave.

-Original Message-
From: root [mailto:root]On Behalf Of Federico Edelman Anaya
Sent: Wednesday, June 27, 2001 8:22 PM
To: [EMAIL PROTECTED]
Subject: Solaris vs. Linux vs. FreeBSD


What's is the best OS for run Qmail (and/or Ezmlm)? What advantage and
disadvantage has each one? I'll need send two millions mails per day and
I don't know what hard can I buy? :)


Thanks very much!







qmail-smtpd-auth

2001-06-12 Thread Ari Arantes Filho

Hi,

I've successfully installed the qmail-smtpd-auth-0.30, but I would like
to
log the username and IP address in /var/qmail/log/smtpd/current. Is it
possible?? Currently it only logs the IP address.

My /var/qmail/supervise/smtpd/run

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -H -x /etc/tcp.smtp.cdb \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd \
   /bin/checkpassword /bin/true /bin/cmd5checkpw /bin/true 2>&1



Thanks,

Ari






Problem with "me" and hostname

2001-06-07 Thread Ari Arantes Filho

Hi,

An user is trying to send an email and I see this in log:

2001-06-07 09:13:34.292253500 delivery 21640: deferral:
Connected_to_200.251.234.142_but_my_name_was_rejected./Remote_host_said:_501
_dd002.domain.com,_
why_do_you_say_you_are_mail.domain.com?/

The hostname is dd002.domain.com, but I don't say this name in "me",
every machine has a different name, so I can very easy change the qmail or
ftp or other service to other machine.

My mail server:
dd002.domain.com (200.1.1.2) eth0
mail.domain.com --> me (200.1.1.21) eth0:0 pop3.domain.com and
smtp.domain.com alias to mail.domain.com

My web server:
dd001.domain.com (200.1.1.1) eth0
www.domain.com (200.1.1.10) eth0:0
www2.domain.com (200.1.1.11) eth0:1 --> virtual server (customers' domains)
ftp.domain.com (200.1.1.12) eth0:2

Let's say I want to change www.domain.com to other machine, I don't need to
change it IP.

How to fix this? What is localiphost

Thanks,

Ari





Filter

2001-03-12 Thread Ari Arantes Filho

Hi,

I'm trying to use qtools to filter message.

I've tried:

| condtomaildir ./Maildir/.Listas.qmail iftoccfrom [EMAIL PROTECTED]

It is working, but now I would like to check if the subject contains
[ORACLE], then send to message to .Listas.oracle folder.

How can I do this?

Thanks,

Ari




vpopmail

2001-02-16 Thread Ari Arantes Filho

Hi all,

I'am having serious problems with authentication user in vpopmail.

- The creation of virtual domains, account users are OK.
- The delivery to the account users are OK.

But, if I try:
/var/qmail/bin/qmail-popup myhost.com /var/qmail/vpopmail/bin/vchkpw pwd 
with a normal users (/etc/passwd) it's ok, but with a user created with:
/var/qmail/vpopmail/bin/vadduser test 1234
the system shows:
-ERR authorization failed

In our maillog, the following message is showed:
Feb 16 11:42:22 intranet vpopmail[10036]: vchkpw:
setgid() failed

Someone help me, please

Regards,

Ari





Re: How to get them out of Maildr?

2001-02-13 Thread Ari Arantes Filho

The mail program looks for message in /var/spool/mail/USERNAME and qmail
works with Maildir.

In qmail.org site there is link to a patched version of pine, so I can read
messages from maildir.


- Original Message -
From: "INSOMNIA - Janusz Oles" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 13, 2001 6:01 AM
Subject: How to get them out of Maildr?


I'm new to Linux and new to qmail I never post to that list before.
installed qmail on RedHat7 following LWQ:

qmail-1.03.tar.gz + qmail-103.patch
ucspi-tcp-0.88.tar.gz
daemontools-0.70.tar.gz
checkpassword-0.81.tar

Everything looks fine but...
When I send mail typing form shell:
# mail bob
mail ends up in /home/bob/Maildir/new

The question is:
What file(s) should I create or edit to get that
massage out of /Maildir/new?
(using Netscape mail client on localhost or ms-outlook from
other host in my network or the best solution could be
if I can just type mail form command line in shell
and insted of massage: No mail for bob I would like to see:
You have new mail.)

--
Janusz Oleœ http://www.insomnia.com.pl






smtplf

2001-02-12 Thread Ari Arantes Filho

Hi,

I'm using a qmail box (redhat 6.2) to send messages from a dedicaded
server running cold fusion (windows NT), but some messages are refused
because of: http://cr.yp.to/docs/smtplf.html. This messages are 
filled (TEXTAREA) and something are refused.

How can I patch qmail to avoid this error, I want these message to be
sent.

Thanks,

Ari





Dailly log files

2001-02-12 Thread Ari Arantes Filho



Hi,
 
    I'm using multilog and 
tcpserver, like lwq. Is there a way to patch multilog to create dailly log 
files. I mean in /var/qmail/log/send/ should be:
 
20010201.log
20010202.log
...
 
Thanks,
 
Ari
 


qmail-smtpd-auth

2001-02-09 Thread Ari Arantes Filho

Hi,

I've installed the patch of qmail-smtpd-auth-0.26 and it not working.
I'm running smtp with tcpserver:

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=20
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd \
   /bin/checkpassword /bin/true /bin/cmd5checkpw /bin/true 2>&1

How can I test it like checkpassword and POP:

 # /var/qmail/bin/qmail-popup blah /bin/checkpassword pwd
 +OK <...@blah>
 user Frodo
 +OK
 pass Friend
 -ERR authorization failed
???






Re: Detail logging of POP3D

2001-02-09 Thread Ari Arantes Filho

I'm using 2 patchs to details the log:

qmail-pop3d.1.03-bench.patch --> it logs the POP access and size of the
messages on syslog
checkpassword-0.81-bench.patch --> it logs authencation errors on syslog

If you want I can send you the patchs. I don't remember the original URL!!!

Ari

> On Fri, Feb 09, 2001 at 11:51:10AM +0100, Tomas TPS Ulej wrote:
> > With sendmail/postfix + ipop3d I can log pop3d activities like (via
> > syslogd):
> >
> > Feb  9 11:50:48 gh0st ipop3d[49838]: port 7110 service init from
195.168.1.77
> > Feb  9 11:50:52 gh0st ipop3d[49838]: Login user=tps host=gh0st.tps.sk
[195.168.1.77] nmsgs=0/0
> > Feb  9 11:50:55 gh0st ipop3d[49838]: Logout user=tps host=gh0st.tps.sk
[195.168.1.77] nmsgs=0 ndele=0
> >
> > Can be same output reported with qmail' pop3d?
>





qpop3 keeps alive!

2001-02-09 Thread Ari Arantes Filho

Hi,

Even running the stop process of qmail, the qpop3 process keeps alive
and running.

My code:

# begin -- /etc/rc.d/init.d/qmaild (just start and stop - from
lifewithqmail) --

#!/bin/sh

PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin
export PATH

case "$1" in
  start)
echo -n "Starting qmail: svscan"
cd /var/qmail/supervise
env - PATH="$PATH" svscan &
echo $! > /var/run/svscan.pid
echo "."
;;
  stop)
echo -n "Stopping qmail: svscan"
kill `cat /var/run/svscan.pid`
echo -n " qmail"
svc -dx /var/qmail/supervise/*
echo -n " logging"
svc -dx /var/qmail/supervise/*/log
echo "."
;;

# end -- /etc/rc.d/init.d/qmaild --

# begin -- /var/qmail/supervise/pop3d/run --

#!/bin/sh
/usr/local/bin/tcpserver -v -R 0 pop-3 /var/qmail/bin/qmail-popup
myserver.domain.com \
  /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1

# end -- /var/qmail/supervise/pop3d/run --

The first time I run "/etc/rc.d/init.d/qmaild start", it's ok, but if I run
"/etc/rc.d/init.d/qmaild stop" and "ps ax" I still can see:

14993 pts/0S  0:00 /usr/local/bin/tcpserver -v 0 pop-3

And if I try to run "/etc/rc.d/init.d/qmaild start" again:

tcpserver: fatal: unable to bind: address already used

What is wrong?

I'm running Conectiva Linux 6.0, kernel 2.2.17. It's a brazillian
distribution based on Red Hat.

Thanks,

Ari








Redirect addresses

2000-12-19 Thread Ari Arantes Filho

Hi,

I need to integrate an qmail instalation on a real IP machine with an
intranet (192.168.1.2) machine with NT and Exchange.

How can I configure qmail to every email @domain.com.br is sent to same
[EMAIL PROTECTED]?  Like: *@domain.com.br goes to
*@intranet.domain.com.br

The DNS is ok and I can send emails to @intranet.domain.com.br
(exchange).

I know I can create a /var/qmail/alias/.qmail- and redirect it to
[EMAIL PROTECTED], but this problem is to avoid double user
management, the customer only wants to create user in Exchange!!!

Is it possible?

Best regards,

Ari





Remove a message

2000-12-12 Thread Ari Arantes Filho

Hi,

The qmail is working very well.

I'm trying to remove a message doing the following:

Script to start send:

supervise /var/qmail/supervise/send | \
setuidgid qmaill tai64n | setuidgid qmaill tai64nlocal | \
setuidgid qmaill multilog s100 n5 /var/qmail/log/send &

Script to stop:

svc -dx /var/qmail/supervise/send

Steps:

1) stop the send
2) ps ax | grep remote ==> to see the messages that are currently being sent
2.5) kill with -15 the qmail-remote process of the message(s) I want to
cancel
3) tail -f /var/qmail/log/send/current ==> until I see "exiting..."
4) qmail-qread to see the number of messages I want to kill
5) cd /var/qmail/queue
find . -name NUMBER -exec rm -f {} \;
6) start the send again

Sometimes I see the following error:
multilog: fatal: unable to switch to current directory: access denied

At this time, the queue is running but no log, then I kill the send again
and try again to start it, sometimes it works, but sometimes the error is
still there...

How can I stop this error? Is the way I'm trying to delete message ok?

Thanks,

Ari





badmailfrom

2000-12-04 Thread Ari Arantes Filho

Hi,

I'm receiving a virus from [EMAIL PROTECTED], I've already inserted this
email in badmailfrom, the qmail was restarted and I'm still receiving this
virus.

In the header below you can see that the user doesn't exist, there is a
3D caracter in the beginning of the email address, so the address is
unknowm, but even inserted in badmailfrom I've receive order mails from this
guy.

Here goes the header:

Return-Path: <>
Received: (qmail 14547 invoked by uid 0); 4 Dec 2000 21:26:48 -
Received: from unknown (HELO mail01.osite.com.br) (200.189.209.130)
  by mail.doctordata.com.br with SMTP; 4 Dec 2000 21:26:48 -
Received: from clipping (a09029.dial-pn.impsat.com.br [200.189.200.29])
by mail01.osite.com.br (8.9.1b+Sun/8.9.3) with SMTP id SAA14499
for <[EMAIL PROTECTED]>; Mon, 4 Dec 2000 18:49:02 -0200 (EDT)
Date: Mon, 4 Dec 2000 18:49:02 -0200 (EDT)
Message-Id: <[EMAIL PROTECTED]>
From: Hahaha <[EMAIL PROTECTED]>
Subject: Branca de Neve pornô!
MIME-Version: 1.0





Re: Multilog

2000-11-30 Thread Ari Arantes Filho

Thanks, it worked:

tail --follow=name --retry current
or
tail -f --follow=name --retry current

tail (GNU textutils) 2.0e - RedHat


- Original Message -
From: "Peter Samuel" <[EMAIL PROTECTED]>
To: "Ari Arantes Filho" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, November 30, 2000 5:31 PM
Subject: Re: Multilog


> On Thu, 30 Nov 2000, Ari Arantes Filho wrote:
>
> > Hi,
> >
> > I'm using multilog, so it write the current log in the current file.
I
> > like to see to current file with tail -f current, but when it switch the
> > log, the tail process stops, so I need to Control-C and tail -f current
> > again. I've already tried tail -f --retry current and nothing... How can
I
> > solve this?
>
> Get the GNU textutils package version 2.0a or later. Use
>
> tail -f --follow=name --retry /var/log/qmail/current
>
> --
> Regards
> Peter
> --
> Peter Samuel[EMAIL PROTECTED]
> http://www.e-smith.org (development)http://www.e-smith.com (corporate)
> Phone: +1 613 368 4398  Fax: +1 613 564 7739
> e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada
>
> "If you kill all your unhappy customers, you'll only have happy ones left"
>
>




Multilog

2000-11-30 Thread Ari Arantes Filho

Hi,

I'm using multilog, so it write the current log in the current file. I
like to see to current file with tail -f current, but when it switch the
log, the tail process stops, so I need to Control-C and tail -f current
again. I've already tried tail -f --retry current and nothing... How can I
solve this?

Thanks,

Ari





Limit outgoing messages

2000-11-30 Thread Ari Arantes Filho

Hi,

Is it possible to limit only outgoing messages? I so databytes, but I only
want to limit the messages that my users send, not receive.

Thanks,

Ari





SPAM - Help!

2000-10-27 Thread Ari Arantes Filho

Hello,

Someone is using another smtp server to send a very big spam, but they
write the header with FROM = an unknown user of one of my virtual domains,
so postmasters keep sending bounce messages or autoresponders to this
unknown user and my postmaster is receving more than 1 emails.

I've temporary created this unknows user, but how can I stop this? I
can't remove the domain of my list of virtual domains because there are more
then 100 valid users to this domain...

The spammer is from USA and I'm from Brazil, I don't known this f...

I really need help!!!

Thanks,

Ari






Re: Message removed, but still in queue...

2000-09-18 Thread Ari Arantes Filho

Is there a safety way to delete a message with qmail running?


- Original Message - 
From: "Petr Novotny" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 18, 2000 2:33 PM
Subject: Re: Message removed, but still in queue...


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 18 Sep 2000, at 14:31, Ari Arantes Filho wrote:

> Ok, I've tried again to delete a new message with the find command as
> suggested, but the error messages are still in the log...

It's always dangerous to delete stuff from queue without stopping 
qmail-send. Seeding holdremote to 1 doesn't cut it. You should 
have stopped qmail before deleting stuff.

Try to restart qmail now, to see if the problem goes away.

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8 -- QDPGP 2.61b
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBOcZD61MwP8g7qbw/EQK/HQCfYniMqa+Syl73GOxLSMC0qs0gr+0AoK1A
UjDspGgH2yTfbURGcOGwdOOW
=61KQ
-END PGP SIGNATURE-
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
 [Tom Waits]





Re: Message removed, but still in queue...

2000-09-18 Thread Ari Arantes Filho

Ok, I've tried again to delete a new message with the find command as
suggested, but the error messages are still in the log...

Thanks,

Ari


- Original Message -
From: "Ihnen, David" <[EMAIL PROTECTED]>
To: "'Ari Arantes Filho'" <[EMAIL PROTECTED]>; "Petr Novotny"
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, September 18, 2000 2:11 PM
Subject: RE: Message removed, but still in queue...


find /var/qmail/queue -name 18489

Delete any that are found...

Why try to memorize things when the computer will locate it for you?

David


> -Original Message-
> From: Ari Arantes Filho [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 18, 2000 10:15 AM
> To: Petr Novotny
> Cc: [EMAIL PROTECTED]
> Subject: Re: Message removed, but still in queue...
>
>
> Sorry, I've written wrong: the right is:
>
> > 3) rm /var/qmail/queue/mess/20/18489 /var/qmail/queue/info/20/18489
> > /var/qmail/queue/remote/20/18489
>
>
> I can't find any state/20 directory?
>
> Thanks,
>
> Ari
>
>
>
> On 18 Sep 2000, at 13:40, Ari Arantes Filho wrote:
>
> > 3) rm /var/qmail/queue/mess/20/18489 /var/qmail/queue/info/18489
> > /var/qmail/queue/remote/18489
>
> Are you sure it was info/18489? Not info/20/18489? Dtto for remote?
>
> It seems you forgot about state/20/18489...
>
> -BEGIN PGP SIGNATURE-
> Version: PGP 6.5.8 -- QDPGP 2.61b
> Comment: http://community.wow.net/grt/qdpgp.html
>
> iQA/AwUBOcY7rFMwP8g7qbw/EQKWbgCeLG0uPEva1ZciVVBsgpPxTN1pikYAn2Hm
> QlYKruoB8r4UjRx1fmFfZ5cg
> =NhH6
> -END PGP SIGNATURE-
> --
> Petr Novotny, ANTEK CS
> [EMAIL PROTECTED]
> http://www.antek.cz
> PGP key ID: 0x3BA9BC3F
> -- Don't you know there ain't no devil there's just God when
> he's drunk.
>
> [Tom Waits]
>
>





Re: Message removed, but still in queue...

2000-09-18 Thread Ari Arantes Filho

Sorry, I've written wrong: the right is:

> 3) rm /var/qmail/queue/mess/20/18489 /var/qmail/queue/info/20/18489
> /var/qmail/queue/remote/20/18489


I can't find any state/20 directory?

Thanks,

Ari



On 18 Sep 2000, at 13:40, Ari Arantes Filho wrote:

> 3) rm /var/qmail/queue/mess/20/18489 /var/qmail/queue/info/18489
> /var/qmail/queue/remote/18489

Are you sure it was info/18489? Not info/20/18489? Dtto for remote?

It seems you forgot about state/20/18489...

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8 -- QDPGP 2.61b
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBOcY7rFMwP8g7qbw/EQKWbgCeLG0uPEva1ZciVVBsgpPxTN1pikYAn2Hm
QlYKruoB8r4UjRx1fmFfZ5cg
=NhH6
-END PGP SIGNATURE-
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
 [Tom Waits]





Message removed, but still in queue...

2000-09-18 Thread Ari Arantes Filho

Hi,

I'm using the qmail with the holdremote patch. I've tried to delete a
message in qmail:

1) echo 1 > /var/qmail/control/holdremote
2) /etc/rc.d/init.d/qmail hup
3) rm /var/qmail/queue/mess/20/18489 /var/qmail/queue/info/18489
/var/qmail/queue/remote/18489
4) echo 0 > /var/qmail/control/holdremote
5) /etc/rc.d/init.d/qmail hup

The message is out of the queue, but I can see the following error message
in the error log a lot of times, 2 minutes in 2 minutes...

2000-09-18 13:28:15.062112500 warning: trouble opening remote/20/18489; will
try  again later

What is wrong? What more should I do to remove a message?

Best regards,

Ari





List all users

2000-06-06 Thread Ari Arantes Filho

Hi,

Is there some script to list all users including the content of each
.qmail-?

Thanks,

Ari





How to watch the current receiving messages?

2000-01-27 Thread Ari Arantes Filho

Hi,

With qmail-qread, qmail-qstat and qmHandle, I can watch the queue, but
how can I see the current open stmp session that are receiving messages? And
how can I get more information about these messages?

Best regards,

Ari




Migrating to qmail

2000-01-10 Thread Ari Arantes Filho

Hi,

I'm trying to migrate to qmail. I'm using emwac for windows. I've copyed a
single user's message to its maildir/new directory. The emwac also works
with maildir, so each message is a single file in the user maildir
directory.

With outlook express, it's ok. But with netscape mail it's not working. The
mail client can read the messages, but the subject, from and date are blank.
When I click to read the message it shows all the body, without processing
it.

What should I do?

Best regards,

Ari





web support

2000-01-06 Thread Ari Arantes Filho

Hi,

Is there a tools simular to qmailadmin (www.inter7.com) to deal with
real user accounts, I mean not to use with vpopmail?

Best regards,

Ari




Help on qmailanalog

2000-01-03 Thread Ari Arantes Filho

Hi,

I'm trying to use qmailanalog without successfull.

I've read MATCHUP and all documentation in /usr/local/qmailanalog/doc
but I'm still lost.

Could you send me some layout output and input for the zoverall and
others tools?

I've tried using splogger and multilog, but the output is null!!!

How can I use qmailanalog?

Best regards,

Ari





More about later delivery

1999-12-23 Thread Ari Arantes Filho

Hi,

I'm using tcpserver and supervise to run qmail.

I'm using Nick Leverton's patch to qmail-send to suspend remotedelivery. So
I write a file called holdremote with value 1 then I HUP qmail-send, causing
the remote queue to be held, so I can stop qmail-send immediately (svc -dx
...). I don't need to wait from pending queue to be sent, because if I stop
qmail-send process with pending delivery, the supervised qmail-send process
stays in "want down" status until the pending message is totally delivered.

If I want to cancel a message:
1) echo 1 > /var/qmail/control/holdremote
2) HUP on qmail-send process
3) qmail-read to check the queue and see the message number (nnn)
4) qmHandle -dnnn to delete the message (I've patched qmHandle to stop and
start qmail-send with supervise)
5) echo 0 > /var/qmail/control/holdremote
6) HUP on qmail-send process

The message is canceled and the remote delivery is normal, but I would like
to resend it during the night, how can I do this? (Ah, some user sent the
message, not me!!!)

Best regards,

Ari





off-topic: include file des.h

1999-12-17 Thread Ari Arantes Filho

Hi,

I'm trying to work with a crypt system and the program is asking for include
des.h.

Can anyone send this file to me?

Best regards,

Ari





Help with Lotus Notes

1999-12-17 Thread Ari Arantes Filho

Hi,

Sorry about last message, I didn't change the subject...



My customer is using an other isp where this domain is hosted. Now it
wants to change to my isp. He is using a dialup connection with the other
isp and has a Lotus Notes Server in its local network. The NT, where Notes
runs, makes a dialup connection from time to time and receive incoming
messages and send outgoing messages.

How do I need to configure my qmail to do this job? I think that the
username is controlled by Notes and I don't need to worry about usernames,
right? Is a kind of this:

*@domain.com ===> goes to a normal pop account and the Notes reads only this
account?

/var/control/virtualdomains:
domain.com:domain-com

/home/domain-com
.qmail-default
./Maildir/

The notes reads only the user domain-com, right?

Best regards,

Ari






Re: local address used as spam sender

1999-12-17 Thread Ari Arantes Filho

Hi,

My customer is using an other isp where this domain is hosted. Now it
wants to change to my isp. He is using a dialup connection with the other
isp and has a Lotus Notes Server in its local network. The NT, where Notes
runs, makes a dialup connection from time to time and receive incoming
messages and send outgoing messages.

How do I need to configure my qmail to do this job? I think that the
username is controlled by Notes and I don't need to worry about usernames,
right? Is a kind of this:

*@domain.com ===> goes to a normal pop account and the Notes reads only this
account?

/var/control/virtualdomains:
domain.com:domain-com

/home/domain-com
.qmail-default
./Maildir/

The notes reads only the user domain-com, right?

Best regards,

Ari





Re: qmail-send won't log anymore

1999-12-12 Thread Ari Arantes Filho

Hi,

The -Q options only prints erros, try to use -v. I also only use splogger
smtpd &, without "3", but...

Regards,

Ari


- Original Message -
From: Dinesh Punjabi <[EMAIL PROTECTED]>
To: Ari Arantes Filho <[EMAIL PROTECTED]>
Sent: Sunday, December 12, 1999 12:13 AM
Subject: Re: qmail-send won't log anymore


> if [ -f /usr/local/bin/tcpserver ]; then
> echo "Starting Qmail (tcpserver) SMTPD...\r"
> /usr/local/bin/tcpserver -Q -u 7791 -g 2108 0 smtp
> /var/qmail/bin/qmail-smtpd
>  2>&1 | /var/qmail/bin/splogger smtpd 3 &
> fi
>
> It used to work in < 1.03 version before!
>
> Rgds
>
> Dinesh
>
> --- Ari Arantes Filho <[EMAIL PROTECTED]> wrote:
> > Are you using tcpserver? Supervise?
> >
> > Show your startup script.
> >
> > Regards,
> >
> > Ari
> >
> > - Original Message -
> > From: Dinesh Punjabi <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Saturday, December 11, 1999 9:33 PM
> > Subject: qmail-send won't log anymore
> >
> >
> > > I upgraded my FreeBSD box, and installed the
> > > latest version of qmail. For some reason,
> > > qmail-send won't log in my /var/log/maillog
> > > file. So, any incoming email logs fine, but
> > > for some reason any SMTP traffic does not
> > > show up in the log (it used to before!).
> > >
> > > What am I doing wrong ? Thanks for your
> > > help in advance!
> > >
> > > Dinesh
> > > __
> > > Do You Yahoo!?
> > > Thousands of Stores.  Millions of Products.  All
> > in one place.
> > > Yahoo! Shopping: http://shopping.yahoo.com
> >
> >
>
> __
> Do You Yahoo!?
> Thousands of Stores.  Millions of Products.  All in one place.
> Yahoo! Shopping: http://shopping.yahoo.com



Re: qmail-send won't log anymore

1999-12-11 Thread Ari Arantes Filho

Are you using tcpserver? Supervise?

Show your startup script.

Regards,

Ari

- Original Message - 
From: Dinesh Punjabi <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 11, 1999 9:33 PM
Subject: qmail-send won't log anymore


> I upgraded my FreeBSD box, and installed the
> latest version of qmail. For some reason,
> qmail-send won't log in my /var/log/maillog
> file. So, any incoming email logs fine, but
> for some reason any SMTP traffic does not
> show up in the log (it used to before!).
> 
> What am I doing wrong ? Thanks for your
> help in advance!
> 
> Dinesh
> __
> Do You Yahoo!?
> Thousands of Stores.  Millions of Products.  All in one place.
> Yahoo! Shopping: http://shopping.yahoo.com



Re: How to send a message after

1999-12-10 Thread Ari Arantes Filho

David,

You are totally right:

> What ari appears to me to be asking for is a way to derail large e-mails
> into a secondary queue:  He wants email to flow 24/z for little memos,
> but attachments above a threshold must wait until off-peak.

I'm using the qmail-hold patch, so I can create a control/holdremote (with
1), send HUP the qmail-send and the queue is paused. But at this time, all
messages will be stopped. I would like to stop only the big one.

Is it safetty to remove a message with this patch and when the queue is
stopped?

How do I return this message to the queue at 11pm for example?

In december, users love to send Christmas cards, most of them very big
attachments and addressed to more than one friend at the same time  But
other user needs to send a very important message, not so big, and his
message will delay!!!

I would like to decide which message should be send later!!!

Regards,

Ari




- Original Message -
From: David L. Nicol <[EMAIL PROTECTED]>
To: Ari Arantes Filho <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, December 10, 1999 7:25 PM
Subject: Re: How to send a message after


> A variety of approaches come to mind.  Disabling _all_ outgoing e-mail
> until off-peak times is not one of them.
>
> Some point in the process must be selected for removal/insertion, and
> a size-based gateway installed there.
>
> Read your source code, Ari, I look forward to seeing your upcoming
> patch!
>
>
>
>
>
>
>
> Ari Arantes Filho wrote:
> >
> > The user sends the email, not me!!!
> >
> > - Original Message -
> > From: <[EMAIL PROTECTED]>
> > To: Ari Arantes Filho <[EMAIL PROTECTED]>
> > Cc: <[EMAIL PROTECTED]>
> > Sent: Friday, December 10, 1999 1:42 AM
> > Subject: Re: How to send a message after
> >
> > > run your mail program in night;-)
> > >
> > > On Thu, 9 Dec 1999, Ari Arantes Filho wrote:
> > >
> > > > Hi,
> > > >
> > > > Supose I'm supervising the qmail queue and see a message with (2
> > > > attachments of 2mb each for 5 different addresses). This message
will
> > > > consume a lot of my link, so I want to send this message during the
> > night.
> > > > How to do this?
> > > >
> > > > Best regards,
> > > >
> > > > Ari
> > > >
> > > >
> > > >
> > >
>
> --
> ___
>David Nicol 816.235.1187 [EMAIL PROTECTED]
> Safeguard your finances against
>  the great Beanie crash of 2000



Re: How to send a message after

1999-12-10 Thread Ari Arantes Filho

The user sends the email, not me!!!


- Original Message -
From: <[EMAIL PROTECTED]>
To: Ari Arantes Filho <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, December 10, 1999 1:42 AM
Subject: Re: How to send a message after


> run your mail program in night;-)
>
> On Thu, 9 Dec 1999, Ari Arantes Filho wrote:
>
> > Hi,
> >
> > Supose I'm supervising the qmail queue and see a message with (2
> > attachments of 2mb each for 5 different addresses). This message will
> > consume a lot of my link, so I want to send this message during the
night.
> > How to do this?
> >
> > Best regards,
> >
> > Ari
> >
> >
> >
>



How to send a message after

1999-12-09 Thread Ari Arantes Filho

Hi,

Supose I'm supervising the qmail queue and see a message with (2
attachments of 2mb each for 5 different addresses). This message will
consume a lot of my link, so I want to send this message during the night.
How to do this?

Best regards,

Ari




More detailed pop log

1999-12-09 Thread Ari Arantes Filho

Hi,

I've already posted a message with this subject, but I'm still trying to
fix my problem.

I want to use the normal /etc/passwd file to authenticate users and more
detailed log in the
pop log.

I'm runing pop server with:

/usr/local/bin/tcpserver -v 0 pop3 /var/qmail/bin/qmail-popup \
mail.drmail.com.br /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir \
2>&1 | /usr/local/bin/tai64n | /usr/local/bin/tai64nlocal | \
/usr/local/bin/setuidgid qmaill /usr/local/bin/multilog /var/qmail/log/pop &

I've tried Paul Greg's checkpoppasswd, but it only works with
alternative password file (/var/qmail/users/poppasswd).

I don't want to log the password, I only want more then the IP address
and date for who is trying to log. I want ther username and if success or
not.

Could someone help me?

Best regards,

Ari





How to log the qmail-pop3d connection

1999-11-17 Thread Ari Arantes Filho

Hi,

I'm using the following command to start the pop daemon:

tcpserver -v 0 pop3 /var/qmail/bin/qmail-popup mail.drmail.com.br \
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 | \
/var/qmail/bin/splogger pop &

But it only logs the start and end of connection. I would like to check if
the user deleted the message, had bad password and any commands in POP
server.

Best regards,

Ari




How to apply a patch

1999-10-20 Thread Ari Arantes Filho

Hi All,

I've download a patch from Chris Johnson to control the envelope sender,
but I don't know how to apply it???

I would like to understand more about patchs and how to apply, create
one and how it works. Where can I find documentation?

I would like to apply other patch from "Frank DENIS aka Jedi/Sector One
aka DJ Chrysalis <[EMAIL PROTECTED]>" to truncate the mailer-daemon failure notice,
is it possible to apply 2 or 3 patches? Is there an order to apply them?

Best regards,

Ari





Re: Port 25 is not responding using tcpserver

1999-08-31 Thread Ari Arantes Filho


>ps auxw|grep sendmail
>
Just the grep pid.





Re: Port 25 is not responding using tcpserver

1999-08-31 Thread Ari Arantes Filho

>From: Brad Shelton <[EMAIL PROTECTED]>
>When you removed qmail-smtpd from inetd.conf, did you restart inetd?
>
> 'kill -HUP [pid of qmail-smtpd]'

Better:

shutdown -r 0


Now I can telnet to port 25 and qmail is working, but the error message
keeps on.


Bye,

Ari

>
>-Original Message-
>From: Brad Shelton <[EMAIL PROTECTED]>
>To: QMail-List <[EMAIL PROTECTED]>
>Date: Terça-feira, 31 de Agosto de 1999 16:53
>Subject: Re: Port 25 is not responding using tcpserver
>
>
>>On Tue, Aug 31, 1999 at 05:40:35PM -0300, Ari Arantes Filho wrote:
>>> It's was keyboard IO error
>>>
>>> The correct is tcpserver ... -x/etc/..., I was using -s/etc...
>>>
>>> Now the problem is thar in /var/log/qmail/smtpd/current the following
>error
>>> message shows 1 per second:
>>>
>>> tcpserver: fatal: unable to bind: address already used
>>>
>>>
>>> What is this?
>>
>>When you removed qmail-smtpd from inetd.conf, did you restart inetd?
>>
>> 'kill -HUP [pid of qmail-smtpd]'
>>
>>--
>>Brad Shelton  On Line Exchange  http://online-isp.com
>



Re: Port 25 is not responding using tcpserver

1999-08-31 Thread Ari Arantes Filho

It's was keyboard IO error

The correct is tcpserver ... -x/etc/..., I was using -s/etc...

Now the problem is thar in /var/log/qmail/smtpd/current the following error
message shows 1 per second:

tcpserver: fatal: unable to bind: address already used


What is this?


Bye,

Ari

-Original Message-
From: Ari Arantes Filho <[EMAIL PROTECTED]>
To: QMail-List <[EMAIL PROTECTED]>
Date: Terça-feira, 31 de Agosto de 1999 16:27
Subject: Port 25 is not responding using tcpserver


>Hi,
>
>The port 25 is not responding:
>
>I've just read the life with qmail and setup Linux:
>
>1)
>supervise /var/supervise/qmail/send | setuidgid qmaill multilog
>/var/log/qmail &
>
>At /var/supervise/qmail/send there is a run file linked to
>/var/qmail/rc.send:
>exec env - PATH="/var/qmail/bin:$PATH" \
>qmail-start ./Maildir/ sh -c 'tai64n | tai64nlocal'
>
>2)
>supervise /var/supervise/qmail/smtpd | setuidgid qmaill tai64n |
tai64nlocal
>| setuidgid qmaill multilog /var/log/qmail/smtpd &
>
>At /var/supervise/qmail/smtpd there is a run file linked to
>/var/qmail/rc.smtp:
>exec env - PATH="/var/qmail/bin:$PATH" \
>tcpserver -v -s/etc/tcp.smtp.cdb -u503 -g503 0 smtp \
>/var/qmail/bin/qmail-smtpd-wrapper 2>&1 &
>
>I've removed the "smtp  stream  tcp nowait  qmaild
>/var/qmail/bin/tcp-env  tcp-env /var/qma
>il/bin/qmail-smtpd" from inetd.conf.
>
>Can you help me?
>
>Bye,
>
>Ari
>
>
>



Port 25 is not responding using tcpserver

1999-08-31 Thread Ari Arantes Filho

Hi,

The port 25 is not responding:

I've just read the life with qmail and setup Linux:

1)
supervise /var/supervise/qmail/send | setuidgid qmaill multilog
/var/log/qmail &

At /var/supervise/qmail/send there is a run file linked to
/var/qmail/rc.send:
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Maildir/ sh -c 'tai64n | tai64nlocal'

2)
supervise /var/supervise/qmail/smtpd | setuidgid qmaill tai64n | tai64nlocal
| setuidgid qmaill multilog /var/log/qmail/smtpd &

At /var/supervise/qmail/smtpd there is a run file linked to
/var/qmail/rc.smtp:
exec env - PATH="/var/qmail/bin:$PATH" \
tcpserver -v -s/etc/tcp.smtp.cdb -u503 -g503 0 smtp \
/var/qmail/bin/qmail-smtpd-wrapper 2>&1 &

I've removed the "smtp  stream  tcp nowait  qmaild
/var/qmail/bin/tcp-env  tcp-env /var/qma
il/bin/qmail-smtpd" from inetd.conf.

Can you help me?

Bye,

Ari





setuser - life with qmail

1999-08-31 Thread Ari Arantes Filho

Hi,

I'm trying to put qmail to automatic startup.

When I try to:

supervise /var/supervise/qmail/send /var/qmail/rc | setuse qmaill multilog
/var/log/qmail &

Error:
bash: setuser: command not found

What is setuser?

Bye,

Ari





cyclog

1999-08-31 Thread Ari Arantes Filho

Hi,

I've installed daemonstools0.61, but I can't find accustamp and cyclog.
Where can I find them?

Best regards,

Ari




I really need help!!!

1999-08-31 Thread Ari Arantes Filho

Hi,

I've read live with qmail, The qmail newbie's guide to relaying
(http://www.palomine.net/qmail/relaying.html) and others documentations on
qmail.org, but I'm really lost.

I need to install qmail on a webhosting environment, where POP and SMTP
users comes from various ISP. I don't think a good ideia to use opem-stmp3
(from newbie's guide), because 90% of the users use outlook express and the
documentation tells I will have problem to send messages (outlook first
sends than reads).

I need to setup my qmail:

- if the sender (return address and from address) is @anydomain.com of my
virtuals (rcphosts and virtualdomains) - never mind the IP address (unless
this IP address is specified like bad IP) - OK
- even the user has its right password to authenticate using pop and try to
use an from address like (@yahoo.com) - NOK
- when the message is reject by the qmail (as this above) the user may see
the error mensage on sending - like WE DON'T RELAY.

I'm using tcpserver to start qmail-send and qmail-pop3.

How do I setup my qmail?

Sorry if this is a basic question, but I'm really confused.

Best regards,

Ari





Re: How to truncate the mailer-daemo failure notice?

1999-08-30 Thread Ari Arantes Filho

Ok, but my concern is with big attachments/traffic and in the failure notice
the attachment doesn't return like attachment, it's part of the body of the
message, so the user is unable to re-send correctly to the right address.


-Original Message-
From: Russell Nelson <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Segunda-feira, 30 de Agosto de 1999 15:33
Subject: Re: How to truncate the mailer-daemo failure notice?


>Ari Arantes Filho writes:
> > When I send a message with an attachment with 3mb for an invalid user,
the
> > hole message backs to the sender, notifying him that:
>
> > Is it possible the put just the header of the message or just a few
lines?
>
>Sure it's possible.  Anything is possible -- that's why we have
>computers.  The question is whether it's desirable.  Basically, if you
>don't bounce the whole email back to the user, how are they to re-send
>it to the right address?  An MTA can't count on them having kept a
>copy.
>
>--
>-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
>Crynwr sells support for free software  | PGPok | Government schools are so
>521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
>Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them.
Homeschool!



How to truncate the mailer-daemo failure notice?

1999-08-30 Thread Ari Arantes Filho

Hi,

When I send a message with an attachment with 3mb for an invalid user, the
hole message backs to the sender, notifying him that:

-

Hi. This is the qmail-send program at .
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]>:
slslsl:domain.com:domain.com

--- Below this line is a copy of the message.



Is it possible the put just the header of the message or just a few lines?

Best regards,

Ari





Problem when sending external emails from workstation

1999-08-27 Thread Ari Arantes Filho

Hi,

My qmail instalation is working - almost!!!

- I can send message to anywhere using qmail-inject.
- I can read messages from any workstation using any client program
(netspace, outlook, ...)
- I can only send messages from the workstation to a local domain, when I
try to send to @yahoo.com, for example, the qmail display an error:
553 sorry, that domain isn't in my list of allowed rcphosts (#5.7.1).

What is wrong?

Best regards,

Ari





qmail-pop3d install

1999-08-27 Thread Ari Arantes Filho

Hi,

I can't find in the documentation the instructions to install
qmail-pop3d. Where can I find it?

Best regards,

Ari





Database integration

1999-08-27 Thread Ari Arantes Filho

Hello All,

This is my first message to the list. I'm new with qmail and I think
qmail is the best!!!

Is it possible to authenticate user in MySQL database?

Best regards,

Ari




Re: How to log the qmail-pop3d connection

1999-01-16 Thread Ari Arantes Filho

My /etc/syslog.conf

mail.*/var/log/maillog

Here goes just a sample of my /var/log/maillog:

Nov 17 19:45:45 ns pop: 942885945.091510 tcpserver: status: 1/40
Nov 17 19:45:45 ns pop: 942885945.094341 tcpserver: pid 588 from 127.0.0.1
Nov 17 19:45:45 ns pop: 942885945.119300 tcpserver: ok 588
localhost:127.0.0.1:110 localhost:127.0.0.1:root:1052
Nov 17 19:45:57 ns pop: 942885957.535890 tcpserver: end 588 status 256
Nov 17 19:45:57 ns pop: 942885957.537061 tcpserver: status: 0/40
Nov 17 19:46:06 ns pop: 942885966.613409 tcpserver: status: 1/40
Nov 17 19:46:06 ns pop: 942885966.614792 tcpserver: pid 592 from
200.197.172.4
Nov 17 19:46:06 ns pop: 942885966.620009 tcpserver: ok 592
mail.drmail.com.br:200.197.172.30:110
stat.doctordata.com.br:200.197.172.4::2334
Nov 17 19:46:06 ns pop: 942885966.679013 tcpserver: end 592 status 256
Nov 17 19:46:06 ns pop: 942885966.680360 tcpserver: status: 0/40
Nov 17 19:46:31 ns pop: 942885991.247627 tcpserver: status: 1/40
Nov 17 19:46:31 ns pop: 942885991.249950 tcpserver: pid 595 from 127.0.0.1
Nov 17 19:46:31 ns pop: 942885991.277216 tcpserver: ok 595
localhost:127.0.0.1:110 localhost:127.0.0.1:root:1057
Nov 17 19:46:38 ns pop: 942885998.331207 tcpserver: end 595 status 256
Nov 17 19:46:38 ns pop: 942885998.332241 tcpserver: status: 0/40

Best regards,

Ari


- Original Message -
From: eric <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: Ari Arantes Filho <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, November 17, 1999 8:19 PM
Subject: Re: How to log the qmail-pop3d connection


> On Wed, 17 Nov 1999 [EMAIL PROTECTED] wrote:
>
> ; Tcpserver only handles the connection part of the process.
> ;
> ; neither man page for qmail-pop3d or qmail-popup listed any
> ; debugging/logging options.
>
> That is because they log to syslog.
>
> # grep mail.debug /etc/syslog.conf
> mail.debug /var/log/mail.log
>
> check there.
>