[vchkpw] vpopmail + mysql + sqwebmail

2002-12-22 Thread Hugo Escobar

Hi list:

Sorry if this is off-topic but the sqwebmail ml-manager seems to be
discarding message postings.

This is what I have so far:

Vpopmail+mysql working fine.

$ telnet mymailserver 110

always works for all the virtualdomains.


When it comes to the SqWebMail part, everything compiles, installs, etc.
but when I try to log in I get the following message:

Internal error (module sqconfig.c, line 63) - contact system
administrator

Configuration information:

vpopmail-5.2.1
mysql  Ver 11.15 Distrib 3.23.41, for redhat-linux-gnu (i386)
sqwebmail-3.4.0.20021212

relevant line in the /usr/local/share/sqwebmail/authdaemonrc:
authmodulelist=authcustom authvchkpw

authdaemond is running.

Any ideas?

Hugo













Re: [vchkpw] vpopmail + mysql + sqwebmail

2002-12-22 Thread Hugo Escobar
On Mon, 2002-12-23 at 00:17, Kurt Bigler wrote:
 on 12/22/02 5:37 PM, Hugo Escobar [EMAIL PROTECTED] wrote:
 
  
  Hi list:
  
  Sorry if this is off-topic but the sqwebmail ml-manager seems to be
  discarding message postings.
  
  This is what I have so far:
  
  Vpopmail+mysql working fine.
  
  $ telnet mymailserver 110
  
  always works for all the virtualdomains.
  
  
  When it comes to the SqWebMail part, everything compiles, installs, etc.
  but when I try to log in I get the following message:
  
  Internal error (module sqconfig.c, line 63) - contact system
  administrator
 
 I don't have the same version of sqwebmail as you, but it looks like this
 might be a problem opening the sqconfig file (whatever that is) for writing.
 The error is likely to be a failure at this point in the C code:
 
 f=fopen(p, w);
 if (!f) enomem();
 
 enomem is a macro that generates the error message you see with the file
 name and line number.  fopen is what is failing.
 
 So if you can figure out that that configuration file might be, I suppose it
 might be a permission problem with that file, the directory containing it,
 or the user/group that one of the sqwebmail applications is running under.
 
 Sorry can't look into this more right now - hoping that might give you a
 clue.
 

Yes, indeed

that file is one of the files that store session information related
to the user. The name of the file is sqwebmail-ip and this is supposed
to be created in the directory

~vpopmail/domains/virtualdomain/username/Maildir.

The problem is that when the function gets called, the first parameter
should be ~vpopmail/domains/virtualdomain/username/Maildir, but
the function only receives ., in other words, sqwebmail is trying to
create the file at the root directory. So I guess I should dig deeper
into the source code.

  
  Configuration information:
  
  vpopmail-5.2.1
  mysql  Ver 11.15 Distrib 3.23.41, for redhat-linux-gnu (i386)
  sqwebmail-3.4.0.20021212
  
  relevant line in the /usr/local/share/sqwebmail/authdaemonrc:
  authmodulelist=authcustom authvchkpw
  
  authdaemond is running.
  
  Any ideas?
  
  Hugo
  
  
  
  
  
  
  
  
  
  
  
 
 
 






Re: [vchkpw] Sorry,_no_mailbox_here_by_that_name

2002-12-21 Thread Hugo Escobar
There's only one file in users/. The file is .vpasswd.lock.
rcpthosts and virtualdomains remain the same.

On Fri, 2002-12-20 at 23:31, Steve Fulton wrote:
 At 16:19 20/12/2002 -0500, Hugo Escobar wrote:
 
 Check the Qmail control files (rcpthosts, virtualdomains), as well the 
 assign file in the users/ subdirectory of your Qmail 
 directory.  Specifically, look for the domain in question, and make sure it 
 is there.
 
 -- Steve
 
 Hi list:
 
 It's been now almost a year
 
 
 
 bash-2.05# uptime
