[xmail] Re: Message ID Numbers?

2005-04-01 Thread Dustin C. Hatch

http://www.php.net/manual/en/function.imap-headers.php

That is the function required to download the headers for the messages. All it 
does is download each message in the order that it is listed, and stores it in 
an array with the keys coorisponding to the number to the left of the message 
in both UIDL and LIST.

Dustin C. Hatch
http://www.dchweb.com

 I would be looking further into the capabilities of pop3 under PHP.
 I would be _very_ surprised if it did not support UIDL.
 
 Rob :-)
 _
 Signature: Live like you'll die tomorrow!
 Reply: I tried your signature out once. It took years off my life!  
  
 
  -Original Message-
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Dustin C. Hatch
  Sent: Friday, April 01, 2005 10:13 AM
  To: xmail@xmailserver.org
  Subject: [xmail] Re: Message ID Numbers?
  
  
  As I said, PHP does the downloading, so I have no control 
  over what command it uses. I think I can make my program use 
  the message numbers only once, and after that use the UIDL 
  numbers, but I have no control over how they are referenced 
  initially by php.
  
  Dustin C. Hatch
  http://www.dchweb,com
  
   As Davide said, those numbers are only valid for the specific POP3 
   session that you received them in. Future sessions are not 
  guaranteed 
   to have the same numbers for the same messages.
   
   You should use the UIDL numbers. Retrieve them as:
   
   +OK Maildrop has 4 messages (12788 bytes)
   UIDL
   +OK 4
   1 1028745740408.1556.karen
   2 1062432866368.1924.karen
   3 1062433302173.1404.karen
   4 1067127927549.1956.karen
   
   These numbers (1028745740408.1556.karen) are guaranteed not 
  to change 
   between sessions.
   
   
   At 17:48 3/30/2005, Dustin C. Hatch wrote:
   
   Okay, I guess I should clarify what I mean by message ID 
  numbers. PHP 
   downloads the messages over POP3 as you would using telnet. The 
   message IDs that it uses are just like you would using the 
  command line to read mail:
   
   LIST
   +OK 15 70871
   1 5427
   2 1826
   3 16834
   4 4043
   5 3875
   6 2373
   7 15345
   8 1642
   9 3229
   10 2662
   11 3882
   12 3052
   13 3524
   14 1382
   15 1775
   
   The problem is that these IDs do not stay the same if new mail 
   arrives. I may be able to re-write the program to use the 
   Message-ID:  header, if this is unchangeable. If someone 
  has a better suggestion, let me know.
   
   Dustin C. Hatch
   http://www.dchweb.com
   
 On Wed, 30 Mar 2005, Dustin C. Hatch wrote:

 
  I recently developed a webmail client for POP3/POP3S 
  so that I 
  could use native XMail support and webmail. The way 
  the inbox is 
  designed, messages are released in reverse order of their MTA 
  assigned ID number, ie 1 is on the bottom, 2 next, a 
  googol on 
  the top, etc. This worked fine for a while, until I 
  started getting many messages in my inbox.
  Then I started noticing that the messages were no longer 
  arranged in order of their dates. I thought it was no 
  big deal 
  and just modified the code to sort the messages by date after 
  converting them to a UNIX timestamp, etc. This worked for a 
  while. The problem further complicated itself one day while I 
  was reading a message, and, for a reason I now have 
  forgotten, I 
  refrehed the page, and the email changed! A new message had 
  arrived while I was reading and had taken over the 
  old message's 
  ID number. This forced the message I was reading, and all 
  subsequent messages, to increment their IDs.
 
  I was wondering if this is a flaw in XMail, or if that is the 
  way all MTAs work. I have never used anything else, 
  so I don't 
  know if others just generate seemingly random IDs for 
  incoming 
  messages. If it is a flaw, can it be fixed? Because my client 
  fully relies on the message ID number for all functions, like 
  deletion, forwarding, and replying, I need to have 
  messages have constant ID numbers.

 You are aware that POP3 server are not guaranteed to preserve 
 message IDs across session, yes? That's why UIDL have 
  been added 
 to the protocol, and XMail supports it.



 - Davide

 -
 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: Message ID Numbers?

2005-03-31 Thread Dustin C. Hatch

As I said, PHP does the downloading, so I have no control over what command it 
uses. I think I can make my program use the message numbers only once, and 
after that use the UIDL numbers, but I have no control over how they are 
referenced initially by php.

Dustin C. Hatch
http://www.dchweb,com

 As Davide said, those numbers are only valid for the specific POP3 session 
 that you received them in. Future sessions are not guaranteed to have the 
 same numbers for the same messages.
 
 You should use the UIDL numbers. Retrieve them as:
 
 +OK Maildrop has 4 messages (12788 bytes)
 UIDL
 +OK 4
 1 1028745740408.1556.karen
 2 1062432866368.1924.karen
 3 1062433302173.1404.karen
 4 1067127927549.1956.karen
 
 These numbers (1028745740408.1556.karen) are guaranteed not to change 
 between sessions.
 
 
 At 17:48 3/30/2005, Dustin C. Hatch wrote:
 
 Okay, I guess I should clarify what I mean by message ID numbers. PHP 
 downloads the messages over POP3 as you would using telnet. The message 
 IDs that it uses are just like you would using the command line to read mail:
 
 LIST
 +OK 15 70871
 1 5427
 2 1826
 3 16834
 4 4043
 5 3875
 6 2373
 7 15345
 8 1642
 9 3229
 10 2662
 11 3882
 12 3052
 13 3524
 14 1382
 15 1775
 
 The problem is that these IDs do not stay the same if new mail arrives. I 
 may be able to re-write the program to use the Message-ID:  header, if 
 this is unchangeable. If someone has a better suggestion, let me know.
 
 Dustin C. Hatch
 http://www.dchweb.com
 
   On Wed, 30 Mar 2005, Dustin C. Hatch wrote:
  
   
I recently developed a webmail client for POP3/POP3S so that I could use
native XMail support and webmail. The way the inbox is designed,
messages are released in reverse order of their MTA assigned ID number,
ie 1 is on the bottom, 2 next, a googol on the top, etc. This worked
fine for a while, until I started getting many messages in my inbox.
Then I started noticing that the messages were no longer arranged in
order of their dates. I thought it was no big deal and just modified the
code to sort the messages by date after converting them to a UNIX
timestamp, etc. This worked for a while. The problem further complicated
itself one day while I was reading a message, and, for a reason I now
have forgotten, I refrehed the page, and the email changed! A new
message
had arrived while I was reading and had taken over the old message's ID
number. This forced the message I was reading, and all subsequent
messages, to increment their IDs.
   
I was wondering if this is a flaw in XMail, or if that is the way all
MTAs work. I have never used anything else, so I don't know if others
just generate seemingly random IDs for incoming messages. If it is a
flaw, can it be fixed? Because my client fully relies on the message ID
number for all functions, like deletion, forwarding, and replying, I
need to have messages have constant ID numbers.
  
   You are aware that POP3 server are not guaranteed to preserve message IDs
   across session, yes? That's why UIDL have been added to the protocol, and
   XMail supports it.
  
  
  
   - Davide
  
   -
   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: Message ID Numbers?

2005-03-31 Thread Dustin C. Hatch

As I said, PHP does the downloading, so I have no control over what command it 
uses. I think I can make my program use the message numbers only once, and 
after that use the UIDL numbers, but I have no control over how they are 
referenced initially by php.

