[toaster] Help :: SMTP Auth Doesn't work

2005-01-31 Thread YM
Hi,

Thanks to Bill's toaster, I have succeeded in setting qmail+vpopmail with mysql
user auth.

I have no problem in sending email to users in the same domain. However, while
sending to external users, the SMTP Authentication seems not working. My mail
client always report

SEND  - WARNING: there were no compatible authentication mechanisms detected
SEND  - Message has not been sent. Server reply - sorry, that domain isn't in 
my list of allowed rcpthosts (#5.7.1)

Can anyone advise what's going on and how to debug it?

FYI, the qmailctl stat shows every process are running fine.

TIA.

-- 
Best regards,
 YM




[toaster] Help :: SMTP Auth Doesn't work [2]

2005-01-31 Thread YM
Hi,

I realize that the problem in my previous email may be related to TLS issue.

After compiling qmail, I issue the "make cert" but I got "make: *** No rule to
make target `cert'.  Stop." error.

I skip "make cert" and "make tmprsadh" part and continue with the installation.

I check my Linux installation and find that OpenSSL is openssl-0.9.7d-25 and
OpenSSL-devel rpm is also installed.

Can someone advise? TIA.
  

-- 
Best regards,
 YM




Re: [toaster] Help :: SMTP Auth Doesn't work [2]

2005-01-31 Thread Bill Shupp
YM wrote:
Hi,
I realize that the problem in my previous email may be related to TLS issue.
After compiling qmail, I issue the "make cert" but I got "make: *** No rule to
make target `cert'.  Stop." error.
I skip "make cert" and "make tmprsadh" part and continue with the installation.
I check my Linux installation and find that OpenSSL is openssl-0.9.7d-25 and
OpenSSL-devel rpm is also installed.
Can someone advise? TIA
 

Try gmake cert.
Bill


Re[2]: [toaster] Help :: SMTP Auth Doesn't work [2]

2005-01-31 Thread YM
Hi Bill,

Thanks for your reply.

I found that I didn't install stunnel rpm in my SuSE pro 9.2. I then installed
the rpm for it.

From stunnel website, I found that the "make cert" is equivalent to
 (umask 077; \
  /usr/bin/openssl req -new -x509 -days 365 -nodes \
-config /usr/share/doc/packages/stunnel/stunnel.cnf \
-out /etc/stunnel/stunnel.pem -keyout /etc/stunnel/stunnel.pem)

So execute these commands and have the /etc/stunnel/stunnel.pem generated.

But the "make tmprsadh" always failed. Got
 "make: *** No rule to make target `tmprsadh'.  Stop.

Any idea? Thanks!
 
Tuesday, February 1, 2005, 12:49:09 AM, you wrote:

Bill> YM wrote:

>>Hi,
>>
>>I realize that the problem in my previous email may be related to TLS issue.
>>
>>After compiling qmail, I issue the "make cert" but I got "make: *** No rule to
>>make target `cert'.  Stop." error.
>>
>>I skip "make cert" and "make tmprsadh" part and continue with the 
>>installation.
>>
>>I check my Linux installation and find that OpenSSL is openssl-0.9.7d-25 and
>>OpenSSL-devel rpm is also installed.
>>
>>Can someone advise? TIA
>>  
>>

Bill> Try gmake cert.

Bill> Bill



-- 
Best regards,
YM




Re: [toaster] Help :: SMTP Auth Doesn't work [2]

2005-01-31 Thread Bill Shupp
YM wrote:
Hi Bill,
Thanks for your reply.
I found that I didn't install stunnel rpm in my SuSE pro 9.2. I then installed
the rpm for it.
From stunnel website, I found that the "make cert" is equivalent to
(umask 077; \
 /usr/bin/openssl req -new -x509 -days 365 -nodes \
   -config /usr/share/doc/packages/stunnel/stunnel.cnf \
   -out /etc/stunnel/stunnel.pem -keyout /etc/stunnel/stunnel.pem)
So execute these commands and have the /etc/stunnel/stunnel.pem generated.
But the "make tmprsadh" always failed. Got
"make: *** No rule to make target `tmprsadh'.  Stop.
Any idea? Thanks!
 

Yeah.  Again, try gmake instead of make.
Regards,
Bill


[toaster] clamd.conf

2005-01-31 Thread Michael Di Martino
 

Where can I get info on clamd.conf and how it pertains to this setup?

Thanks mike


Re: [toaster] clamd.conf

2005-01-31 Thread Bill Shupp
Michael Di Martino wrote:

Where can I get info on clamd.conf and how it pertains to this setup?
 

clamav.sf.net, as is noted in the toaster documentation.  However, just 
read the file.  All directives have comments explaining what they do.

Regards,
Bill


Re[2]: [toaster] Help :: SMTP Auth Doesn't work [2]

2005-01-31 Thread YM
Hi Bill,

Sorry, no luck. Same error. :-(
"gmake: *** No rule to make target `tmprsadh'.  Stop.

Tuesday, February 1, 2005, 1:27:00 AM, you wrote:

Bill> YM wrote:

>>Hi Bill,
>>
>>Thanks for your reply.
>>
>>I found that I didn't install stunnel rpm in my SuSE pro 9.2. I then installed
>>the rpm for it.
>>
>>From stunnel website, I found that the "make cert" is equivalent to
>> (umask 077; \
>>  /usr/bin/openssl req -new -x509 -days 365 -nodes \
>>-config /usr/share/doc/packages/stunnel/stunnel.cnf \
>>-out /etc/stunnel/stunnel.pem -keyout /etc/stunnel/stunnel.pem)
>>
>>So execute these commands and have the /etc/stunnel/stunnel.pem generated.
>>
>>But the "make tmprsadh" always failed. Got
>> "make: *** No rule to make target `tmprsadh'.  Stop.
>>
>>Any idea? Thanks!
>> 
>>  
>>

Bill> Yeah.  Again, try gmake instead of make.

Bill> Regards,

Bill> Bill



-- 
Best regards,
YM




Re: [toaster] Help :: SMTP Auth Doesn't work [2]

2005-01-31 Thread Bill Shupp
YM wrote:
Hi Bill,
Sorry, no luck. Same error. :-(
"gmake: *** No rule to make target `tmprsadh'.  Stop.
 

What directory are you in?  Did you patch netqmail per the instructions?
Regards,
Bill


RE: [toaster] clamd.conf

2005-01-31 Thread Michael Di Martino
Sorry but I am not sure what I am looking for

do u have a link to the file 

-Original Message-
From: Bill Shupp [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 31, 2005 12:29 PM
To: toaster@shupp.org
Subject: Re: [toaster] clamd.conf

Michael Di Martino wrote:

> 
>
>Where can I get info on clamd.conf and how it pertains to this setup?
>  
>

clamav.sf.net, as is noted in the toaster documentation.  However, just
read the file.  All directives have comments explaining what they do.

Regards,

Bill




Re: [toaster] clamd.conf

2005-01-31 Thread Bill Shupp
Michael Di Martino wrote:
Sorry but I am not sure what I am looking for
 

clamd.conf is the configuration file for clamd, the virus scanning 
daemon.  It is read at startup of clamd, which qmail-smtpd talks to via 
simscan, the virus/spam scanning harness.

do u have a link to the file 
 

After you install the toaster, it is in /usr/local/etc/
Regards,
Bill


RE: [toaster] Help :: SMTP Auth Doesn't work [2]

2005-01-31 Thread Michael Di Martino
I an getting the following error in my clamd logs

2005-01-31 12:41:14.166176500 ERROR: Can't open/parse the config file
/usr/local/etc/clamd.conf
2005-01-31 12:41:15.207572500 ERROR: Can't open/parse the config file
/usr/local/etc/clamd.conf
2005-01-31 12:41:16.246793500 ERROR: Can't open/parse the config file
/usr/local/etc/clamd.conf
2005-01-31 12:41:17.286302500 ERROR: Can't open/parse the config file
/usr/local/etc/clamd.conf

I cannot figure out why?

Any place I should look?
 

-Original Message-
From: Bill Shupp [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 31, 2005 12:37 PM
To: toaster@shupp.org
Subject: Re: [toaster] Help :: SMTP Auth Doesn't work [2]

YM wrote:

>Hi Bill,
>
>Sorry, no luck. Same error. :-(
>"gmake: *** No rule to make target `tmprsadh'.  Stop.
>
>  
>

What directory are you in?  Did you patch netqmail per the instructions?

Regards,

Bill



Re: [toaster] Help :: SMTP Auth Doesn't work [2]

2005-01-31 Thread Bill Shupp
Michael Di Martino wrote:
I an getting the following error in my clamd logs
2005-01-31 12:41:14.166176500 ERROR: Can't open/parse the config file
/usr/local/etc/clamd.conf
2005-01-31 12:41:15.207572500 ERROR: Can't open/parse the config file
/usr/local/etc/clamd.conf
2005-01-31 12:41:16.246793500 ERROR: Can't open/parse the config file
/usr/local/etc/clamd.conf
2005-01-31 12:41:17.286302500 ERROR: Can't open/parse the config file
/usr/local/etc/clamd.conf
I cannot figure out why?
Any place I should look?

Is it there?   Who owns it?
Regards,
Bill


RE: [toaster] Help :: SMTP Auth Doesn't work [2]

2005-01-31 Thread Michael Di Martino
I got that working new error now

2005-01-31 12:45:46.727218500 ERROR: Unable to open file or directory
2005-01-31 12:45:47.766997500 LibClamAV Error: cl_loaddbdir(): Can't
open directory /var/lib/clamav

my /var/lib dir does not contain an entry for clamav



-Original Message-
From: Bill Shupp [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 31, 2005 12:46 PM
To: toaster@shupp.org
Subject: Re: [toaster] Help :: SMTP Auth Doesn't work [2]

Michael Di Martino wrote:

>I an getting the following error in my clamd logs
>
>2005-01-31 12:41:14.166176500 ERROR: Can't open/parse the config file 
>/usr/local/etc/clamd.conf
>2005-01-31 12:41:15.207572500 ERROR: Can't open/parse the config file 
>/usr/local/etc/clamd.conf
>2005-01-31 12:41:16.246793500 ERROR: Can't open/parse the config file 
>/usr/local/etc/clamd.conf
>2005-01-31 12:41:17.286302500 ERROR: Can't open/parse the config file 
>/usr/local/etc/clamd.conf
>
>I cannot figure out why?
>
>Any place I should look?
> 
>

Is it there?   Who owns it?

Regards,

Bill




[toaster] Can't open directory /var/lib/clamav

2005-01-31 Thread Michael Di Martino
Title: Can't open directory /var/lib/clamav







I got that working new error now


2005-01-31 12:45:46.727218500 ERROR: Unable to open file or directory

2005-01-31 12:45:47.766997500 LibClamAV Error: cl_loaddbdir(): Can't open directory /var/lib/clamav


my /var/lib dir does not contain an entry for clamav


Regards,

Michael DiMartino

Director of MIS

The telx Group, Inc.

17 State St, 33rd Floor

New York, NY 10004

T: 212.480.3300 X2022

C: 646.207.6603

 





Re[2]: [toaster] Help :: SMTP Auth Doesn't work [2]

2005-01-31 Thread YM
Hi Bill,

Thanks Bill.

I finally re-do every patch step-by-step and the problem solved.
Guess that I might have conducted some stupid errors.

BTW, I noted that mfcheck is not included in latest toaster. Is it because it
has been replaced by spf or other reason?



-- 
Best regards,
YM




Re: [toaster] Help :: SMTP Auth Doesn't work [2]

2005-01-31 Thread Bill Shupp
YM wrote:
BTW, I noted that mfcheck is not included in latest toaster. Is it because it
has been replaced by spf or other reason?
 

the new chkuser does a lot of extensive envelope checking.  Plus, 
mfcheck is just not useful anymore, since it became a popular 
technique.  So I removed it.

Regards,
Bill


Re[2]: [toaster] Help :: SMTP Auth Doesn't work [2]

2005-01-31 Thread YM
Hi Bill,

Thanks Bill.

How do I block my users to put <> or invalid From: address in their outgoing
emails? Using /var/qmail/control/badmailfrom or ?

Secondly, what is the effect of SPF to end users?


Tuesday, February 1, 2005, 2:17:05 AM, you wrote:

Bill> YM wrote:

>>
>>BTW, I noted that mfcheck is not included in latest toaster. Is it because it
>>has been replaced by spf or other reason?
>>  
>>

Bill> the new chkuser does a lot of extensive envelope checking.  Plus, 
Bill> mfcheck is just not useful anymore, since it became a popular 
Bill> technique.  So I removed it.

Bill> Regards,

Bill> Bill



-- 
Best regards,
YM




[toaster] use of /var/qmail/spam ?

2005-01-31 Thread YM
Hi Bill.,

What is the purpose of /var/qmail/spam directory?

I saw it in the toaster:
  chown -R vpopmail:vchkpw /var/qmail/spam
but never see any place else.
  

-- 
Best regards,
 YM




Re: [toaster] use of /var/qmail/spam ?

2005-01-31 Thread Bill Shupp
YM wrote:
Hi Bill.,
What is the purpose of /var/qmail/spam directory?
I saw it in the toaster:
 chown -R vpopmail:vchkpw /var/qmail/spam
but never see any place else.
 

That's for Spam Throttle.  man spam-throttle.  I intend to document this 
at some point, but have not gotten to it yet.  Spam Throttle replaces 
tarpit delay.

Bill


Re: [toaster] Help :: SMTP Auth Doesn't work [2]

2005-01-31 Thread Jason 'XenoPhage' Frisvold
YM wrote:
Hi Bill,
Thanks Bill.
How do I block my users to put <> or invalid From: address in their outgoing
emails? Using /var/qmail/control/badmailfrom or ?
 

That would be one way I believe..  Another is to force SMTP Auth.. It 
doesn't fix the bad From: address, but it will tag the email with an 
authoritative header on who sent it..  :)

Secondly, what is the effect of SPF to end users?
 

SPF ...  Well, in a nutshell, when you are checking SPF with the default 
setting (a 3 in spfbehavior), it will look for an SPF record for the 
domain in the From: header.  If there is none, the mail is passed on as 
if nothing happened.  If there is a record, then one of two things 
happens.  If the record indicates that the email could have originated 
from the mailserver that's sending it, it's passed on as normal.  If the 
record indicates that the sending mailserver is not allowed to send mail 
for that domain, then it rejects the mail.

So, in essence, it will only affect the end user if they are trying to 
receive mail from someone who is incorrectly sending the mail from a 
non-authoritative server.  There is no effect on sending mail, unless 
you have published an SPF record for your domain.  I suggest checking 
out http://spf.pobox.com for more detailed information.

Personally I think SPF is nice and will help, assuming the majority of 
mailservers publish SPF records...

--
---
Jason 'XenoPhage' Frisvold
Engine / Technology Programmer
[EMAIL PROTECTED]
RedHat Certified - RHCE # 803004140609871
MySQL Pro Certified - ID# 207171862
MySQL Core Certified - ID# 205982910
---
"Something mysterious is formed, born in the silent void. Waiting alone and 
unmoving, it is at once still and yet in constant motion. It is the source of all 
programs. I do not know its name, so I will call it the Tao of Programming."


[toaster] OT simscan and kaspersky

2005-01-31 Thread Rene
Hi,
I know that is a bit OT but maybe someone here can tell me if it's 
possible to use kaspersky antivirus with simscan? At the moment i use 
qmail-scanner. But i found the simscan can scan per domain and that will 
help me much.

regards rene