RE: [vchkpw] a lost passwords files

2004-04-12 Thread Sérgio Manuel Rosa
Hi,

The feature LEARN PASSWORDS in vpopmail should cover your problem.

After you migrate to the new server, the first time the user pop's in
vpopmail will learn the password for that user.

Read the vpopmail documentation and you'll find all the help needed.

srosa

-Original Message-
From: David Diaz [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 12, 2004 10:23 PM
To: [EMAIL PROTECTED]
Subject: [vchkpw] a lost passwords files

Hi, I have a trouble and I hope you can help me..

I had a old server with qmail, vpopmail 4.9 and sqwebmail 1.0 on linux
6.1 
without mysql support and this is working very good... actually I need 
migrate it to other server (new server) with newers version of
vpopmail 
and sqwebmail and mysql support and handle the clear passwords option on
the 
table of mysql...

The big trouble is that on the old server I don't have any passwords 
files, I mean there are no one vpasswd files or vpasswd.cdb 
formart...anything... I just have a sqwebmaill pass file for each
account 
and this password is crypted

it's very important for me to keep the original passwords for each 
user...How can import the passwords filesany idea

regards,

sir_ddd

_
Charla con tus amigos en línea mediante MSN Messenger:  
http://messenger.microsoft.com/es


-- 
Incoming mail is certified Virus Free.
Checked by AVG Anti-Virus (http://www.grisoft.com).
Version: 7.0.230 / Virus Database: 262.8.0 - Release Date: 4/9/2004
 

-- 
Outgoing mail is certified Virus Free.
Checked by AVG Anti-Virus (http://www.grisoft.com).
Version: 7.0.230 / Virus Database: 262.8.0 - Release Date: 4/9/2004
 



[vchkpw] wierd warning in smtp logs

2003-11-03 Thread Sérgio Manuel Rosa
Hi all,
had anyone got this warning in smtp logs? 

from log/smtp/current
@40003fa6d2742cc3dc9c tcpserver: status: 1/50
@40003fa6d2742cc576c4 tcpserver: pid 28174 from 81.92.196.94
@40003fa6d2742cc71ca4 tcpserver: ok 28174 0:10.0.0.200:25 
:81.92.196.94::33304
@40003fa6d275254730a4 Warning: Using English messages - error reading 
message file
@40003fa6d2752d80c3fc tcpserver: end 28174 status 0
@40003fa6d2752d80d39c tcpserver: status: 0/50 

The message is delivered but this warning bugs me. 

Any help on this
Thanks
SRosa


[vchkpw] Re: vpopmail-5.3.28 + mysql 4.0.15 problem

2003-10-16 Thread Sérgio Manuel Rosa
Hi Tom, 

the perms are 600 vut that does not solved the problem. 

One question, there are no tables in the vpopmail database directory. I'm 
going to read again the README.mysql. I might messed something in the way. 

thanks
srosa 

Tom Collins writes: 

On Wednesday, October 15, 2003, at 05:48  PM, Michael Bowe wrote:
  echo localhost|0|vpopmailuser|vpoppasswd|vpopmail 
~vpopmail/etc/vpopmail.mysql
  chown vpopmail.vchkpw ~vpopmail/etc/vpopmail.mysql
  chmod 644 ~vpopmail/etc/vpopmail.mysql
!!! WARNING !!! 

That should be chmod 600 instead of 644.  644 allows any user on the 
system to learn the MySQL username and password. 

--
Tom Collins  -  [EMAIL PROTECTED]
Note: The Tom Logic offices will be closed October 23 to November 18.
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/ 







[vchkpw] Re: vpopmail-5.3.28 + mysql 4.0.15 problem

2003-10-16 Thread Sérgio Manuel Rosa
OK now I found something...
vpopmail isn't connecting to mysql server. 

It gives the same error with mysql up or down.
Mysql is listening 0.0.0.0:3306 

Any help?
srosa 

Sérgio Manuel Rosa writes: 

Hi Tom,  

the perms are 600 vut that does not solved the problem.  

One question, there are no tables in the vpopmail database directory. I'm 
going to read again the README.mysql. I might messed something in the way.  

thanks
srosa  

Tom Collins writes:  

On Wednesday, October 15, 2003, at 05:48  PM, Michael Bowe wrote:
  echo localhost|0|vpopmailuser|vpoppasswd|vpopmail 
~vpopmail/etc/vpopmail.mysql
  chown vpopmail.vchkpw ~vpopmail/etc/vpopmail.mysql
  chmod 644 ~vpopmail/etc/vpopmail.mysql
!!! WARNING !!!  

That should be chmod 600 instead of 644.  644 allows any user on the 
system to learn the MySQL username and password.  

--
Tom Collins  -  [EMAIL PROTECTED]
Note: The Tom Logic offices will be closed October 23 to November 18.
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/  


 






[vchkpw] [NEW] vpopmail 5.3.28 + mysql

2003-10-16 Thread Sérgio Manuel Rosa
Hi all,
after removing MySQL.rpm and installed a clean mysql I have now this: 

[EMAIL PROTECTED] bin]# ./vadddomain test.com
Please enter password for postmaster:
enter password again:
Failure while attempting to remove_line() the locals file
Error. Failed to add domain to assign file
Error: Could not update file 

[EMAIL PROTECTED] bin]# ./vadduser [EMAIL PROTECTED]
Please enter password for [EMAIL PROTECTED]:
enter password again:
vmysql: sql error[3]: Table 'vpopmail.vpopmail' doesn't exist
Error: Unable to chdir to vpopmail/domains directory
[EMAIL PROTECTED] bin] 

