Re: About processes

2001-08-09 Thread ari


Now I've change the variable, -uQMAILDUID -gNOFILESGID to -u$QMAILDUID
-g$NOFILESGI and restarted qmail, but sometimes I can it twice processes
of:

 2173 pts/0S  0:00 /usr/local/bin/tcpserver -v -H -u401 -g400 0
smtp /var/qmail/bin/qmail-smtpd
 2714 pts/0S  0:00 /usr/local/bin/tcpserver -v -H -u401 -g400 0
smtp /var/qmail/bin/qmail-smtpd

or 3 times:

 2831 pts/0S  0:00 /usr/local/bin/tcpserver -v -H -u401 -g400 0
smtp /var/qmail/bin/qmail-smtpd
 2173 pts/0S  0:00 /usr/local/bin/tcpserver -v -H -u401 -g400 0
smtp /var/qmail/bin/qmail-smtpd
 2830 pts/0S  0:00 /usr/local/bin/tcpserver -v -H -u401 -g400 0
smtp /var/qmail/bin/qmail-smtpd

Why?

Thanks,

Ari


[EMAIL PROTECTED] escreveu:

> 
> I've fixed up the tcpserver, thanks!
> 
> So each qmail-remote is a message going out and each qmail-smtpd without
> tcpserver is a message arriving.
> 
> Thanks,
> 
> Ari



Online monitor

2001-08-09 Thread ari


Hi,

Is there some tool to check online qmail log, like messages arriving
and
going out with output to browser?

Thanks,

Ari



Re: About processes

2001-08-09 Thread ari


I've fixed up the tcpserver, thanks!

So each qmail-remote is a message going out and each qmail-smtpd without
tcpserver is a message arriving.

Thanks,

Ari



About processes

2001-08-09 Thread ari


Hi,

ps ax | grep qmail-remote

shows the running processes that are currently sending message, each
process
is a message been sent, ok?

ps ax | grep qmail-smtpd

show the running processes that are currently arriving, right? But it
shows:

 1016 ?S  4:30
/usr/local/bin/tcpserver -v -H -uQMAILDUID -gNOFILESGID 0 smtp
/var/qmail/bin/qmail-smtpd
15498 ?S  0:44 /var/qmail/bin/qmail-smtpd
19168 ?S  0:00
/usr/local/bin/tcpserver -v -H -uQMAILDUID -gNOFILESGID 0 smtp
/var/qmail/bin/qmail-smtpd

How many messages are arriving? 1, 2 or 3?

Thanks,

Ari



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!







Re: patching qmail-smtpd.c twice

2001-06-14 Thread ari



Apply one patch and check the messages, backup 
qmail-smtpd.c and apply the other, check the message also.
 
Apply one and then the other, if no strange 
messages, it's ok.
 