Dustin C. Hatch
http://www.dchweb,com

 As Davide said, those numbers are only valid for the specific POP3 session 
 that you received them in. Future sessions are not guaranteed to have the 
 same numbers for the same messages.
 
 You should use the UIDL numbers. Retrieve them as:
 
 +OK Maildrop has 4 messages (12788 bytes)
 UIDL
 +OK 4
 1 1028745740408.1556.karen
 2 1062432866368.1924.karen
 3 1062433302173.1404.karen
 4 1067127927549.1956.karen
 
 These numbers (1028745740408.1556.karen) are guaranteed not to change 
 between sessions.
 
 
 At 17:48 3/30/2005, Dustin C. Hatch wrote:
 
 Okay, I guess I should clarify what I mean by message ID numbers. PHP 
 downloads the messages over POP3 as you would using telnet. The message 
 IDs that it uses are just like you would using the command line to read mail:
 
 LIST
 +OK 15 70871
 1 5427
 2 1826
 3 16834
 4 4043
 5 3875
 6 2373
 7 15345
 8 1642
 9 3229
 10 2662
 11 3882
 12 3052
 13 3524
 14 1382
 15 1775
 
 The problem is that these IDs do not stay the same if new mail arrives. I 
 may be able to re-write the program to use the Message-ID:  header, if 
 this is unchangeable. If someone has a better suggestion, let me know.
 
 Dustin C. Hatch
 http://www.dchweb.com
 
   On Wed, 30 Mar 2005, Dustin C. Hatch wrote:
  
   
I recently developed a webmail client for POP3/POP3S so that I could use
native XMail support and webmail. The way the inbox is designed,
messages are released in reverse order of their MTA assigned ID number,
ie 1 is on the bottom, 2 next, a googol on the top, etc. This worked
fine for a while, until I started getting many messages in my inbox.
Then I started noticing that the messages were no longer arranged in
order of their dates. I thought it was no big deal and just modified the
code to sort the messages by date after converting them to a UNIX
timestamp, etc. This worked for a while. The problem further complicated
itself one day while I was reading a message, and, for a reason I now
have forgotten, I refrehed the page, and the email changed! A new
message
had arrived while I was reading and had taken over the old message's ID
number. This forced the message I was reading, and all subsequent
messages, to increment their IDs.
   
I was wondering if this is a flaw in XMail, or if that is the way all
MTAs work. I have never used anything else, so I don't know if others
just generate seemingly random IDs for incoming messages. If it is a
flaw, can it be fixed? Because my client fully relies on the message ID
number for all functions, like deletion, forwarding, and replying, I
need to have messages have constant ID numbers.
  
   You are aware that POP3 server are not guaranteed to preserve message IDs
   across session, yes? That's why UIDL have been added to the protocol, and
   XMail supports it.
  
  
  
   - Davide
  
   -
   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] Message ID Numbers?

2005-03-30 Thread Dustin C. Hatch

I recently developed a webmail client for POP3/POP3S so that I could use native 
XMail support and webmail. The way the inbox is designed, messages are released 
in reverse order of their MTA assigned ID number, ie 1 is on the bottom, 2 
next, a googol on the top, etc. This worked fine for a while, until I started 
getting many messages in my inbox. Then I started noticing that the messages 
were no longer arranged in order of their dates. I thought it was no big deal 
and just modified the code to sort the messages by date after converting them 
to a UNIX timestamp, etc. This worked for a while. The problem further 
complicated itself one day while I was reading a message, and, for a reason I 
now have forgotten, I refrehed the page, and the email changed! A new message 
had arrived while I was reading and had taken over the old message's ID number. 
This forced the message I was reading, and all subsequent messages, to 
increment their IDs.

I was wondering if this is a flaw in XMail, or if that is the way all MTAs 
work. I have never used anything else, so I don't know if others just generate 
seemingly random IDs for incoming messages. If it is a flaw, can it be fixed? 
Because my client fully relies on the message ID number for all functions, like 
deletion, forwarding, and replying, I need to have messages have constant ID 
numbers.

I would appreciate any information regarding this issue.

Thanks in advance,
Dustin C. Hatch
http://www.dchweb.com
-
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: Message ID Numbers?

2005-03-30 Thread Dustin C. Hatch

Okay, I guess I should clarify what I mean by message ID numbers. PHP downloads 
the messages over POP3 as you would using telnet. The message IDs that it uses 
are just like you would using the command line to read mail:

LIST
+OK 15 70871
1 5427
2 1826
3 16834
4 4043
5 3875
6 2373
7 15345
8 1642
9 3229
10 2662
11 3882
12 3052
13 3524
14 1382
15 1775

The problem is that these IDs do not stay the same if new mail arrives. I may 
be able to re-write the program to use the Message-ID:  header, if this is 
unchangeable. If someone has a better suggestion, let me know.

Dustin C. Hatch
http://www.dchweb.com

 On Wed, 30 Mar 2005, Dustin C. Hatch wrote:
 
  
  I recently developed a webmail client for POP3/POP3S so that I could use 
  native XMail support and webmail. The way the inbox is designed, 
  messages are released in reverse order of their MTA assigned ID number, 
  ie 1 is on the bottom, 2 next, a googol on the top, etc. This worked 
  fine for a while, until I started getting many messages in my inbox. 
  Then I started noticing that the messages were no longer arranged in 
  order of their dates. I thought it was no big deal and just modified the 
  code to sort the messages by date after converting them to a UNIX 
  timestamp, etc. This worked for a while. The problem further complicated 
  itself one day while I was reading a message, and, for a reason I now 
  have forgotten, I refrehed the page, and the email changed! A new 
  message 
  had arrived while I was reading and had taken over the old message's ID 
  number. This forced the message I was reading, and all subsequent 
  messages, to increment their IDs.
  
  I was wondering if this is a flaw in XMail, or if that is the way all 
  MTAs work. I have never used anything else, so I don't know if others 
  just generate seemingly random IDs for incoming messages. If it is a 
  flaw, can it be fixed? Because my client fully relies on the message ID 
  number for all functions, like deletion, forwarding, and replying, I 
  need to have messages have constant ID numbers.
 
 You are aware that POP3 server are not guaranteed to preserve message IDs 
 across session, yes? That's why UIDL have been added to the protocol, and 
 XMail supports it.
 
 
 
 - Davide
 
 -
 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: Any good WebMail solutions?

2005-03-03 Thread Dustin C. Hatch
I wrote my own webmail client in PHP 5.0.2.  Uses an ini file to store 
settings like server, SSL, etc.  So far it can only read and compose 
mail.  Working on new features like reply to and forward messages.

Before that, I used Null Webmail.  Works pretty good but is in C and has 
to be compiled.

Dustin C. Hatch
http://www.dchweb.com/



null wrote:

Greetings all,
 I was able to resolve my earlier issue with connection/ management.
So, I am wondering what WebMail solutions anyone would recommend. I'm
initially providing POP3. IMAP will be down the road. So if anyone
could make a/ some suggestion(s). I'd be *very* greatful. The only
one I see mentioned on the home page is nullwebmail. Won't work on
my Windows 2k advanced server box.

Thanks for all your time and consideration in this matter.

--Chris

-
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: Cron Sending Mail

2005-02-09 Thread Dustin C. Hatch
I updated xmail to 1.21 and everything is all good now.  Thanks for all 
your help guys.
Dustin C. Hatch
http://www.dchweb.com/



Sönke Ruempler wrote:

[EMAIL PROTECTED]  wrote on Monday, February 07, 2005 4:49
AM:

  

No, thats not it because sendmail works just fine from php or
from the
command line.  My guess is I am missing a configuration file somewhere
for cron, but i have been googleing all day to no avail
Do you suppose it is possible to install ssmtp as well as
xmail simply
to handle the sendmail stuff?



Please test the sendmail binary from 1.21 - if it does not work, give us
the output from:

# ls -al /usr/sbin/sendmail*
-
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] Cron Sending Mail

2005-02-06 Thread Dustin C. Hatch
This is a little off topic, but I am not sure where it belongs best, and 
because I am sure (almost) everyone here is using vixie-cron and xmail, 
I thought I'd ask.  My problem is cron doesn't send the output of the 
commands it runs.  I am not sure whether I am not doing something right 
or what, but I just don't receive the output as I should.  I only have 
one crontab, namely root's and it does a few simple things at different 
points of time.  To test, i made an entry that runs each minute and 
simply echoes hi

# crontab -e
-
* * * * * echo hi

I watched /var/log/crond/current and saw the cronjob run:

# tail -f /var/log/crond/current

Feb  6 13:29:01 [/usr/sbin/cron] (root) CMD (echo hi)

Shouldn't this email root a message that says hi?  Did I miss a 
configuration setting somewhere?  Is cron confusing the sendmail script?

