Re: POP Authentication Not Working

2001-05-14 Thread lists
- Original Message -
From: "Chris Bolt" <[EMAIL PROTECTED]>
To: "lists" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, May 13, 2001 3:12 PM
Subject: RE: POP Authentication Not Working


> Please post the output of /var/qmail/bin/qmail-showctl, that'll help me
find
> your problem.

Thanks. I didn't know about that command.
Its a little long, but here it is:

qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 200, 201, 202, 0, 203, 204, 205, 206.
group ids: 81, 200.

badmailfrom: (Default.) Any MAIL FROM is allowed.

bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.

bouncehost: (Default.) Bounce host name is myhost.mydom.or.jp.

concurrencylocal: (Default.) Local concurrency is 10.

concurrencyremote: (Default.) Remote concurrency is 20.

databytes: (Default.) SMTP DATA limit is 0 bytes.

defaultdomain: Default domain name is .

defaulthost: (Default.) Default host name is myhost.nca.or.jp.

doublebouncehost: (Default.) 2B recipient host: myhost.mydom.or.jp.

doublebounceto: (Default.) 2B recipient user: postmaster.

envnoathost: (Default.) Presumed domain name is myhost.mydom.or.jp.

helohost: (Default.) SMTP client HELO host name is myhost.mydom.or.jp.

idhost: (Default.) Message-ID host name is myhost.mydom.or.jp.

localiphost: (Default.) Local IP address becomes myhost.mydom.or.jp.

locals:
Messages for localhost.mydom.or.jp are delivered locally.
me: My name is myhost.mydom.or.jp.

percenthack: (Default.) The percent hack is not allowed.

plusdomain: Plus domain name is or.jp.

qmqpservers: (Default.) No QMQP servers.

queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.

rcpthosts:
SMTP clients may send messages to recipients at localhost.mydom.or.jp.
SMTP clients may send messages to recipients at myhost.mydom.or.jp.
SMTP clients may send messages to recipients at mydom.or.jp.
SMTP clients may send messages to recipients at agic.ne.jp.
SMTP clients may send messages to recipients at .mydom.or.jp.

morercpthosts: (Default.) No effect.

morercpthosts.cdb: (Default.) No effect.

smtpgreeting: (Default.) SMTP greeting: 220 myhost.mydom.or.jp.

smtproutes: (Default.) No artificial SMTP routes.

timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.

timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.

timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.

virtualdomains:
Virtual domain: mydom.or.jp:mydom.or.jp

defaultdelivery: I have no idea what this file does.

concurrencyincoming: I have no idea what this file does.

qmail: I have no idea what this file does.


Thanks,

Shawn


Vpopmail error compilation

2001-05-14 Thread admin


Hi,

I have find this message.
I have the same problem.

My version of mysql are 3.23.26 

Anyoune have some solutions?

Best Regards,

Enrico Valsecchi
[EMAIL PROTECTED]
http://www.hostyle.it
- nettamente avanti -

 I'm running mysql-3.23.33-4, and have some problems compiling
 "vpopmail-4.10.1 Thu May 10 19:09:28 CDT 2001" version.

 Anyone know what this is?

 gcc -I. -I/usr/include/mysql  -g -O2 -Wall -c vsetuserquota.c
 gcc  -g -O2 -Wall  -o vsetuserquota  vsetuserquota.o
 libvpopmail.a -L/usr/lib/mysql -lmysqlclient -lz -lnsl -lcrypt -lz
-lm
 gcc -I. -I/usr/include/mysql  -g -O2 -Wall -c vpopbull.c
 gcc  -g -O2 -Wall  -o vpopbull  vpopbull.o
 libvpopmail.a -L/usr/lib/mysql -lmysqlclient -lz -lnsl -lcrypt -lz
-lm
 gcc -I. -I/usr/include/mysql  -g -O2 -Wall -c vdeloldusers.c
 vdeloldusers.c:46: parse error before `mysql'
 vdeloldusers.c:46: warning: type defaults to `int' in declaration
of `mysql'
 vdeloldusers.c:46: warning: data definition has no type or storage
class
 vdeloldusers.c:47: parse error before `*'
 vdeloldusers.c:47: warning: type defaults to `int' in declaration
of `res'
 vdeloldusers.c:47: warning: data definition has no type or storage
