[xmail] Re: error 162 when adding a domain

2006-07-19 Thread Bill Healy

If you have edited any of the tab files manually try stopping xmail,
removing the files from the tabindex directory and restarting xmail. See
if that fixes your problem.

Bill


--
From:  Dave Henderson[SMTP:[EMAIL PROTECTED]
Sent:  Tuesday, July 18, 2006 7:09 PM
To:xmail@xmailserver.org
Subject:   [xmail] error 162 when adding a domain

 Gang,
  
   I am setting up an xmail server for the first time. I  looked for
tutorials on the homepage and found one
(http://www.ubaight.com/index.php?option=com_wrapperItemid=37). I  get to
the part where I need to create additional domains using the  CtrlClnt tool
such as:
  
  CtrlClnt -s mail.domain.com -u username -p password domainadd
anotherdomain.com
  
  and get:
  
  ErrCode   = -162
  ErrString = End of socket stream data
  
  I  searched through the forums about this issue, but people seemed to be
getting a 162 error when sending or receiving email, not when trying to
setup an additional domain. I have looked in the syslog without any  luck.
Any help would greatly be appreciated.
  
  Thanks,
  Dave

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]


-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: IMAP Support?

2006-07-19 Thread Chad Fleenor
I have DBmail working with XMail.  I have a mailproc.tab file with this 
line in it.

external  0 10/var/MailRoot/for_imap.sh 
@@FILE@@RCPT   @@FROM

Here is the forimap.sh file

#!/bin/sh
perl -pi -e 's/\r\n/\n/g' $1
/usr/local/sbin/dbmail-smtp -d $2  $1

It was pretty easy to get it working.  Just make sure that you setup the 
account on dbmail before you put the mailproc.tab out in the test users 
directory.  I would also make an alias such as

[EMAIL PROTECTED]
[EMAIL PROTECTED]
firstname.lastname

I use dbmailadministrator to configure dbmail via web page.  it works 
is about all that I can say for it.  not the most userfriendly, although 
there may be a new version out. 

I upgraded to the latest stable release of dbmail yesterday, hoping for 
more stability.  The version 2.0.7 had some werid memory leaks or 
something.  Every week I would have to kill all of the processes and 
restart it.
here is my startup script

../etc/init.d/dbmail

#!/bin/sh
sleep 5
/usr/local/sbin/dbmail-imapd -f /etc/dbmail.conf

here are some of the changes to the ./etc/dbmail.conf file

NCHILDREN=20  # default number of LMTP handlers 
(each is a process)
MAXCHILDREN=10# max. number of LMTP handlers
MINSPARECHILDREN=2
MAXSPARECHILDREN=4
MAXCONNECTS=100   # the maximum number of connections a default 
childs makes
TIMEOUT=300   # the

Give me a shout if you need some more help.  By the way I'm running 
RedHat Linux Enterprise, (it worked on version 9 too)

Chad


Joe Harrell wrote:
 After serious crying and wailing, I managed to get Courier running with
 XMail, but had to knaw off my leg to do it...

 Once you manage to get it installed and configured, it works like a charm,
 but it's not for the faint at heart.


 On 7/18/06, Dave Henderson [EMAIL PROTECTED] wrote:
   
 I am also interested to know if Xmail will eventually support  IMAP.  In
 the mean time what is the current opinion of others as  to the best IMAP
 addon (courier, squirrel, etc).

 Dave



 Will Du Chene [EMAIL PROTECTED] wrote:
 Is anyone out there using an IMAP server with Xmail?

 I read a couple of the articles on the xmailserver.org site, but have not
 had a great deal of luck with them, as the platform that I was using was
 FreeBSD. It seemed that either Courier did not want to compile correctly,
 or that the link between the dbmail server and xmail (via mailproc.tab)
 just did not want to work.

 I was wondering if there was another way to do it? At some point in the
 future, will Xmail support Imap?

 Thanks in advance.



 -

 


 -
 To unsubscribe from this list: send the line unsubscribe xmail in
 the body of a message to [EMAIL PROTECTED]
 For general help: send the line help in the body of a message to
 [EMAIL PROTECTED]

   

-- 
Chad Fleenor

RIS/PACS Administrator
Pikeville Medical Center
911 Bypass Road
Pikeville, KY 41501
606-218-4931



-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: error 162 when adding a domain

2006-07-19 Thread Dave Henderson
Thanks for your reply Bill.  I don't have a problem starting or  stopping the 
daemon, I have a problem adding an additional domain when  using the CtrlClnt 
utility.  Should I run the CtrlClnt utility  while the mail server is 
running.  The documentation on the  website says that some files can't be 
edited while it is running  because they are indexed.
  
  Thanks,
  Dave
  
  

Bill Healy [EMAIL PROTECTED] wrote:  
If you have edited any of the tab files manually try stopping xmail,
removing the files from the tabindex directory and restarting xmail. See
if that fixes your problem.

Bill


--
From:  Dave Henderson[SMTP:[EMAIL PROTECTED]
Sent:  Tuesday, July 18, 2006 7:09 PM
To:  xmail@xmailserver.org
Subject:  [xmail] error 162 when adding a domain

 Gang,
  
   I am setting up an xmail server for the first time. I  looked for
tutorials on the homepage and found one
(http://www.ubaight.com/index.php?option=com_wrapperItemid=37). I  get to
the part where I need to create additional domains using the  CtrlClnt tool
such as:
  
  CtrlClnt -s mail.domain.com -u username -p password domainadd
anotherdomain.com
  
  and get:
  
  ErrCode   = -162
  ErrString = End of socket stream data
  
  I  searched through the forums about this issue, but people seemed to be
getting a 162 error when sending or receiving email, not when trying to
setup an additional domain. I have looked in the syslog without any  luck.
Any help would greatly be appreciated.
  
  Thanks,
  Dave

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]


-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]




-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: error 162 when adding a domain

2006-07-19 Thread Dave Henderson
For future searchers, I have fixed the problem.  After taking a  look at the 
name resolution on the email server, I noticed is was not  correct at all.  For 
any newbie's, if you are setting up xmail (or  any other server probably), make 
sure you can perform 'nslookup  localservername' on the box and get a valid 
response.  If not,  check your BIND (DNS) settings and correct any problems 
with that first.
  
  Dave
  
  

Dave Henderson [EMAIL PROTECTED] wrote:Thanks  for your reply Bill. I don't 
have a problem starting or stopping the  daemon, I have a problem adding an 
additional domain when using the  CtrlClnt utility. Should I run the 
CtrlClnt utility while the mail  server is running. The documentation on the 
website says that some  files can't be edited while it is running because they 
are indexed.
  
  Thanks,
  Dave
  
  

Bill Healy  wrote:  
If you have edited any of the tab files manually try stopping xmail,
removing the files from the tabindex directory and restarting xmail. See
if that fixes your problem.

Bill


--
From:  Dave Henderson[SMTP:[EMAIL PROTECTED]
Sent:  Tuesday, July 18, 2006 7:09 PM
To:  xmail@xmailserver.org
Subject:  [xmail] error 162 when adding a domain

 Gang,
  
   I am setting up an xmail server for the first time. I  looked for
tutorials on the homepage and found one
(http://www.ubaight.com/index.php?option=com_wrapperItemid=37). I  get to
the part where I need to create additional domains using the  CtrlClnt tool
such as:
  
  CtrlClnt -s mail.domain.com -u username -p password domainadd
anotherdomain.com
  
  and get:
  
  ErrCode   = -162
  ErrString = End of socket stream data
  
  I  searched through the forums about this issue, but people seemed to be
getting a 162 error when sending or receiving email, not when trying to
setup an additional domain. I have looked in the syslog without any  luck.
Any help would greatly be appreciated.
  
  Thanks,
  Dave

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]


-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]




-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]