I know that sendmail works because PHP can access it.  If anyone has any 
suggestions, let me know

--
Dustin C. Hatch
http://www.dchweb.com/
-
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: Cron Sending Mail

2005-02-06 Thread Dustin C. Hatch
Someone wrote a modification to the sendmail script that removes the 
extra parameters.  Here is what I have for /usr/bin/sendmail
# nano /usr/bin/sendmail
-
#!/bin/sh


if [ -z $MAIL_ROOT ]; then
export MAIL_ROOT=/etc/xmail
fi

newargs=`echo $* | sed -e 's/ \-odi//' | sed -e 's/ \-oem//' | sed -e 
's/ \-oi//'`

/usr/sbin/sendmail.xmail $newargs

I do not know if this is the problem because cron is the only program 
that doesn't work.  PHP works fine.

-- 
Dustin C. Hatch
http://www.dchweb.com/



Ceesjan Luiten wrote:

I've had the same problem, I solved my php by using a system call so I 
could manually specify sendmails parameters like this:

exec(echo -e \here your email with headers if you like\ | 
sendmail [EMAIL PROTECTED] [EMAIL PROTECTED]);

For my cron (dillon) I use this script as my /usr/sbin/sendmail 
(/usr/bin/sendmail is linked to it):

--cut--

#!/bin/sh


if [ -z $MAIL_ROOT ]; then
export MAIL_ROOT=/var/MailRoot
fi
if [ -z $DEFAULT_DOMAIN ]; then
export DEFAULT_DOMAIN=qtea.nl
fi

receivers=`echo $* | sed 's/-[^ ]*//g;s/ //g;'`
if [ -z $receivers ]; then
  /usr/sbin/sendmail.xmail $* no-receiver
else
  /usr/sbin/sendmail.xmail $*
fi

--n-paste--

This way all mails without a receiver in the parameter list will get 
mailed to [EMAIL PROTECTED] I suspect the programs don't work because 
XMail's sendmail doesn't accept all parameters (but please correct me if 
I'm wrong)

Quinox

Dustin C. Hatch schrieb:

  

This is a little off topic, but I am not sure where it belongs best, and 
because I am sure (almost) everyone here is using vixie-cron and xmail, 
I thought I'd ask.  My problem is cron doesn't send the output of the 
commands it runs.  I am not sure whether I am not doing something right 
or what, but I just don't receive the output as I should.  I only have 
one crontab, namely root's and it does a few simple things at different 
points of time.  To test, i made an entry that runs each minute and 
simply echoes hi




-
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: Cron Sending Mail

2005-02-06 Thread Dustin C. Hatch
Okay, I modified the /usr/bin/sendmail to contain an export 
DEFAULT_DOMAIN statement, modified smtprelay.tab to include 127.0.0.0 
and 172.16.0.0, changed the crontab from `echo hi` to an 
error-producing `ls /asdf` and added [EMAIL PROTECTED] to 
the top it.  There is nothing in the lmail logs pertaining to this, so 
cron is still not figuring out what to do with the mail.
So, are there any more suggestions?

I am still running 1.20 b/c i haven't had a chance to update the ebuild 
Kevin wrote.  Do you suppose it will do anything by upgrading?


Dustin C. Hatch
http://www.dchweb.com/



Sönke Ruempler wrote:

On Sunday, February 06, 2005 8:47 PM [GMT+1=CET],
Dustin C. Hatch [EMAIL PROTECTED] wrote:

  

Someone wrote a modification to the sendmail script that removes the
extra parameters.  Here is what I have for /usr/bin/sendmail
# nano /usr/bin/sendmail
-
#!/bin/sh


if [ -z $MAIL_ROOT ]; then
   export MAIL_ROOT=/etc/xmail



 export DEFAULT_DOMAIN=yourmaindomain.de

  

fi



Just set the DEFAULT_DOMAIN like above. yourmaindomain.de must have a root 
user or alias. Then it should work.

If not, please check LMAIL logs and read the other hints on this thread. :) 

-
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: Cron Sending Mail

2005-02-06 Thread Dustin C. Hatch
No, thats not it because sendmail works just fine from php or from the 
command line.  My guess is I am missing a configuration file somewhere 
for cron, but i have been googleing all day to no avail
Do you suppose it is possible to install ssmtp as well as xmail simply 
to handle the sendmail stuff?

--
Dustin C. Hatch
http://www.dchweb.com/



Adrian Hicks wrote:

Not sure if the below is any help.

At some point (not sure whether it was with an RPM package or tarball) I=20
had to modify the sendmail script because it was pointing to the XMail=20
sendmail binary in the wrong directory.  Edited the sendmail script to=20
change the path to the XMail binary  things started working properly.

That was with 1.17 or so.


Adrian Hicks


On Mon, 7 Feb 2005 05:31 am, Dustin C. Hatch wrote:
  

Okay, I modified the /usr/bin/sendmail to contain an export
DEFAULT_DOMAIN statement, modified smtprelay.tab to include 127.0.0.0
and 172.16.0.0, changed the crontab from `echo hi` to an
error-producing `ls /asdf` and added [EMAIL PROTECTED] to
the top it.  There is nothing in the lmail logs pertaining to this, so
cron is still not figuring out what to do with the mail.
So, are there any more suggestions?

I am still running 1.20 b/c i haven't had a chance to update the ebuild
Kevin wrote.  Do you suppose it will do anything by upgrading?


Dustin C. Hatch
http://www.dchweb.com/

S=F6nke Ruempler wrote:


On Sunday, February 06, 2005 8:47 PM [GMT+1=3DCET],

Dustin C. Hatch [EMAIL PROTECTED] wrote:
  

Someone wrote a modification to the sendmail script that removes the
extra parameters.  Here is what I have for /usr/bin/sendmail
# nano /usr/bin/sendmail
-
#!/bin/sh


if [ -z $MAIL_ROOT ]; then
  export MAIL_ROOT=3D/etc/xmail


export DEFAULT_DOMAIN=3Dyourmaindomain.de

  

fi


Just set the DEFAULT_DOMAIN like above. yourmaindomain.de must have a
root user or alias. Then it should work.

If not, please check LMAIL logs and read the other hints on this
thread. :)

-
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]

---
[This E-mail was scanned for viruses.]


-
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: SMTP external Auth help

2005-01-28 Thread Dustin C. Hatch
I agree, XMailServer is awesome, but the ability for external SMTP 
authentication gets my vote.  For my setup, users at my main domain are 
also system users and it would be nice if they could change their UNIX 
password and it be updated on their email address too.
Kevin Williams wrote:

Davide,

Last year you tried to help me get this to work. You sent me a patch but 
it didn't solve the problem (something about the domain, perhaps?). I've 
been trying to get this to work for a couple of years now. There is 
plenty of interest and this isn't the first time the request has been posed.

Not that XMailServer isn't awesome, but this would raise it another notch.

Kevin

Davide Libenzi wrote:
  

On Wed, 26 Jan 2005, Chris L. Franklin wrote:




And in my MailRoot/userauth/pop3 i created a '.tab' and put this inside it :
userauth[TAB]/var/MailRoot/bin/Authpam.pl[TAB]@@USER[TAB]@@PASSWD

No big deal pop3 work great. Now my problem is how could I go about getting 
smtp to basicly work the same way ? (part of my problem is i don't find the 
XMail docs (ReadMe) to be all that help full when it comes to this.)

XMail exmaples looks like this :
external  auth-name secretprog-path arg-or-macro

So when i break down the columns I see this:
external: Write external here so that xmail knows to run a external program 
/ script
auth-name : replace this with the smtp auth type cram-md5,login,plain
secret : No clue ???
prog-path : Path to the script or program
arg-or-macro : this can be @@CHALL,@@SECRT, and or @@RFILE

Basicly I've tryed everything I can think of to get this to work like the 
pop3 auth. But i just can seem to grasp Somthing ?
  

XMail has the ability to plug external authentications that works together 
with associated client counterparts. At the moment, there's no way to call 
out like POP3. I'll see how to fit this in, if there is an interest set 
with more than one element ;)


- Davide

-
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]