[EMAIL PROTECTED] vmail]# cat ~vpopmail/etc/vpopmail.mysql
localhost|0|vpopuser|vpoppass|vpopmail
[EMAIL PROTECTED] vmail]# 

[EMAIL PROTECTED] vmail]# ls -l
total 24
drwxr-xr-x2 vpopmail vchkpw   4096 Oct 16 23:47 bin
drwxr-xr-x4 vpopmail vchkpw   4096 Oct 16 00:57 doc
drwx--2 vpopmail vchkpw   4096 Oct 17 00:14 domains
drwxr-xr-x2 vpopmail vchkpw   4096 Oct 16 18:42 etc
drwxr-xr-x2 vpopmail vchkpw   4096 Oct 16 23:47 include
drwxr-xr-x2 vpopmail vchkpw   4096 Oct 16 23:47 lib
[EMAIL PROTECTED] vmail]#
[EMAIL PROTECTED] vmail]# ls /usr/local/mysql/data/vpopmail/ -l
total 20
-rw-rw1 mysqlmysql9146 Oct 16 23:52 dir_control.frm
-rw-rw1 mysqlmysql 287 Oct 17 00:14 dir_control.MYD
-rw-rw1 mysqlmysql2048 Oct 17 00:14 dir_control.MYI
[EMAIL PROTECTED] vmail]#
[EMAIL PROTECTED] vmail]# mysql -V
mysql  Ver 12.21 Distrib 4.0.15, for pc-linux (i686)
[EMAIL PROTECTED] vmail]# mysqld -V
mysqld  Ver 4.0.15-standard for pc-linux on i686
[EMAIL PROTECTED] vmail]#
[EMAIL PROTECTED] vmail]# ls -l /var/qmail/users/
total 8
-rw-r--r--1 root root   69 Oct 17 00:14 assign
-rw---1 root root0 Oct 17 00:14 assign.lock
-rw-r--r--1 root root 2161 Oct 17 00:14 cdb
[EMAIL PROTECTED] vmail]# 

and vpopmail was configured with MICHAEL BOWE vpopmail+mysql howto 
http://www.pipeline.com.au/staff/mbowe/isp/vpopmail-mysql.htm 

This is all running on a RH8.0 box.
Thanks
srosa 





[vchkpw] vpopmail-5.3.28 + mysql 4.0.15 problem

2003-10-15 Thread Sérgio Manuel Rosa
Hi all, 

I'm having this messages when I do a ./vadddomain xpto.com 

[EMAIL PROTECTED] bin]# ./vadddomain xpto.com
Please enter password for postmaster:
enter password again:
vmysql: sql error[c]: MySQL server has gone away
vmysql: sql error[b]: MySQL server has gone away
Failure while attempting to remove_line() the locals file
vmysql: sql error[c]: MySQL server has gone away
vmysql: sql error[c]: MySQL server has gone away
vmysql: sql error[b]: MySQL server has gone away
Error. Failed to add domain to assign file
Error: Could not update file 

When I try to create it again vpopmail screams that it's allready created,
however no domain directory was created under ~vpopmail/domain/ . 

vpopmail was compiled with the following options:
./configure \
--enable-vpopuser=vpopmail \
--enable-vpopgroup=vchkpw \
--enable-tcprules-prog=/usr/local/bin/tcpserver \
--enable-tcpserver-file=~vpopmail/etc/tcp.smtp \
--enable-log-name=vpopmail \
--enable-roaming-users=y \
--enable-logging=p \
--enable-defaultquota=52428800 \
--enable-ip-alias-domains=n \
--enable-passwd=n \
--enable-clear-passwd=y \
--enable-domain-quotas=y \
--enable-mysql=y \
--enable-many-domains=n \
--enable-auth-logging=y \
--enable-mysql-logging=y \
--enable-valias=y \
--enable-mysql-limits=n \
--enable-relay-clear-minutes=30 \
--enable-domains-dir=domains 

