Re: [toaster] qmail-remote bug?

2004-04-12 Thread Christian Lyra

Hi,

The patch seems to solve the problem. It will be in included in the next 
toaster patch?

Thanks!

On Thursday 08 April 2004 12:51, Bill Shupp wrote:
> Christian Lyra wrote:
> > Hi all,
> >
> > I´m having a problem while sending e-mail to a domain... the
> > qmail-remote start to eat cpu. Seems that it was caught on a loop.
> >
> > I did a strace of it:
> > [...]
> > socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
> > fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
> > fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
> > connect(3, {sin_family=AF_INET, sin_port=htons(25),
> > sin_addr=inet_addr("216.93.174.4")}}, 16) = -1 EINPROGRESS (Operation now
> > in progress)
> > select(4, NULL, [3], NULL, {60, 0}) = 1 (out [3], left {59, 80})
> > getpeername(3, {sin_family=AF_INET, sin_port=htons(25),
> > sin_addr=inet_addr("216.93.174.4")}}, [16]) = 0
> > fcntl64(3, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
> > fcntl64(3, F_SETFL, O_RDWR) = 0
> > select(4, [3], NULL, NULL, {1200, 0})   = 1 (in [3], left {1199, 21})
> > read(3, "220 host2.savantnoc.com ESMTP\r\n", 128) = 31
> > select(4, NULL, [3], NULL, {1200, 0})   = 1 (out [3], left {1200, 0})
> > write(3, "EHLO ufpr.br\r\n", 14)= 14
> > select(4, [3], NULL, NULL, {1200, 0})   = 1 (in [3], left {1199, 80})
> > read(3, "250-host2.savantnoc.com\r\n250-AUT"..., 128) = 105
> >
> > This host reply with multiple "250 lines", and it seems that this
> > qmail-remote get stuck while trying to parse this lines.
> >
> > does anyone has any clue about this? ah.. of course... netqmail-1.05
> > patch + mysql + toaster-patch. I tried to send the qmail-remote.c code
> > but the list refused to send my e-mail...
>
> Try this patch to qmail-remote.c:
>
> --- qmail-remote.c.orig Thu Apr  8 08:49:14 2004
> +++ qmail-remote.c  Thu Apr  8 08:50:09 2004
> @@ -229,7 +229,7 @@
> if (*p == '\n' || *p == ' ' || *p == '\t') {
>   if (!stralloc_catb(sa, s, p - s) || !stralloc_0(sa))
> temp_nomem(); if (*p++ == '\n') break;
> -while (*p == ' ' || *p == '\t') ;
> +while (*p == ' ' || *p == '\t') p++;
>   s = p;
> }
>   s = p;
>
> Regards,
>
> Bill Shupp

-- 
Christian Lyra
POP-PR - RNP

http://lyra.soueu.com.br
http://wecanstopspam.org

  If the Tao is great, then the operating system is great. If the operating 
system is great, then the compiler is great. If the compiler is great, then 
the application is great. The user is pleased and there exists harmony in the 
world. 
  The Tao of Programming flows far away and returns on the wind of morning. 
The Tao Of Programing


[toaster] allowing other ips access

2004-04-12 Thread Noel Sanchez
Hello. Been using Bill's Linux Qmail Toaster, works great. Most of my
users check their email from the web using SquirrelMail. Some from other
locations would prefer to use Outlook or Eudora. How can I allow them to
continue to use their email client, Outlook or Eudora, if they don't want
to use SquirrelMail. Can I add their IP address in a config file
somewhere? And allow them to send AND receive email from my mail server?
Using redhat 9.0.

Thanks!


Re: [toaster] allowing other ips access

2004-04-12 Thread Bill Shupp
Noel Sanchez wrote:
Hello. Been using Bill's Linux Qmail Toaster, works great. Most of my
users check their email from the web using SquirrelMail. Some from other
locations would prefer to use Outlook or Eudora. How can I allow them to
continue to use their email client, Outlook or Eudora, if they don't want
to use SquirrelMail. Can I add their IP address in a config file
somewhere? And allow them to send AND receive email from my mail server?
Using redhat 9.0.
The best solution is to just use SMTP-AUTH for outgoing mail.  However, 
if your users' MTA does not support it, or you run into RBL violations 
(as some people have reported here), you can always recompile vpopmail 
with --enable-roaming-users=y.

If their address is static, you might just add them as permanent relays.

Regards,

Bill


Re: [toaster] allowing other ips access

2004-04-12 Thread Noel Sanchez
Yes, their IP is static. Where can I add them as permanent relays?




> Noel Sanchez wrote:
>> Hello. Been using Bill's Linux Qmail Toaster, works great. Most of my
>> users check their email from the web using SquirrelMail. Some from other
>> locations would prefer to use Outlook or Eudora. How can I allow them to
>> continue to use their email client, Outlook or Eudora, if they don't
>> want
>> to use SquirrelMail. Can I add their IP address in a config file
>> somewhere? And allow them to send AND receive email from my mail server?
>> Using redhat 9.0.
>
> The best solution is to just use SMTP-AUTH for outgoing mail.  However,
> if your users' MTA does not support it, or you run into RBL violations
> (as some people have reported here), you can always recompile vpopmail
> with --enable-roaming-users=y.
>
> If their address is static, you might just add them as permanent relays.
>
> Regards,
>
> Bill
>



Re: [toaster] allowing other ips access

2004-04-12 Thread Bill Shupp
Noel Sanchez wrote:
Yes, their IP is static. Where can I add them as permanent relays?
Put them in ~vpopmail/etc/tcp.smtp, and follow the example of 127.0.0.1 
which is likely your only entry.   Once you have added them, do this to 
update the cdb file:

(cd ~vpopmail/etc ; cat tcp.smtp | tcprules tcp.smtp.cdb tmp)

Regards,

Bill


Re: [toaster] allowing other ips access

2004-04-12 Thread Noel Sanchez
Hello Bill. Thanks for your help. I put the IP address in
/~vpopmail/etc/tcp.smtp but it still does not work, maybe because I didn't
understand your last email:

1. "The best solution is to just use SMTP-AUTH for outgoing mail.  However,
if your users' MTA does not support it, or you run into RBL violations
(as some people have reported here), you can always recompile vpopmail
with --enable-roaming-users=y."


2. "If their address is static, you might just add them as permanent relays."

I didn't do what you mentioned in number 1. I only added the ip address
like you stated in number 2. Was I to do both to get this to work? Here is
the message I get when I try to send to one of my yahoo addresses:

The message could not be sent because one of the recipients was rejected
by the server. The rejected e-mail address was '[EMAIL PROTECTED]'. Subject
'test', Account: 'mail.lighthouselane.org', Server:
'mail.lighthouselane.org', Protocol: SMTP, Server Response: '553 sorry,
that domain isn't in my list of allowed rcpthosts (#5.7.1)', Port: 25,
Secure(SSL): No, Server Error: 553, Error Number: 0x800CCC79






> Noel Sanchez wrote:
>> Yes, their IP is static. Where can I add them as permanent relays?
>
> Put them in ~vpopmail/etc/tcp.smtp, and follow the example of 127.0.0.1
> which is likely your only entry.   Once you have added them, do this to
> update the cdb file:
>
> (cd ~vpopmail/etc ; cat tcp.smtp | tcprules tcp.smtp.cdb tmp)
>
> Regards,
>
> Bill
>



[toaster]

2004-04-12 Thread Michael Christie




Hi all,
 
I have just completed an install of the Linux qmail 
toaster on openbsd. After testing the qmail server the server looks to be 
working well. The only thing I have trouble with in the install is for some 
reason I could not "make cert" I receive the following error.  

 
mail# make certmake: don't know how to make 
cert. Stop in /var/src/netqmail-1.05
 
Can some one please tell me how to fix this or 
explane what is wrong.
 
I found that Courier-IMAP would only compile 
with gmake,  which was no prob.
 
Michael Christie
Australia


Re: [toaster]

2004-04-12 Thread Gary
>From: "Michael Christie" 
>
>mail# make cert
>make: don't know how to make cert. Stop in /var/src/netqmail-1.05

Try gmake cert

Gary