--
Scanned for viruses by ClamAV
-
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: SMTP external Auth help

2005-01-26 Thread Dustin C. Hatch
I too am wondering this.  I have posted a few messages to this list and 
have not yet received a reply.  I would really like to be able to use 
this feature, but do not know how yet.  If someone has some info worth 
sharing, please let us know.

Dustin C. Hatch
http://www.dchweb.com/

Chris L. Franklin wrote:

Okay So I got pop3 to auth against system account password with a lightly 
modded perl to pam script (some one else wrote and posted to this list).
[Code]
#!/usr/bin/perl
use Authen::PAM;
# arguments: (1)user (2)password
my $username = shift;
my $password = shift;
if($username =~/(.+)[EMAIL PROTECTED]/) {
 $username=$1;
}
$service = passwd;
sub my_conv_func {
  my @res;
  while ( @_ ) {
 my $code = shift;
 my $msg = shift;
 my $ans = ;
 $ans = $username if ($code == PAM_PROMPT_ECHO_ON );
 $ans = $password if ($code == PAM_PROMPT_ECHO_OFF );
 push @res, (PAM_SUCCESS,$ans);
  }
 push @res, PAM_SUCCESS;
 return @res;
}

ref($pamh = new Authen::PAM($service, $username, \my_conv_func)) ||
   die Error code $pamh during PAM init!;

$res = $pamh-pam_authenticate;
exit($res);
[/Code]


And in my MailRoot/userauth/pop3 i created a '.tab' and put this inside it :
userauth[TAB]/var/MailRoot/bin/Authpam.pl[TAB]@@USER[TAB]@@PASSWD

No big deal pop3 work great. Now my problem is how could I go about getting 
smtp to basicly work the same way ? (part of my problem is i don't find the 
XMail docs (ReadMe) to be all that help full when it comes to this.)

XMail exmaples looks like this :
external  auth-name secretprog-path arg-or-macro

So when i break down the columns I see this:
external: Write external here so that xmail knows to run a external program 
/ script
auth-name : replace this with the smtp auth type cram-md5,login,plain
secret : No clue ???
prog-path : Path to the script or program
arg-or-macro : this can be @@CHALL,@@SECRT, and or @@RFILE

Basicly I've tryed everything I can think of to get this to work like the 
pop3 auth. But i just can seem to grasp Somthing ?

Help

-- Chris L. Franklin -- 


-
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] Threads

2005-01-19 Thread Dustin C. Hatch
I know this is pretty far off topic, but why does the thread view (both 
in Thunderbird and the mail archive) confuse threads?  At first I 
thought it was a Thunderbird problem, but then I noticed that the thread 
view on the mail archive was identical.  For example, the first message 
in the CPU use with 1.21 is organized under the Xmail + Imap 
(Non-Courier) Setup message which is under the A question of 
deliverythread.  What is up with that?

Dustin C. Hatch
http://www.dchweb.com/
-
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: Abemus Papam ...

2005-01-11 Thread Dustin C. Hatch
Portage is not specific about what you name your ebuilds, so it would be 
feasible to create two ebuilds, ie xmail-1.21.ebuild and 
xmail_chroot-1.21.ebuild.  The only foreseeable problem with this is if 
you don't unmerge the original chrooted version before installing the 
new chrooted version would be that you would have two ebuilds merged 
onto your system.  This would be a simple problem to correct, using 
portage's package blocker detection.  ie, emerge -p xmail_chroot with 
xmail previously installed would return
# emerge --pretend xmail_chroot

These are the packages I would merge, in order

Calculating dependencies ...done!
[blocks B ] mail-mta/xmail (from pkg mail-mta/xmail_chroot-1.21)
[ebuild  N] mail-mta/xmail_chroot-1.21

Would this be a good solution?  I think it can be done, then Sergey can 
maintain the chroot, and Kevin or whoever wants to can maintain the 
standard.

I do, however like the Gentoo file structure, which doesn't veer too far 
from the documentation, merely replacing $MAIL_ROOT = /var/MailRoot with 
$MAIL_ROOT = /etc/xmail.  I did remove the symlink into /home/xmail as 
that merely confused me :D

Dustin C. Hatch
http://www.dchweb.com


Kevin Williams wrote:

When I introduced the XMail Server ebuild to Gentoo, I tried to achieve 
the same resulting install that one would have if following the 
Readme.html document. This way, the documentation would match one's file 
system. Also, since it was new to Gentoo, I thought following the 
documentation would be a Good Idea.

I don't prefer non-chroot over chroot. I think a chroot-ed server that 
doesn't match the distributed documentation is a poor choice for an 
audience of users who likely have never used the server before. Davide 
specifically addresses his choice of permissions and file locations in 
the documentation, and I don't believe his setup is any less secure than 
he claims.

I also don't agree that the ebuild should do the chroot for you. Most 
other servers in Gentoo don't do that. That is a server setup left to 
the skills of dedicated administrators. I wouldn't mind having two 
ebuilds in Gentoo, as long as it's clear which is which. The 
documentation would have to be changed or appended for the chroot-ed 
version, too.

QuinoX wrote:
  

1) If I may ask, why do you prefer nonchroot over chroot ?
2) If you add a nonchrooted version to portage, will that make my server 
nonchrooted too if I use that ebuild to update? If it does, I guess some 
people will not like that (myself included)

Kevin Williams schrieb:




Feel free to update that ebuild and use it however you like.

Dustin C. Hatch wrote:



  

Has someone created an ebuild for 1.21 yet?  If not, I will create it 
and submit it to gentoo's bugzilla.  Kevin, is it alright if I update 
the ebuild you sent me?  I prefer it to the chrooted version.

Dustin C. Hatch
http://www.dchweb.com/

Davide Libenzi wrote:

  




1.21 it is, at the end:

http://www.xmailserver.org

*snip impressive list of changes snip*

- Davide

-
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]




--
Scanned for viruses by ClamAV
-
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: Log files format

2005-01-11 Thread Dustin C. Hatch
http://xmail.eye-catcher.com/products/XMail/LogFiles/index.asp

Sergio Perrone wrote:

Hello, World !   (Yes: I´ve started with 'K  Ritchie' too)

Can anyone tell me where to find the exact file structure of log files?

Thank you.

Sergio





-
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: Abemus Papam ...

2005-01-10 Thread Dustin C. Hatch
Has someone created an ebuild for 1.21 yet?  If not, I will create it 
and submit it to gentoo's bugzilla.  Kevin, is it alright if I update 
the ebuild you sent me?  I prefer it to the chrooted version.

Dustin C. Hatch
http://www.dchweb.com/

Davide Libenzi wrote:

1.21 it is, at the end:

http://www.xmailserver.org

* Sun Jan 9 2005 Davide Libenzi davidel@xmailserver.org
Added a fix for 64 bits porting compatibility.
Added the ability to exclude filters from execution in case of 
 authenticated user.
By pre-pending the filter command token with a token containing !aex, 
 the filters