mysql client and server are version:
[EMAIL PROTECTED] vpopmail-5.3.28]# mysqld -V
mysqld  Ver 4.0.15-standard for pc-linux on i686
[EMAIL PROTECTED] vpopmail-5.3.28]# mysql -V
mysql  Ver 12.21 Distrib 4.0.15, for pc-linux (i686)
[EMAIL PROTECTED] vpopmail-5.3.28]# 

Vpopmail is version 5.3.28 

mysql database was created like this:
mysql CREATE DATABASE vpopmail;
Query OK, 1 row affected (0.00 sec) 

mysql GRANT select,insert,update,delete,create,drop ON vpopmail.*
 - TO [EMAIL PROTECTED] IDENTIFIED BY 'vpoppasswd'; 

and I'm running REdHAt Linux 8.0 with the latest kernel, mysql is
uprunning. 

I found a post on this error but was related with different versions of
server and client. What is missing around here? 

srosa 





[vchkpw] Re: vpopmail-5.3.28 + mysql 4.0.15 problem

2003-10-15 Thread Sérgio Manuel Rosa
Hi, 

according with READMER.mysql I used the following lines in 
~vpopmail/etc/vpopmail.sql
read localhost|3306|vpopmailuser|vpoppasswd|vpopmail
update localhost|3306|vpopmailuser|vpoppasswd|vpopmail 

then I tested with your line, but also failed to work. 

I compiled it again with the correct path instead of ~vpopmail/etc/tcp.smtp 
but it failed also. 

thanks
srosa 

Michael Bowe writes:
Did you setup the
  ~vpopmail/etc/vpopmail.mysql file?
eg
  echo localhost|0|vpopmailuser|vpoppasswd|vpopmail 
~vpopmail/etc/vpopmail.mysql
  chown vpopmail.vchkpw ~vpopmail/etc/vpopmail.mysql
  chmod 644 ~vpopmail/etc/vpopmail.mysql 

Also note, the output of ./configure --help is faulty with respect to
the --enable-tcpserver-file
This option needs to be done like this :
  --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp
rather than this
  --enable-tcpserver-file=~vpopmail/etc/tcp.smtp 

Michael. 

- Original Message - 
From: Sérgio Manuel Rosa [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 16, 2003 10:42 AM
Subject: [vchkpw] vpopmail-5.3.28 + mysql 4.0.15 problem 


Hi all, 

I'm having this messages when I do a ./vadddomain xpto.com 

[EMAIL PROTECTED] bin]# ./vadddomain xpto.com
Please enter password for postmaster:
enter password again:
vmysql: sql error[c]: MySQL server has gone away
vmysql: sql error[b]: MySQL server has gone away
Failure while attempting to remove_line() the locals file
vmysql: sql error[c]: MySQL server has gone away
vmysql: sql error[c]: MySQL server has gone away
vmysql: sql error[b]: MySQL server has gone away
Error. Failed to add domain to assign file
Error: Could not update file 

When I try to create it again vpopmail screams that it's allready created,
however no domain directory was created under ~vpopmail/domain/ . 

vpopmail was compiled with the following options:
./configure \
 --enable-vpopuser=vpopmail \
 --enable-vpopgroup=vchkpw \
 --enable-tcprules-prog=/usr/local/bin/tcpserver \
 --enable-tcpserver-file=~vpopmail/etc/tcp.smtp \
 --enable-log-name=vpopmail \
 --enable-roaming-users=y \
 --enable-logging=p \
 --enable-defaultquota=52428800 \
 --enable-ip-alias-domains=n \
 --enable-passwd=n \
 --enable-clear-passwd=y \
 --enable-domain-quotas=y \
 --enable-mysql=y \
 --enable-many-domains=n \
 --enable-auth-logging=y \
 --enable-mysql-logging=y \
 --enable-valias=y \
 --enable-mysql-limits=n \
 --enable-relay-clear-minutes=30 \
 --enable-domains-dir=domains 

mysql client and server are version:
[EMAIL PROTECTED] vpopmail-5.3.28]# mysqld -V
mysqld  Ver 4.0.15-standard for pc-linux on i686
[EMAIL PROTECTED] vpopmail-5.3.28]# mysql -V
mysql  Ver 12.21 Distrib 4.0.15, for pc-linux (i686)
[EMAIL PROTECTED] vpopmail-5.3.28]# 

Vpopmail is version 5.3.28 

mysql database was created like this:
mysql CREATE DATABASE vpopmail;
Query OK, 1 row affected (0.00 sec) 