But at most time the patchs are not very big and 
they have the line number and instructions that must stay, include (+)  or 
out (-), then the lines that must stay.
 
 
- Original Message - 

  From: 
  Sebastián E. 
  Brocher 
  To: [EMAIL PROTECTED] 
  Sent: Wednesday, June 13, 2001 10:59 
  PM
  Subject: patching qmail-smtpd.c 
  twice
  
  
  Hi, does somebody know if I can apply the 
  maxrcpt.patch (for limiting the rcpt's in each connection) and wildmart.patch 
  (one more used for anti-spam) in the same qmail-smtpd? If thats the case, in 
  what order should I appy the patches?
   
  I suppose otherwise I'd have to look at the 
  source and should do a patch for both things myself...
   
  Thanks in advance,
   
   
  Sebastián E. Brocher
  Tuxar
  http://www.tuxar.com
  (54-11)-4315-0016/17


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




Re: LWQ Init Script/qmail-pop3d

2001-02-17 Thread ari

Thanks Kris Kelly! (Re: qpop3 keeps alive!)

- Original Message -
From: "Kyle" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, February 16, 2001 9:15 PM
Subject: Re: LWQ Init Script/qmail-pop3d


> Man, you just made my day ;)  It worked perfect, thanks a lot!
>
> Kyle
>
> --
> Kyle Knack
> Server Engineer - SkyNetWEB/Affinity Internet
> System Administrator - Only-Linux.Com
> [EMAIL PROTECTED]
> http://www.skynetweb.com
>
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: Kyle <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Friday, February 16, 2001 8:51 PM
> Subject: Re: LWQ Init Script/qmail-pop3d
>
>
> > I saw this too, put "exec" before tcpserver
> >
> >
> > - Original Message -
> > From: "Kyle" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, February 16, 2001 9:38 PM
> > Subject: LWQ Init Script/qmail-pop3d
> >
> >
> > > List,
> > >  I recently decided to move my qmail-pop3d process out of inetd on
> my
> > > RedHat 6.2 machine and under the control of daemontools like the rest
of
> > my
> > > qmail processes.  I installed semi-following LWQ, and making other
> changes
> > > as I went.  Daemontools and ucspi-tcp were installed from RPMs (if
that
> > > matters).  I stopped qmail, created a directory under /var/qmail/ for
> > > qmail-pop3d, and put in the necessary scripts (details at end of
> message).
> > > I am using the LWQ SysVinit scripts, and added appropriate lines for
> > > qmail-pop3d under the pause, cont, and restart sections.  Since the
> > > start/stop section just uses /var/qmail/supervise/* and
> > > /var/qmail/supervise/*/log , it didn't look like I'd need to add
> > qmail-pop3d
> > > there.  The problem is such:  All features of the scripts work fine
> except
> > > for start/stop.  If I issue 'qmail stop', it kills off everything
except
> > > qmail-pop3d.  What's worse is a few seconds later it restarts
> > > qmail-send/qmail-smtpd, so it's more or less a restart now.  I'm sure
I
> > > missed something, but I have no clue what.  Any ideas as to how to
make
> > > qmail-pop3d behave in this script like qmail-send and qmail-smptd do ?
> > TIA
> > >
> > > Kyle
> > >
> > > /var/qmail/supervise:
> > > drwxr-xr-x5 root root 4096 Feb 16 19:09 .
> > > drwxr-xr-x   11 root qmail4096 Feb 16 19:10 ..
> > > drwxr-xr-t4 root root 4096 Feb 16 19:21 qmail-pop3d
> > > drwxr-xr-t4 root root 4096 Nov 10 15:28 qmail-send
> > > drwxr-xr-t4 root root 4096 Feb 16 19:17 qmail-smtpd
> > >
> > > /var/qmail/supervise/qmail-pop3d:
> > > drwxr-xr-t4 root root 4096 Feb 16 19:21 .
> > > drwxr-xr-x5 root root 4096 Feb 16 19:09 ..
> > > drwxr-xr-x3 root root 4096 Feb 16 19:20 log
> > > -rwxr-xr-x1 root root  164 Feb 16 19:21 run
> > > drwx--2 root root 4096 Feb 16 19:34 supervise
> > >
> > > /var/qmail/supervise/qmail-pop3d/run:
> > > #!/bin/sh
> > >
> > > /usr/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup
> > > mail.only-linux.com \
> > > /bin/checkpoppasswd /var/qmail/bin/qmail-pop3d Maildir 2>&1
> > >
> > > (LWQ startup line, minus splogger (did I cut out too much?) and with
> > > checkpoppasswd insted of checkpasswd)
> > >
> > > Parts of /etc/rc.d/init.d/qmail:
> > >   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 "."
> > > ;;
> > >   pause)
> > > echo "Pausing qmail-send"
> > > svc -p /var/qmail/supervise/qmail-send
> > > echo "Pausing qmail-smtpd"
> > > svc -p /var/qmail/supervise/qmail-smtpd
> > > echo "Pausing qmail-pop3d"
> > > svc -p /var/qmail/supervise/qmail-pop3d
> > > ;;
> > >   cont)
> > > echo "Continuing qmail-send"
> > > svc -c /var/qmail/supervise/qmail-send
> > > echo "Continuing qmail-smtpd"
> > > svc -c /var/qmail/supervise/qmail-smtpd
> > > echo "Continuing qmail-pop3d"
> > > svc -c /var/qmail/supervise/qmail-pop3d
> > > ;;
> > >   restart)
> > > echo "Restarting qmail:"
> > > echo "* Stopping qmail-smtpd."
> > > svc -d /var/qmail/supervise/qmail-smtpd
> > > echo "* Sending qmail-send SIGTERM and restarting."
> > > svc -t /var/qmail/supervise/qmail-send
> > > echo "* Restarting qmail-smtpd."
> > > svc -u /var/qmail/supervise/qmail-smtpd
> > > echo "* Restarting qmail-pop3d."
> > > svc -u /var/qmail/supervise/qmail-pop3d
> > > ;;
> > >
> > >
> > > --
> > > Kyle Knack
> > > Server Engineer - SkyNetWEB/Affinity Internet
> > > [EMAIL PROTECTED]

Re: LWQ Init Script/qmail-pop3d

2001-02-16 Thread ari

I saw this too, put "exec" before tcpserver


- Original Message -
From: "Kyle" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 16, 2001 9:38 PM
Subject: LWQ Init Script/qmail-pop3d