3:56pm  up 345 days,  4:13,  3 users,  load average: 0.00, 0.00, 0.00
 
 
 
 
 since our mail server started.
 
 Everything has been OK until now.
 
 Suddenly, the users of one of the virtual domains are now facing a
 problem. They cannot receive messages, the mail server rejects all the
 incoming messages with the following note:
 
 
 
 Hi. This is the qmail-send program at mail.ourdomain.com.
 I'm afraid I wasn't able to deliver your message to the following
 addresses.
 This is a permanent error; I've given up. Sorry it didn't work out.
 
 [EMAIL PROTECTED]:
 Sorry, no mailbox here by that name. (#5.1.1)
 
 
 
 
 I tried to solve this by looking in the available information, but what
 I found so far, are problems related to the NIS service, or nothing
 similar to our problem.
 
 The configuration has not been changed at all. The only difference here
 is the increasing number of users (We have 1225 now) and the fact that
 We are using ezmlm for mailling lists processing.
 
 Any help would be highly appreciated.
 
 
 Hugo Escobar
 System Administrator
 TravelOne International LLC
 
 
 






[vchkpw] New problem: unable to create ~vpopmail/etc/tcp.smtp.xxxx file doesnot exist

2002-12-21 Thread Hugo Escobar
Hi there:

I was using cdb as my auth method but it seems to have a limit in the
number of records it can handle.

I decided to upgrade vpopmail using mysql as auth method. Everything
seems to be working fine now except for the message shown in the subject
line.

I already checked files ownership. All files and directories belong to
vpopmail.vchkpw and mode 600

Any help would be highly appreciated!

Hugo





[vchkpw] Sorry,_no_mailbox_here_by_that_name

2002-12-20 Thread Hugo Escobar
Hi list:

It's been now almost a year



bash-2.05# uptime
  3:56pm  up 345 days,  4:13,  3 users,  load average: 0.00, 0.00, 0.00




since our mail server started.

Everything has been OK until now.

Suddenly, the users of one of the virtual domains are now facing a
problem. They cannot receive messages, the mail server rejects all the
incoming messages with the following note:



Hi. This is the qmail-send program at mail.ourdomain.com.
I'm afraid I wasn't able to deliver your message to the following
addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

[EMAIL PROTECTED]:
Sorry, no mailbox here by that name. (#5.1.1)




I tried to solve this by looking in the available information, but what
I found so far, are problems related to the NIS service, or nothing
similar to our problem.

The configuration has not been changed at all. The only difference here
is the increasing number of users (We have 1225 now) and the fact that
We are using ezmlm for mailling lists processing.

Any help would be highly appreciated.


Hugo Escobar
System Administrator
TravelOne International LLC





[vchkpw] pop + mysql

2002-09-22 Thread Hugo Escobar

Hi list:

I know this must be covered in the archives. (Sorry!)


Any comments about what happened here?:


[root@sb01 bin]# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK [EMAIL PROTECTED]
user [EMAIL PROTECTED]
+OK
pass yyy
/home/vpopmail/bin/vchkpw: error while loading shared libraries:
libc.so.6: failed to map segment from shared object: Cannot allocate
memory
-ERR authorization failed
Connection closed by foreign host.

The scenario:
RedHat 7.3
Vpopmail-5.2.1
Mysql 3.23.49





Re: Timeout in sqwebmail

2000-09-28 Thread Hugo Escobar


iho writes:

 
 Any idea how could I increase the timeout limit in sqwebmail as I found the
 default timeout limit is too short to compose a big mail.
 
 Ivan


Include --enable-softtimeout=desired time in seconds in your "configure".

(Is this OK?)

Hugo



size of attachments

2000-09-18 Thread Hugo Escobar



Hi all:

I needed to enlarge up the allowed size for the attached files.
I edited source of sqwebmail/cgi/cgi.c and changed the following:

#define CGIMAXFORMDATAARG  500

Recompiled, etc.

Since then, I could not attach any file. I tried to go back by
rewriting the former value, cleaning, recompiling, etc but it's still not
working.

What am I missing?

Thank You
Hugo Escobar



newbie question (fwd)

2000-09-15 Thread Hugo Escobar



Tim Hunter writes:

 Next comes the inevitable question.
 
 can you login like [EMAIL PROTECTED]?
 
 -- Tim

I think I understand your question, do you mean that if there exist one
default domain, so I can add one user and this user will be placed in the
default domain? (considering there exists more than one domain, hence
virtualdomains)

If so, I think I can answer saying that I did the following:

# rm -f ~vpopmail/users
# ln -s ~vpopmail/domains/one of the existing domains I chose as default
\
~vpopmail/users

as part of the "transition" from one domain to virtualdomains.

On the other hand, I can use the newly created user "test" to login only
through sqwebmail, as occurs with the rest of "virtual users".

I don't know if this helps but there exists one file .qmail-default located
on: /home/vpopmail/domains/default-domain.com which contains the
following:

# cat .qmail-default 

| /home/vpopmail/bin/vdelivermail ''
/home/vpopmail/domains/default-domain/some user

Thank You

Hugo Escobar