mysql GRANT select,insert,update,delete,create,drop ON vpopmail.*
  - TO [EMAIL PROTECTED] IDENTIFIED BY 'vpoppasswd'; 

and I'm running REdHAt Linux 8.0 with the latest kernel, mysql is
uprunning. 

I found a post on this error but was related with different versions of
server and client. What is missing around here? 

srosa 




 



_
Sérgio Rosa
Senior Partner
GoSecure
Quinta da Fonte
Edif. D. Pedro I
2770-071 Paço d'Arcos
Tel:+351 21 0001663/4
Fax:   +351 21 0001675
Telm: +351 91 6184275
email: [EMAIL PROTECTED]
Web: www.gosecure.pt 

dotWebOn - Serviços de Internet, Lda
Rua Francisco Tomás da Costa, nº51 A
1600-092 Lisboa
Tlm: +351 91 618 42 75
Mail: [EMAIL PROTECTED] 





[vchkpw] Re: Need advise on secondary mail server for backup purpose.

2003-08-14 Thread Sérgio Manuel Rosa
Hi, 

that all you need on the DNS side. 

On the mailserver1 you'll need to have qmail configured to receive mail for 
your domain (or domains) and on mailserver2 also (basicly have all your 
domains in $QMAILPATH/control/rcpthosts). 

Regards
srosa 



Kuan Yik writes: 

Hi, 

I have already configured 2 MX record in DNS. 

MX 10 mailserver1.mail.com
MX 20 mailserver2.mail.com 

I want to setup a secondary mail server to catch all the email when the primary mail server goes down and when the primary mail server up again then the secondary mail server will flush all the email to the primary mail server again. Is that possible? Is it somehting to do use witl the qmial-remote? 

Is there any useful link can help me on this? 

Please advise.





[vchkpw] Re: Need advise on secondary mail server for backup purpose.

2003-08-14 Thread Sérgio Manuel Rosa
Hi,
yes that's correct. I'm not shure about the time that the backup server will 
hang on to the message. 

I've a backup mail server with only qmail running, with my domains in 
rcpthosts, and it will receive all mail when mail1 is down ou loaded, then 
it will try to send the mail it is holding to mal1. nothing special on the 
second server.
That simple. :-) 

Cream[DONut] writes: 

At 18:05 06-08-2003 +0800, you wrote: 

my mailserver1 has been configured properly and it is up and running 
without
any problem. Just do not have the idea of setting up and backup mail 
server.
It isnt really a vpopmail issue, it is a Qmail issue. 

You put it in rcpthosts on mailserver2, that means it will recive mail for 
that domain, since it isnt in the local domains, or virtualdomains, it 
cant deliver it locally, and will try to deliver it remotely.
- with standard settings it should keep trying for 5 days, then give up
- you dont need vpopmail installed, just a plain Qmail server 

(somebody please correct me if im wrong)  


regards
srosa 




[vchkpw] Re: Telnet fixed

2003-07-29 Thread Sérgio Manuel Rosa
eslatino writes: 

Whwn I stopped iptables I could connect with telnet via port 110. 
Now the problem is to add the apropiate pop3 rule Any idea? 

Thnks 

Hi, 

if you're doing port forwarding with SourceNAT and Destination NAT you 
should put something like this in your FW rules (iptables ONLY) 

$IPTABLES -t nat -A PREROUTING -d YOUR PUB IP ADDRESS -p tcp --dport 110 
-j DNAT --to YOUR PRIVATE IP ADDRESS
$IPTABLES -t nat -A POSTROUTING -s YOUR PRIVATE IP ADDRESS -o eth0 -j SNAT 
--to YOUR PUB IP ADDRESS
$IPTABLES -A FORWARD -p tcp -i eth0 -o eth1 -d YOUR PRIVATE IP ADDRESS 
--dport 110 -j ACCEPT 

This assumes that your default rules are BLOCK ALL 

If you just want to let traffic in
$IPTABLES -A INPUT -i eth0 -p tcp -d YOUR PUBLIC IP --dport 110 -j ACCEPT 

Also dont forget the OUTPUT rules. You must allow STABLISHED and RELATED 
connections pass to your clients. 

Also, you can read the man iptables man pages. 

Best luck
srosa 





[vchkpw] Re: New architecture

2003-07-29 Thread Sérgio Manuel Rosa
Jesse Guardiani writes: 

On Monday 28 July 2003 20:05, Sérgio Manuel Rosa wrote:
Hi List, 

I've got to build a new server. This server is going to hold a great number
of users and a lot of traffic. 

My question is: should I use mySQL, ldap or none?
MySQL.  Without a doubt.
Thanks Jesse,
I was guessing that... Well it's never late to learn new stuff. 