> List,
>  I recently decided to move my qmail-pop3d process out of inetd on my
> RedHat 6.2 machine and under the control of daemontools like the rest of
my
> qmail processes.  I installed semi-following LWQ, and making other changes
> as I went.  Daemontools and ucspi-tcp were installed from RPMs (if that
> matters).  I stopped qmail, created a directory under /var/qmail/ for
> qmail-pop3d, and put in the necessary scripts (details at end of message).
> I am using the LWQ SysVinit scripts, and added appropriate lines for
> qmail-pop3d under the pause, cont, and restart sections.  Since the
> start/stop section just uses /var/qmail/supervise/* and
> /var/qmail/supervise/*/log , it didn't look like I'd need to add
qmail-pop3d
> there.  The problem is such:  All features of the scripts work fine except
> for start/stop.  If I issue 'qmail stop', it kills off everything except
> qmail-pop3d.  What's worse is a few seconds later it restarts
> qmail-send/qmail-smtpd, so it's more or less a restart now.  I'm sure I
> missed something, but I have no clue what.  Any ideas as to how to make
> qmail-pop3d behave in this script like qmail-send and qmail-smptd do ?
TIA
>
> Kyle
>
> /var/qmail/supervise:
> drwxr-xr-x5 root root 4096 Feb 16 19:09 .
> drwxr-xr-x   11 root qmail4096 Feb 16 19:10 ..
> drwxr-xr-t4 root root 4096 Feb 16 19:21 qmail-pop3d
> drwxr-xr-t4 root root 4096 Nov 10 15:28 qmail-send
> drwxr-xr-t4 root root 4096 Feb 16 19:17 qmail-smtpd
>
> /var/qmail/supervise/qmail-pop3d:
> drwxr-xr-t4 root root 4096 Feb 16 19:21 .
> drwxr-xr-x5 root root 4096 Feb 16 19:09 ..
> drwxr-xr-x3 root root 4096 Feb 16 19:20 log
> -rwxr-xr-x1 root root  164 Feb 16 19:21 run
> drwx--2 root root 4096 Feb 16 19:34 supervise
>
> /var/qmail/supervise/qmail-pop3d/run:
> #!/bin/sh
>
> /usr/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup
> mail.only-linux.com \
> /bin/checkpoppasswd /var/qmail/bin/qmail-pop3d Maildir 2>&1
>
> (LWQ startup line, minus splogger (did I cut out too much?) and with
> checkpoppasswd insted of checkpasswd)
>
> Parts of /etc/rc.d/init.d/qmail:
>   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 "."
> ;;
>   pause)
> echo "Pausing qmail-send"
> svc -p /var/qmail/supervise/qmail-send
> echo "Pausing qmail-smtpd"
> svc -p /var/qmail/supervise/qmail-smtpd
> echo "Pausing qmail-pop3d"
> svc -p /var/qmail/supervise/qmail-pop3d
> ;;
>   cont)
> echo "Continuing qmail-send"
> svc -c /var/qmail/supervise/qmail-send
> echo "Continuing qmail-smtpd"
> svc -c /var/qmail/supervise/qmail-smtpd
> echo "Continuing qmail-pop3d"
> svc -c /var/qmail/supervise/qmail-pop3d
> ;;
>   restart)
> echo "Restarting qmail:"
> echo "* Stopping qmail-smtpd."
> svc -d /var/qmail/supervise/qmail-smtpd
> echo "* Sending qmail-send SIGTERM and restarting."
> svc -t /var/qmail/supervise/qmail-send
> echo "* Restarting qmail-smtpd."
> svc -u /var/qmail/supervise/qmail-smtpd
> echo "* Restarting qmail-pop3d."
> svc -u /var/qmail/supervise/qmail-pop3d
> ;;
>
>
> --
> Kyle Knack
> Server Engineer - SkyNetWEB/Affinity Internet
> [EMAIL PROTECTED]
> http://www.skynetweb.com
>
>




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








Administrative tool

2001-02-08 Thread ari

Hi All.

Is there an administrative tool to create, delete or modify users without
vpopmail?

I have an installation with users in /etc/passwd, without vpopmail.

I saw qmailadmin and oMail-admin, but both users vpopmail.

Thanks,

Ari





Problem with queue

2001-02-05 Thread ari

Hi,

I've restarted qmail and there is something wrong:

# qmail-qstat
messages in queue: 15
messages in queue but not yet preprocessed: 0

# qmHandle -l
Messages in local queue: 0
Messages in remote queue: 0

# qmail-qread


There is no message in the queue, but why qmail-qstat shows 15?

When there are more messages in queue, qmail-qstat shows more than 15, in
"messages in queue".

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





Re: Remove a message

2000-12-12 Thread ari

ok, but with qmHandle I need to stop qmail (send and smtp)...


- Original Message -
From: <[EMAIL PROTECTED]>
To: "Ari Arantes Filho" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, December 13, 2000 12:02 AM
Subject: Re: Remove a message


> Ari,
>
> > How can I stop this error? Is the way I'm trying to delete message ok?
>
> I think you're re-inventing the wheel. Checkout qmHandle, on
www.qmail.org.
>
> cheers,
>
> Andrew.
>
>
>




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





ReiserFS

2000-12-03 Thread ari

Hi,

Is it possible to run qmail in a Reiser File System? If so, can you tell
me about how it is running?

Thanks,

Ari





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





2 Links

2000-10-30 Thread ari

Hi,

My network has 2 connections to the internet, 2 different backbones.

I'm thinking about to write the dns registry (mx record) with 2 ip
addresses. Is this the best way to avoid breaks in my email service? In the
right case, should I start one tcpserver to each ip address?

Best regards,

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





Re: [qmail] Unix as it should be

2000-03-01 Thread ari

Most of the programs which run as root don't need to even with their current
design.  All it would take is a few 'chown's, a few configuration file edits,
and you're set.  Hence, many times this problem is a configuration error
instilled by software vendors and distributors.  Other programs must run as
root to keep their current design, which is indeed unacceptable for the most
part.

Personally, i believe that running files as their own separate user is not good
enough; if at all possible, services should be in their own chroot()'ed
environment.  There is no excuse for named to run either as root or
system-wide.  There is no excuse for database servers to run either as root or
system-wide.  Most of these programs which are commonly used by crackers to
fully compromise systems can be reasonably secured as-is, without even doing a
major rewrite (though a major rewrite would obviously be the best COA for the
program authors if they wish to provide real security).

