[xmail] Re: Problem with integration of Asterisk PBX and XMail...

2006-02-08 Thread Leonardo Fogel


--- Larry Azlin wrote:

 But when I have it used sendmail, I don't
 receive the email (in FireFox). 

Hi.
Please, try to run the following from the shell and
report the results:

   $ export MAIL_ROOT=your mail root dir
   $ $MAIL_ROOT/bin/sendmail -f sender -t
   To: recipient
   Subject: a simple test

   just a simple test
   .

(Note the trailing dot.) The message just a simple
test must be sent to recipient.

 I've checked the smail log file, and
 there is no entry when
 Asterisk invokes sendmail.

The log file for sendmail is lmail-*

 Perhaps the email message isn't correctly
 formed for XMail's version of sendmail?
 If so, how can I verify that's the problem?

If you use the -t option, sendmail will expect an
RFC2822 message from the standard input, as the
example above, followed by a trailing dot.

Hope it helps.
Regards.



___
Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora!
http://br.acesso.yahoo.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: Error messages returned to sender replicated

2006-01-24 Thread Leonardo Fogel


--- Jeff Buehler wrote:

 
 From: buehlertech.net PostMaster
 [EMAIL PROTECTED]
 Sent: Friday, January 20, 2006 2:49 PM
 To: Jeff Buehler
 Subject: Error sending message

[1137780666750.135234560.3ee.banshee.buehlertech.net]
 from [buehlertech.net]
 
 (...)
 
 
 
 From: buehlertech.net PostMaster
 [EMAIL PROTECTED]
 Sent: Friday, January 20, 2006 2:25 PM
 To: Jeff Buehler
 Subject: Error sending message

[1137780666750.135234560.3ee.banshee.buehlertech.net]
 from [buehlertech.net]
 


I still use XMail 1.21 but I hardly believe what I am
going to say has been changed in XMail 1.22.

1) I could find only one difference between the two
errors: the Sent header. However, XMail 1.21 does not
include a Sent header; it includes a Date header.
Besides that, it uses the RFC 2822 compliant date
string; not a locale's date like those.

2) XMail 1.21 includes other headers (X-MessageId,
X-SmtpMessageId, X-MailerServer, X-MailerError...)
which are not presented in those errors. As I could
see from the source code of 1.22, the same headers are
included.

3) I miss the PeekTimes, section [04] of the error.
Again, I could find them in the source code of 1.22.

So, those error messages were probably re-generated by
other MTA.


Hope it helps.
Regards.








___ 
Yahoo! doce lar. Faça do Yahoo! sua homepage. 
http://br.yahoo.com/homepageset.html 

-
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 on Ubuntu

2006-01-11 Thread Leonardo Fogel


--- Thomas Bresson wrote:

 
 I am able to logon to the mailserver with the user
 accounts I've made, but sending mail or recieving
 mail is impossible. I made a test mailing between
 the accounts, nothing happend. Also I made a test
 by mailing from outside to an account on my
 domain. Several days later I got an error from the
 SysAdmin that there was a timeout. I am able to do
 a telnet connection to the mailserver port though.

Hi.
Take a look on the logs: $XMAIL_ROOT/logs/
They'll give some hints.

Regards.









___ 
Yahoo! doce lar. Faça do Yahoo! sua homepage. 
http://br.yahoo.com/homepageset.html 

-
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: Command line mailer problems

2006-01-09 Thread Leonardo Fogel


--- Adrian Hicks wrote:

 Yes as Leonardo has stated I can use the sendmail
 command in XMail. However this will only work on
 the XMail machine; if I send a message from
 another server using the mail utility the problem
 still exists.

In the hope to be of help, I submit a bash script you
can use to send mail from any machine. I use it to
send the status of the soft RAID (/proc/mdstat) in our
VPN:

begin ---

   #! /bin/bash

   ENV1=HELO vpn\r\n\
   MAIL FROM: \r\n\
   RCPT TO: [EMAIL PROTECTED]\r\n\
   DATA\r\n\
   From: [EMAIL PROTECTED]\
   To: Lista-Rede [EMAIL PROTECTED]\r\n\
   Subject: Status do RAID na VPN\r\n\
   \r\n

   ENV2=.\r\n\
   QUIT\r\n

   (echo -ne $ENV1; cat /proc/mdstat; \
   echo -ne $ENV2; sleep 3)  /dev/tcp/xmail/smtp

end ---

You can add/change anything, including the return-path
(currently empty because I don't want a reply). If you
don't like the last line, you can change it to:

   echo -ne $ENV2; sleep 3) | nc xmail 25

Regards.








___ 
Yahoo! doce lar. Faça do Yahoo! sua homepage. 
http://br.yahoo.com/homepageset.html 

-
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: xanti3 where?

2006-01-09 Thread Leonardo Fogel


--- Rosario Pingaro wrote:

 If it is not aveilable what is in your opinion the
 best av filter for linux?