Regards
srosa
--
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net 

 





[vchkpw] New architecture

2003-07-28 Thread Sérgio Manuel Rosa
Hi List, 

I've got to build a new server. This server is going to hold a great number 
of users and a lot of traffic. 

My question is: should I use mySQL, ldap or none? 

There was a post regarding a big server but I did'nt follow it. :-/ 

Thanks
srosa


[vchkpw] Re: error:domain already exsits

2003-07-25 Thread Sérgio Manuel Rosa
Hi, have you cleaned or removed the cdb file in /var/qmail/users ? 

At the start of my days with qmail and vpopmail I made a lot of mistakes, 
and one of them, regarding a domain that I removed by hand (a nice rm-rf), I 
solved by deleting ththat file and them creating all over again. Probably 
that was not the correct way of doing it, but it worked. 

Just in case do backup all of your ~vpopmail first. :-) 

SRosa 

lixiang writes: 

hi, Pretchieo:
thank you for your help.
i deleted the domain in /var/qmail/user/assign and /var/qmail/control/virtualdomains,rcphosts.  restart all the qmail services.   then i run  ./vdominfo, it list no domains.
   but when i ./vadddomain  test.com, it still reports:  already exsits.
   what still make vpopmail think this?   

 

- Original Message - 
From: Pretchie [EMAIL PROTECTED]
To: lixiang [EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 7:09 PM
Subject: Re: [vchkpw] error:domain already exsits 


Make sure that the domain you have deleted is no
longer in the /var/qmail/users/assign and
/var/qmail/control/virtualdomains files.  

 --- lixiang [EMAIL PROTECTED] wrote:  hi,list:
 sry, i didn't clearly describe my problem.
 
   
i use vpopmail-5.3.20, openldap-2.0.27 and enable
 --ldap=y.
i added a domain for example: test.com,  it's
 normal, then i delete this domain, it reports:error:
 success.  it seems strange? and i find that this
 domain's directory has been deleted  in
 ~vpopmail/domains .  but when i add this domain
 test.com again, then it reports:
 domain already exsits.   if i ./vdeldomain test.com,
 it then reports: error: Domain does not exist. if i
 execute ./vdominfo, i can find this domain's info. 
 
some ideas ?  thanks a lot.
  
 
   


Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/ 






[vchkpw] Expiration Date on users accounts

2003-07-16 Thread Sérgio Manuel Rosa
Hi all, 

I dont know if this is possible but here it goes; is possible, and how, to 
have an expiration date on every user mail account? 

I'm running redhat+qmail+qmailadmin+vpopmail+sqwebmail. 

Thanks
srosa


[vchkpw] Re: Expiration Date on users accounts

2003-07-16 Thread Sérgio Manuel Rosa
Those are not the best news I could want, but it was what I was expecting. 

Does anybody implemented something like this? Each user have a account valid 
for n time, after that time expires the account is closed or deleted. 

Thanks Peter. 

SRosa 

Peter Palmreuther writes: 

Hi Sérgio, 

On Wed, 16 Jul 2003 10:34:02 +0100 Sérgio Manuel Rosa wrote: 

I dont know if this is possible but here it goes; is possible, and
how, to have an expiration date on every user mail account? 
It ain't possible with only vpopmail-suite.
You'll have to remember expiration in an arbitrary third party
application and evaluate these data cron'ed to remove expired users by
calling 'vdeluser' or using vpopmail library calls.
--
Ciao,
 Pit 





[vchkpw] Re: SqWebMail bug: bizarre virtual domain behavior

2003-07-10 Thread Sérgio Manuel Rosa
gjohnson writes: 

I have an OpenBSD 3.3 box running (apache NOT chrooted)
vpopmail-5_2_1, courier-imap-1_7_1, and sqwebmail-3_5_1
vpopmail was configured with
--enable-defaultquota=500S \
--enable-clear-passwd=n \
--enable-default-domain=real.domain 

When I log in to SqWebMail using realuser%real.domain
everything looks good.  I see the top of the webpage
[EMAIL PROTECTED]
The reply-to address is [EMAIL PROTECTED] 

BUG:
When I log in to SqWebMail using virtuser%virt.domain
I see at the top of the webpage
[EMAIL PROTECTED] 

The reply-to address is also [EMAIL PROTECTED]
and must be manually changed on a user-by-user basis. 

I can not change the bizarre [EMAIL PROTECTED]
at the top of the webpage. 

Hi, this is a swebmail issue and shuld be reported to swqebmail mailling 
list. 

However I think I can give you a hint on what is going on.
Are you using a version with logindomainlist feature (developed by Jesse 
Guardian)? If you are then you should read the paper INSTALL on how to use 
it.
I have a bunch of virtual domains and I'm using the following sintax
*.pt:webmail.*.pt:@ 

hope that helps.
srosa 




[vchkpw] Re: SMTP is too slow

2003-07-10 Thread Sérgio Manuel Rosa
Ajai Khattri writes: 

Sérgio Manuel Rosa wrote: 

When internal clients try to send mail sometimes they get timeout, I 
bellieve that in this case it's when client connect to server, other 
times if a mail got attachs it starts to send... at least it's what 
Outlook says, and it takes an eternity (a mail with 1Mg taking 3 hours to 
leave outbox :-/) to deliver the mail to the server. After the messages 
reaches the server it's dispatched in a question of seconds...
I'm completly over this issue but can't find a reason for this to hapen.
Another option: check your have plenty of disk space... 

--
Aj.
Systems Administrator / Developer 


Not a problem there 250G HD space on that mount point. 

srosa 




Re: [vchkpw] SMTP is too slow

2003-07-09 Thread Sérgio Manuel Rosa
Hi,
tcpserver (last release)
NAT only at the FW, routing to the inside net. Kinda like this
WWW---FW with PublicIP--NAT--SMTP---routing---Internal Network

Regards,
SRosa
Paul Fletcher wrote:

Are you using inetd or tcpserver?  And is there any NAT between the smtp
server and its dns resolver?
At 17:44 09/07/03 -0300, Nasib Salim wrote:
 

Hi Sergio
I dont have a DMZ and  I have only public DNS.
I have problems in both internal net and outside world.
Nasib 
On Wed 09 Jul 03 12:33, Sérgio Manuel Rosa wrote:
   

 Hi Nasib,

a personal question because I'm having kinda same problem.
Do you have a DMZ?
Do you have internal dns and public dns?
I have a problem like yours but only from my internal net. Clients from
the outer world dont have any problem, inside hosts have timeouts.
Regards,
SRosa
Nasib Salim wrote:
 

Dear all,

 I'm running Qmail with vpopmail and qmail-scanner. For the past 2 years
there were no problem but recently the problem starts.
SMTP Server is too slow to respond. it takes more than a minute for it
to response.  My DNS is working fine and there is no problem even
resolving the mail server. I know the DNS is the source is this problem
but seems its not.
Please help!

Nasib A Salim
Mediapost (T) Ltd
   


This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com


This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com

   


This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com

 







Re: [vchkpw] SMTP is too slow

2003-07-09 Thread Sérgio Manuel Rosa
Antonio,

My qmail-smtp/run goes like this:

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
exec /usr/local/bin/tcpserver -c 50 -D -H -R -v -P -l 0 -x 
/home/vpopmail/vmail/etc/tcp.smtp.cdb \
-u $QMAILDUID -g $NOFILESGID 10.0.0.200 smtp 
/var/qmail/bin/qmail-smtpd 21

Paul,
no error of any kind of info in logs.
List,
I allready changed the connection on the switch, I had a VLAN where 
connected the eth of the mail server to the internal network hub, to the 
eth connected directly to the hub. Did'nt solve, so it's not a hardware 
problem.

Paul Theodoropoulos wrote:

do your qmail logs provide any diagnostic info?

At 09:26 AM 7/9/2003, Sérgio Manuel Rosa wrote:

Hi,
tcpserver (last release)
NAT only at the FW, routing to the inside net. Kinda like this
WWW---FW with PublicIP--NAT--SMTP---routing---Internal Network

Regards,
SRosa
Paul Fletcher wrote:

Are you using inetd or tcpserver?  And is there any NAT between the 
smtp
server and its dns resolver?

At 17:44 09/07/03 -0300, Nasib Salim wrote:


Hi Sergio
I dont have a DMZ and  I have only public DNS.
I have problems in both internal net and outside world.
Nasib On Wed 09 Jul 03 12:33, Sérgio Manuel Rosa wrote:


 Hi Nasib,

a personal question because I'm having kinda same problem.
Do you have a DMZ?
Do you have internal dns and public dns?
I have a problem like yours but only from my internal net. Clients 
from
the outer world dont have any problem, inside hosts have timeouts.

Regards,
SRosa
Nasib Salim wrote:


Dear all,

 I'm running Qmail with vpopmail and qmail-scanner. For the past 
2 years
there were no problem but recently the problem starts.

SMTP Server is too slow to respond. it takes more than a minute 
for it
to response.  My DNS is working fine and there is no problem even
resolving the mail server. I know the DNS is the source is this 
problem
but seems its not.

Please help!

Nasib A Salim
Mediapost (T) Ltd
 

This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
 

 

This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
 




 

This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
 








Paul Theodoropoulos
http://www.anastrophe.com
http://folding.stanford.edu
The Nicest Misanthrope on the Net









[vchkpw] Re: SMTP is too slow

2003-07-09 Thread Sérgio Manuel Rosa
When internal clients try to send mail sometimes they get timeout, I 
bellieve that in this case it's when client connect to server, other times 
if a mail got attachs it starts to send... at least it's what Outlook says, 
and it takes an eternity (a mail with 1Mg taking 3 hours to leave outbox 
:-/) to deliver the mail to the server. After the messages reaches the 
server it's dispatched in a question of seconds... 

I'm completly over this issue but can't find a reason for this to hapen. 

SRosa 

Paul Fletcher writes: 

Well with thopse tcpserver flags so far as I can see there should be no DNS
lookups going on at all, so I don't think you can blame the DNS server...
Someone will correct me if I'm wrong. 

I have had this problem when not using -H and/or not using -R on a very
busy server where there is NAT between the mail server and the DNS server;
if you have UDP packets being natted for DNS lookups and there are lots of
them it can eat up all the nat table entries, and then you can't get
connected until entries get aged out. 

Is it slow to actually connect, or slow to respond once you are connected? 

At 17:24 09/07/03 +, Sérgio Manuel Rosa wrote:
Antonio, 

My qmail-smtp/run goes like this: 

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
exec /usr/local/bin/tcpserver -c 50 -D -H -R -v -P -l 0 -x 
/home/vpopmail/vmail/etc/tcp.smtp.cdb \
-u $QMAILDUID -g $NOFILESGID 10.0.0.200 smtp 
/var/qmail/bin/qmail-smtpd 21 

Paul,
no error of any kind of info in logs. 

List,
I allready changed the connection on the switch, I had a VLAN where 
connected the eth of the mail server to the internal network hub, to the 
eth connected directly to the hub. Did'nt solve, so it's not a hardware 
problem. 

Paul Theodoropoulos wrote: 

do your qmail logs provide any diagnostic info? 

At 09:26 AM 7/9/2003, Sérgio Manuel Rosa wrote: 

Hi,
tcpserver (last release)
NAT only at the FW, routing to the inside net. Kinda like this 

WWW---FW with PublicIP--NAT--SMTP---routing---Internal Network 

Regards,
SRosa 

Paul Fletcher wrote: 

Are you using inetd or tcpserver?  And is there any NAT between the 
smtp
server and its dns resolver? 

At 17:44 09/07/03 -0300, Nasib Salim wrote: 


Hi Sergio
I dont have a DMZ and  I have only public DNS.
I have problems in both internal net and outside world. 

Nasib On Wed 09 Jul 03 12:33, Sérgio Manuel Rosa wrote: 


 Hi Nasib, 

a personal question because I'm having kinda same problem.
Do you have a DMZ?
Do you have internal dns and public dns? 

I have a problem like yours but only from my internal net. Clients 
from
the outer world dont have any problem, inside hosts have timeouts. 

Regards,
SRosa 

Nasib Salim wrote: 


Dear all, 

 I'm running Qmail with vpopmail and qmail-scanner. For the past 
2 years
there were no problem but recently the problem starts. 

SMTP Server is too slow to respond. it takes more than a minute 
for it
to response.  My DNS is working fine and there is no problem even
resolving the mail server. I know the DNS is the source is this 
problem
but seems its not. 

Please help! 

Nasib A Salim
Mediapost (T) Ltd 


 
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com 

 



 
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com 

 




  

This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
  








Paul Theodoropoulos
http://www.anastrophe.com
http://folding.stanford.edu
The Nicest Misanthrope on the Net 









This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
 


This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around

[vchkpw] Re: SMTP is too slow

2003-07-09 Thread Sérgio Manuel Rosa
well a reboot I have'nt tested iet. I have a uptime of few months. 

[EMAIL PROTECTED] writes: 

I'm using tcpserver and there is no NAT between the smtp server and its dns 
resolver.
  
 I also tried to run the dns in the same smtp server but it didnt help. 

Interesting thing is that when I reboot the smtp server, its works fine for a 
few minutes and then it start over again. 

  So  I failed to get glues whether it is dns or something else. 

Nasib
Quoting Paul Fletcher [EMAIL PROTECTED]: 

Are you using inetd or tcpserver?  And is there any NAT between the smtp
server and its dns resolver? 

At 17:44 09/07/03 -0300, Nasib Salim wrote:
Hi Sergio
 I dont have a DMZ and  I have only public DNS.
I have problems in both internal net and outside world.

Nasib 
On Wed 09 Jul 03 12:33, Sérgio Manuel Rosa wrote:
   Hi Nasib,

 a personal question because I'm having kinda same problem.
 Do you have a DMZ?
 Do you have internal dns and public dns?

 I have a problem like yours but only from my internal net. Clients from
 the outer world dont have any problem, inside hosts have timeouts.

 Regards,
 SRosa

 Nasib Salim wrote:
 Dear all,
 
I'm running Qmail with vpopmail and qmail-scanner. For the past 2
years
 there were no problem but recently the problem starts.
 
   SMTP Server is too slow to respond. it takes more than a minute for it
  to response.  My DNS is working fine and there is no problem even
  resolving the mail server. I know the DNS is the source is this problem
  but seems its not.
 
  Please help!
 
 Nasib A Salim
 Mediapost (T) Ltd




This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com



This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com


 


This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
 


 


 

 

-
This mail sent through IMP: http://horde.org/imp/


_
Sérgio Rosa
Senior Partner
GoSecure
Quinta da Fonte
Edif. D. Pedro I
2770-071 Paço d'Arcos
Tel:+351 21 0001663/4
Fax:   +351 21 0001675
Telm: +351 91 6184275
email: [EMAIL PROTECTED]
Web: www.gosecure.pt 

WebOn - Internet Services, Lda
Rua Francisco Tomás da Costa, nº51 A
1600-092 Lisboa
Tlm: +351 91 618 42 75
Mail: [EMAIL PROTECTED] 





[vchkpw] null mail queue

2003-07-07 Thread Sérgio Manuel Rosa
Hi all, 

I need do create a, for testing purpose, a mail relay enviroment that 
receives mail for relay and dumps all of it into /dev/null. 

Is this possible? 

I'm running qmail + vpopmail. 

Thanks
SRosa


[vchkpw] Re: null mail queue

2003-07-07 Thread Sérgio Manuel Rosa
Thanks. It did the trick.
I'm doind a stress test with qmail and if possible I'll post the results.
Regards,
SRosa 

Peter Palmreuther writes: 

Hi Sérgio, 

On Mon, 07 Jul 2003 10:08:46 +0100 Sérgio Manuel Rosa wrote: 

I need do create a, for testing purpose, a mail relay enviroment that 
receives mail for relay and dumps all of it into /dev/null.  

Is this possible? 
Yes. 

I'm running qmail + vpopmail. 
vadddomain -r test.example.com
echo '#' ~vpopmail/domains/test.example.com/.qmail-default
echo '#' ~vpopmail/domains/test.example.com/.qmail-postmaster
chown vpopmail.vchkpw ~vpopmail/domains/test.example.com/.qmail-*
chmod 600 ~vpopmail/domains/test.example.com/.qmail-*
--
Ciao,
 Pit 






[vchkpw] Re: forward not working under vpopmail

2003-07-07 Thread Sérgio Manuel Rosa
Hi, 

qmail doesn't deliver mail to root.
You need to put under /var/qmail/alias a .qmail-root file, note that the 
user root will always fall to your DN, in your case  katastrofa.com, with 
some valid mail address so that all mail sent to root will be delivered to 
that valid mail address. Otherwise [EMAIL PROTECTED] will not get mail. 

This is written somehere in the qmail documentation. 

Hope this helps. 

Regards
srosa 

Ilic Aleksandar writes: 

Hi
 I am trying to solve my problems with vpopmail for days, but it just don't work.
Cause I thought that some qmail patches are making problems, I installed qmail
again, but without any patch, and I installed vpopmail following instructions.
And just to mention that I am working on Slackware-8.1 and mysql-3.23.56,
qmail-1.03 and vpopmail-5.2.1
Before instaling vpopmail I check qmail and it is working just as it is supposed
to, also MySQL is working.
I confgiure vpopmail like this: 

./configure --prefix=/home/vpopmail --enable-auth-logging=y --enable-mysql-logging=y
--enable-logging=e --enable-default-domain=katastrofa.com --enable-mysql=y --enable-valias=y
--enable-defaultquota=20M
I create user admin with pass secret in mysql and put it in vmysql.h. And of
course I check this user, and it is working. I grant to that user access to all
databases with all privileges
create database vpopmail
make
make install-strip 

After that, I have no table in DB vpopmail, so I had to create them manually. But
never mind. 

I create domain katastrofa.com and users: flylord, root, test, postmaster,
anonymous
I start qmail-send, qmail-smtpd and qmail-pop3 with daemontools as it is written
in docs, and it is working. I can send mails, I can check and view mails via
pop3.
Than, I create file  /home/vpopmail/domains/katastrofa.com/.qmail-flylord :
[EMAIL PROTECTED] 

and when I send mail to [EMAIL PROTECTED], forwarding is not working.
Just to mention that no dot-qmail file is working. Vpopmail just don't process
those files.
Thanks in advance
Ilic Aleksandar