Why are so many distributors so oblivious to this?  Hell, i've replaced about
70% of the total software on our solaris machines (including all setuid files,
and virtually all daemons), and modified most of the replacements.  Redhat
distributions aren't really any better (which is only one reason i refuse to
work with a redhat distribution of linux)  

Sigh... it really is so hard to find good software these days

ari

[EMAIL PROTECTED] said this stuff:

> Pavel Kankovsky writes:
>  > Damned omnipotent root. I hate unix.
> 
> Well, my feeling is that Unix is well designed.  It's just the
> programs that surround it that are not.  First, I'd start with most
> programs written at BSD, and throw them out as "a nice try" by some
> undergraduates.  I've already thrown out the programs *I* wrote as an
> undergraduate.  I see no particular reason to worship anything in the
> BSD.  BTW, Linus feels the same way, which is why you have to fsync "."
> if you want information to be written into ".".
> 
> For example, the standard printing system (lpd/lpr/lpq) runs as root.
> Bad idea.  No reason for it.  Run it under its own userid.  That's how 
> CUPS does it.
> 
> That's how everything should be done under Unix -- as its own userid.
> Other operating systems have Access Control Lists, which let you split
> up permissions in a fine-grained manner.  Unix uses userids, group
> membership, and file ownership, groups, and permissions to achieve the
> same result.  If you don't do this because there's "no reason for all
> those users", as Weitse Venema told me, then when you get a security
> breach in one part of your system, it spreads out over the whole
> system.
> 
> -- 
> -russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
> Crynwr sells support for free software  | PGPok | "Ask not what your country
> 521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to
> Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | do for you..."  -Perry M.



Re: qmail-inject / env_get("USER")

2000-02-24 Thread ari

There wouldn't be any security problem... since qmail-inject is not setuid,
users would have the same privileges and could do the same thing themselves if
they so desired.  That was not my point.

qmail-inject is called by the sendmail wrapper.  Using XMIT, qpopper calls
sendmail, or in this case, the wrapper (XMIT comes in handy for user
authentication with eudora for sending mail).  qpopper sets the user to the
person logging in, and the group to mail, but it leaves the user environment
(usually the calling user would be root) untouched.  You then have a user
sending mail with uid , gid mail, and USER and LOGNAME variables of
'root'.  This is where my point comes into play -- qmail-inject checks
environment variables _only_, and finds root.  The message is then sent out
with a return-path of [EMAIL PROTECTED], and any bounced messages are sent to
root, and _not_ to the actual sender.  Some broken mail clients even use the
return-path for replying to mail, ignoring the inserted "From:" header.

I have two choices in this case:
1. i can modify qpopper (again) and add a calling argument of '-f
', or change the USER variable after setuid().
2. i can modify qmail-inject to check the user itself if it finds no
QMAILUSER (and perhaps MAILUSER) variable(s).

The second option will probably help more in the long run, though the first
does certainly improve qpopper's style.

Based on some short tests, cuserid() seems to work improperly on some platforms
(i.e. irix), so getpwuid(getuid())->pw_name would be the (portable) way to go.

Again, if anyone has any serious reasons why changing this is a bad idea,
please let me know.

ari


[EMAIL PROTECTED] said this stuff:

> On Wed, Feb 23, 2000 at 04:23:33PM -0500, ari wrote:
> > Is there any particular reason that qmail-inject uses env_get("*USER") instead
> > of getuid and getpwuid (or just cuserid)?
> > 
> > If anyone is familiar with qualcomm qpopper (2.53, at least), using POP-send
> > changes the UID to the proper user and the GID to mail, but leaves the
> > environment as root's.  Under sendmail this is not a problem, but since
> > qmail-inject uses the environment alone, all messages end up with a return-path
> > of root.
> > 
> > If no one has a good reason that i should leave it alone, please let me know.
> 
> 
> When will you be able to inject mail via the POP protocol? 
> qmail-inject is only used for local injection. 
> 
> You can do the exact same thing on the command line:
> 
> /var/qmail/bin/qmail-inject -f root
> 
> What is the security problem here?
> 
> http://www.nrg4u.com/qmail/the-big-qmail-picture-103-p1.gif
> 
> /magnus
> 
> -- 
> http://x42.com/

-- 

.Ari Edelkind--.
 Unix Systems and Network Administrator   [EMAIL PROTECTED]
 Public Health Research Institute (212) Phone: 578 0822
 New York, NY [USA] Fax  : 576 8442
`--'



jbuce patch note for qmail 1.03

2000-02-23 Thread ari

jbuce.diff (qmail 1.03, 12/11/98, "Birthday Edition"), as found from
ftpsearch.lycos.com has a minor typo, which results in all (non-relaying) mails
being allowed through, even if they're listed in badmailfrom, have no dns
entry, or are incorrectly formatted.

To correct the typo, change line 881 from

+  if (str_len(mailfrom) == 0) return 0;

to
+  if (str_len(mailfrom.s) == 0) return 0;

(initial tab inserted for clarity).

Otherwise, all mails will be considered as having a null return-path, and this
function (bmfcheck()) will return immediately, boding acceptance.

I searched through the archives and could find nothing relating to this
point.

ari

-- 

.----Ari Edelkind--.
 Unix Systems and Network Administrator   [EMAIL PROTECTED]
 Public Health Research Institute (212) Phone: 578 0822
 New York, NY [USA] Fax  : 576 8442
`--'