class
 vdeloldusers.c:48: parse error before `row'
 vdeloldusers.c:48: warning: type defaults to `int' in declaration
of `row'
 vdeloldusers.c:48: warning: data definition has no type or storage
class
 vdeloldusers.c: In function `main':
 vdeloldusers.c:76: warning: implicit declaration of function
`mysql_init'
 vdeloldusers.c:77: warning: implicit declaration of function
 `mysql_real_connect'
 vdeloldusers.c:88: warning: implicit declaration of function
`mysql_query'
 vdeloldusers.c:92: warning: implicit declaration of function
 `mysql_use_result'
 vdeloldusers.c:92: warning: assignment makes pointer from integer
without a
 cast
 vdeloldusers.c:96: warning: implicit declaration of function
 `mysql_fetch_row'
 vdeloldusers.c:97: subscripted value is neither array nor pointer
 vdeloldusers.c:97: subscripted value is neither array nor pointer
 vdeloldusers.c:98: subscripted value is neither array nor pointer
 vdeloldusers.c:98: subscripted value is neither array nor pointer
 vdeloldusers.c:100: warning: implicit declaration of function
 `mysql_free_result'
 make[2]: *** [vdeloldusers.o] Error 1
 make[2]: Leaving directory `/usr/src/vpopmail-4.10.1'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/usr/src/vpopmail-4.10.1'
 make: *** [all-recursive-am] Error 2


 --
 
 IDG New MediaEinar Bordewich
 Development Manager  Phone: +47 2336 1420
 E-Mail:  eibo(at)newmedia.no
 Lat: 59.91144 N  Lon: 10.76097 E
 





RE: POP Authentication Not Working

2001-05-14 Thread Chris Bolt
Try copying /var/qmail/control/me to /var/qmail/control/defaultdomain but I
don't think that will fix it... is myhost.mydom.or.jp supposed to be valid?
Also, have you tried turning on all vpopmail logging options?

>> Please post the output of /var/qmail/bin/qmail-showctl, that'll help
>> me find your problem.
>
> Thanks. I didn't know about that command.
> Its a little long, but here it is:
(clipped)


dbfunction - disapointment...

2001-05-14 Thread Krzysztof Dabrowski

Hello..

And again , the scenario repeats -> i write something about the patch.
Ken says that there is something missing
I say - it's in the distribution.
And the discussion dies -> nobody from inter7.com ries to access the home 
page of the patch (i've checked logs) and i get no reply..

I'm not feeling, i'm treated seriously.

If nothing changes untill the end of week, we are packing our toys and go 
invest our time elsewhere.

Kris




File Error 6 (qmailadmin)

2001-05-14 Thread Kieran Barnes

Hi,

I am getting a "File Error 6" problem randomly in qmailadmin.

I can login fine, but from then on the error pops up when I go into any of
the other pages.
Most of the time its fine, but occasionally this error occours and logs me
out.

The qmailadmin binary seems fine,

-rwsr-sr-x1 vpopmail vchkpw 282169 Apr 14 22:31 qmailadmin
(running under apache 1.3.19)

I am running qmailadmin-0.42 with vpopmail-4.9.10

Anybody got any ideas on how to fix this?

Regards,

Kieran Barnes
Signum 1226 Ltd
Use our Web site at...  http://www.1226.net
Phone us on... 01772 622889
Fax us on...   01772 622558



Mail Problem

2001-05-14 Thread Lye On Siong Johnny

Hi,

I am pretty new to vpopmail, and current we just setup a new mail server.
The scenario is as such. We have man user, eg support, support-mac, 
support-linux etc ...
each of the mail account has it's own .qmail file.

However, the problem is as such. when someone send a mail to eg 
support-error whereby this user doesnt exist, the mail is being send to 
support instead. How can i configure qmail such that if the email account 
does not exist, it should bounce the mail instead of sending it to support??

Thanks
Johnny 




Re: RELAY CLIENT

2001-05-14 Thread Rene Schleicher

Wagner <[EMAIL PROTECTED]> wrote:
> How can i turn an user or a domain to be a relay client with his/her name 
> and not with his/her IP ?
1 - Don't enable roaming-users in vpopmail
2 - read http://www.palomine.net/qmail/relaymailfrom.html, but it's *NOT* 
secure.

Regards,
Rene Schleicher



Re: RELAY CLIENT

2001-05-14 Thread Jim Hamann

What?  roaming-users works great, and it's much better than trying to hack
around on different ports trying to hide the smtp server.  There is no way I
would rely on the sender envelope and expect to have a halfway decent smtp
server running.

- Original Message -
From: "Rene Schleicher" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 14, 2001 9:22 AM
Subject: Re: RELAY CLIENT


Wagner <[EMAIL PROTECTED]> wrote:
> How can i turn an user or a domain to be a relay client with his/her name
> and not with his/her IP ?
1 - Don't enable roaming-users in vpopmail
2 - read http://www.palomine.net/qmail/relaymailfrom.html, but it's *NOT*
secure.

Regards,
Rene Schleicher





Re: RELAY CLIENT

2001-05-14 Thread rene

"Jim Hamann" <[EMAIL PROTECTED]> wrote:
> What?  roaming-users works great, 
I know.. but he want SMTP relaying based on envelope
sender address. Not SMTP after POP. And I wrote too that this method is *not* 
secure.

Regards,
Rene Schleicher



moving vpopmail

2001-05-14 Thread Dave Ellsworth

I assume I won't have a problem, but if I move the vpopmail home dir, to
/usr/home and create a link of /home/vpopmail to /usr/home/vpopmail, will it
work correctly? or do I have to redo vpopmail


-
Dave Ellsworth
Nickname: DaveE or MasterJedi




Re: moving vpopmail

2001-05-14 Thread vol

Using a symlink is very inefficient.  You would probably want
to change the home directory of the vpopmail user, and re-compile.

Dave Ellsworth wrote:
> 
> I assume I won't have a problem, but if I move the vpopmail home dir, to
> /usr/home and create a link of /home/vpopmail to /usr/home/vpopmail, will it
> work correctly? or do I have to redo vpopmail
> 
> -
> Dave Ellsworth
> Nickname: DaveE or MasterJedi

-- 
[EMAIL PROTECTED]
Inter7 Internet Technologies, Inc.
www.inter7.com - 847-492-0470
Prices at http://www.inter7.com/prices



Re: RELAY CLIENT

2001-05-14 Thread Stephen Samuel

No. What he wants is to be able to consistently send his email without
problems, and he THINKS that the best way to do it is to allow relay
based on sender address.

I believe that most maier programs can be setup to pick up email
immediately
uppon connect. If you can get outlook to do this, then his subsequent 
send will work properly and his problem will be solved.. I don't use
outlook, s
o I can't comment on this process directly.   

Does anybody out there know how to get outlook to do a retrieve-before
send?
Given that many SMTP servers do authentication via pop, I figure that
outlook
should know how to manage this. 


rene wrote:
> 
> "Jim Hamann" <[EMAIL PROTECTED]> wrote:
> > What?  roaming-users works great,
> I know.. but he want SMTP relaying based on envelope
> sender address. Not SMTP after POP. And I wrote too that this method is *not*
> secure.
> 
> Regards,
> Rene Schleicher

-- 
Stephen Samuel +1(604)876-0426[EMAIL PROTECTED]
   http://www.bcgreen.com/~samuel/
Powerful committed communication, reaching through fear, uncertainty and
doubt to touch the jewel within each person and bring it to life.
 Vote Green this Wednesday   --   http://www.greenparty.bc.ca



qmailadmin alternative

2001-05-14 Thread Ed Henderson

Are there any qmailadmin alternatives written in Perl or PHP?  Something like 
oMail-admin for vmailmgr?

Thanks,
Ed.





Re: RELAY CLIENT

2001-05-14 Thread Stephen Samuel

Rudy Setiawan wrote:
> 
> Eduardo,
> But this will still allow people to send email by IP auth right ?
> Or just purely POP first ?

Your hardcoded IPs are safe (at least in my experience).  The 
POP-authenticated address are ADDED to the list -- temporarily.
It seems to be a well-tested solution (for obvious reasons).

The nice thing about open source is that obvious brokenness like
THAT gets fixed REAL QUICK.

-- 
Stephen Samuel +1(604)876-0426[EMAIL PROTECTED]
   http://www.bcgreen.com/~samuel/
Powerful committed communication, reaching through fear, uncertainty and
doubt to touch the jewel within each person and bring it to life.
 Vote Green this Wednesday   --   http://www.greenparty.bc.ca



Re: off topic: backup

2001-05-14 Thread Wagner



Good Morning:
 
Thanks everybody for the help, i did the backup and 
it worked fine
 
Thanks
 
Wagner Garcia Campagner- Original Message - 

  From: 
  Alfredo Hassaf 
  To: Wagner ; [EMAIL PROTECTED] 
  Cc: [EMAIL PROTECTED] 
  Sent: Friday, May 11, 2001 2:58 PM
  Subject: RE: off topic: backup
  
  OK, 
  I dont know if this is the best way to do the backup but it works for 
  me.
   
  1.- 
  Do tar -cvf domains.tar /home/vpopmail/domains (if home directory of vpopmail 
  is that one)
  2.- If you 
  change machine or reinstall qmail and components youll need to copy the 
  control files that allow users to sign up 
  so...
      2.1 tar -cvf control.tar 
  /var/qmail/control
      2.2 tar -cvf users.tar 
  /var/qmail/users
   
  If 
  you reinstall qmail in a fresh machine untar the files and copy them into the 
  right location... The results are this..
   
  All 
  mail tared in domains.tar will be restored and the users 
  too.
  The 
  "control" directory will restore all your virtual domains, rcpthosts and your 
  local information so every thing will work as before
  The 
  "users" directory will restore the "assign" file wich is the one that controls 
  the virtual domains and the users who can access them
   
  For 
  last but not less if the machine is a fresh instalation you must be sure of 
  doing these
   
  The 
  assign file contains the user id and group id of the vpopmail user so if you 
  do a cat /var/qmail/users/assign youll see something like 
  this
   
  +domain.com-:domain.com:508:503:/home/vpopmail/domains/domain.com:-::
   
  Where 508 is the user id and 503 is the group id of 
  vpopmail user
   
  Then 
  do id vpopmail in the command line and you should see something like this 
  
   
  uid=508(vpopmail) gid=503(vchkpw) 
  groups=503(vchkpw)
  If 
  the user id and group id of vpopmail user is not the same in the assign file 
  then the users WONT BE ABLE TO LOGIN
   
  If 
  this situation applies to you then just edit the assign file and correct 
  it..
   
  Ready your done
   
  Bye
   
  -Original Message-From: 
  Wagner [mailto:[EMAIL PROTECTED]]Sent: Thursday, May 
  10, 2001 1:30 PMTo: [EMAIL PROTECTED]Cc: 
  [EMAIL PROTECTED]Subject: off topic: backup
  
Good Afternoon:
 
I've got 
qmail+vpopmail+qmailadmin+sqwebmail+vqadmin running on my linux, and i want 
to start to make backups of my vpopmail directory (where the users account 
are).
 
I'd like to know how to do it and if my machine 
goes down, can i use this backup to put in another machine to restore the 
users's messages?
 
I don't want to lose the users messages 
!
 
Thank you very much:
Wagner Garcia 
Campagner


RELAY CLIENT

2001-05-14 Thread Wagner



Good Morning:
 
I'm using 
Qmail+Vpopmail+Qmailadmin+Sqwebmail
 
The problem is: there is a user who is using 
Outlook Express to get his messages from Qmail. So he conect with his internet 
provider and get an IP to get the messages, then he wants to cut the connection 
to write his messages and reconect again to send them, so when he reconects, he 
gets another IP and there is an authentication problem.
 

How can i turn an user or a domain to be a relay 
client with his/her name and not with his/her IP ?
 
Thanks in advance
 
Wagner Garcia 
Campagner


Re: RELAY CLIENT

2001-05-14 Thread Eduardo Augusto Alvarenga

> I\'m using Qmail+Vpopmail+Qmailadmin+Sqwebmail
> 
> The problem is: there is a user who is using Outlook Express to get his
> messages from Qmail. So he conect with his internet provider and get an
> IP to get the messages, then he wants to cut the connection to write his
> messages and reconect again to send them, so when he reconects, he gets
> another IP and there is an authentication problem.
> 
> How can i turn an user or a domain to be a relay client with his/her
> name and not with his/her IP ?

Wagner,

Since you\'re using vpopmail. You can try to put the POP before SMTP 
authentication mechanism.
Compile vpopmail with \"--enable-roaming-users=y\" option and just run your 
tcpserver with a \"-x /home/vpopmail/etc/tcp.smtp.cdb\" flag.
Read vpopmail manual for more info abou pop before smtp.
And beware your users to check mail before sending ANY message at your server.


Send private messages if you like (may be in portuguese).

Best Regards,

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
Blumenau - Santa Catarina. Tel. (47) 9102-3303
 http://www.netron.com.br/~eduardo
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



pop trouble

2001-05-14 Thread Chris Ochap

i have recently installed latest versions of qmail, vpopmail, sqwebmail,
tcpserver, qmailadmin.  all aspects of email operation seem to be working
fine except pop authentication.  no trouble doing sending and recieving via
webmail...however...if i try to use an email client like outlook or
eudora...my user info is rejected.  here are my compile options.

./configure --enable-roaming-users=y --enable-tcprules-prog=/usr/local/bin/t
cprules --enable-logging=e --enable-auth-logging=y --enable-tcpserver-file=/
etc/tcprules/tcp.smtp --enable-hardquota=1000




Re: pop trouble

2001-05-14 Thread Bill Shupp

on 5/14/01 11:48 PM, Chris Ochap at [EMAIL PROTECTED] spake:

> i have recently installed latest versions of qmail, vpopmail, sqwebmail,
> tcpserver, qmailadmin.  all aspects of email operation seem to be working
> fine except pop authentication.  no trouble doing sending and recieving via
> webmail...however...if i try to use an email client like outlook or
> eudora...my user info is rejected.  here are my compile options.
> 
> ./configure --enable-roaming-users=y --enable-tcprules-prog=/usr/local/bin/t
> cprules --enable-logging=e --enable-auth-logging=y --enable-tcpserver-file=/
> etc/tcprules/tcp.smtp --enable-hardquota=1000

What's in your logs?  Please post excerpts.

-Bill




Re: RELAY CLIENT

2001-05-14 Thread davidu


I think he is doing this but the user disconnects and reconnected with a
new IP.

you can't do anything about it.  just have them check before sending.

-davidu



On Mon, 14 May 2001, Eduardo Augusto Alvarenga wrote:

> > I\'m using Qmail+Vpopmail+Qmailadmin+Sqwebmail
> > 
> > The problem is: there is a user who is using Outlook Express to get his
> > messages from Qmail. So he conect with his internet provider and get an
> > IP to get the messages, then he wants to cut the connection to write his
> > messages and reconect again to send them, so when he reconects, he gets
> > another IP and there is an authentication problem.
> > 
> > How can i turn an user or a domain to be a relay client with his/her
> > name and not with his/her IP ?
> 
> Wagner,
> 
> Since you\'re using vpopmail. You can try to put the POP before SMTP 
> authentication mechanism.
> Compile vpopmail with \"--enable-roaming-users=y\" option and just run your 
> tcpserver with a \"-x /home/vpopmail/etc/tcp.smtp.cdb\" flag.
> Read vpopmail manual for more info abou pop before smtp.
> And beware your users to check mail before sending ANY message at your server.
> 
> 
> Send private messages if you like (may be in portuguese).
> 
> Best Regards,
> 
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Eduardo Augusto Alvarenga - Analista de Suporte - #179653
> Blumenau - Santa Catarina. Tel. (47) 9102-3303
>  http://www.netron.com.br/~eduardo
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> 




RE: RELAY CLIENT

2001-05-14 Thread Eduardo Augusto Alvarenga

> Eduardo,
> But this will still allow people to send email by IP auth right ?
> Or just purely POP first ?
> 
> Rudy

Rudy,

You can also combine both, if you like.

B.R.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
Blumenau - Santa Catarina. Tel. (47) 9102-3303
   http://www.netron.com.br/~eduardo
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-