qmail Digest 7 May 2000 10:00:01 -0000 Issue 994

Topics (messages 41198 through 41251):

Re: .qmail questions
        41198 by: Jonathan McDowell
        41201 by: William E. Baxter

I am Panic!!!
        41199 by: Mark Lo

Checkpassword for OpenBSD
        41200 by: jon
        41206 by: Dale Miracle
        41207 by: Peter van Dijk

Virtual POP3, unable to relay root email
        41202 by: Christian Billen

Re: Open Today.
        41203 by: Peter van Dijk
        41204 by: Johan Almqvist
        41211 by: Len Budney
        41234 by: John White

Qmail
        41205 by: Mark Lo
        41208 by: J.M. Roth

scan4virus
        41209 by: Warren J. Beckett
        41212 by: Patrick Berry
        41213 by: Johan Almqvist
        41216 by: Warren J. Beckett
        41225 by: Warren J. Beckett
        41226 by: Mark Lo
        41233 by: Johan Almqvist
        41244 by: Warren J. Beckett
        41247 by: Johan Almqvist
        41250 by: octave klaba
        41251 by: Johan Almqvist

Re: Future of qmail: will it care about viri/worms/etc?
        41210 by: Alex Shipp
        41214 by: Alex Shipp
        41215 by: Alex Shipp

Can somebody explain aliases? or .qmail contents?
        41217 by: James
        41218 by: Peter van Dijk
        41220 by: Dale Miracle

Anti-virus
        41219 by: Andr�s
        41245 by: Rainer Link
        41246 by: Andr�s

Re: Can somebody explain aliass? or .qmail contents?
        41221 by: James
        41222 by: Peter van Dijk
        41224 by: Mrs. Brisby

help qmail+vpopmail+ezmlm+qmailadmin+sqwebmail
        41223 by: Kapil Nanda

QMail Performance Question & Miscellaneous Issues
        41227 by: Chun Hoh
        41228 by: Steve Wolfe

Unable to Telnet
        41229 by: Mark Lo
        41230 by: Xionghui Chen
        41231 by: Vince Vielhaber
        41236 by: Mark Lo
        41237 by: Vince Vielhaber
        41238 by: Mark Lo
        41239 by: Vince Vielhaber
        41240 by: Xionghui Chen
        41241 by: Vince Vielhaber
        41242 by: Mark Lo
        41243 by: Xionghui Chen

qmail installation
        41232 by: Daniel

uns
        41235 by: Anthony Diaz

E-mail virus checking
        41248 by: Andr�s
        41249 by: Johan Almqvist

Administrivia:

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To bug my human owner, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------



On Fri, May 05, 2000 at 05:20:25PM -0700, Chris Hanlon wrote:
> Is there anyway to restrict which users/groups can execute commands
> via the | option in there .qmail file?  I realise that the problem
> could be solved by not giving users access to the .qmail file but this
> is not always an option.

I changed qmail to use a modified smrsh from sendmail instead of /bin/sh
- this allows you to say that users can only execute programs that
you've enabled. It works on a system wide level rather than a user/group
level though.

J.

-- 
He's weird? It's ok, I'm fluent in weird.
This .sig was brought to you by the letter G and the numbers 5 & 20
Product of the Republic of HuggieTag




On Fri, May 05, 2000 at 05:20:25PM -0700, Chris Hanlon wrote:
> A final questions is does anyone have a script to forward the results of a 
> command to the person who sent the message? ie. run amalist then send the 
> result of the command to the user who emailed [EMAIL PROTECTED]?

Use qtools: configure a replier and invoke a filter that runs your
command.  See http://www.superscript.com/qtools/intro.html .

W.




Hi,

     I have followed the doc from "life with qmail" to install my qmail
server.  When I reboot the server, I got the following error messages
stating that "execup : directory not found    [failed].   I have placed
the auto startup script in my /etc/rc.d/init.d directory.  And I did
create a symbolic link "ln -s ../init.d/qmail
/etc/rc.d/init.d/rc3.d/S80qmail"   since my system is using run level
3.  I am wondering what 's wrong with it???

Thank you for your help

Mark Lo







Dear fellows,


#1. OpenBSD gots a port for checkpassword, its in
/usr/ports/mail/checkpassword..

#2, are you sure its /bin/checkpassword and not /usr/local/bin/checkpassword?

#3, OpenBSD 2.7-beta is out, try it, its great...

#4, is your checkpassword executable and owned by root.wheel? 
so it can check /etc/master.passwd...

Jonathan Fortin

Revelex System Administrator




jon wrote:

> Dear fellows,
>
> #1. OpenBSD gots a port for checkpassword, its in
> /usr/ports/mail/checkpassword..
>
> #2, are you sure its /bin/checkpassword and not /usr/local/bin/checkpassword?
>
> #3, OpenBSD 2.7-beta is out, try it, its great...
>
> #4, is your checkpassword executable and owned by root.wheel?
> so it can check /etc/master.passwd...
>
> Jonathan Fortin
>
> Revelex System Administrator

I have tried the one in /usr/ports/mail/checkpassword and I have tried the one
off of the checkpassword web site.  The difference is the one off of the
checkpassword web site installs in /bin/checkpassword and the ports one installs
in /usr/local/bin/checkpassword .  Other wise they are the same size and
version.  They both work using the test in the install doc but will not work
telnet'ing to the pop3 server.  Both of them  are  owned by root.wheel  .
                                  Thanks,
                                    Dale






On Sat, May 06, 2000 at 03:27:58PM -0400, Dale Miracle wrote:
> jon wrote:
> 
> > Dear fellows,
> >
> > #1. OpenBSD gots a port for checkpassword, its in
> > /usr/ports/mail/checkpassword..
> >
> > #2, are you sure its /bin/checkpassword and not /usr/local/bin/checkpassword?
> >
> > #3, OpenBSD 2.7-beta is out, try it, its great...
> >
> > #4, is your checkpassword executable and owned by root.wheel?
> > so it can check /etc/master.passwd...