qmail-inject / env_get("USER")

2000-02-23 Thread ari

Is there any particular reason that qmail-inject uses env_get("*USER") instead
of getuid and getpwuid (or just cuserid)?

If anyone is familiar with qualcomm qpopper (2.53, at least), using POP-send
changes the UID to the proper user and the GID to mail, but leaves the
environment as root's.  Under sendmail this is not a problem, but since
qmail-inject uses the environment alone, all messages end up with a return-path
of root.

If no one has a good reason that i should leave it alone, please let me know.

ari

-- 

.----Ari Edelkind--.
 Unix Systems and Network Administrator   [EMAIL PROTECTED]
 Public Health Research Institute (212) Phone: 578 0822
 New York, NY [USA] Fax  : 576 8442
`--'



Re: [qmail] "<>" bogus mail from??

2000-02-07 Thread ari

[EMAIL PROTECTED] said this stuff:

> On Mon, 7 Feb 2000, ari wrote:
> 
> > Section 5.3.3 does indeed state that the null return-path _is_ required for
> > use, however references itself with section 3.6 of RFC 821, which is the actual
> > specification of the SMTP protocol.  Section 3.6 of RFC 821, however, does
> > _not_ state that the null return-path is required when sending bounces.  It
> > clearly states that the null return-path is _one_ option:
> 
> 5.3.3 of RFC 1123 amends 3.6 of RFC 821 stating "<>" is the _one_
> and _only_ option.
> 
>   This notification MUST be sent using a null ("<>") reverse path
>   in the envelope; see Section 3.6 of RFC-821.
> 

It's possible this is an amendment, but i am inclined to believe otherwise, as
other amendments are stated as such:

[4.1.3.4]
The description of the 110 reply on pp. 40-41 of RFC-959 is
incorrect; the correct description is as follows.

[4.2.2.2]
The Length field of a UDP header is incorrectly defined; it
includes the UDP header length (8).

[5.2.14]
The military time zones are specified incorrectly in RFC-822:
they count the wrong way from UT (the signs are reversed).

... whereas in this case, the reader is simply referred to RFC 821.  It may be
argued that the errors stated are of a different nature, but the amendments of
a similar nature are generally given individual discussions.  To me, it seems
like either an erroneous statement or an oversight from discussion.  Perhaps
the statement just lacks the clarity i would like.  Either way, i yield; i see
this discussion going only in circles.

> Perhaps I am not spammed by the right set of spammers but the amount of
> spams having a null return-path I have ever received is less than 1 % of
> the the total.

If you wish, i will forward you some of what my users complain about.  We keep
a rather hefty spam-blocking list, but these are unstoppable with our current
anti-spam implementation (using the RBL will keep some legitimate mail from
us).  About 5% of our spam yields a null return-path.

ari

-- 

.Ari Edelkind--.
 Unix Systems and Network Administrator   [EMAIL PROTECTED]
 Public Health Research Institute (212) Phone: 578 0822
 New York, NY [USA] Fax  : 576 8442
`--'



Re: [qmail] Re: "<>" bogus mail from??

2000-02-07 Thread ari

Actually, i haven't.  Section 5.2.9 states the following:

An empty reverse path MUST be supported.

I clearly stated that this was not in dispute.

Section 5.3.3 does indeed state that the null return-path _is_ required for
use, however references itself with section 3.6 of RFC 821, which is the actual
specification of the SMTP protocol.  Section 3.6 of RFC 821, however, does
_not_ state that the null return-path is required when sending bounces.  It
clearly states that the null return-path is _one_ option:

One way to prevent loops in error reporting is to specify a null
reverse-path in the MAIL command of a notification message.  When such
a message is relayed it is permissible to leave the reverse-path null.

I stand by my original statement.

ari


[EMAIL PROTECTED] said this stuff:

> You've misread the spelling of 'MUST' in sections 5.2.9 and 5.3.3 of
> RFC 1123.
> 
> -- Jeff Hayward
> 
> On Mon, 7 Feb 2000, ari wrote:
> 
>   Of what i remember from RFC 821, the null reverse-path is _not_ required, but
>   is rather mentioned as "one way" to get around the "bounce of a bounce"
>   problem.
>   
>   Yes, all mailers should allow this, even though many spammers abuse it.  True,
>   rejecting it can be considered breaking RFC-compliance.  But it is by no means
>   required for use.
>   
>   Or maybe i'm nitpicking.
>   
>   ari
>   
>   
>   

-- 

.Ari Edelkind--.
 Unix Systems and Network Administrator   [EMAIL PROTECTED]
 Public Health Research Institute (212) Phone: 578 0822
 New York, NY [USA] Fax  : 576 8442