-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: IMAP Support?

2006-07-19 Thread Helio Cavichiolo Jr

Em Terça 18 Julho 2006 23:08, Dave Henderson escreveu:
 I am also interested to know if Xmail will eventually support  IMAP.  In
 the mean time what is the current opinion of others as  to the best IMAP
 addon (courier, squirrel, etc).

   Dave

I'm using a patched courier-imap (CR+LF patch) with mysql authentication. But 
I'm eager waiting for the day XMail will support imap service, especially 
because I've implemented my own authentication engine via XMail authuser and 
can't use it with imap connections.
The webmail I choose was RoundCube.

Helio
-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: error 162 when adding a domain

2006-07-19 Thread Bill Healy

Hi Dave,

I see that you have fixed the problem but I'll clarify why I was telling
you clear the tabindex directory. If you had edited some of the indexed
files, by stopping xmail, clearing the tabindex directory and restarting
xmail you would have caused xmail to rebuild the index files. Xmail will
not have a problem in many cases starting and stopping if the index
files are messed up,  but it will have strange problems when using them.

Bill

--
From:  Dave Henderson[SMTP:[EMAIL PROTECTED]
Sent:  Wednesday, July 19, 2006 5:29 AM
To:xmail@xmailserver.org
Subject:   [xmail] Re: error 162 when adding a domain

Thanks for your reply Bill.  I don't have a problem starting or  stopping the
daemon, I have a problem adding an additional domain when  using the
CtrlClnt utility.  Should I run the CtrlClnt utility  while the mail
server is running.  The documentation on the  website says that some files
can't be edited while it is running  because they are indexed.
  
  Thanks,
  Dave
  
  

Bill Healy [EMAIL PROTECTED] wrote:  
If you have edited any of the tab files manually try stopping xmail,
removing the files from the tabindex directory and restarting xmail. See
if that fixes your problem.

Bill


--
From:  Dave Henderson[SMTP:[EMAIL PROTECTED]
Sent:  Tuesday, July 18, 2006 7:09 PM
To:  xmail@xmailserver.org
Subject:  [xmail] error 162 when adding a domain

 Gang,
  
   I am setting up an xmail server for the first time. I  looked for
tutorials on the homepage and found one
(http://www.ubaight.com/index.php?option=com_wrapperItemid=37). I  get to
the part where I need to create additional domains using the  CtrlClnt tool
such as:
  
  CtrlClnt -s mail.domain.com -u username -p password domainadd
anotherdomain.com
  
  and get:
  
  ErrCode   = -162
  ErrString = End of socket stream data
  
  I  searched through the forums about this issue, but people seemed to be
getting a 162 error when sending or receiving email, not when trying to
setup an additional domain. I have looked in the syslog without any  luck.
Any help would greatly be appreciated.
  
  Thanks,
  Dave

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]


-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]




-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]