Ownership does not matter. Running as root (BUT DON'T SUID IT!) does.

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





Hello, I have setup Qmail in accordance with Paul Gregg's document on how to
setup qmail with separate POP3 accounts
(http://www.tibus.net/pgregg/projects/), I have setup my assign files with
some entries for delivery, a couple pop accounts for pickup and it all works
fine until I try to use the wildcard in the assign file to relay root,
postmaster and all these special accounts.

This is an example of my assign file:
+:popuser:511:511:/var/qmail/popboxes/warmlyyours-com/joeadmin:::
+root:popuser:511:511:/var/qmail/popboxes/warmlyyours-com/joeadmin:::
=mydomain-com-myuser:popuser:511:511:/var/qmail/popboxes/mydomain-com/myuser
:::
=mydomain-com-joeadmin:popuser:511:511:/var/qmail/popboxes/mydomain-com/joea
dmin:::

What I would expect from the above is that if I sent something to root or to
any user not defined or for a different domain it would be dropped in the
joeadmin Maildir.  Doesn't happen.  But if I sent directly to
[EMAIL PROTECTED] or [EMAIL PROTECTED] it works properly.  How can I
forward all special email to one maildir properly?

Thanks,

Christian





On Fri, May 05, 2000 at 05:44:45PM -0600, Irwan wrote:
> At 03:20 PM 5/4/00 +0000, [EMAIL PROTECTED] wrote:
> 
> why this qmail mailling list doesn't use the rblsmtpd to prevent from Dial 
> Up user abuse ?

- rblsmtpd doesn't stop DialUp abuse.
- too much qmail users mail from dialups to this list, so blocking dialups
  would not be a good thing.

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




On Sat, May 06, 2000 at 07:50:44PM +0200, Peter van Dijk wrote:
> On Fri, May 05, 2000 at 05:44:45PM -0600, Irwan wrote:
> > why this qmail mailling list doesn't use the rblsmtpd to prevent from Dial 
> > Up user abuse ?
> 
> - rblsmtpd doesn't stop DialUp abuse.

Yes it does, if you use the dul.maps.vix.com rbl domain....

> - too much qmail users mail from dialups to this list, so blocking dialups
>   would not be a good thing.

It's not very probable that they'd use list.cr.yp.to as their outgoing
mail host, is it?

-Johan
-- 
Johan Almqvist




Johan Almqvist <[EMAIL PROTECTED]> wrote:
> On Sat, May 06, 2000 at 07:50:44PM +0200, Peter van Dijk wrote:
> > - too much qmail users mail from dialups to this list, so blocking dialups
> >   would not be a good thing.
> 
> It's not very probable that they'd use list.cr.yp.to as their outgoing
> mail host, is it?

No, they use their own computer as the outgoing mailhost. Thus, their
outgoing mail originates from a dialup. It wouldn't get through at all
if list.cr.yp.to blocks email from dialups.

I for one send my mail directly from my laptop. I don't care about
religious objections that I shouldn't do that; it saves the annoyance
of re-aiming my outgoing mail at the smarthost of whatever connection
my laptop is using at the moment.

(BTW blocking DUL has not interfered with my own email in a couple of
years now. So despite the big talk of folks who use it, I continue to
send mail directly from my machine. DUL blocking only works because it
is a rarely-taken measure.)

Len.

--
That's security through obscurity. The more people know about it, the
more useless it is.
                                -- Dan Bernstein




On Sat, May 06, 2000 at 04:30:54PM -0400, Len Budney wrote:
> (BTW blocking DUL has not interfered with my own email in a couple of
> years now. So despite the big talk of folks who use it, I continue to
> send mail directly from my machine. DUL blocking only works because it
> is a rarely-taken measure.)

Amazing.  In one year, our office ran across:

aol.com
webtv.net
gte.net
us.ntt.net
nortelnetworks.com
frii.com
lextron-inc.com

We had to smtproute them all to our dialup provider.  

John 




Hi,

    I just installed qmial following life with qmail.  After the auto
start...then I found two "qmaill" is running.  Any ideas???

Thank You

Mark Lo





Hi.
qmaill is there username that the process is using.
I'm having several things (accustamp and cyclog) running with uid qmaill.

Regards!

--jmr

----- Original Message ----- 
From: "Mark Lo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 06, 2000 21:30
Subject: Qmail


> Hi,
> 
>     I just installed qmial following life with qmail.  After the auto
> start...then I found two "qmaill" is running.  Any ideas???
> 
> Thank You
> 
> Mark Lo
> 
> 





Hi,

Does anyone have much experience with scan4virus?

I have install the latest version on my redhat 6.2 box and it works
well....... Exept than when I add entries to block certain file type of
attachment it does detect any of them. I am trying to block mp3's and
<Cough> vbs attachments.

I have entered the following lines in the  antivirus-attachments.txt.

.vbs    0    No VBS
.exe    0    No Exec

*.vbs   0    Visual Basic Attachments Are not allowed
*.exe   0    No exec

When I use the -g option everything is ok. But looking at the log it tells
me that during perlscan no virus was found. I am going insain here. The db
file is updating but if I delete it the scan4virus doesn't even complain
about it.

thank you for any help you can offer.

Regards

Warren.






on 5/6/00 12:58 PM, Warren J. Beckett at [EMAIL PROTECTED] wrote:

> Hi,
> 
> Does anyone have much experience with scan4virus?
> 
> I have install the latest version on my redhat 6.2 box and it works
> well....... Exept than when I add entries to block certain file type of
> attachment it does detect any of them. I am trying to block mp3's and
> <Cough> vbs attachments.
> 
> I have entered the following lines in the  antivirus-attachments.txt.
> 
> .vbs    0    No VBS
> .exe    0    No Exec
> 
> *.vbs   0    Visual Basic Attachments Are not allowed
> *.exe   0    No exec
> 
> When I use the -g option everything is ok. But looking at the log it tells
> me that during perlscan no virus was found. I am going insain here. The db
> file is updating but if I delete it the scan4virus doesn't even complain
> about it.

I was having problems with .18.  Try upgrading to .19, that worked for me.

Also, don't use *.vbs, just use .vbs.

Pat





On Sun, May 07, 2000 at 05:58:24AM +1000, Warren J. Beckett wrote:
> Does anyone have much experience with scan4virus?

Yup ;->

> I have install the latest version on my redhat 6.2 box and it works
> well....... Exept than when I add entries to block certain file type of
> attachment it does detect any of them. I am trying to block mp3's and
> <Cough> vbs attachments.

> When I use the -g option everything is ok. But looking at the log it tells
> me that during perlscan no virus was found. I am going insain here. The db
> file is updating but if I delete it the scan4virus doesn't even complain
> about it.

Make sure the .db file is readable by the uid that runs
antivirus-qmail-queue.pl ! (It probably isn't.)

> thank you for any help you can offer.

-Johan
-- 
Johan Almqvist




I have tried what you have both said..
When I do a antivirus-qmail-queue.pl -r I get

File:  putty.exe
   Size: 1 bytes
   Description: TEST

File:  eicar.com
   Size: 69 bytes
   Description: EICAR Test Virus

File:  .vbs
   Size: Any
   Description: Visual Basic Attachments Are not allowed

So that seems ok, but it does listen to what i tell it. The permission are
correct, I even delete the qmailscan direct and reinstalled using the
/.setup --install script

Any more tricks in the bag?

Regards

Warren.

----- Original Message -----
From: Johan Almqvist <[EMAIL PROTECTED]>
To: Warren J. Beckett <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, May 07, 2000 6:40 AM
Subject: Re: scan4virus


> On Sun, May 07, 2000 at 05:58:24AM +1000, Warren J. Beckett wrote:
> > Does anyone have much experience with scan4virus?
>
> Yup ;->
>
> > I have install the latest version on my redhat 6.2 box and it works
> > well....... Exept than when I add entries to block certain file type of
> > attachment it does detect any of them. I am trying to block mp3's and
> > <Cough> vbs attachments.
>
> > When I use the -g option everything is ok. But looking at the log it
tells
> > me that during perlscan no virus was found. I am going insain here. The
db
> > file is updating but if I delete it the scan4virus doesn't even complain
> > about it.
>
> Make sure the .db file is readable by the uid that runs
> antivirus-qmail-queue.pl ! (It probably isn't.)
>
> > thank you for any help you can offer.
>
> -Johan
> --
> Johan Almqvist
>





Here is the debug. I can't see it compain about anything

Regards

Warren

07/05/2000 06:52:35:19149: all finished
07/05/2000 07:00:39:19177: +++ starting debugging for process 19177
07/05/2000 07:00:39:19177: setting UID to EUID so subprocesses can access
files generated by this script
07/05/2000 07:00:39:19177: program name is
/var/qmail/bin/antivirus-qmail-queue.pl
07/05/2000 07:00:39:19177: working_copy: dump incoming msg into
/var/spool/qmailscan/working/tmp/orbital.b-net95764683919177
07/05/2000 07:00:39:19177: working_copy: rename new msg from
/var/spool/qmailscan/working/tmp/orbital.b-net95764683919177 to /var/spool
/qmailscan/working/new/orbital.b-net95764683919177
07/05/2000 07:00:39:19177: return-path is [EMAIL PROTECTED], recips is
[EMAIL PROTECTED]
07/05/2000 07:00:39:19177: subj=TEST
07/05/2000 07:00:39:19177: mkdir
/var/spool/qmailscan/orbital.b-net95764683919177
07/05/2000 07:00:39:19177: /usr/bin/metamail  -q -x -w  -q -x -w
</var/spool/qmailscan/working/new/orbital.b-net95764683919177
07/05/2000 07:00:39:19177: perlscanner: starting scan of directory
"/var/spool/qmailscan/orbital.b-net95764683919177"...
07/05/2000 07:00:39:19177: perlscan: msg info: [EMAIL PROTECTED]
[EMAIL PROTECTED]   TEST    <002801bfb79d$e169a990$22db8490
@nsw.bigpond.net.au>    Sun, 7 May 2000 06:58:46 +1000
07/05/2000 07:00:39:19177: perlscaner: finished scan of dir
"/var/spool/qmailscan/orbital.b-net95764683919177" in 0.003149 secs
07/05/2000 07:00:39:19177: recursively scan the directory
/var/spool/qmailscan/orbital.b-net95764683919177/
07/05/2000 07:00:39:19177: scanloop: starting scan of directory
"/var/spool/qmailscan/orbital.b-net95764683919177"...
07/05/2000 07:00:39:19177: antvir: starting scan of directory
"/var/spool/qmailscan/orbital.b-net95764683919177"...
07/05/2000 07:00:39:19177: run /usr/lib/AntiVir/antivir  -v
/var/spool/qmailscan/orbital.b-net95764683919177 2>&1
07/05/2000 07:00:39:19177: --output of hbedv was:
AntiVir/Linux Version 6.1.0.2, (Mar 28 2000, 22:19:51)
Copyright(c) 1994-99 by H+BEDV Datentechnik GmbH

Loading...
                     AntiVir is running in non-key-mode.
^G
VDF version: 6.1.0.1 - FUP(0), created 04/03/2000

checking drive/path (list): /var/spool/qmailscan/orbital.b-net95764683919177
/var/spool/qmailscan/orbital.b-net95764683919177/

----- scan results -----
 directories:        1
       files:        0
    infected:        0
    repaired:        0
     deleted:        0
     renamed:        0
    warnings:        0
   scan time: 00:00:01
--------------------------
Thank you for using AntiVir
--
07/05/2000 07:00:39:19177: hbedv: finished scan of dir
"/var/spool/qmailscan/orbital.b-net95764683919177" in 0.4458 secs
07/05/2000 07:00:39:19177: scanloop: finished scan of
"/var/spool/qmailscan/orbital.b-net95764683919177"...
07/05/2000 07:00:39:19177: Total of 0 viruses found


----- > Is $DEBUG=1?  Try checking out what /var/spool/qmailscan/*log says.
>
> Pat
>






Hi,

     Where can i get scan4virus?

Thank You

Mark

"Warren J. Beckett" wrote:

> I have tried what you have both said..
> When I do a antivirus-qmail-queue.pl -r I get
>
> File:  putty.exe
>    Size: 1 bytes
>    Description: TEST
>
> File:  eicar.com
>    Size: 69 bytes
>    Description: EICAR Test Virus
>
> File:  .vbs
>    Size: Any
>    Description: Visual Basic Attachments Are not allowed
>
> So that seems ok, but it does listen to what i tell it. The permission are
> correct, I even delete the qmailscan direct and reinstalled using the
> /.setup --install script
>
> Any more tricks in the bag?
>
> Regards
>
> Warren.
>
> ----- Original Message -----
> From: Johan Almqvist <[EMAIL PROTECTED]>
> To: Warren J. Beckett <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Sunday, May 07, 2000 6:40 AM
> Subject: Re: scan4virus
>
> > On Sun, May 07, 2000 at 05:58:24AM +1000, Warren J. Beckett wrote:
> > > Does anyone have much experience with scan4virus?
> >
> > Yup ;->
> >
> > > I have install the latest version on my redhat 6.2 box and it works
> > > well....... Exept than when I add entries to block certain file type of
> > > attachment it does detect any of them. I am trying to block mp3's and
> > > <Cough> vbs attachments.
> >
> > > When I use the -g option everything is ok. But looking at the log it
> tells
> > > me that during perlscan no virus was found. I am going insain here. The
> db
> > > file is updating but if I delete it the scan4virus doesn't even complain
> > > about it.
> >
> > Make sure the .db file is readable by the uid that runs
> > antivirus-qmail-queue.pl ! (It probably isn't.)
> >
> > > thank you for any help you can offer.
> >
> > -Johan
> > --
> > Johan Almqvist
> >





On Sun, May 07, 2000 at 11:52:29AM +1000, Warren J. Beckett wrote:
> Here is the debug. I can't see it compain about anything

Can you send us `ls -lsa /var/spool/qmailscan/` ?

-Johan
-- 
Johan Almqvist




As requested

[root@orbital bin]# ls -lsa /var/spool/qmailscan/
total 26
   1 drwxrwx---    5 qmailq   qmail        1024 May  7 12:57 .
   1 drwxr-xr-x   12 root     root         1024 May  7 12:54 ..
  13 -rw-r-----    1 qmailq   root        16384 May  7 12:54
antivirus-attachments.db
   2 -rw-r-----    1 qmailq   qmail        1555 May  7 12:54
antivirus-attachments.txt
   1 -rw-rw----    1 qmailq   root           16 May  7 12:55
antivirus-qmail-queue-version.txt
   1 drwxrwx---    5 qmailq   qmail        1024 May  7 12:54 archives
   5 -rw-rw----    1 qmailq   root         4964 May  7 12:57 qmail-queue.log
   1 drwxrwx---    5 qmailq   qmail        1024 May  7 12:54 viruses
   1 drwxrwx---    5 qmailq   qmail        1024 May  7 12:54 working
[root@orbital bin]#

----- Original Message -----
From: Johan Almqvist <[EMAIL PROTECTED]>
To: Warren J. Beckett <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, May 07, 2000 4:05 PM
Subject: Re: scan4virus


> On Sun, May 07, 2000 at 11:52:29AM +1000, Warren J. Beckett wrote:
> > Here is the debug. I can't see it compain about anything
>
> Can you send us `ls -lsa /var/spool/qmailscan/` ?
>
> -Johan
> --
> Johan Almqvist
>





On Sun, May 07, 2000 at 06:22:57PM +1000, Warren J. Beckett wrote:
> As requested
> 
> [root@orbital bin]# ls -lsa /var/spool/qmailscan/
> total 26
>    1 drwxrwx---    5 qmailq   qmail        1024 May  7 12:57 .
>    1 drwxr-xr-x   12 root     root         1024 May  7 12:54 ..
>   13 -rw-r-----    1 qmailq   root        16384 May  7 12:54
> antivirus-attachments.db

I think this is your problem. Try making the group 'qmail'.

If that doesn't help, try the following patch:

Between the lines

--snip--
  tie %array, 'DB_File', "$db_filename.db", O_RDONLY, 0600 || 
&tempfail("cannot open  $db_filename - $!");

  foreach $file (@allfiles) {
--snap--

insert the following statement
&debug("perlscanner-test: " . join ("\n",keys %array));

and check the logs as to whether there are any virii file names after the
string perlscanner-test .

-Johan
-- 
Johan Almqvist




Hi,

> I have install the latest version on my redhat 6.2 box and it works
> well....... 

not for me :/

I installed antivirus-qmail-queue.pl but I think I have 
/etc/rc.d/init.d/qmail problem. If someone can help me 
to fix it.

in qmail start/stop I have now:

case "$1" in
  start)
        echo -n "Starting: "
        env - PATH="/var/qmail/bin:/usr/local/bin:/bin:/usr/bin" \
        /usr/bin/nohup qmail-start ./Maildir/ /usr/local/bin/accustamp \
        | /usr/local/bin/setuser qmaill /usr/local/bin/cyclog /var/log/qmail &
        echo -n "qmail "

        env - PATH="/var/qmail/bin:/usr/local/bin" \
        tcpserver -H -R -c100 0 pop-3 /var/qmail/bin/qmail-popup \
        ns0.ovh.net\
        /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir &
        echo -n "pop "

        QMAILQUEUE="/var/qmail/bin/antivirus-qmail-queue.pl" export QMAILQUEUE

        env - PATH="/var/qmail/bin:/usr/local/bin" \
        tcpserver -H -R -x /etc/tcp.smtp.cdb -c100 -u503 -g502 0 smtp \
        /var/qmail/bin/qmail-smtpd 2>&1 > /dev/null &
        echo "smtp"
        ;;


Amicalement,
oCtAvE 

Connexion termin�e par expiration du d�lai d'attente




On Sun, May 07, 2000 at 11:45:40AM +0200, octave klaba wrote:
> Hi,
> I installed antivirus-qmail-queue.pl but I think I have 
> /etc/rc.d/init.d/qmail problem. If someone can help me 
> to fix it.

Yup.

> in qmail start/stop I have now:
> 
> case "$1" in
>   start)
[...]
>         env - PATH="/var/qmail/bin:/usr/local/bin" \
>         tcpserver -H -R -c100 0 pop-3 /var/qmail/bin/qmail-popup \
>         ns0.ovh.net\
>         /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir &
>         echo -n "pop "
> 
>         QMAILQUEUE="/var/qmail/bin/antivirus-qmail-queue.pl" export QMAILQUEUE

missing ; or newline before the export, i think...

-Johan
-- 
Johan Almqvist




Steve Wolfe writes:
 >      The problem isn't MUA's.  The problem is that users were duped into
 > executing a program of a malicious intent.

Ah, but in most cases it was the MUA. If the MUA is the 'right' (wrong?) 
version of Outlook, then the virus activates on reading or previewing
the virus. The user does not have to open the attachment at all.
Indeed, in quite a few of the cases we've seen the attachment has
been corrupted and fails to work even if opened, but the HTML script
is still 'live' and capable of infecting.

Alex

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Alex Shipp
Imagineer
MessageLabs www.messagelabs.net
E: [EMAIL PROTECTED]
T: 44 1285 884496
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


_______________________________________________________________
This message has been checked for all known viruses by the 
MessageLabs Virus Control Centre. For further information visit
http://www.messagelabs.com/stats.asp




>Here in .au there are rumblings of legislation for ISPs to block virii

Its mathmatically provable that there exists an infinite number
of files which cannot be analysed by any virus scanner - that it to
say, the virus scanner would be unable to prove that the file definately
does not contain a virus. (The proof is a derivative of the famous Turing
machine problem, for those interested.)
I wonder, therefore, whether any legislation will ever occur, and even
if it did, whether it would stand up in court.



_______________________________________________________________
This message has been checked for all known viruses by the 
MessageLabs Virus Control Centre. For further information visit
http://www.messagelabs.com/stats.asp




>But if you are the first one to sell 'secure' qmail servers you will be
>the MS of .au!
We have already been doing this for the last 2 years
Perhaps we should set up an office in AU! ;-)


>That and make profit along the way!
What an excellent idea!




_______________________________________________________________
This message has been checked for all known viruses by the 
MessageLabs Virus Control Centre. For further information visit
http://www.messagelabs.com/stats.asp




I'm still having a problem with getting mail from the outside world, but I
can send mail out from root just fine.  I'm thinking that maybe my problem
has something to do with alias?  Maybe if I understood HOW Qmail actually
sees a user on a system to deliver mail, I'd better understand how to get
this thing working.

How does Qmail realize a user's Mailbox exists?

Here is how I have my rcpthosts set:
localhost
ns.mydomain.com
mydomain.com
[EMAIL PROTECTED]
[EMAIL PROTECTED]

Here is how I have my locals set:
localhost
ns.mydomain.com
mydomain.com
[EMAIL PROTECTED]
[EMAIL PROTECTED]

I have nothing currently in virtualdomains

If I send a qmail-inject to me locally, I've noticed that my .qmail (which
has a forward in it) sends the mail to my forwarded address on another
system. But.. if I remove the .qmail from my directory, the mail doesn't
arrive to the Mailbox.  Where does it go?  Do I need to have something
else in a .qmail file to get mail locally?

Thanks.

james 





On Sat, May 06, 2000 at 02:29:59PM -0700, James wrote:
> 
> Here is how I have my locals set:
> localhost
> ns.mydomain.com
> mydomain.com
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]

You can't have full adresses in locals. Only domainnames are allowed.

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




James wrote:

> I'm still having a problem with getting mail from the outside world, but I
> can send mail out from root just fine.  I'm thinking that maybe my problem
> has something to do with alias?  Maybe if I understood HOW Qmail actually
> sees a user on a system to deliver mail, I'd better understand how to get
> this thing working.
>
> How does Qmail realize a user's Mailbox exists?
>
> Here is how I have my rcpthosts set:
> localhost
> ns.mydomain.com
> mydomain.com
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
> Here is how I have my locals set:
> localhost
> ns.mydomain.com
> mydomain.com
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
> I have nothing currently in virtualdomains
>
> If I send a qmail-inject to me locally, I've noticed that my .qmail (which
> has a forward in it) sends the mail to my forwarded address on another
> system. But.. if I remove the .qmail from my directory, the mail doesn't
> arrive to the Mailbox.  Where does it go?  Do I need to have something
> else in a .qmail file to get mail locally?
>
> Thanks.
>
> james

If you are trying to send mail to the root account, qmail will not let you
unless you have an alias file that tells it to deliver root mail to another
account.  In the ~alias directory you should have among others a .qmail-root
by default it will have nothing in it.  If you want mail to root to go to
you, just put your username in the file and then restart qmail.  In my
rcpthosts I have my mail servers name plus the name of all the machine in my
network in it.  In locals I just have my mail servers name
machinename.domainname.whatever  which was put there during install, I never
put it my self.

            Dale






Hello.

I've been looking for programs to install with my Qmail to detect those
nasty virus. The only program which seems to work with Qmail is Scan4virus
and AMaViS (this one hasn't been tested).

Is there anyone more? Which one is the best?

Thanks.





Andr�s wrote:
> 
> Hello.
> 
> I've been looking for programs to install with my Qmail to detect those
> nasty virus. The only program which seems to work with Qmail is Scan4virus
> and AMaViS (this one hasn't been tested).
> 
> Is there anyone more? Which one is the best?

Well, see http://av-linux.w3.to/, click on english and then the
Mini-FAQ. Note: AVP for qmail is missing in the Mini-FAQ (I'll update it
today). 
See also the discussion a few days before. For a comparison, I would
recommand AMaViS-Perl at http://www.unixzone.com/virus/.

Which one is best - well, I'm biased :-)

best regards,
Rainer Link

-- 
Rainer Link  | Member of Virus Help Munich (www.vhm.haitec.de)           
[EMAIL PROTECTED] | Member of AMaViS Development Team (amavis.org)            
rainer.w3.to | Maintainer FAQ "antivirus for Linux" (av-linux.w3.to)




>> Hello.
>>
>> I've been looking for programs to install with my Qmail to detect those
>> nasty virus. The only program which seems to work with Qmail is
Scan4virus
>> and AMaViS (this one hasn't been tested).
>>
>> Is there anyone more? Which one is the best?
>
>Well, see http://av-linux.w3.to/, click on english and then the
>Mini-FAQ. Note: AVP for qmail is missing in the Mini-FAQ (I'll update it
>today).
>See also the discussion a few days before. For a comparison, I would
>recommand AMaViS-Perl at http://www.unixzone.com/virus/.
>
>Which one is best - well, I'm biased :-)

I've seen in your web a patch for the latest version of Amavis, do I need to
apply that patch for the Perl version of Amavis?





Dale wrote:
:In the ~alias directory you should have among others a .qmail-root
:by default it will have nothing in it.

Where exactly is the ~alias directory?

james





On Sat, May 06, 2000 at 03:23:08PM -0700, James wrote:
> Dale wrote:
> :In the ~alias directory you should have among others a .qmail-root
> :by default it will have nothing in it.
> 
> Where exactly is the ~alias directory?

/var/qmail/alias usually.

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




On Sat, 6 May 2000 15:23:08 -0700 (PDT), James wrote:

>Dale wrote:
>:In the ~alias directory you should have among others a .qmail-root
>:by default it will have nothing in it.
>
>Where exactly is the ~alias directory?

~username is a convention used by most UNIX(ish) shells. it means "username's home 
directory"
alias one of the user-accounts that qmail uses.





The scenario is :
I have installed qmail1.03 on Mandrake Linux 6.0. And the local domain is "velosmed.com" and the local accounts by creating actual users on that system works. I am able to send and receive emails....
Then I installed vpopmail from www.inter7.com; then ezmlm ; and qmailadmin from www.inter7.com and finally installed sqwebmail on that system.
 
Now the problem is that,
when I create an virtual domain on that system by using vpopmail :
/home/vpopmail/bin/vadddomain intranet.velosmed.com password
it gives me "qmail-newu" error : fatal bad format in users/assign
and I when I try to access that account using the outlook express, it gives me authentication error, says bad password when the password is correct.
however I am able to create the accounts using the qmailadmin, and access that accounts using sqwebmail but the mail is not coming.
If someone sends the mail to that virtually created accounts, the error comes that there is no mailbox by that name.
 
Help .......
 
Kapil




Dear QMail users,

I am a QMail newbie and I would like some advice on some qmail performance
issues.

I have a question about qmail regarding its mail handling capacity.....
How many remote emails can qmail send simulataneously, assuming it is run
on a Dual-CPU PIII 500Mhz with 512Mb RAM and a SCSI hard disk? The internet
bandwidth is 10 Mbps.

If I run 2 parallel processes that sends out emails, does it mean twice the
amount of emails get sent off simultaneously? if so, does that mean the
more processes I run in parallel, the more emails get sent off at the same
time? or will most of the emails get stored in the queue?

What is the general number of emails that a machine with the above
specifications can send per second/hour/day? How do I fine-tune it to send
off millions? I only know of changing the "concurrencyremote" figure in
/var/qmail/control/concurrencyremote. I set it to 100 for testing. What
should be a good figure assuming that I will do free email hosting on the
server for hundreds of thousands of users?

I have also noticed that some free email services like Yahoo also uses
QMail (if I'm not mistaken). They have millions of users, so I assume they
host the email service on multiple machines. How is it possible to do
load-balancing for emails on multiple machines? 'cause everyone will have
an email address like [EMAIL PROTECTED], but how does Yahoo redirect
portions of users to different machines for mail receival/sending?


Another question is about the Mail header. What is the header that I should
add into a generated email so that undelivered/bounced emails go to this
specific email address instead? For example, I send an email to
[EMAIL PROTECTED], it will by default bounce back to my sending
account. How do I make it bounce to another account instead? Should I use
Errors-To:, or Undeliverables-To: or any other header?


Sorry for my huge number of questions. Your prompt help is greatly
appreciated.


Yours sincerely,
Andy.




> I have a question about qmail regarding its mail handling capacity.....
> How many remote emails can qmail send simulataneously, assuming it is run
> on a Dual-CPU PIII 500Mhz with 512Mb RAM and a SCSI hard disk? The
internet
> bandwidth is 10 Mbps.

  A lot. : )

  There is a hard-coded limit to the numebr of concurrent remote sessions,
somewhere around 200, if I recall, but you can certainly increase that in
the source, if necessary.  Below 200, it is controlled by a "soft limit"
contained in the file "concurrencyremote".  I'm sure that your machine could
handle 200 with ease.

> If I run 2 parallel processes that sends out emails, does it mean twice
the
> amount of emails get sent off simultaneously? if so, does that mean the
> more processes I run in parallel, the more emails get sent off at the same
> time? or will most of the emails get stored in the queue?

  As long as you aren't maxing out CPU or bandwidth, then yes, sending them
in parallel is better.  That way, things like waiting for DNS lookups don't
kill your performance.  That's why qmail spawns a new instance of
qmail-remote for each message to be delivered.

> What is the general number of emails that a machine with the above
> specifications can send per second/hour/day? How do I fine-tune it to send
> off millions? I only know of changing the "concurrencyremote" figure in
> /var/qmail/control/concurrencyremote. I set it to 100 for testing. What
> should be a good figure assuming that I will do free email hosting on the
> server for hundreds of thousands of users?

    I'd watch your bandwidth, but I'd bet that 200 would be perfectly
reasonable.  I've raised it to 100 on a Pentium 233 w/ 512k bandwidth, and
it definitely speeded things up quite a bit.  500 emails took ~45 seconds to
clear, perhaps a bit less.  That's about a million per day.  With your
system, you should be able to handle more, although sooner or later, you'll
hit the major limiting factor:  I/O.  It sounds like you're just starting
up, so you should be fine for some time.   Once things get severely large,
you'll need to at least go to a hardware RAID setup, with multiple disks on
multiple channels/controllers to get the throughput.

> Another question is about the Mail header. What is the header that I
should
> add into a generated email so that undelivered/bounced emails go to this
> specific email address instead? For example, I send an email to
> [EMAIL PROTECTED], it will by default bounce back to my sending
> account. How do I make it bounce to another account instead? Should I use
> Errors-To:, or Undeliverables-To: or any other header?

  I've heard of "Bounce-to:" being used, but I'm not hip on the RFC's like
others on the list. : )

steve





Hi,

    I am not able to telnet 127.0.0.1 25 to my smpt port.  And I have
checked that I haven't setup anything listening to port 25 expect smpt
itself.  What do i do wrong here.  I was following the life with qmail
manual.  and I got everything running except the above.

Thank you

Mark Lo





I got the same problem, anybody help out?

----- Original Message ----- 
From: "Mark Lo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, May 07, 2000 12:18 PM
Subject: Unable to Telnet


> Hi,
> 
>     I am not able to telnet 127.0.0.1 25 to my smpt port.  And I have
> checked that I haven't setup anything listening to port 25 expect smpt
> itself.  What do i do wrong here.  I was following the life with qmail
> manual.  and I got everything running except the above.
> 
> Thank you
> 
> Mark Lo
> 
> 







What EXACTLY is the line that starts qmail-smtpd?   Also what does
either ps -axww or ps -ef show you??

Vince.


On Sun, 7 May 2000, Xionghui Chen wrote:

> I got the same problem, anybody help out?
> 
> ----- Original Message ----- 
> From: "Mark Lo" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, May 07, 2000 12:18 PM
> Subject: Unable to Telnet
> 
> 
> > Hi,
> > 
> >     I am not able to telnet 127.0.0.1 25 to my smpt port.  And I have
> > checked that I haven't setup anything listening to port 25 expect smpt
> > itself.  What do i do wrong here.  I was following the life with qmail
> > manual.  and I got everything running except the above.
> > 
> > Thank you
> > 
> > Mark Lo
> > 
> > 
> 
> 

-- 
==========================================================================
Vince Vielhaber -- KA8CSH    email: [EMAIL PROTECTED]    http://www.pop4.net
 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
        Online Campground Directory    http://www.camping-usa.com
       Online Giftshop Superstore    http://www.cloudninegifts.com
==========================================================================







Hi,
   when i use ps -ef...i see the followings:
1.qmails      qmail-send
2.qmaill       /usr/local/bin/multilog t
3.qmaill       /usr/local/bin/multilog t
4.root         qmail=lspawn
5.qmailr      qmail=rspawn
6.qmailq      qmail=clean

for qmail-smpt..I don't know what is it.

Thank You.

mark lo

Vince Vielhaber wrote:

> What EXACTLY is the line that starts qmail-smtpd?   Also what does
> either ps -axww or ps -ef show you??
>
> Vince.
>
> On Sun, 7 May 2000, Xionghui Chen wrote:
>
> > I got the same problem, anybody help out?
> >
> > ----- Original Message -----
> > From: "Mark Lo" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Sunday, May 07, 2000 12:18 PM
> > Subject: Unable to Telnet
> >
> >
> > > Hi,
> > >
> > >     I am not able to telnet 127.0.0.1 25 to my smpt port.  And I have
> > > checked that I haven't setup anything listening to port 25 expect smpt
> > > itself.  What do i do wrong here.  I was following the life with qmail
> > > manual.  and I got everything running except the above.
> > >
> > > Thank you
> > >
> > > Mark Lo
> > >
> > >
> >
> >
>
> --
> ==========================================================================
> Vince Vielhaber -- KA8CSH    email: [EMAIL PROTECTED]   http://www.pop4.net
>  128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
>         Online Campground Directory   http://www.camping-usa.com
>        Online Giftshop Superstore   http://www.cloudninegifts.com
> ==========================================================================





On Sun, 7 May 2000, Mark Lo wrote:

> Hi,
>    when i use ps -ef...i see the followings:
> 1.qmails      qmail-send
> 2.qmaill       /usr/local/bin/multilog t
> 3.qmaill       /usr/local/bin/multilog t
> 4.root         qmail=lspawn
> 5.qmailr      qmail=rspawn
> 6.qmailq      qmail=clean
> 
> for qmail-smpt..I don't know what is it.

When you telnet to port 25 what does it tell you?  Connection refused or
something else?   There's a good chance that qmail-smtpd isn't running.

Vince.

> 
> Thank You.
> 
> mark lo
> 
> Vince Vielhaber wrote:
> 
> > What EXACTLY is the line that starts qmail-smtpd?   Also what does
> > either ps -axww or ps -ef show you??
> >
> > Vince.
> >
> > On Sun, 7 May 2000, Xionghui Chen wrote:
> >
> > > I got the same problem, anybody help out?
> > >
> > > ----- Original Message -----
> > > From: "Mark Lo" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Sunday, May 07, 2000 12:18 PM
> > > Subject: Unable to Telnet
> > >
> > >
> > > > Hi,
> > > >
> > > >     I am not able to telnet 127.0.0.1 25 to my smpt port.  And I have
> > > > checked that I haven't setup anything listening to port 25 expect smpt
> > > > itself.  What do i do wrong here.  I was following the life with qmail
> > > > manual.  and I got everything running except the above.
> > > >
> > > > Thank you
> > > >
> > > > Mark Lo
> > > >
> > > >
> > >
> > >
> >
> > --
> > ==========================================================================
> > Vince Vielhaber -- KA8CSH    email: [EMAIL PROTECTED]   http://www.pop4.net
> >  128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
> >         Online Campground Directory   http://www.camping-usa.com
> >        Online Giftshop Superstore   http://www.cloudninegifts.com
> > ==========================================================================
> 
> 

-- 
==========================================================================
Vince Vielhaber -- KA8CSH    email: [EMAIL PROTECTED]    http://www.pop4.net
 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
        Online Campground Directory    http://www.camping-usa.com
       Online Giftshop Superstore    http://www.cloudninegifts.com
==========================================================================







Hi,

    Unable to connect to 127.0.0.1 25 ....can't find remote server...

Thank you

Mark

Vince Vielhaber wrote:

> On Sun, 7 May 2000, Mark Lo wrote:
>
> > Hi,
> >    when i use ps -ef...i see the followings:
> > 1.qmails      qmail-send
> > 2.qmaill       /usr/local/bin/multilog t
> > 3.qmaill       /usr/local/bin/multilog t
> > 4.root         qmail=lspawn
> > 5.qmailr      qmail=rspawn
> > 6.qmailq      qmail=clean
> >
> > for qmail-smpt..I don't know what is it.
>
> When you telnet to port 25 what does it tell you?  Connection refused or
> something else?   There's a good chance that qmail-smtpd isn't running.
>
> Vince.
>
> >
> > Thank You.
> >
> > mark lo
> >
> > Vince Vielhaber wrote:
> >
> > > What EXACTLY is the line that starts qmail-smtpd?   Also what does
> > > either ps -axww or ps -ef show you??
> > >
> > > Vince.
> > >
> > > On Sun, 7 May 2000, Xionghui Chen wrote:
> > >
> > > > I got the same problem, anybody help out?
> > > >
> > > > ----- Original Message -----
> > > > From: "Mark Lo" <[EMAIL PROTECTED]>
> > > > To: <[EMAIL PROTECTED]>
> > > > Sent: Sunday, May 07, 2000 12:18 PM
> > > > Subject: Unable to Telnet
> > > >
> > > >
> > > > > Hi,
> > > > >
> > > > >     I am not able to telnet 127.0.0.1 25 to my smpt port.  And I have
> > > > > checked that I haven't setup anything listening to port 25 expect smpt
> > > > > itself.  What do i do wrong here.  I was following the life with qmail
> > > > > manual.  and I got everything running except the above.
> > > > >
> > > > > Thank you
> > > > >
> > > > > Mark Lo
> > > > >
> > > > >
> > > >
> > > >
> > >
> > > --
> > > ==========================================================================
> > > Vince Vielhaber -- KA8CSH    email: [EMAIL PROTECTED]   http://www.pop4.net
> > >  128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
> > >         Online Campground Directory   http://www.camping-usa.com
> > >        Online Giftshop Superstore   http://www.cloudninegifts.com
> > > ==========================================================================
> >
> >
>
> --
> ==========================================================================
> Vince Vielhaber -- KA8CSH    email: [EMAIL PROTECTED]    http://www.pop4.net
>  128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
>         Online Campground Directory    http://www.camping-usa.com
>        Online Giftshop Superstore    http://www.cloudninegifts.com
> ==========================================================================





On Sun, 7 May 2000, Mark Lo wrote:

> Hi,
> 
>     Unable to connect to 127.0.0.1 25 ....can't find remote server...

How about:  

$ telnet 0 25

or isn't it running on the local machine?

Vince.


> 
> Thank you
> 
> Mark
> 
> Vince Vielhaber wrote:
> 
> > On Sun, 7 May 2000, Mark Lo wrote:
> >
> > > Hi,
> > >    when i use ps -ef...i see the followings:
> > > 1.qmails      qmail-send
> > > 2.qmaill       /usr/local/bin/multilog t
> > > 3.qmaill       /usr/local/bin/multilog t
> > > 4.root         qmail=lspawn
> > > 5.qmailr      qmail=rspawn
> > > 6.qmailq      qmail=clean
> > >
> > > for qmail-smpt..I don't know what is it.
> >
> > When you telnet to port 25 what does it tell you?  Connection refused or
> > something else?   There's a good chance that qmail-smtpd isn't running.
> >
> > Vince.
> >
> > >
> > > Thank You.
> > >
> > > mark lo
> > >
> > > Vince Vielhaber wrote:
> > >
> > > > What EXACTLY is the line that starts qmail-smtpd?   Also what does
> > > > either ps -axww or ps -ef show you??
> > > >
> > > > Vince.
> > > >
> > > > On Sun, 7 May 2000, Xionghui Chen wrote:
> > > >
> > > > > I got the same problem, anybody help out?
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Mark Lo" <[EMAIL PROTECTED]>
> > > > > To: <[EMAIL PROTECTED]>
> > > > > Sent: Sunday, May 07, 2000 12:18 PM
> > > > > Subject: Unable to Telnet
> > > > >
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > >     I am not able to telnet 127.0.0.1 25 to my smpt port.  And I have
> > > > > > checked that I haven't setup anything listening to port 25 expect smpt
> > > > > > itself.  What do i do wrong here.  I was following the life with qmail
> > > > > > manual.  and I got everything running except the above.
> > > > > >
> > > > > > Thank you
> > > > > >
> > > > > > Mark Lo
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > > --
> > > > ==========================================================================
> > > > Vince Vielhaber -- KA8CSH    email: [EMAIL PROTECTED]   http://www.pop4.net
> > > >  128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
> > > >         Online Campground Directory   http://www.camping-usa.com
> > > >        Online Giftshop Superstore   http://www.cloudninegifts.com
> > > > ==========================================================================
> > >
> > >
> >
> > --
> > ==========================================================================
> > Vince Vielhaber -- KA8CSH    email: [EMAIL PROTECTED]    http://www.pop4.net
> >  128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
> >         Online Campground Directory    http://www.camping-usa.com
> >        Online Giftshop Superstore    http://www.cloudninegifts.com
> > ==========================================================================
> 
> 

-- 
==========================================================================
Vince Vielhaber -- KA8CSH    email: [EMAIL PROTECTED]    http://www.pop4.net
 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
        Online Campground Directory    http://www.camping-usa.com
       Online Giftshop Superstore    http://www.cloudninegifts.com
==========================================================================







*** I got the following processes when qmail running:

bash-2.03# ps -ef |grep qmail
    root   397   396  0 09:38:25 ?        0:00 supervise qmail-send
    root   399   396  0 09:38:25 ?        0:00 supervise qmail-smtpd
  qmails   401   397  0 09:38:25 ?        0:00 qmail-send
  qmaill   402   401  0 09:38:25 ?        0:00 splogger qmail
    root   403   401  0 09:38:25 ?        0:00 qmail-lspawn |preline procmail
  qmaill   404   398  0 09:38:25 ?        0:00 /usr/local/bin/multilog t
s2500000 /var/log/qmail/qmail-send
  qmailr   405   401  0 09:38:25 ?        0:00 qmail-rspawn
  qmailq   406   401  0 09:38:25 ?        0:00 qmail-clean
  qmaill   407   400  0 09:38:26 ?        0:00 /usr/local/bin/multilog t
s2500000 /var/log/qmail/qmail-smtpd
  qmaild   408   399  0 09:38:26 ?        0:00 /usr/local/bin/tcpserver -v -p
-x /etc/tcp.smtp.cdb -u 103 -g 102 0 smtp /var/q
bash-2.03#

*** But when I telnet the port 25 of qmail server, I got this:

bash-2.03# telnet mail 25
Trying 192.168.1.61...
Connected to mail.digiark.com.
Escape character is '^]'.
Connection closed by foreign host.
bash-2.03#

What's wrong ??

----- Original Message ----- 
From: "Mark Lo" <[EMAIL PROTECTED]>
To: "Vince Vielhaber" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, May 07, 2000 2:30 PM
Subject: Re: Unable to Telnet


> Hi,
> 
>     Unable to connect to 127.0.0.1 25 ....can't find remote server...
> 
> Thank you
> 
> Mark
> 
> Vince Vielhaber wrote:
> 
> > On Sun, 7 May 2000, Mark Lo wrote:
> >
> > > Hi,
> > >    when i use ps -ef...i see the followings:
> > > 1.qmails      qmail-send
> > > 2.qmaill       /usr/local/bin/multilog t
> > > 3.qmaill       /usr/local/bin/multilog t
> > > 4.root         qmail=lspawn
> > > 5.qmailr      qmail=rspawn
> > > 6.qmailq      qmail=clean
> > >
> > > for qmail-smpt..I don't know what is it.
> >
> > When you telnet to port 25 what does it tell you?  Connection refused or
> > something else?   There's a good chance that qmail-smtpd isn't running.
> >
> > Vince.
> >
> > >
> > > Thank You.
> > >
> > > mark lo
> > >
> > > Vince Vielhaber wrote:
> > >
> > > > What EXACTLY is the line that starts qmail-smtpd?   Also what does
> > > > either ps -axww or ps -ef show you??
> > > >
> > > > Vince.
> > > >
> > > > On Sun, 7 May 2000, Xionghui Chen wrote:
> > > >
> > > > > I got the same problem, anybody help out?
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Mark Lo" <[EMAIL PROTECTED]>
> > > > > To: <[EMAIL PROTECTED]>
> > > > > Sent: Sunday, May 07, 2000 12:18 PM
> > > > > Subject: Unable to Telnet
> > > > >
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > >     I am not able to telnet 127.0.0.1 25 to my smpt port.  And I have
> > > > > > checked that I haven't setup anything listening to port 25 expect smpt
> > > > > > itself.  What do i do wrong here.  I was following the life with qmail
> > > > > > manual.  and I got everything running except the above.
> > > > > >
> > > > > > Thank you
> > > > > >
> > > > > > Mark Lo
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > > --
> > > > ==========================================================================
> > > > Vince Vielhaber -- KA8CSH    email: [EMAIL PROTECTED]   http://www.pop4.net
> > > >  128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
> > > >         Online Campground Directory   http://www.camping-usa.com
> > > >        Online Giftshop Superstore   http://www.cloudninegifts.com
> > > > ==========================================================================
> > >
> > >
> >
> > --
> > ==========================================================================
> > Vince Vielhaber -- KA8CSH    email: [EMAIL PROTECTED]    http://www.pop4.net
> >  128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
> >         Online Campground Directory    http://www.camping-usa.com
> >        Online Giftshop Superstore    http://www.cloudninegifts.com
> > ==========================================================================
> 
> 





On Sun, 7 May 2000, Xionghui Chen wrote:

> *** I got the following processes when qmail running:
> 
> bash-2.03# ps -ef |grep qmail
>     root   397   396  0 09:38:25 ?        0:00 supervise qmail-send
>     root   399   396  0 09:38:25 ?        0:00 supervise qmail-smtpd
>   qmails   401   397  0 09:38:25 ?        0:00 qmail-send
>   qmaill   402   401  0 09:38:25 ?        0:00 splogger qmail
>     root   403   401  0 09:38:25 ?        0:00 qmail-lspawn |preline procmail
>   qmaill   404   398  0 09:38:25 ?        0:00 /usr/local/bin/multilog t
> s2500000 /var/log/qmail/qmail-send
>   qmailr   405   401  0 09:38:25 ?        0:00 qmail-rspawn
>   qmailq   406   401  0 09:38:25 ?        0:00 qmail-clean
>   qmaill   407   400  0 09:38:26 ?        0:00 /usr/local/bin/multilog t
> s2500000 /var/log/qmail/qmail-smtpd
>   qmaild   408   399  0 09:38:26 ?        0:00 /usr/local/bin/tcpserver -v -p
> -x /etc/tcp.smtp.cdb -u 103 -g 102 0 smtp /var/q
> bash-2.03#

How did you create this:  /etc/tcp.smtp.cdb  and what's in it?  tcpserver
acts as if its being told not to accept your connection.  

Vince.


> 
> *** But when I telnet the port 25 of qmail server, I got this:
> 
> bash-2.03# telnet mail 25
> Trying 192.168.1.61...
> Connected to mail.digiark.com.
> Escape character is '^]'.
> Connection closed by foreign host.
> bash-2.03#
> 
> What's wrong ??
> 
> ----- Original Message ----- 
> From: "Mark Lo" <[EMAIL PROTECTED]>
> To: "Vince Vielhaber" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Sunday, May 07, 2000 2:30 PM
> Subject: Re: Unable to Telnet
> 
> 
> > Hi,
> > 
> >     Unable to connect to 127.0.0.1 25 ....can't find remote server...
> > 
> > Thank you
> > 
> > Mark
> > 
> > Vince Vielhaber wrote:
> > 
> > > On Sun, 7 May 2000, Mark Lo wrote:
> > >
> > > > Hi,
> > > >    when i use ps -ef...i see the followings:
> > > > 1.qmails      qmail-send
> > > > 2.qmaill       /usr/local/bin/multilog t
> > > > 3.qmaill       /usr/local/bin/multilog t
> > > > 4.root         qmail=lspawn
> > > > 5.qmailr      qmail=rspawn
> > > > 6.qmailq      qmail=clean
> > > >
> > > > for qmail-smpt..I don't know what is it.
> > >
> > > When you telnet to port 25 what does it tell you?  Connection refused or
> > > something else?   There's a good chance that qmail-smtpd isn't running.
> > >
> > > Vince.
> > >
> > > >
> > > > Thank You.
> > > >
> > > > mark lo
> > > >
> > > > Vince Vielhaber wrote:
> > > >
> > > > > What EXACTLY is the line that starts qmail-smtpd?   Also what does
> > > > > either ps -axww or ps -ef show you??
> > > > >
> > > > > Vince.
> > > > >
> > > > > On Sun, 7 May 2000, Xionghui Chen wrote:
> > > > >
> > > > > > I got the same problem, anybody help out?
> > > > > >
> > > > > > ----- Original Message -----
> > > > > > From: "Mark Lo" <[EMAIL PROTECTED]>
> > > > > > To: <[EMAIL PROTECTED]>
> > > > > > Sent: Sunday, May 07, 2000 12:18 PM
> > > > > > Subject: Unable to Telnet
> > > > > >
> > > > > >
> > > > > > > Hi,
> > > > > > >
> > > > > > >     I am not able to telnet 127.0.0.1 25 to my smpt port.  And I have
> > > > > > > checked that I haven't setup anything listening to port 25 expect smpt
> > > > > > > itself.  What do i do wrong here.  I was following the life with qmail
> > > > > > > manual.  and I got everything running except the above.
> > > > > > >
> > > > > > > Thank you
> > > > > > >
> > > > > > > Mark Lo
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > > --
> > > > > ==========================================================================
> > > > > Vince Vielhaber -- KA8CSH    email: [EMAIL PROTECTED]   http://www.pop4.net
> > > > >  128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
> > > > >         Online Campground Directory   http://www.camping-usa.com
> > > > >        Online Giftshop Superstore   http://www.cloudninegifts.com
> > > > > ==========================================================================
> > > >
> > > >
> > >
> > > --
> > > ==========================================================================
> > > Vince Vielhaber -- KA8CSH    email: [EMAIL PROTECTED]    http://www.pop4.net
> > >  128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
> > >         Online Campground Directory    http://www.camping-usa.com
> > >        Online Giftshop Superstore    http://www.cloudninegifts.com
> > > ==========================================================================
> > 
> > 
> 
> 

-- 
==========================================================================
Vince Vielhaber -- KA8CSH    email: [EMAIL PROTECTED]    http://www.pop4.net
 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
        Online Campground Directory    http://www.camping-usa.com
       Online Giftshop Superstore    http://www.cloudninegifts.com
==========================================================================







hi,

     I think my smptd server is not listening.
I did the netstat -ta command.  I did not see anthing related to smptd.  So, how to 
start
the smptd server.  Also, do i have to start it manually everytime I reboot the 
machine??

Thank You

Vince Vielhaber wrote:

> On Sun, 7 May 2000, Mark Lo wrote:
>
> > Hi,
> >
> > yes..it is running on the local machine..and i am able to telnet to 127.0.0.1 
>without
> > the port number.
>
> What happens when you do this:
>
> $ telnet 0 25
>
> Do you get in?
>
> Vince.
>
> >
> > Thank you
> >
> > Vince Vielhaber wrote:
> >
> > > On Sun, 7 May 2000, Mark Lo wrote:
> > >
> > > > Hi,
> > > >
> > > >     Unable to connect to 127.0.0.1 25 ....can't find remote server...
> > >
> > > How about:
> > >
> > > $ telnet 0 25
> > >
> > > or isn't it running on the local machine?
> > >
> > > Vince.
> > >
> > > >
> > > > Thank you
> > > >
> > > > Mark
> > > >
> > > > Vince Vielhaber wrote:
> > > >
> > > > > On Sun, 7 May 2000, Mark Lo wrote:
> > > > >
> > > > > > Hi,
> > > > > >    when i use ps -ef...i see the followings:
> > > > > > 1.qmails      qmail-send
> > > > > > 2.qmaill       /usr/local/bin/multilog t
> > > > > > 3.qmaill       /usr/local/bin/multilog t
> > > > > > 4.root         qmail=lspawn
> > > > > > 5.qmailr      qmail=rspawn
> > > > > > 6.qmailq      qmail=clean
> > > > > >
> > > > > > for qmail-smpt..I don't know what is it.
> > > > >
> > > > > When you telnet to port 25 what does it tell you?  Connection refused or
> > > > > something else?   There's a good chance that qmail-smtpd isn't running.
> > > > >
> > > > > Vince.
> > > > >
> > > > > >
> > > > > > Thank You.
> > > > > >
> > > > > > mark lo
> > > > > >
> > > > > > Vince Vielhaber wrote:
> > > > > >
> > > > > > > What EXACTLY is the line that starts qmail-smtpd?   Also what does
> > > > > > > either ps -axww or ps -ef show you??
> > > > > > >
> > > > > > > Vince.
> > > > > > >
> > > > > > > On Sun, 7 May 2000, Xionghui Chen wrote:
> > > > > > >
> > > > > > > > I got the same problem, anybody help out?
> > > > > > > >
> > > > > > > > ----- Original Message -----
> > > > > > > > From: "Mark Lo" <[EMAIL PROTECTED]>
> > > > > > > > To: <[EMAIL PROTECTED]>
> > > > > > > > Sent: Sunday, May 07, 2000 12:18 PM
> > > > > > > > Subject: Unable to Telnet
> > > > > > > >
> > > > > > > >
> > > > > > > > > Hi,
> > > > > > > > >
> > > > > > > > >     I am not able to telnet 127.0.0.1 25 to my smpt port.  And I have
> > > > > > > > > checked that I haven't setup anything listening to port 25 expect 
>smpt
> > > > > > > > > itself.  What do i do wrong here.  I was following the life with 
>qmail
> > > > > > > > > manual.  and I got everything running except the above.
> > > > > > > > >
> > > > > > > > > Thank you
> > > > > > > > >
> > > > > > > > > Mark Lo
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > 
>==========================================================================
> > > > > > > Vince Vielhaber -- KA8CSH    email: [EMAIL PROTECTED]   http://www.pop4.net
> > > > > > >  128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
> > > > > > >         Online Campground Directory   http://www.camping-usa.com
> > > > > > >        Online Giftshop Superstore   http://www.cloudninegifts.com
> > > > > > > 
>==========================================================================
> > > > > >
> > > > > >
> > > > >
> > > > > --
> > > > > ==========================================================================
> > > > > Vince Vielhaber -- KA8CSH    email: [EMAIL PROTECTED]    http://www.pop4.net
> > > > >  128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
> > > > >         Online Campground Directory    http://www.camping-usa.com
> > > > >        Online Giftshop Superstore    http://www.cloudninegifts.com
> > > > > ==========================================================================
> > > >
> > > >
> > >
> > > --
> > > ==========================================================================
> > > Vince Vielhaber -- KA8CSH    email: [EMAIL PROTECTED]    http://www.pop4.net
> > >  128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
> > >         Online Campground Directory    http://www.camping-usa.com
> > >        Online Giftshop Superstore    http://www.cloudninegifts.com
> > > ==========================================================================
> >
> >
>
> --
> ==========================================================================
> Vince Vielhaber -- KA8CSH    email: [EMAIL PROTECTED]    http://www.pop4.net
>  128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
>         Online Campground Directory    http://www.camping-usa.com
>        Online Giftshop Superstore    http://www.cloudninegifts.com
> ==========================================================================





Oh, I don't know that I have to config a /etc/tcp.smtp.cdb file, actually, I got no 
output with the command `find / -name tcp.smtp.cdb`. How should I make this kind of 
file, where can I get detailed document about it?  Thank you.


> On Sun, 7 May 2000, Xionghui Chen wrote:
> 
> > *** I got the following processes when qmail running:
> > 
> > bash-2.03# ps -ef |grep qmail
> >     root   397   396  0 09:38:25 ?        0:00 supervise qmail-send
> >     root   399   396  0 09:38:25 ?        0:00 supervise qmail-smtpd
> >   qmails   401   397  0 09:38:25 ?        0:00 qmail-send
> >   qmaill   402   401  0 09:38:25 ?        0:00 splogger qmail
> >     root   403   401  0 09:38:25 ?        0:00 qmail-lspawn |preline procmail
> >   qmaill   404   398  0 09:38:25 ?        0:00 /usr/local/bin/multilog t
> > s2500000 /var/log/qmail/qmail-send
> >   qmailr   405   401  0 09:38:25 ?        0:00 qmail-rspawn
> >   qmailq   406   401  0 09:38:25 ?        0:00 qmail-clean
> >   qmaill   407   400  0 09:38:26 ?        0:00 /usr/local/bin/multilog t
> > s2500000 /var/log/qmail/qmail-smtpd
> >   qmaild   408   399  0 09:38:26 ?        0:00 /usr/local/bin/tcpserver -v -p
> > -x /etc/tcp.smtp.cdb -u 103 -g 102 0 smtp /var/q
> > bash-2.03#
> 
> How did you create this:  /etc/tcp.smtp.cdb  and what's in it?  tcpserver
> acts as if its being told not to accept your connection.  
> 
> Vince.





Hi, 

1)
 I have installed Slackware 7.0 with kernel 2.2.13 without procmail and fetchmail, 
then I install qmail-1.03. Could qmail work without those two tools (procmail or 
fetchmail)?

2)
If I have installed qmail, then I telnet to mail.domain.com 25/110 is work well, but I 
can't get the mail from that server, what's wrong? (In this case I have 
installed/copied procmail and fetchmail from pkgtool)
Should I re-configure/re-installed qmail again?

3)
Does Microsoft Outlook, Outlook Express, Netscape Messenger, Eudora....(mail reader 
for MS Windows), can work with Maildir?

Thank you

Daniel


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com




 
 

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/




Hello.

I would like to know if it's possible to have two copies of Qmail running on
the same system, or one with two different configurations depending on the
IP it's listening to.

The idea is to use one to check incoming and outgoing e-mails for virus and
the other one for normal e-mails.

My thoughts are to configure another IP for my machine and make a Qmail
daemon answer to that IP, how can I make that when Qmail receives something
for that IP it scans them for virus and if it's for another IP (both IPs on
the same machine) it doesn't scan them?

Maybe I could configure it like a virtual domain?

Has anybody done something like this?

Thanks.





Hi!

> I would like to know if it's possible to have two copies of Qmail running on
> the same system, or one with two different configurations depending on the
> IP it's listening to.

To solve your problem, you don't necessarily have to do that.

> The idea is to use one to check incoming and outgoing e-mails for virus and
> the other one for normal e-mails.

Ok, I'll assume that the mail you don't want to check for virii comes from
a known range of IP addresses.

> My thoughts are to configure another IP for my machine and make a Qmail
> daemon answer to that IP, how can I make that when Qmail receives something
> for that IP it scans them for virus and if it's for another IP (both IPs on
> the same machine) it doesn't scan them?
> 
> Maybe I could configure it like a virtual domain?

No, I'd recommend you to use scan4virus (or AMAVIS :-) and the QMAILQUEUE
patch (both discussed recently). Then, set the default QMAILQUEUE to the
virus scanner (in the startup file), but in your smtp.rules (that
tcpserver reads from), set QMAILQUEUE to the real "qmail-queue"
executable for those IPs whose mail you don't want to scan.

Reversely, you can have the default to be qmail-queue and only run the
scanner for mail from certain IPs.

> Has anybody done something like this?

No, but I'm dead sure it can be done :-> No need to run 2 qmails...

> Thanks.

-Johan
-- 
Johan Almqvist


Reply via email to