`--'



Re: "<>" bogus mail from??

2000-02-07 Thread ari

Of what i remember from RFC 821, the null reverse-path is _not_ required, but
is rather mentioned as "one way" to get around the "bounce of a bounce"
problem.

Yes, all mailers should allow this, even though many spammers abuse it.  True,
rejecting it can be considered breaking RFC-compliance.  But it is by no means
required for use.

Or maybe i'm nitpicking.

ari

> On Tue, Feb 01, 2000 at 12:25:01PM -0600, Ronny Haryanto wrote:
> > Hi,
> > 
> > I'm just wondering if
> > 
> >   MAIL FROM: <>
> >   
> > in SMTP session is valid or not? From what I understand is that qmail
> 
> Yes it's valid, it's actually even the required sender of a bounce.
> 
> > uses that to send bounce messages. However some sites (particulary
> > ones using IMail v5) rejects that sender saying "501 bogus mail from".
> 
> They suck.
> 
> > I don't care if the sender doesn't receive the bounce back, heck I
> > tried to send bounce message but they rejects it. It's just annoying,
> > especially if this is valid, not bogus.
> 
> It is valid, and required, to prevent bounces bouncing :)
> 
> > I have contacted a rep from IMail, but no response. Here's the
> > website: http://www.ipswitch.com/products/IMail_Server/index.asp
> 
> It's ipswitch. It ends with .asp. I'm not touching that with a forty-foot
> pole (no don't start a holy war on me now :)
> 
> Greetz, Peter.
> -- 
> Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder 
> |  
> | 'C makes it easy to shoot yourself in the foot;
> |  C++ makes it harder, but when you do it blows your whole leg off.'
> | Bjarne Stroustrup, Inventor of C++


-- 

.Ari Edelkind--.
 Unix Systems and Network Administrator   [EMAIL PROTECTED]
 Public Health Research Institute (212) Phone: 578 0822
 New York, NY [USA] Fax  : 576 8442
`--'



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





Re: Limit POP3 and SMTP service

1999-12-19 Thread ari


Chris Johnson wrote something called "The qmail newbie's guide to relaying", which 
is supposed to answer most of the relaying questions that come across the qmail list. 

http://www.palomine.net/qmail/relaying.html
and
http://www.palomine.net/qmail/relaymailfrom.html







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




RE: RE: RE: SV: Pop/Single-UID based POP3/problem

1999-11-07 Thread ari


Sorry,

/Maildir/



Mensagem Original
De  :  [EMAIL PROTECTED]
Para:  [EMAIL PROTECTED]
Assunto :  RE: SV: Pop/Single-UID based POP3/problem



Hi,

I think the wrong is in the .qmail file, the correct is
/Maildir/

not

./Maildir/

Check also if the uid and gid of popuser is 888.

Best regards,

Ari

Mensagem Original
De  :  "J=F8rgen Skogstad" <[EMAIL PROTECTED]>
Para:  [EMAIL PROTECTED]
Assunto :  SV: Pop/Single-UID based POP3/problem


Hi there Chris..

Here's what I have in my control/virtualdomains file;

enterprise:/var/qmail/control# more virtualdomains 
test.net:test-net
enterprise:/var/qmail/control# 

.. not sure if the way I start qmail has anything to do
with this?? Shouldn't be, but here is the content of that
rc file;

enterprise:/var/qmail# more rc
#!/bin/sh

# Using splogger to send the log through syslog.
# Using qmail-local to deliver messages to ~/Mailbox by default.

exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Maildir/ splogger qmail
enterprise:/var/qmail# 

Have any idea as to what may be done to get this up and
running??!

Thanks alot ... ;) 

Kindest,
Jørgen


-Opprinnelig melding-
Fra: Chris Johnson <[EMAIL PROTECTED]>
Til: Jørgen Skogstad <[EMAIL PROTECTED]>
Kopi: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Dato: 7. november 1999 14:06
Emne: Re: Pop/Single-UID based POP3/problem