won't be run if the user authenticated himself.
Added @@USERAUTH macro even to standard in/out filters (before it was only 
 defined
for SMTP ones).
Added a new NoSenderBounce variable inside the SERVER.TAB file, to enable
XMail generated bounce messages to have the empty SMTP sender ('MAIL 
 FROM:').
Added a new SMTP-MaxErrors variable inside the SERVER.TAB file to set 
 the maximum
errors allowed in a single SMTP session (default zero, unlimited).
Added a LastLoginTimeDate variable to the userstat CTRL command.
Added external aliases support in the CTRL protocol.
The MESSAGE.ID file is now automatically created, if missing.
Changed the logic used to treat domain and user MAILPROC.TAB files. 
 Before, a user's
MAILPROC.TAB was overriding the domain one, while now the rules are merged 
 together,
with domain's ones first, followed by user's ones.
The maximum mailbox size of zero is now interpreted as unlimited.
Fixed XMail's sendmail to detect non-RFC822 data and handle it correctly.
The IP:PORT addresses emission in spool files (and Received: lines) has 
 been changed
to the form [IP]:PORT.
Added filter logging, that is enabled with the new -Qg command line option.
Fixed an error message in the SMTP server, that was triggered by the 
 remote client
not using the proper syntax for the MAIL FROM: and RCPT TO: commands.
Fixed explicit routing through SMTPGW.TAB file.
Fixed a possible problem with file locking that might be triggered from 
 CTRL commands
cfgfileget/cfgfileset.
Added a check to avoid the CTRL server to give an error when a domain 
 created with
older versions of XMail does not have the domain directory inside 
 cmdaliases.
The SMTP server FQDN variable should be set to the value of 
 SmtpServerDomain, when
this is used inside the SERVER.TAB file.



- Davide

-
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: Mysterious Bounce

2004-12-29 Thread Dustin C. Hatch
Wow, thanks.  I was hoping it would be something simple like that.  That 
user has a real problem with spelling.  I'll have to get onto him for that.
Thanks
Dustin C. Hatch
http://www.dchweb.com/

Sönke Ruempler wrote:

Hi, I think the error is here (spelling):

  

Mail From: [EMAIL PROTECTED]



Isn't it? ;-)

  

Rcpt To:   [EMAIL PROTECTED]
Server:smtp.acd.net [207.179.102.146]
=20
=20
[02] The reason of the delivery failure was:
=20
501 5.1.8 Sender domain must have a DNS MX or A/CNAME record.
=20
=20
[04] Here is listed the message log file:
=20
[PeekTime] 1104070313 : Sun, 26 Dec 2004 08:11:53 -0600 
ErrCode   =3D -81
ErrString =3D [MAIL FROM:] not permitted by remote SMTP server
ErrInfo   =3D 501 5.1.8 Sender domain must have a DNS MX or
A/CNAME record.
SMAIL SMTP-Send MX =3D smtp.acd.net. SMTP =3D dchweb.com From
=3D [EMAIL PROTECTED] To =3D [EMAIL PROTECTED] Failed !
SMTP-Error =3D 501 5.1.8 Sender domain must have a DNS MX or A/CNAME
record. SMTP-Server =3D smtp.acd.net.


-
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] SMTP External Authentication

2004-12-28 Thread Dustin C. Hatch
I know, I am probably getting extremely annoying asking all these 
questions, but I still don't understand SMTP external authentication. I 
have successfully set up POP3 external authentication using PAM, but I 
don't know what to put in the /etc/xmail/userauth/smtp/dchweb.com.tab 
file.  Someone said they got it working for an NT Domain Controller. 
Could whoever that was paste me their .tab?  I figure I can modify the 
perl script I use for PAM POP3 authentication, but I don't know how to 
make XMail call it upon SMTP authentication request.

Please Help,
Dustin C. Hatch
http://www.dchweb.com/
-
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] Mysterious Bounce

2004-12-28 Thread Dustin C. Hatch
I received the following bounce a few days back, and don't quite understand 
what it means.  This is what dig returns for that particular hosted domain:

--output from 
dig
[EMAIL PROTECTED] dustin $ dig tchtechnology.com ANY

;  DiG 9.2.3  tchtechnology.com ANY
;; global options:  printcmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 64934
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 3

;; QUESTION SECTION:
;tchtechnology.com. IN  ANY

;; ANSWER SECTION:
tchtechnology.com.  1800IN  SOA ns1.dchweb.com. 
webmaster.dchweb 
..com. 2004111503 21600 3600 604800 1800
tchtechnology.com.  1800IN  NS  ns2.dchweb.com.
tchtechnology.com.  1800IN  NS  ns1.dchweb.com.
tchtechnology.com.  1800IN  MX  10 mail.dchweb.com.
tchtechnology.com.  1800IN  A   64.242.53.181

;; ADDITIONAL SECTION:
ns1.dchweb.com. 1800IN  A   64.242.53.180
ns2.dchweb.com. 1800IN  A   64.242.53.181
mail.dchweb.com.1800IN  A   64.242.53.182

;; Query time: 3 msec
;; SERVER: 172.16.0.1#53(172.16.0.1)
;; WHEN: Tue Dec 28 22:25:04 2004
;; MSG SIZE  rcvd: 209
-end output from 
dig---

Could it be because its MX record points to another domain? I thought that that 
was a legal. Anyway, the bounce message is listed below. Let me know if you 
know anything.

Also, one last thing, why do bounce messages only come to me, the postmaster, 
and not to the user who sent the message as well?

thanks,
Dustin C. Hatch
http://www.dchweb.com/

-bounce 
message--
[00] XMail bounce: [EMAIL PROTECTED];Error=[501 5.1.8 Sender domain must have 
a DNS MX or A/CNAME record.]


[01] Error sending message [1104070313543.6209563.11.omikron] from 
[dchweb.com].

ID:S365
Mail From: [EMAIL PROTECTED]
Rcpt To:   [EMAIL PROTECTED]
Server:smtp.acd.net [207.179.102.146]


[02] The reason of the delivery failure was:

501 5.1.8 Sender domain must have a DNS MX or A/CNAME record.


[04] Here is listed the message log file:

[PeekTime] 1104070313 : Sun, 26 Dec 2004 08:11:53 -0600

ErrCode   = -81
ErrString = [MAIL FROM:] not permitted by remote SMTP server
ErrInfo   = 501 5.1.8 Sender domain must have a DNS MX or A/CNAME record.
SMAIL SMTP-Send MX = smtp.acd.net. SMTP = dchweb.com From = [EMAIL 
PROTECTED] To = [EMAIL PROTECTED] Failed !
SMTP-Error = 501 5.1.8 Sender domain must have a DNS MX or A/CNAME record.
SMTP-Server = smtp.acd.net.






[05] Here is listed the initial part of the message:

X-AV-Scanned: yes  03952be597706fc91520b2881aab9766
X-AuthUser: [EMAIL PROTECTED]
Received: from [172.16.0.149] (172.16.0.149:3464)
by dchweb.com with [XMail 1.20 ESMTP Server]
id S365 for [EMAIL PROTECTED] from [EMAIL PROTECTED];
Sun, 26 Dec 2004 08:11:53 -0600
Message-ID: [EMAIL PROTECTED]
Date: Sun, 26 Dec 2004 08:11:20 -0600
From: TCH Sales [EMAIL PROTECTED]
User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To:  [EMAIL PROTECTED]
Subject: Re: ABS Hookup
References: [EMAIL PROTECTED]
In-Reply-To: [EMAIL PROTECTED]
Content-Type: multipart/mixed;
 boundary=000602030304070806010801

-end bounce 
message--

-
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: HEEELLLLLPPPPPPPPP

2004-11-23 Thread Dustin C. Hatch
Omit -PI 127.0.0.1:995

Yann LE ROCH - Agence CHROM wrote:

Hello Davide
thanks for your response but how to  run XMail w/out extra binding
parameters ??
Thanks
YAnn

-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] la part de Davide Libenzi
Envoye : lundi 22 novembre 2004 20:08
A : [EMAIL PROTECTED]
Objet : [xmail] Re: HEEELP


On Mon, 22 Nov 2004, Yann LE ROCH - Agence CHROM wrote:

  

Hi everybody,
I 've some problem with Stunnel and xmail 1.18
I've installed stunnel via openssl
after installed stunnel i need blind server
i do that
Open a dos console (win 2000 server)
cd C:\Program Files\xmail-1.18\MailRoot\bin\
Xmail.Exe -PI 127.0.0.1:995 enter
I have this message:

xmail -- install
xmail -- remove
xmail -- debug [param]


Start ServiceCtrlDispatcher being called
This make a several seconds. Please wait



Argh!!! You do not have to bind XMail on 995, since stunnel will bind in
there. Just run XMail w/out extra binding parameters ...



- Davide

-
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: SMTP External Authentication

2004-11-19 Thread Dustin C. Hatch
I have one quick question, and then I think I have got it.  When is the 
useredit called from $XMAIL_ROOT/userauth/pop3/domain.tab?  What I am 
planning is to write a script that takes the place of the passwd program 
that calls CtrlClnt to change the password in xmail, which calls said 
file and also changes the system password.  What I need to know is what 
invokes the useredit command in that file.  Will CtrlClnt -s server -u 
user -p password userpass domain username password call it?  If so, I 
think I have figured out this whole external auth thing!
Thanks for all your help,
Dustin C. Hatch