Hi.
I use ClamAV and the post-data filter:

   #! /bin/bash
   # Parametros: @@FILE

   if ! OUT=`/usr/local/bin/clamdscan --no-summary $1`
   then
  echo 554 Message rejected by antivirus
filter:\
 ${OUT/*: /}  $1.rej
  exit 3
   fi

   exit 0

But it has some flaws:
http://www.mail-archive.com/xmail@xmailserver.org/msg13575.html
http://www.mail-archive.com/xmail@xmailserver.org/msg13576.html

Regards.








___ 
Yahoo! doce lar. Faça do Yahoo! sua homepage. 
http://br.yahoo.com/homepageset.html 

-
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: Command line mailer problems

2006-01-06 Thread Leonardo Fogel


--- Adrian Hicks wrote:

  The options are as follows:
 
  -a  Specify additional header fields on the
 command line such as X-Loop: [EMAIL PROTECTED] etc.

Hi.
(This option really doesn't exist in the mail v.8.1.1
included in Fedora Core 4.)
The From _header_ field, which is part of the
message, isn't relevant to the MTA. (Novell's
GroupWise is one of the few exceptions to that rule.)
You need to set the Return-Path (MAIL FROM) _envelope_
field, which is not part of the message and,
therefore, cannot be set with -a. Does the mail
utility have an option or environment variable to set
the Return-Path?

I strongly recomend that you use XMail's sendmail.

Regards.









___ 
Yahoo! doce lar. Faça do Yahoo! sua homepage. 
http://br.yahoo.com/homepageset.html 

-
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: Command line mailer problems

2006-01-05 Thread Leonardo Fogel


--- Adrian Hicks wrote:

 This script uses the mail utility and includes an
 extra header for the sender (see below):
 
 begin ---
 mail -s Spam? / Request for mail access -a From:
 [EMAIL PROTECTED]  
 $fromsender  /var/MailRoot/filters/htmlreply.msg
 end ---
 

I don't know Debian nor mail, but the mail's manual
included in Fedora Core 4 doesn't document the -a
flag, neither does the utility accept it.


 And the bounces I get show that the recipient's
 server also sees [EMAIL PROTECTED] rather than the
 address I specify (see below).
 
 begin ---
 [00] XMail bounce:
 [EMAIL PROTECTED];Error=[501 Syntax 
 error in parameters or arguments]
 
 
 [01] Error sending message 
 [1136437219344.2899659696.c5.merlin.auston.com] from
 [sing.auston.com].
 
 ID:L117A08
 Mail From: [EMAIL PROTECTED]
 Rcpt To:   [EMAIL PROTECTED]
 Server:mta-v26.level3.mail.yahoo.com
 [64.156.215.18]
 
 [02] The reason of the delivery failure was:
 
 501 Syntax error in parameters or arguments
 end ---
 

Yahoo does not accept messages from (return-path)
[EMAIL PROTECTED]:

$ telnet mx1.mail.yahoo.com 25
S 220 mta208.mail.mud.yahoo.com ESTMP YStmp service
ready
C HELO HELO
S 250 mta208.mail.mud.yahoo.com
C MAIL FROM:[EMAIL PROTECTED]
S 501 Syntax error in parameters or arguments


Do you know the XMail's sendmail
(http://www.xmailserver.org/Readme.html#sendmail)? It
can replace mail.

Hope it helps.
Regards








___ 
Yahoo! doce lar. Faça do Yahoo! sua homepage. 
http://br.yahoo.com/homepageset.html 

-
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: help! spammers can still send thru my xmail even if open relay is closed!

2006-01-04 Thread Leonardo Fogel


--- garlic breath wrote:

 I dunno how they do itopen relay is closed since
 I have the only entries
 in my smtprelay.tab are 127.0.0.1  255.0.0.0 and
 192.168.0.0 255.255.0.0
 
 any ideas?
 

Hi.
_Maybe_ a virus, adware etc. in a workstation in your
LAN is sending those messagens. Did you check their
source IP?

Regards.








___ 
Yahoo! doce lar. Faça do Yahoo! sua homepage. 
http://br.yahoo.com/homepageset.html 

-
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 messages using [EMAIL PROTECTED]

2005-12-23 Thread Leonardo Fogel


--- Adrian Hicks wrote:

 The sender of 
 the error message is [EMAIL PROTECTED], not
 [EMAIL PROTECTED]
 

Hi.

Did you set the postmaster address?:
http://www.xmailserver.org/Readme.html#server_tab_variables

Regards.








___ 
Yahoo! doce lar. Faça do Yahoo! sua homepage. 
http://br.yahoo.com/homepageset.html 

-
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] Local domain and heading dot

2005-12-22 Thread Leonardo Fogel

Hi.

Mail loop detected sending message from
[EMAIL PROTECTED] to [EMAIL PROTECTED] (please, note
the heading dot):

   [00] XMail bounce: [EMAIL PROTECTED];
   Error=[Mail loop detected]

   [01] Error sending message
   [1135250773994.2355100592.5d26c.xmail.my.domain]
   from [my.domain].

   ID:S102AD95
   Mail From: [EMAIL PROTECTED]
   Rcpt To:   [EMAIL PROTECTED]

   ...


Please, is not the sender supposed to receive a copy
of this error? The above bounce was sent to postmaster
only.

More info:

   [EMAIL PROTECTED] ~]# dig mx .my.domain
   dig: '.my.domain' is not a legal name (empty label)


Tcpdump shows XMail removes the heading dot before
consulting the dns:

   [EMAIL PROTECTED] ~]# tcpdump -p host dns

   ... xmail.56495  dns.domain: 53371+ MX? my.domain.
(30)
   ... dns.domain  xmail.56495: 53371* 1/1/2 MX
   xmail.my.domain. 10 (103)
   ... xmail.56495  dns.domain: 64940+ A?
xmail.my.domain. (36)


But caches it:

   [EMAIL PROTECTED] ~] cat dnscache/mx/8/.my.domain:
   3600
   10:xmail.my.domain.


We still use XMail v1.21 on Fedora Core 3, but I have
got the same results with v1.22 on Fedora Core 4.

Regards.








___ 
Yahoo! doce lar. Faça do Yahoo! sua homepage. 
http://br.yahoo.com/homepageset.html 

-
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] deny access to mailing lists

2005-12-14 Thread Leonardo Fogel

Hi.
We have decided that only local users should be
allowed to send e-mails to local mailing lists, i.e.,
non-local users must not send e-mails to mailing
lists. In simpler words: users that are not allowed to
relay must not be allowed to send e-mails to local
mailing lists.
As all mailing lists must be open (ClosedML=0), we
have implemented a filter to block (based on the
source IP) those kind of e-mails.

In order to improve the process, we are now testing a
very simple patch to SMTPSrv.cpp (v 1.21) which denies
access to mailing lists during the SMTP session. I
would appreciate very much any considerations you may
have about this idea and the patch, which follows this
message. 

Thanks in advance.
Regards.

--- SMTPSvr.cpp 2005-12-14 10:05:07.718125752 -0200
+++ SMTPSvr.new.cpp 2005-12-14 10:04:48.557038680
-0200
@@ -1638,10 +1638,11 @@

///
 //  Check if client can post to this mailing list

///
-   if (UsrMLCheckUserPost(pUI, 
SMTPS.pszFrom,
+   if ((SMTPCheckRelayCapability(SMTPS,
szDestDomain)  0)
+   || (UsrMLCheckUserPost(pUI, 
SMTPS.pszFrom,
   
IsEmptyString(SMTPS.
 
szLogonUser) ? NULL :
-  
SMTPS.szLogonUser)  0) {
+  
SMTPS.szLogonUser)  0)) {
ErrorPush();
UsrFreeUserInfo(pUI);













___ 
Yahoo! doce lar. Faça do Yahoo! sua homepage. 
http://br.yahoo.com/homepageset.html 

-
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: Local domain and trailing dot

2005-12-14 Thread Leonardo Fogel

 domain.net. is not recognized as local, which
 leads to a mail loop. Can anybody confirm this?

Hi.
I have already faced the same problem. I just added an
alias domain: domain.net domain.net..

Regards.









___ 
Yahoo! doce lar. Faça do Yahoo! sua homepage. 
http://br.yahoo.com/homepageset.html 

-
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: messages to yahoo and or hotmail does not get del ivered

2005-09-06 Thread Leonardo Fogel


--- Edinilson J. Santos wrote:

 I found that, for some strange reason, our gateway
 (using freebsd) was 
 configured to use path mtu discovery
 (net.inet.tcp.path_mtu_discovery=1).
 After disabling this option to
 net.inet.tcp.path_mtu_discovery=0 all emails 
 to hotmail.com and msn.com are, now, being sended
 DIRECTLY by Xmail.

Hi.
Are you sure!? Haven't you ever tried telnet - telnet
mx1.hotmail.com smtp - from the xmail server? If the
problem was the gateway, both xmail and telnet would
fail!

Regards.







___ 
Yahoo! Messenger com voz: PROMOÇÃO VOCÊ PODE LEVAR UMA VIAGEM NA CONVERSA. 
Participe! www.yahoo.com.br/messenger/promocao
-
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: messages to yahoo and or hotmail does not get delivered

2005-09-01 Thread Leonardo Fogel

Although yahoo.com has 4 mx records and each mx record
has 4 A records:

   yahoo.com.   ... MX   1 mx1.mail.yahoo.com.
   yahoo.com.   ... MX   5 mx4.mail.yahoo.com.
   ...
   mx1.mail.yahoo.com.   ... A   67.28.113.10
   mx1.mail.yahoo.com.   ... A   67.28.113.11
   ...
   mx4.mail.yahoo.com.   ... A   66.218.86.156

xmail tries only one A record for each mx record, in
case of successive failures. This is by design.

Please, is it an RFC recommendation? I understand the
multiple A records are intended to provide load
balance, but what is an mta supposed to do in case of
failure? Shouldn't it try all A records till success?

Many thanks.

__
Converse com seus amigos em tempo real com o Yahoo! Messenger 
http://br.download.yahoo.com/messenger/ 
-
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: Post data filter

2005-08-30 Thread Leonardo Fogel


--- Matic wrote:

 Is the filters.post-data.tab the right place to put
 in a virus scanner?

Hi.
I think so. I think it is the right place because
XMail will close the session imediatelly. If we use
filters.in/out.tab and a sender writes a message to N
recipients, XMail will process N messages and generate
N bounce messages if a virus is found.

 This way all mail (incoming to local accounts and
 outgoing from my 
 users) will be scaned and only once if the mail is
 sent to local list or 
 many recipients. Am I correct?

Yes, I believe you are.

 Any reason why it shouldn't be put in 
 filters.post-data.tab?

The smtp session will be longer. So, maybe you will
need to raise the max number of smtp threads.
I use clamd (ClamAV) and clamdscan. It is fast enough.

__
Converse com seus amigos em tempo real com o Yahoo! Messenger 
http://br.download.yahoo.com/messenger/ 
-
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: messages to yahoo and or hotmail does not get delivered

2005-08-30 Thread Leonardo Fogel


--- Leonardo Fogel wrote:

 Once in a while, xmail postmaster get some Error
 sending message to yahoo.com.br (aka yahoo.com):
 
[02] The reason of the delivery failure was:
 
The maximum number of delivery attempts has
been reached
...

ErrCode   = -3
ErrString = Network kernel error
 
 but I still don't know what they mean exactly.
 

Only once in a while. Most of the time XMail (Linux)
and Bind (Linux) work fine, and I don't believe the
problem _I_get_ is related to DNS.


__
Converse com seus amigos em tempo real com o Yahoo! Messenger 
http://br.download.yahoo.com/messenger/ 
-
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: Post data filter

2005-08-30 Thread Leonardo Fogel


--- John Kielkopf wrote:

 Sorry to go off topic here, but have you tried the
 tests at:
 http://www.webmail.us/testvirus
 
 Using clamdscan in post-data, what tests to you fail
 on, if any?

Oops. I forgot to mention that in my previous mail. It
fails tests #5, 12, 16 and 24. Thankfully, the
antivirus in the workstation (NOD32) detects them all.






___ 
Yahoo! Acesso Grátis - Internet rápida e grátis. 
Instale o discador agora! http://br.acesso.yahoo.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: messages to yahoo and or hotmail does not get delivered

2005-08-29 Thread Leonardo Fogel


--- jonn ah wrote:

 we're using xmail's pop3 and smtp service but when
 we try to send messages to either yahoo or hotmail,
 the messages does not seem to get delivered...

Once in a while, xmail postmaster get some Error
sending message to yahoo.com.br (aka yahoo.com):

   [02] The reason of the delivery failure was:

   The maximum number of delivery attempts has
   been reached
   ...
   
   ErrCode   = -3
   ErrString = Network kernel error

but I still don't know what they mean exactly.


__
Converse com seus amigos em tempo real com o Yahoo! Messenger 
http://br.download.yahoo.com/messenger/ 
-
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: change mysql password

2005-08-29 Thread Leonardo Fogel


--- jonn ah wrote:

 I was wondering why xmail is not able to read the
 'password' field in my mysql database if i change it
 from within mysql itself...it still looks for the
 old one even if i restart xmail...unless i change it
 using xmail's cntrl functions i initially
 thought that xmail just reads the password field on
 the mysql database...

Hi.
As far as I know, you must use an external module in
order to perform user authentication on mysql. Please,
take a look at
http://www.xmailserver.org/Readme.html#external_authentication;
if you need further details.
Hope it helps.

Regards.





___ 
Yahoo! Acesso Grátis - Internet rápida e grátis. 
Instale o discador agora! http://br.acesso.yahoo.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: Malformed message can cause POP3 timeout

2005-08-10 Thread Leonardo Fogel


--- Michal Altair Valasek wrote:

 
 My guess is that this behaviour is caused by some
 kind of malformed message
 - like missing CRLF at end or maybe mismatched line
 endings in message. This
 usually occurs for spam messages and I currently do
 not have enough samples
 to be sure.
 

You got it almost right! XMail does include the CRLF.
You can use the unix utility nc(1) to open an SMTP
session with XMail and send a message. nc does not
translate the unix enter (LF) to CRLF. XMail will
accept and pop (POP3) the message with no problem.

I used to have this problem with Courier-IMAP because
it removes the CR from the lines of the messages it
saves on the maildir. XMail freezes because it expects
the lines on the files in the maildir to be terminated
with CRLF.

Hope it helps.
Regards.





___ 
Yahoo! Acesso Grátis - Internet rápida e grátis. 
Instale o discador agora! http://br.acesso.yahoo.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: HeloDomain

2005-08-08 Thread Leonardo Fogel


--- Sönke Ruempler wrote:
 
 Does XMail resolve the the RDNS of the local IP it
 is bound to? Or does
 it resolve the hostname of the remote IP?

Hi.
Sorry for the delay. It resolves (PTR record) to the
hostname (FQDN) of the local IP address (10.0.1.20),
which is equal to the HeloDomain value.
Many thanks for the reply.

Regards.





___ 
Yahoo! Acesso Grátis - Internet rápida e grátis. 
Instale o discador agora! http://br.acesso.yahoo.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] HeloDomain

2005-08-05 Thread Leonardo Fogel

Hi.
Although I've set the HeloDomain variable in
server.tab, XMail (IP 10.0.1.20) is still doing
reverse lookups (10.0.1.2 is the dns):

# tcpdump -n -p udp port domain
. IP 10.0.1.20.58871  10.0.1.2.domain  PTR?
20.1.0.10.in-addr.arpa. (40)
. IP 10.0.1.2.domain  10.0.1.20.58871  1/1/1
PTR[|domain]
. IP 10.0.1.20.58871  10.0.1.2.domain  PTR?
20.1.0.10.in-addr.arpa. (40)
. IP 10.0.1.2.domain  10.0.1.20.58871  1/1/1
PTR[|domain]
.

The name server answers the query (1/1/1 above), but
XMail keeps doing the same lookup.

Please, does anyone know how to stop this behaviour?
Do I have to set other variables?

Thank you.
Regards.





___ 
Yahoo! Acesso Grátis - Internet rápida e grátis. 
Instale o discador agora! http://br.acesso.yahoo.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: REPOST: pop3 authentication

2005-07-28 Thread Leonardo Fogel


--- jonn ah wrote:

 I'm running squirrelmail with courier-imap (for
 imap) and xmail (for pop3), i store
 usernames/passwords in a mysql database... i can
 change the password for imap (using squirrelmail's
 mysql plugin) with no problem but with pop3 it does
 not get updated...can anybody tell me how can i fix
 this?
 

Hi, Jonn.
You can not use POP3 to change passwords in XMail. You
must use XMail admin protocol:
http://www.xmailserver.org/Readme.html#changing_a_user_s_password
You can use CtrlClnt, a utility included in XMail
package, to send administration commands to XMail:
http://www.xmailserver.org/Readme.html#ctrlclnt__xmail_administration_
Maybe you can run CtrlClnt from squirrelmail.

I use XMail and Courier-IMAP too, but I patched
Courier-IMAP to autenticate users via POP3. I also
wrote a plugin to Horde/IMP that uses CtrlClnt to
change users' passwords.

Regards.


__
Converse com seus amigos em tempo real com o Yahoo! Messenger 
http://br.download.yahoo.com/messenger/ 
-
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: Can't send email from outside of my LAN

2005-07-27 Thread Leonardo Fogel


--- Larry Azlin wrote:

   
   I've modified smtprelay.tab to include the ip at
 my
   friend's house, so
   it now looks like:
   
   192.168.0.0[TAB]255.255.0.0
   xxx.xxx.xxx.0[TAB]255.255.255.0
   

Hi, Larry.
I misunderstood you first e-mail. I believed XMail was
instaled in the laptop. My mistake, sorry.
I guess xxx.xxx.xxx.0 is the public network address of
your friend's LAN. I also guess you know smtprelay.tab
does not block anyone from connecting to XMail.
Actually, I could connect to mail.azlin.com:smtp from
my office and type some commands:

$ telnet mail.azlin.com smtp
220 
helo lflinux
250 azlin.com
mail from:[EMAIL PROTECTED]
250 OK
rcpt to:[EMAIL PROTECTED]
550 Mailbox anavailable [EMAIL PROTECTED]
rcpt to:[EMAIL PROTECTED]
250 OK
quit
221 ...

So, the connection looks very fine and Thunderbird
should be able to connect too. Maybe your friend's
firewall or your laptop's firewall is misconfigured.

Hope it helps.
Regards.






___ 
Yahoo! Acesso Grátis - Internet rápida e grátis. 
Instale o discador agora! http://br.acesso.yahoo.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: Can't send email from outside of my LAN

2005-07-26 Thread Leonardo Fogel


--- Larry Azlin [EMAIL PROTECTED] escreveu:

 
 Greetings.
 
 I run Xmail 1.21 on a SUSE 9.0 box to host my
 personal email
 (azlin.com), and all's well if the laptop running my
 email client
 (Thunderbird) is on my LAN.  Recently I've been
 taking the laptop over
 to a friend's house and trying to send email from
 there, w/o success. 
 I can GET email from my Xmail server, I just can't
 SEND through it.
 
 I've modified smtprelay.tab to include the ip at my
 friend's house, so
 it now looks like:
 
 192.168.0.0[TAB]255.255.0.0
 xxx.xxx.xxx.0[TAB]255.255.255.0
 
 And I've verified that smtp.ipmap.tab is correct:
 
 0.0.0.0[TAB]0.0.0.0[TAB]ALLOW[TAB]1
 
 Just to be sure, I've also looked at my pop3 log
 files and verified
 that I've got his ip address correct.  Yet, when I
 try to send email,
 there's a long delay while Thunderbird is trying to
 send, and I get an
 unable to access server type of message.  I'm
 betting that there's
 something simple which I need to do in addition to
 the above changes
  can anyone point me in the right direction?
 
 TIA,
 Larry Azlin
 
 P.S.  I restarted Xmail after these changes.
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam
 protection around 
 http://mail.yahoo.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]
 
 

Hi.
I hope these questions help you:
Have you set the -SI ip[:port] command line switch?
You don't need to.
Have you configured a firewall on the laptop? Is it
correct for your friend's LAN?
Have you tried to run telnet localhost smtp from the
laptop? Has it connected?
Have you run netstat -lnt on the laptop? Does the
result show tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN?
Have you configured Thunderbird's SMTP server?

Regards.






___ 
Yahoo! Acesso Grátis - Internet rápida e grátis. 
Instale o discador agora! http://br.acesso.yahoo.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: DNS again?

2005-07-21 Thread Leonardo Fogel


--- Francesco Vertova wrote:

 
 So another question: why nslookup can retrieve MX
 info and XMail cannot? 
 (150.217.1.32 is first in SmartDNSHost line).
 
  nslookup
 Default Server:  dns.unifi.it
 Address:  150.217.1.32
 
   set type=MX
   datacomm.iue.it
 Server:  dns.unifi.it
 Address:  150.217.1.32
 
 Non-authoritative answer:
 datacomm.iue.it canonical name = dns1.iue.it
 dns1.iue.it preference = 10, mail exchanger =
 avas-iue.cineca.it
 dns1.iue.it preference = 20, mail exchanger =
 mx2.cineca.it
 

In fact, I'm afraid you've found a bug. I've tried to
send a mail to just_a_test at datacomm.iue.it and
XMail tried to send it to dns1.iue.it (192.167.90.1).
I just sent the same mail from yahoo.com.br and I got
550 5.1.1 User unknown as expected.
I am not sure, but I believe a similar problem (if not
the same) was reported a long time ago, and it was
supposed to be fixed!

Regards.





___ 
Yahoo! Acesso Grátis - Internet rápida e grátis. 
Instale o discador agora! http://br.acesso.yahoo.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: DNS again?

2005-07-20 Thread Leonardo Fogel


--- Francesco Vertova wrote:
 
 any idea why XMail (1.21 Win32) delivers OK to
 [EMAIL PROTECTED] but fails to 
 deliver to [EMAIL PROTECTED] The two have exactly
 the same MX
 records, the only difference being that
 datacomm.iue.it has also an A 
 record (is an alias of dns1.iue.it).

I do, I do :)
http://www.dnsreport.com/tools/dnsreport.ch?domain=datacomm.iue.it

Hope it helps.
Regards.







___ 
Yahoo! Acesso Grátis - Internet rápida e grátis. 
Instale o discador agora! http://br.acesso.yahoo.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: Report concerning SmartDNSHost

2005-06-01 Thread Leonardo Fogel

--- Davide Libenzi wrote:
 On Tue, 31 May 2005, Leonardo Fogel wrote:
 
  Hi.
 
  I had changed the SmartDNSHost variable in the
  server.tab:
 
--- Old value ---
SmartDNSHost 200.20.235.49:udp,200.20.235.49:tcp
 
--- New value ---
SmartDNSHost 10.0.1.2:udp
 
  but XMail used both DNSs until I restarted it.
 
 Hardly, since XMail always reload the server.tab
 file (no caching).
 

I would agree, but I've just changed back:

   --- Old value ---
   SmartDNSHost 10.0.1.2:udp

   --- New value ---
   #SmartDNSHost 10.0.1.2:udp
   SmartDNSHost 200.20.235.49:udp

and XMail still uses 10.0.1.2:

# tcpdump -p -n udp port domain
. 10.0.1.20.45848  10.0.1.2.domain: 26719+ A?
91.80.222.200.dialups.mail-abuse.org. (54)

Regards.

__
Converse com seus amigos em tempo real com o Yahoo! Messenger 
http://br.download.yahoo.com/messenger/ 
-
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: Report concerning SmartDNSHost

2005-06-01 Thread Leonardo Fogel

--- Davide Libenzi wrote:

 
  # tcpdump -p -n udp port domain
  . 10.0.1.20.45848  10.0.1.2.domain: 26719+ A?
  91.80.222.200.dialups.mail-abuse.org. (54)
 
 XMail uses SmartDNSHost only for MX queries, and
 this looks very like a MAPs query (that is performed
 using the system DNS host settings).
 

News to me. Thanks.






Yahoo! Mail, cada vez melhor: agora com 1GB de espaço grátis! 
http://mail.yahoo.com.br
-
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] Report concerning SmartDNSHost

2005-05-31 Thread Leonardo Fogel
Hi.

I had changed the SmartDNSHost variable in the
server.tab:

   --- Old value ---
   SmartDNSHost 200.20.235.49:udp,200.20.235.49:tcp

   --- New value ---
   SmartDNSHost 10.0.1.2:udp

but XMail used both DNSs until I restarted it.

Regards.






Yahoo! Mail, cada vez melhor: agora com 1GB de espaço grátis! 
http://mail.yahoo.com.br
-
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] Filter error (-5)

2005-05-31 Thread Leonardo Fogel
Hi.

From the syslog I've read:

. XMail[1959]: Filter error (-5): Sender =

Please, does it mean time out?
Thank you.

$ grep -e -5 /usr/src/xmail-1.21/*.h
/usr/src/xmail-1.21/Errors.h:#define ERR_TIMEOUT (-5)
.









Yahoo! Mail, cada vez melhor: agora com 1GB de espaço grátis! 
http://mail.yahoo.com.br
-
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: Subdirs under mailbox

2003-12-01 Thread Leonardo Fogel

 --- Orion Productions wrote:
 
 Is it allowed to create subdirectories under the
 mailbox dir of a user?
 For a webmail application, I'd like the users to be
 able to create their own folder structure under
 inbox (just like outlook (express)).

Yes, it is _allowed_, but you need an IMAP server to
do this. XMail does not implement IMAP, yet! Please,
search the XMail List Archive for IMAP. You will find
lots of directions.

 Can everything
 just sit beneath the mailbox folder (= inbox top
 level), or would you suggest another location?

Under inbox is fine.


__

Yahoo! Mail: 6MB, anti-spam e antivírus gratuito! Crie sua conta agora:
http://mail.yahoo.com.br
-
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 sending to user@POP3server.address

2003-11-28 Thread Leonardo Fogel

 --- Francesco Vertova [EMAIL PROTECTED] wrote: 
 
  Your problem is that MX records cannot point to
  CNAMEs and Davide has adhered to the RFC.
 
 Well, I'm not a DNS expert but I would say that in
 this case MX do not point to CNAME: platos, vasos
 and rediris are not CNAME, or I get something wrong?

I agree with Francesco. The CNAME record points to a
domain, as usual, and that domain has two RRs: A and
MX.

It looks a DNS resolver problem, in my opnion.



__

Yahoo! Mail: 6MB, anti-spam e antivírus gratuito! Crie sua conta agora:
http://mail.yahoo.com.br
-
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 sending to user@POP3server.address

2003-11-27 Thread Leonardo Fogel

 --- Francesco Vertova [EMAIL PROTECTED] wrote: 
 
 email address is [EMAIL PROTECTED]
 
 machine.domain runs a POP3 server but no SMTP server
 
 MX records for machine.domain point to
 smtpserver.domain
 
 XMail (1.17, WinNT 4) tries to deliver to
 machine.domain rather than smtpserver.domain [...]
 
 If you suspect a DNS problem, you may try DNS
 queries for, e.g., gugu.usal.es or ties.itu.int
 

Do you mean a mail to [EMAIL PROTECTED] should be
delivered to 212.128.129.113 instead of
212.128.129.112?

It does not look a 'DNS server' problem to me.
It sounds like a 'DNS resolver' problem.

Did you change your DNS configuration recently?


Yahoo! Mail - 6MB, anti-spam e antivírus gratuito. Crie sua conta agora:
http://mail.yahoo.com.br
-
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 sending to user@POP3server.address

2003-11-27 Thread Leonardo Fogel

 --- Francesco Vertova [EMAIL PROTECTED] wrote: 
  
  Did you change your DNS configuration recently?
 
 I've been running XMail for 6 weeks (installed on
 Oct 12) and always used the same config (no
 SmartDNSHost in server.tab).
 

Did the administrator of the DNS server change the RRs
recently? I guess that is why XMail stopped working.

In fact, I am affraid you have found a bug on XMail
because I have sent a test message to
[EMAIL PROTECTED] and XMail (on RedHat 9.0) has tried
(and it is still trying) to connect to
212.128.129.112.

I have read from the list that XMail implements its
own 'DNS resolver', for portability reasons. As your
DNS RRs look good to me, I believe XMail's DNS
resolver is not working properly (maybe because of the
combination of CNAME and MX records).


__

Yahoo! Mail: 6MB, anti-spam e antivírus gratuito! Crie sua conta agora:
http://mail.yahoo.com.br
-
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 account synchronizer

2003-10-14 Thread Leonardo Fogel

Hi.
Is PSYNC (1.17) supposed to comply with user's quota?
Or, is it supposed to synchronize external and local
accounts even if local mailbox is full?

Thank you.


Yahoo! Mail - o melhor webmail do Brasil
http://mail.yahoo.com.br
-
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 and XMail

2003-09-26 Thread Leonardo Fogel
 
 So one of two biggest problems (are CRLF and
 'double POP after') with
 Courier-IMAP is about to been solved.
 
 Do you have a ready to use patch?
 Or just some drafts? How to implement this patch?
 
 Best regards,
 Mikhail.

Please, find enclosed a patch to XMail-1.17. It solves
the 'double POP after' problem. Apply it:
# cd 'xmail-1.17-dir'
# patch  POP3Svr.cpp.diff.txt

(re)build and (re)install XMail-1.17.
The patch's job is very simple: strip Courier-IMAP
flags from UIDs.

*** Important: after the patch is applied, the POP3
client will once again duplicate older messages that
have the older UIDs (with IMAP4 flags). Next time, it
will work normally.

*** Important too: You will need this patch only if
you want XMail to work with Courier-IMAP.

Please, let me know if you have success.
Regards.




-- Attached file included as plaintext by Ecartis --
-- File: POP3Svr.cpp.diff.txt
-- Desc: POP3Svr.cpp.diff.txt

--- POP3Svr.cpp Sun Sep 14 15:33:30 2003
+++ POP3Svr.new.cpp Fri Sep 26 09:02:10 2003
@@ -1098,10 +1098,13 @@
 for (int ii = 0; ii  iMsgTotal; ii++)
 {
 charszMessageUIDL[256] = ;
+   char *pIMAP4Flags;
 
 if (UPopGetMessageUIDL(POP3S.hPOPSession, ii + 1, szMessageUIDL) == 0)
 {
 
+   if ((pIMAP4Flags = strstr(szMessageUIDL, :2,)))
+   *pIMAP4Flags = '\0';
 BSckVSendString(hBSock, POP3S.pPOP3Cfg-iTimeout,
 %d %s, ii + 1, szMessageUIDL);
 
@@ -1113,12 +1116,15 @@
 else
 {
 charszMessageUIDL[256] = ;
+   char *pIMAP4Flags;
 
 if (UPopGetMessageUIDL(POP3S.hPOPSession, iMsgIndex, szMessageUIDL)  0)
 BSckSendString(hBSock, -ERR No such message, POP3S.pPOP3Cfg-iTimeout);
 else
 {
 
+   if ((pIMAP4Flags = strstr(szMessageUIDL, :2,)))
+   *pIMAP4Flags = '\0';
 BSckVSendString(hBSock, POP3S.pPOP3Cfg-iTimeout,
 +OK %d %s, iMsgIndex, szMessageUIDL);
 


-
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 and XMail

2003-09-25 Thread Leonardo Fogel
  On Mon, 15 Sep 2003, Michail Tchoudinov wrote:
 
  Courier-IMAP looks good, but has troubles with
  CRLF end of lines, and produces double messages
  to POP after IMAP access.

I have written a _simple_ patch to Courier-IMAP-2.0.0
to solve the CRLF problem. Please, find it attached.

XMail POP produces (more than) two copies of the same
message because Courier-IMAP renames the corresponding
file - it adds the IMAP flags (Seen, Deleted ...) to
the file name - and XMail POP uses the file name as
the unique-id to the UIDL POP3 command. So, each
different combination of flags produces a different
unique-id.

I guess it is quite easy to write a patch to XMail POP
to solve that: the UIDL command should ignore the IMAP
flags on the file name.

 Or wait for XMail's IMAP.
 
 - Davide

Is there a XMail's IMAP project, Davide?




-- Binary/unsupported file stripped by Ecartis --
-- Type: application/octet-stream
-- File: courier-imap.diff
-- Desc: courier-imap.diff


-
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 and XMail

2003-09-25 Thread Leonardo Fogel

 --- Michail Tchoudinov wrote:
 
 That's great!
 I do not get any attached files with your mail (did
 you mean file attachments?)

Ecartis has stripped it! I'll send it directly to you.

 
 So one of two biggest problems (are CRLF and
 'double POP after') with Courier-IMAP is about
 to been solved.

The patch solves the first problem (CRLF) only.

 Do you have a ready to use patch?
 Or just some drafts? How to implement this patch?

It is ready to use. You just need to apply it and
recompile Courier-IMAP.


I didn't address the second problem ('double POP
after'), but it looks easier to solve than the first
one. Unfortunatelly, I don't have time to work on it
now, but I believe a short patch to XMail can solve
it.

Regards.



-
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] XMail and Courier-IMAP

2003-07-18 Thread Leonardo Fogel

Hi.
I installed XMail 1.16 and, recently, Courier-IMAP 2.0
server on a Linux box. Courier-IMAP is an IMAP server.
Unfortunately, however, XMail and Courier-IMAP are not
working well together.

Lines on the mail files XMail create on Maildir/new/
terminate with CRLF (DOS format). Courier-IMAP,
however, expects them to terminate with LF (Linux
format). So, Courier-IMAP reads the CR as part of
the line data.

Please, is there a way to make XMail save the files in
Linux format?

Thanks in advance.
Regards.


___
Yahoo! Mail
Mais espaço, mais segurança e gratuito: caixa postal de 6MB, antivírus, proteção 
contra spam.
http://br.mail.yahoo.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]