>What's in control/virtualdomains?
>
>Chris
>
>On Sun, Nov 07, 1999 at 12:06:34PM +0100, Jørgen Skogstad wrote:
>> 
>> Kindest,
>> 
>> I am having some problems with the setup provided
>> from Paul Greg. I get these errors in the log when
>> trying to get incoming mail routed to the users
>> mailbox;
>> 
>> Nov  7 11:20:53 enterprise qmail: 941970053.322851 new msg 708801
>> Nov  7 11:20:53 enterprise qmail: 941970053.323160 info msg 708801: =
>> bytes 822 from <[EMAIL PROTECTED]> qp 4445 uid 7791
>> Nov  7 11:20:53 enterprise qmail: 941970053.334169 starting delivery 5: =
>> msg 708801 to local [EMAIL PROTECTED]
>> Nov  7 11:20:53 enterprise qmail: 941970053.334456 status: local 1/10 =
>> remote 0/20
>> Nov  7 11:20:53 enterprise qmail: 941970053.366126 delivery 5: failure: =
>> Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
>> Nov  7 11:20:53 enterprise qmail: 941970053.366417 status: local 0/10 =
>> remote 0/20
>> Nov  7 11:20:53 enterprise qmail: 941970053.386940 bounce msg 708801 qp =
>> 4448
>> Nov  7 11:20:53 enterprise qmail: 941970053.388313 end msg 708801
>> 
>> However.. all seems to be in order;
>> 
>> enterprise:/var/qmail# more users/assign=20
>> =3Dtest-net-user:popuser:888:888:/var/qmail/popboxes/test-net/test:::
>> enterprise:/var/qmail#=20
>> 
>> Beneath are the permissions on the various dirs and
>> files;
>> 
>> enterprise:/var/qmail# ls -l
>> total 10
>> drwxr-sr-x   2 aliasqmail1024 Nov  7 00:25 alias
>> drwxr-xr-x   2 root qmail1024 Nov  7 00:14 bin
>> drwxr-xr-x   2 root qmail1024 Nov  6 20:19 boot
>> drwxr-xr-x   2 root qmail1024 Nov  7 10:20 control
>> drwxr-xr-x   3 root qmail1024 Nov  6 20:31 doc
>> drwxr-xr-x  10 root qmail1024 Nov  6 20:19 man
>> drwx--   3 popuser  popuser  1024 Nov  7 11:18 popboxes
>> drwxr-x---  11 qmailq   qmail1024 Nov  6 20:19 queue
>> -rwxr-xr-x   1 root qmail 204 Nov  7 00:57 rc
>> drwxr-xr-x   2 root qmail1024 Nov  7 10:10 users
>> enterprise:/var/qmail#  =20
>> 
>> enterprise:/var/qmail/popboxes# ls -l
>> total 1
>> drwx--   3 popuser  popuser  1024 Nov  7 11:19 test-net
>> enterprise:/var/qmail/popboxes#=20
>> 
>> enterprise:/var/qmail/popboxes/test-net# ls -l
>> total 1
>> drwx--   3 popuser  popuser  1024 Nov  7 11:20 user
>> enterprise:/var/qmail/popboxes/test-net#=20
>> 
>> enterprise:/var/qmail/popboxes/test-net/user# ls -la
>> total 4
>> drwx--   3 popuser  popuser  1024 Nov  7 11:20 .
>> drwx--   3 popuser  popuser  1024 Nov  7 11:19 ..
>> -rwx--   1 popuser  popuser11 Nov  7 11:20 .qmail
>> drwx--   2 popuser  popuser  1024 Nov  7 11:19 Maildir
>> enterprise:/var/qmail/popboxes/test-net/user#=20
>> 
>> enterprise:/var/qmail/popboxes/test-net/user# more .qmail=20
>> ./Maildir/
>> enterprise:/var/qmail/popboxes/test-net/user#=20
>> 
>> What have I done wrong?? Can anyone point out why this is
>> not working. I am trying to get support for multiple pop3
>> boxes without having to set up individual user accounts on
>> this system.
>> 
>> I have changed the domain name and user.. so test.net is
>> not the correct domain.. however; all mail delivery worked
>> fine before I begun to implement this.=20
>> 
>> Would apriciate any input!
>> 
>> Have a real nice weekend..
>









RE: SV: Pop/Single-UID based POP3/problem

1999-11-07 Thread ari


Hi,

I think the wrong is in the .qmail file, the correct is
/Maildir/

not

./Maildir/

Check also if the uid and gid of popuser is 888.

Best regards,

Ari

Mensagem Original
De  :  "J=F8rgen Skogstad" <[EMAIL PROTECTED]>
Para:  [EMAIL PROTECTED]
Assunto :  SV: Pop/Single-UID based POP3/problem


Hi there Chris..

Here's what I have in my control/virtualdomains file;

enterprise:/var/qmail/control# more virtualdomains 
test.net:test-net
enterprise:/var/qmail/control# 

.. not sure if the way I start qmail has anything to do
with this?? Shouldn't be, but here is the content of that
rc file;

enterprise:/var/qmail# more rc
#!/bin/sh

# Using splogger to send the log through syslog.
# Using qmail-local to deliver messages to ~/Mailbox by default.

exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Maildir/ splogger qmail
enterprise:/var/qmail# 

Have any idea as to what may be done to get this up and
running??!

Thanks alot ... ;) 

Kindest,
Jørgen


-Opprinnelig melding-
Fra: Chris Johnson <[EMAIL PROTECTED]>
Til: Jørgen Skogstad <[EMAIL PROTECTED]>
Kopi: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Dato: 7. november 1999 14:06
Emne: Re: Pop/Single-UID based POP3/problem