Dustin C. Hatch wrote:

I guess I never thought of that.  That would work great.  The only 
problem is getting the password to two places.  I would have to look 
into the crypt() function, which would mean I need to brush up on my C 
:D  Thanks Davide. 
Dustin C. Hatch

Davide Libenzi wrote:

  

On Wed, 17 Nov 2004, Dustin C. Hatch wrote:

 



I looked further into the docs on SMTP authentication, and they were no 
help.  All I got out of that was external as in another mail server.  My 
question still remains: why does external POP3 authentication not take 
place when sending emails?  It works just fine otherwise, downloading 
messages from the server, but when I try to send a message, then I have 
to use the password in the mailusers.tab file, which defeats the purpose 
of having external authentication in the first place. What am I doing wrong?
   

  

In general, even if XMail support some form of external auth, if it easier 
and more efficent to have the main account repository to trigger a smal 
script using CTRL interface to change the XMail password. This prevent 
XMail to run external commands during each session.


- Davide

-
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: SMTP External Authentication

2004-11-18 Thread Dustin C. Hatch
I guess I never thought of that.  That would work great.  The only 
problem is getting the password to two places.  I would have to look 
into the crypt() function, which would mean I need to brush up on my C 
:D  Thanks Davide. 
Dustin C. Hatch

Davide Libenzi wrote:

On Wed, 17 Nov 2004, Dustin C. Hatch wrote:

  

I looked further into the docs on SMTP authentication, and they were no 
help.  All I got out of that was external as in another mail server.  My 
question still remains: why does external POP3 authentication not take 
place when sending emails?  It works just fine otherwise, downloading 
messages from the server, but when I try to send a message, then I have 
to use the password in the mailusers.tab file, which defeats the purpose 
of having external authentication in the first place. What am I doing wrong?



In general, even if XMail support some form of external auth, if it easier 
and more efficent to have the main account repository to trigger a smal 
script using CTRL interface to change the XMail password. This prevent 
XMail to run external commands during each session.


- Davide

-
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: SMTP External Authentication

2004-11-17 Thread Dustin C. Hatch
I looked further into the docs on SMTP authentication, and they were no 
help.  All I got out of that was external as in another mail server.  My 
question still remains: why does external POP3 authentication not take 
place when sending emails?  It works just fine otherwise, downloading 
messages from the server, but when I try to send a message, then I have 
to use the password in the mailusers.tab file, which defeats the purpose 
of having external authentication in the first place. What am I doing wrong?

Dustin C. Hatch wrote:

I got my external POP3 authentication via PAM, and can check and receive
messages correctly through it, however, do I need to set up a similar
authentication process for SMTP? Currently, it appears as though xmail
is authenticating users with the internal username and password.  I
thought authentication was done with POP3-before-SMTP?  Am I wrong, does
SMTP have its own authentication?  If so, do I need to make an entry in
/etc/xmail/userauth/smtp/dchweb.com.tab using the info in the docs?  I
am so confused :P

Thanks
Dustin C. Hatch



-
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: Xmail 1.8 and SSL

2004-11-17 Thread Dustin C. Hatch
I use stunnel for POP3 encryption but it really does no good on SMTP as 
most clients, ie web mailing contact forms, etc, use port 25 standard 
unencrypted data.  It is very easy to set up.  All you have to do is 
make a pem, put in the appropriate dir and edit the stunnel.conf file to 
tell it to listen on 995 and forward to 110.  Make an init script and 
start it up!

Dustin C. Hatch
http://www.dchweb.com/

Yann LE ROCH - Agence CHROM wrote:

Thanks ,
i will try to understand that
Yann

-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] la part de Kirk Friggstad
Envoye : mercredi 17 novembre 2004 15:48
A : [EMAIL PROTECTED]
Objet : [xmail] Re: Xmail 1.8 and SSL


Hello Yann:

I don't believe that XMail includes any SSL functionality, but you can use a
program like stunnel (http://www.stunnel.org/) that will act as an SSL
gateway to your pop3/smtp services on XMail - have it listen on the SSL-POP3
(995) and/or SSMTP (465) and tunnel the data through to the standard ports
(110/25). Of course, this only really makes sense when you're running
stunnel on the same host as XMail is running on.

Disclaimer - I have never actually set up stunnel for secure POP3/SMTP, but
it looks fairly straightforward to me (famous last words) :-)

Hope this helps.

Kirk

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Yann LE ROCH - Agence CHROM
Sent: Wednesday, November 17, 2004 7:59 AM
To: [EMAIL PROTECTED]
Subject: [xmail] Xmail 1.8 and SSL

Hello ,
i just want to know if it's possible to install an SSL certificat with xmail
1.8
and how...
thanks
Yann

-
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: SMTP External Authentication

2004-11-17 Thread Dustin C. Hatch
Thunderbird is my MUA of choice, and I am not sure what it does to 
authenticate me, but it prompts for a password.  Also, I have null 
webmail, and it does work.  I am going to install ethereal on this box 
and watch as I try to send mail, to see how it connects to the server 
for authentication

Charles Frolick wrote:

Hello Dustin,

Wednesday, November 17, 2004, 6:32:54 AM, you wrote:

DCH I looked further into the docs on SMTP authentication, and they were no
DCH help.  All I got out of that was external as in another mail server.  My
DCH question still remains: why does external POP3 authentication not take
DCH place when sending emails?  It works just fine otherwise, downloading
DCH messages from the server, but when I try to send a message, then I have
DCH to use the password in the mailusers.tab file, which defeats the purpose
DCH of having external authentication in the first place. What am I doing 
wrong?

IT sounds like you are composing then immediately sending, in which
case many MUA's do not POP3 check first, the only option is to let it
stay in the outbox until a full send and recieve, or find a client
that has a setting for POP before SMTP auth for immediate send. I know
The Bat! can do it (http://www.ritlabs.com).

  

-
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] SMTP External Authentication

2004-11-16 Thread Dustin C. Hatch
I got my external POP3 authentication via PAM, and can check and receive
messages correctly through it, however, do I need to set up a similar
authentication process for SMTP? Currently, it appears as though xmail
is authenticating users with the internal username and password.  I
thought authentication was done with POP3-before-SMTP?  Am I wrong, does
SMTP have its own authentication?  If so, do I need to make an entry in
/etc/xmail/userauth/smtp/dchweb.com.tab using the info in the docs?  I
am so confused :P

Thanks
Dustin C. Hatch



-
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: External Authentication

2004-11-09 Thread Dustin C. Hatch
I have done that before, in the script just before the exit 0; I had 
touch /tmp/test.auth.  The file would get created.  I had to reformat my 
system two days ago because for some reason xmail had chowned my entire 
directory tree to itself, so I haven't got xmail installed yet to tell 
you for sure if it works.  I will let you know when I do.  In the 
meantime, is there anything you suggest?
Davide Libenzi wrote:

On Thu, 4 Nov 2004, Dustin C. Hatch wrote:

  

##/etc/xmail/userauth/pop3/dchweb.com.tab##
userauth   /usr/local/bin/go.pl
##/usr/local/bin/go.pl##
exit 0;

$ telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK [EMAIL PROTECTED] [XMail 1.20 POP3 Server] service 
ready; Thu, 4 Nov 2004 18:36:03 -0600
USER asdf
+OK Password required for [EMAIL PROTECTED]
PASS asdf
-ERR Invalid auth or access denied

Because my perl script always returns 0, shouldn't XMail let me in no 
matter what username/password I use?



Does the auth module gets executed at all? Try to log something to a file 
from there.



- Davide

-
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: External Authentication

2004-11-07 Thread Dustin C. Hatch
Shouldn't XMail accept the 0 as successful authentication all the time, 
regardless of the user and password?
Dustin C. Hatch wrote:

##/etc/xmail/userauth/pop3/dchweb.com.tab##
userauth   /usr/local/bin/go.pl
##/usr/local/bin/go.pl##
exit 0;

$ telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK [EMAIL PROTECTED] [XMail 1.20 POP3 Server] service 
ready; Thu, 4 Nov 2004 18:36:03 -0600
USER asdf
+OK Password required for [EMAIL PROTECTED]
PASS asdf
-ERR Invalid auth or access denied

Because my perl script always returns 0, shouldn't XMail let me in no 
matter what username/password I use?

Davide Libenzi wrote:

  

On Wed, 3 Nov 2004, Dustin C. Hatch wrote:

 



I seem to be having some trouble with external POP3 authentication.  
Theoretically, if I have a script that starts and immediately returns 0, 
all authentication requests should be accepted, right?  Or am I missing 
something?  I am terribly sorry for this n00b-like question, but this is 
my first attempt at external auth, so please bear with me.
   

  

How did you set it up and what is the content of your files?


- Davide

-
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: External Authentication

2004-11-04 Thread Dustin C. Hatch
##/etc/xmail/userauth/pop3/dchweb.com.tab##
userauth   /usr/local/bin/go.pl
##/usr/local/bin/go.pl##
exit 0;

$ telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK [EMAIL PROTECTED] [XMail 1.20 POP3 Server] service 
ready; Thu, 4 Nov 2004 18:36:03 -0600
USER asdf
+OK Password required for [EMAIL PROTECTED]
PASS asdf
-ERR Invalid auth or access denied

Because my perl script always returns 0, shouldn't XMail let me in no 
matter what username/password I use?

Davide Libenzi wrote:

On Wed, 3 Nov 2004, Dustin C. Hatch wrote:

  

I seem to be having some trouble with external POP3 authentication.  
Theoretically, if I have a script that starts and immediately returns 0, 
all authentication requests should be accepted, right?  Or am I missing 
something?  I am terribly sorry for this n00b-like question, but this is 
my first attempt at external auth, so please bear with me.



How did you set it up and what is the content of your files?


- Davide

-
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: PAM Authentication Perl Script

2004-10-31 Thread Dustin C. Hatch
Well, I finally figured out how to make the script correctly 
authenticate users, but it doesn't appear to be returning the correct 
value to xmail.  In my /etc/xmail/userauth/pop3/dchweb.com.tab file I 
call the script.  I know the script runs, because I modified it to echo 
the value pam returns into a file in /tmp.  If I try to log in, the file 
gets created and either 0 or 7 is echoed into it.  Either way, xmail 
says access denied.  I don't know much about perl, and I don't know how 
to control scripts' exit values, so I am not sure if the script is 
actually returning 0 to xmail.  Anyone else use the script yet?  Have 
you gotten it to work?  Please help me out a bit here if you can.
Dustin C. Hatch

Kevin Williams wrote:

Dustin,

This script is certainly something I slapped together from the 
Authen::PAM docs. My Perl skills are anything but. ;) The script should 
return the return code from PAM, but your shell may translate that 
return code to another number.

I wish I could be more help, but this is one of those times where I got 
lucky without understanding the code I wrote. I'm sure there are others 
who could improve the script if they feel like it.

Kevin

P.S. The Authen::PAM docs describe quite a few other functions which 
would make the script much more robust.
--
Get Firefox!
http://www.spreadfirefox.com/?q=affiliatesamp;id=26755amp;t=1

Dustin C. Hatch wrote:
  

I am trying Kevin Williams's perl srcipt for external user 
authentication, and for a test, I have modified it to print the output 
number from the pam module, but it prints 7.  According to make test, 7 
is authentication failure.  Kevin, what am I doing wrong?  Also, for 
anybody, how would I tell xmail to go on to use internal authentication 
if this perl script fails?

Dustin C. Hatch
-
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] PAM Authentication Perl Script

2004-10-30 Thread Dustin C. Hatch
I am trying Kevin Williams's perl srcipt for external user 
authentication, and for a test, I have modified it to print the output 
number from the pam module, but it prints 7.  According to make test, 7 
is authentication failure.  Kevin, what am I doing wrong?  Also, for 
anybody, how would I tell xmail to go on to use internal authentication 
if this perl script fails?

Dustin C. Hatch
-
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] More on the Gentoo Ebuild

2004-10-29 Thread Dustin C. Hatch
Kevin, would you send me a copy of your ebuild for XMail 1.20.  This one 
in portage really sucks.  I don't like the chroot and the port 
redirects.  If yours doesn't do that stuff, could you send it to me?   
Thanks

Dustin C. Hatch
-
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: Gentoo ebuild?

2004-09-28 Thread Dustin C. Hatch
What is wrong with it?
Kevin Williams wrote:

It's not a stability issue, it's an ego problem. I wrote the original 
ebuild (bugs.gentoo.org) and someone else came in and raped it. The 
portage maintainers put the other guy's ebuild into Portage.

Dustin C. Hatch wrote:
  

I just noticed that 1.20 is in portage as ~x86.  Seems to be stable for 
me...
Dustin

Kevin Williams wrote:




I use my own ebuild for xmail, as the one in portage doesn't work for me.

You can submit a bug report to ask for a version bump.


Dustin C. Hatch wrote:



  

Is anyone maintaining the Gentoo ebuild mail-mta/xmail-* ebuild?  It 
still shows xmail-1.16 as the most current version.

Dustin
-
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]



[xmail] Gentoo ebuild?

2004-09-25 Thread Dustin C. Hatch
Is anyone maintaining the Gentoo ebuild mail-mta/xmail-* ebuild?  It 
still shows xmail-1.16 as the most current version.

Dustin
-
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: Use both System and Nonsystem us ers?

2004-09-21 Thread Dustin C. Hatch
You should post it on the Internet, that could be a useful script.  Send 
it my way :P
[EMAIL PROTECTED] wrote:

I'm interested in that.
And also if you would agree if it were shipped with debian

  

I've got a PAM authentication script written in Perl, if you're
interested.


ïÈÉÔÉÎ òÕÓÌÁÎ wrote:


Hi Dustin!

I think it's possible with external pop3 auth.
You need to write script that first authenticate pop3 user with =
/etc/passwd
and if it fails, use CtrlClnt to authenticate with mailusers.tab .

External pop3 auth well described in xmail manual.
I use it to authenticate xmail users in samba domain.

--
Ruslan Ohitin

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
=
On
Behalf Of Dustin C. Hatch
Sent: Tuesday, September 21, 2004 10:57 AM
To: [EMAIL PROTECTED]
Subject: [xmail] Use both System and Nonsystem users?


Would it be possible for xmail to use both its internal
authentication=20
file and the /etc/passwd and /etc/shadow files to authenticate users.  I
=

would like all of my system users to have an email address and also
for=20
there to be non-system users under each of these, for example

joeblow # system user, able to log in, etc
 - jimblow   # These users can't log in, not on system, only in
xmail's=20
authentication
 - janeblow #

What I have now is an xmail user that corresponds with each system user,
=

but the passwords are not the same if only one is changed.  It really=20
isn't a problem, I just wanted to know if there was a better way to
do=20
it.  I have considered using sendmail, but I am not sure if it can do=20
both either.

Let me know if you think of anything
-
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]



[xmail] Use both System and Nonsystem users?

2004-09-20 Thread Dustin C. Hatch
Would it be possible for xmail to use both its internal authentication 
file and the /etc/passwd and /etc/shadow files to authenticate users.  I 
would like all of my system users to have an email address and also for 
there to be non-system users under each of these, for example

joeblow # system user, able to log in, etc
 - jimblow   # These users can't log in, not on system, only in xmail's 
authentication
 - janeblow #

What I have now is an xmail user that corresponds with each system user, 
but the passwords are not the same if only one is changed.  It really 
isn't a problem, I just wanted to know if there was a better way to do 
it.  I have considered using sendmail, but I am not sure if it can do 
both either.

Let me know if you think of anything
-
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: TCP Error: Connection is forcefully rejected(10061)

2004-05-18 Thread Dustin C. Hatch
Xmail is not running or you have the administrative port blocked

ck wrote:

Hi,

In XMail Administrator - 0.25

Connect error:

   TCP Error: Connection is forcefully rejected(10061)


Thanks.


-
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: are there any good docs on the log file formats?