-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: error 162 when adding a domain

2006-07-19 Thread Dave Henderson
I see.  Thanks for the clarification Bill.
  
  Dave
  
  

Bill Healy [EMAIL PROTECTED] wrote:  
Hi Dave,

I see that you have fixed the problem but I'll clarify why I was telling
you clear the tabindex directory. If you had edited some of the indexed
files, by stopping xmail, clearing the tabindex directory and restarting
xmail you would have caused xmail to rebuild the index files. Xmail will
not have a problem in many cases starting and stopping if the index
files are messed up,  but it will have strange problems when using them.

Bill

--
From:  Dave Henderson[SMTP:[EMAIL PROTECTED]
Sent:  Wednesday, July 19, 2006 5:29 AM
To:  xmail@xmailserver.org
Subject:  [xmail] Re: error 162 when adding a domain

Thanks for your reply Bill.  I don't have a problem starting or  stopping the
daemon, I have a problem adding an additional domain when  using the
CtrlClnt utility.  Should I run the CtrlClnt utility  while the mail
server is running.  The documentation on the  website says that some files
can't be edited while it is running  because they are indexed.
  
  Thanks,
  Dave
  
  

Bill Healy  wrote:  
If you have edited any of the tab files manually try stopping xmail,
removing the files from the tabindex directory and restarting xmail. See
if that fixes your problem.

Bill


--
From:  Dave Henderson[SMTP:[EMAIL PROTECTED]
Sent:  Tuesday, July 18, 2006 7:09 PM
To:  xmail@xmailserver.org
Subject:  [xmail] error 162 when adding a domain

 Gang,
  
   I am setting up an xmail server for the first time. I  looked for
tutorials on the homepage and found one
(http://www.ubaight.com/index.php?option=com_wrapperItemid=37). I  get to
the part where I need to create additional domains using the  CtrlClnt tool
such as:
  
  CtrlClnt -s mail.domain.com -u username -p password domainadd
anotherdomain.com
  
  and get:
  
  ErrCode   = -162
  ErrString = End of socket stream data
  
  I  searched through the forums about this issue, but people seemed to be
getting a 162 error when sending or receiving email, not when trying to
setup an additional domain. I have looked in the syslog without any  luck.
Any help would greatly be appreciated.
  
  Thanks,
  Dave

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]


-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]




-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]


-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]




-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]