>What's in control/virtualdomains?
>
>Chris
>
>On Sun, Nov 07, 1999 at 12:06:34PM +0100, Jørgen Skogstad wrote:
>> 
>> Kindest,
>> 
>> I am having some problems with the setup provided
>> from Paul Greg. I get these errors in the log when
>> trying to get incoming mail routed to the users
>> mailbox;
>> 
>> Nov  7 11:20:53 enterprise qmail: 941970053.322851 new msg 708801
>> Nov  7 11:20:53 enterprise qmail: 941970053.323160 info msg 708801: =
>> bytes 822 from <[EMAIL PROTECTED]> qp 4445 uid 7791
>> Nov  7 11:20:53 enterprise qmail: 941970053.334169 starting delivery 5: =
>> msg 708801 to local [EMAIL PROTECTED]
>> Nov  7 11:20:53 enterprise qmail: 941970053.334456 status: local 1/10 =
>> remote 0/20
>> Nov  7 11:20:53 enterprise qmail: 941970053.366126 delivery 5: failure: =
>> Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
>> Nov  7 11:20:53 enterprise qmail: 941970053.366417 status: local 0/10 =
>> remote 0/20
>> Nov  7 11:20:53 enterprise qmail: 941970053.386940 bounce msg 708801 qp =
>> 4448
>> Nov  7 11:20:53 enterprise qmail: 941970053.388313 end msg 708801
>> 
>> However.. all seems to be in order;
>> 
>> enterprise:/var/qmail# more users/assign=20
>> =3Dtest-net-user:popuser:888:888:/var/qmail/popboxes/test-net/test:::
>> enterprise:/var/qmail#=20
>> 
>> Beneath are the permissions on the various dirs and
>> files;
>> 
>> enterprise:/var/qmail# ls -l
>> total 10
>> drwxr-sr-x   2 aliasqmail1024 Nov  7 00:25 alias
>> drwxr-xr-x   2 root qmail1024 Nov  7 00:14 bin
>> drwxr-xr-x   2 root qmail1024 Nov  6 20:19 boot
>> drwxr-xr-x   2 root qmail1024 Nov  7 10:20 control
>> drwxr-xr-x   3 root qmail1024 Nov  6 20:31 doc
>> drwxr-xr-x  10 root qmail1024 Nov  6 20:19 man
>> drwx--   3 popuser  popuser  1024 Nov  7 11:18 popboxes
>> drwxr-x---  11 qmailq   qmail1024 Nov  6 20:19 queue
>> -rwxr-xr-x   1 root qmail 204 Nov  7 00:57 rc
>> drwxr-xr-x   2 root qmail1024 Nov  7 10:10 users
>> enterprise:/var/qmail#  =20
>> 
>> enterprise:/var/qmail/popboxes# ls -l
>> total 1
>> drwx--   3 popuser  popuser  1024 Nov  7 11:19 test-net
>> enterprise:/var/qmail/popboxes#=20
>> 
>> enterprise:/var/qmail/popboxes/test-net# ls -l
>> total 1
>> drwx--   3 popuser  popuser  1024 Nov  7 11:20 user
>> enterprise:/var/qmail/popboxes/test-net#=20
>> 
>> enterprise:/var/qmail/popboxes/test-net/user# ls -la
>> total 4
>> drwx--   3 popuser  popuser  1024 Nov  7 11:20 .
>> drwx--   3 popuser  popuser  1024 Nov  7 11:19 ..
>> -rwx--   1 popuser  popuser11 Nov  7 11:20 .qmail
>> drwx--   2 popuser  popuser  1024 Nov  7 11:19 Maildir
>> enterprise:/var/qmail/popboxes/test-net/user#=20
>> 
>> enterprise:/var/qmail/popboxes/test-net/user# more .qmail=20
>> ./Maildir/
>> enterprise:/var/qmail/popboxes/test-net/user#=20
>> 
>> What have I done wrong?? Can anyone point out why this is
>> not working. I am trying to get support for multiple pop3
>> boxes without having to set up individual user accounts on
>> this system.
>> 
>> I have changed the domain name and user.. so test.net is
>> not the correct domain.. however; all mail delivery worked
>> fine before I begun to implement this.=20
>> 
>> Would apriciate any input!
>> 
>> Have a real nice weekend..
>



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: Back-up scheme, 2 qmail servers

1999-03-16 Thread Ari Rubenstein


On Tue, 16 Mar 1999, Eric Dahnke wrote:

> What do you mean by hold all the messages?
> 
> Our mailserver does both smtp and pop, so therein lies the problem. Great, so
> the MX rolls and the backup server accepts smtp for our domains. But what
> about pop? When the primary server comes back up, users would need to pop both
> servers to get all their mail, and that would turn into a mess.
> 
> Or am I not understanding.

I have one subdomain with something like this:

- primary mail server, has lower MX records, users, pop, imap, etc.

- secondary mail server, higher MX records, no users, no pop, etc.

If the primary mail server goes down, messages are queued on the backup
server.  This is accomplished by making the backup server a "null client"
as defined in the qmail FAQ.

When the primary server comes back online after a failure, the queued
messages on the backup server are delivered to the primary server.

Pop users would have an interuption in service, but no lost messages.

In the case of an extened outage of the primary server, you could build or
fall back to a entirely different primary server by changing the MX
records for your mail domain, and changing the qmail/control/smtproutes
file.

- Ari

------
Ari Rubenstein  Unix Operations Engineer
Digex, West Coast   Sun Cert'd SysAdmin
[EMAIL PROTECTED]
408-873-4256




file names = inodes : why?

1999-02-16 Thread Ari Rubenstein


On Tue, 16 Feb 1999, Harald Hanche-Olsen wrote:

> qmail needs inode numbers to generate unique message numbers.

This has come up a few times here (we are running qmail on a good number
of machines.)

Is the inode just a handy unique number?  Or are there file access
speed tricks, e.g. opening files directly using inode.

I would like it to be more convenient to manage the queue while mail is
being delivered...  :-)

- Ari

--
Ari Rubenstein  Unix ISA
Digex, West Coast   408-873-4256





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.
>