2004-05-02 Thread Dustin C. Hatch
http://xmail.eye-catcher.com/products/XMail/LogFiles/index.asp for log 
descriptions.

DigitalPitstop wrote:

Looking for some good docs on log file formats.

Also does email going to cust domains also go through filters?


-
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] Proxy?

2004-04-28 Thread Dustin C. Hatch
I was wondering if it would be possible to set a proxy on XMail. I need 
this because my incoming and outgoing IP addresses are different, and 
the outgoing doesn't have an MX record on it. I cannot change this 
because it is not within my control. I figure if I set up a proxy so 
XMail reports its IP address as something with an MX record, then I may 
be able to get around this.

Let me know of any suggestions
Dustin C. Hatch
DCH Computer Website / DCHGames (Soon to be Gyrfalcon Games!)
http://www.dchweb.com / http://games.dchweb.com

-
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: Proxy?

2004-04-28 Thread Dustin C. Hatch
What I had planned to do was use a proxy so that XMail reports its IP 
Address as an IP address within my control. I have the server, I just 
need to be able for XMail to connect through it
Davide Libenzi wrote:

On Wed, 28 Apr 2004, Dustin C. Hatch wrote:

  

I was wondering if it would be possible to set a proxy on XMail. I need 
this because my incoming and outgoing IP addresses are different, and 
the outgoing doesn't have an MX record on it. I cannot change this 
because it is not within my control. I figure if I set up a proxy so 
XMail reports its IP address as something with an MX record, then I may 
be able to get around this.



If you cannot control this, it's unlikely that you can do somthing like 
that.



- Davide

-
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] SMTP Retries

2004-04-14 Thread Dustin C. Hatch
How do I set the number of retries for sending a message, or how do I
set how long to retry? Apparently it is currently set to about 45
attempts? Is there some way to change this? It takes almost a day for me
to receive errors, and I'd like to set it to the RFC recommendation of 5
minutes.




-
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] POP3/SMTP user names

2004-01-18 Thread Dustin C. Hatch
I was wondering if it is at all possible to allow users to login without 
the @domain.tld part of their user name.  I was wondering this because 
Netscape Messenger 4.7 does not allow users to append that to their user 
name, and therefore xmail always returns the access denied error.

Any Ideas?

-
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: POP3/SMTP user names

2004-01-18 Thread Dustin C. Hatch
Is that the only workaround, I cannot just omit that part?

Davide Libenzi wrote:

On Sun, 18 Jan 2004, Dustin C. Hatch wrote:

  

I was wondering if it is at all possible to allow users to login without 
the @domain.tld part of their user name.  I was wondering this because 
Netscape Messenger 4.7 does not allow users to append that to their user 
name, and therefore xmail always returns the access denied error.



You can use ':' instead of '@'



- Davide


-
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: Problem with XMail

2004-01-07 Thread Dustin C. Hatch
That was it, chabral, it was a lot of spammers, 5 or 6 I think.  Okay, 
How do I enable auth for smtp? Im sure it is in the docs, but it never 
hurts to ask :P anyway, I am going to set up a spammers.tab and possible 
restrict smtp to local addresses if possible. Any more thoughts?
chabral wrote:

Dustin C. Hatch [EMAIL PROTECTED] wrote:
  

I don't have time right now to run XMail in debug mode, but tomorrow,
i will certainly post everythign that I recieve.  I think that it iw a
worthy note that back when I was using windows, Norton would pop an
error every once in a while whil delivering these messages I told you
about, saying that mail could not be delivered. Usually, the addresss
that it specified did not exist was some random word or phrase at



A few options:
- Maybe your server is being used as a relay for spammers?
- Do you have any antivirus or filter that can be consuming so much cpu?
- After enable logging, send a test message and check the logs under
MailRoot/logs
- Try sniffing the network and see what packets are being sent/received
by the xmail

good luck,

chabral

-
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: Problem with XMail

2004-01-07 Thread Dustin C. Hatch
okay blocked spammers from smpt, but what about smail?
Dustin C. Hatch wrote:

Anyone know how to enable smtp auth?
Dustin C. Hatch wrote:

  

That was it, chabral, it was a lot of spammers, 5 or 6 I think.  Okay, 
How do I enable auth for smtp? Im sure it is in the docs, but it never 
hurts to ask :P anyway, I am going to set up a spammers.tab and possible 
restrict smtp to local addresses if possible. Any more thoughts?
chabral wrote:

 



Dustin C. Hatch [EMAIL PROTECTED] wrote:


   

  

I don't have time right now to run XMail in debug mode, but tomorrow,
i will certainly post everythign that I recieve.  I think that it iw a
worthy note that back when I was using windows, Norton would pop an
error every once in a while whil delivering these messages I told you
about, saying that mail could not be delivered. Usually, the addresss
that it specified did not exist was some random word or phrase at
  

 



A few options:
  - Maybe your server is being used as a relay for spammers?
  - Do you have any antivirus or filter that can be consuming so much cpu?
  - After enable logging, send a test message and check the logs under
MailRoot/logs
  - Try sniffing the network and see what packets are being sent/received
by the xmail

  good luck,

chabral

-
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] Problem with XMail

2004-01-06 Thread Dustin C. Hatch
I am having a problem with the Xmail server.  When the server is 
started, I cannot login to pop3 smtp or ctrl, and I know it is running, 
because the top command shows it.  It is always an active process, and 
consumes about 8-10% of my processor and about 1-2% of my memory.  It 
causes my hard drive to be active all the time, and it is hard to use 
the system because of the drastic slow-down.  I have enabled logging in 
the xmail script in the init.d folder, but no logs are ever created, ls 
on the logs folder always returns nothing.

-
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: Problem with XMail

2004-01-06 Thread Dustin C. Hatch
Yes running from the command line, no debug mode, didn't even kno it 
existed :P Could you help me in that area?
Jeffrey Laramie wrote:

Dustin C. Hatch wrote:

  

I am having a problem with the Xmail server.  When the server is 
started, I cannot login to pop3 smtp or ctrl, and I know it is running, 
because the top command shows it.  It is always an active process, and 
consumes about 8-10% of my processor and about 1-2% of my memory.  It 
causes my hard drive to be active all the time, and it is hard to use 
the system because of the drastic slow-down.  I have enabled logging in 
the xmail script in the init.d folder, but no logs are ever created, ls 
on the logs folder always returns nothing.

 




Did you try running it from the command line in debug mode?

Jeff


-
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: Problem with XMail

2004-01-06 Thread Dustin C. Hatch
Okay, so When I get into debug mode, what do I do? NOTE:  Logs 
apparently do not function, no file is ever created, even with logging 
enabled.
Jeffrey Laramie wrote:

Dustin C. Hatch wrote:

  

Yes running from the command line, no debug mode, didn't even kno it 
existed :P Could you help me in that area?
 




Sure, try this:

export MAIL_ROOT=/var/MailRoot
/var/MailRoot/bin/XMail -Md -Pl -Sl -Fl -Cl -Ll

||This will start XMail in debug mode and enable logging. Note that the 
2nd letter in the switches is a lowercase L.

Jeff


-
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: Problem with XMail

2004-01-06 Thread Dustin C. Hatch
Yes, and there should be activity to log, I have sent messages through 
the server, and used XMail Administrator to access ctrl, but still no 
logs. I thought it might be relavant to say that when the server ran 
windows, Norton Antivirus kept notifying me that it was scanning 
outgoing messages CONSTANTLY. Hundreds of messages were being send per 
minute, and when I would stop XMail, so would the activity.
Jeffrey Laramie wrote:

Dustin C. Hatch wrote:

  

Okay, so When I get into debug mode, what do I do? NOTE:  Logs 
apparently do not function, no file is ever created, even with logging 
enabled.
 




Are you having the same problems as before with XMail using lots of 
resources? The logs won't be created until there's activity to log. Try 
to use CtrlClnt to add a user to your root domain and then send that 
user a test message. If you have problems try to figure it out from the 
console output. I'm not an expert on debug output but if you don't get 
anywhere post the output to the list and maybe someone else can help.

Jeff


-
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]