Re: [vchkpw] forwording mail's from qmail to ______ server

2004-07-21 Thread venu
Dear Mr.Arun Kumar,Please go through this >
[EMAIL PROTECTED] wrote:>> We are shifting one of mail server
from qmail to Exchange server for>> testing,> >
... my sympathies. You'll be back.> >> so how can i
forward mails from qmail mail server to Exchange >>
server.> > Look at the qmail-remote manual page.>
http://qmail.geto.net/man/man8/qmail-remote.html> > If it's
just POP mailboxes (not IMAP with subfolders), you can> push the
messages out using qmail-remote. Below are examples> of how to
remail messages in people's folders. Your script may> not end up
being exactly the same, but it should give you an> idea as to qhat
you need to do.> > #!/bin/sh>
PATH=/var/qmail/bin:/home/vpopmail/bin:$PATH # or whatever> export
PATH> REMOTE=NEWSERVER.YOUR.DOMAIN>
[EMAIL PROTECTED]> USERS="[EMAIL PROTECTED]
[EMAIL PROTECTED] [EMAIL PROTECTED]"> for user in
$USERS; do> dir=`vuserinfo -d $user`> for subdir in new cur;
do> cd $dir/Maildir/$subdir || continue> for msg in *;
do> qmail-remote $REMOTE $ADMIN $user < $msg>
done> done> done> > If you just have one
domain using qmail and not vpopmail,> just change directories to
the domain and run:> > #!/bin/sh>
PATH=/var/qmail/bin:$PATH # or whatever> export PATH>
REMOTE=EXCHANGE.YOUR.DOMAIN> [EMAIL PROTECTED]>
for user in * do> for subdir in new cur; do> cd
$dir/Maildir/$subdir || continue> for msg in *; do>
qmail-remote $REMOTE $ADMIN [EMAIL PROTECTED] < $msg>
done> done> done> > If you need to preserve
IMAP subfolders, it gets more complicated. You'd> actually have to
write (as Jeremy said) a Perl script using> Net:IMAP to push the
message into their new mailboxes. If it's just a> few users, each
user can add the new IMAP account and just> drag/drop the messages
into their new folders.> > --> Eric
ZiegastRegards Venu


--This Message and any attachments is intended solely for the addresses and is confidential. 
If you receive this message in error or if you are not the intended recipient, please delete the mail. 
Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited. 
Please inform us in case of erroneous delivery, thanks for your cooperation.



Re: [vchkpw] qmail smtp problem

2004-07-21 Thread Natter
Ok, I'm all set then. Thank you guys for your
help with this problem!


--- Jeremy Kitchen <[EMAIL PROTECTED]> wrote:
> On Wednesday 21 July 2004 03:37 pm, Paul
> Theodoropoulos wrote:
> > /usr/local/bin/rblsmtpd \
> > -r "sbl-xbl.spamhaus.org:\
> > Probable spam connection rejected. Details at
> http://www.spamhaus.org"; \
> > -r "list.dsbl.org:\
> > Probable spam connection rejected. Details at
> http://www.dsbl.org"; \
> > -r "relays.ordb.org:\
> > Probable spam connection rejected. Details at
> http://www.ordb.org/faq"; \
> > -t10 \
> >
> > as others have pointed out (recently) you have to
> patch rblsmtpd to be able
> > to do custom replies. the '-t10' i consider a
> necessity these days -
> > waiting sixty seconds for a response from an rbl
> is, well, insane. ten
> > seconds is far more reasonable, unless you enjoy
> backlogs of thousands of
> > messages from time to time.
> 
> actually, the -t doesn't have anything to do with
> the rbl lookup.  the -t 
> argument is how long rblsmtpd will hold the smtp
> conversation active before 
> simply dropping it.
> 
> There is a way to change the timeout of the rbl
> lookup, I believe it was 
> covered on the qmail list a month or two back :)
> 
> -Jeremy
> 
> -- 
> Jeremy Kitchen ++ Systems Administrator ++ Inter7
> Internet Technologies, Inc.
>   [EMAIL PROTECTED] ++ www.inter7.com ++
> 866.528.3530 ++ 847.492.0470 int'l
> kitchen @ #qmail #gentoo on EFnet ++
> scriptkitchen.com/qmail
> 
> 





__
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/


Re: [vchkpw] qmail smtp problem

2004-07-21 Thread Jeremy Kitchen
On Wednesday 21 July 2004 03:37 pm, Paul Theodoropoulos wrote:
> /usr/local/bin/rblsmtpd \
> -r "sbl-xbl.spamhaus.org:\
> Probable spam connection rejected. Details at http://www.spamhaus.org"; \
> -r "list.dsbl.org:\
> Probable spam connection rejected. Details at http://www.dsbl.org"; \
> -r "relays.ordb.org:\
> Probable spam connection rejected. Details at http://www.ordb.org/faq"; \
> -t10 \
>
> as others have pointed out (recently) you have to patch rblsmtpd to be able
> to do custom replies. the '-t10' i consider a necessity these days -
> waiting sixty seconds for a response from an rbl is, well, insane. ten
> seconds is far more reasonable, unless you enjoy backlogs of thousands of
> messages from time to time.

actually, the -t doesn't have anything to do with the rbl lookup.  the -t 
argument is how long rblsmtpd will hold the smtp conversation active before 
simply dropping it.

There is a way to change the timeout of the rbl lookup, I believe it was 
covered on the qmail list a month or two back :)

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail



RE: [vchkpw] qmail smtp problem

2004-07-21 Thread Paul Theodoropoulos
At 01:18 PM 7/21/2004, you wrote:
Doh! Strange why I'm just having trouble in the last
month.
well, for a long time they were sending a default 'block' for all queries, 
to try to discourage connections. maybe for some reason your setup was 
happy enough with that to keep running. maybe they've turned off the 
'block' now too.

Any other good one I should use?
www.rbls.org gives a pretty thorough listing of all of them, but you should 
check out the URL associated with each before using - some are 
conservative, some are extreme. i err towards conservative:

/usr/local/bin/rblsmtpd \
-r "sbl-xbl.spamhaus.org:\
Probable spam connection rejected. Details at http://www.spamhaus.org"; \
-r "list.dsbl.org:\
Probable spam connection rejected. Details at http://www.dsbl.org"; \
-r "relays.ordb.org:\
Probable spam connection rejected. Details at http://www.ordb.org/faq"; \
-t10 \
as others have pointed out (recently) you have to patch rblsmtpd to be able 
to do custom replies. the '-t10' i consider a necessity these days - 
waiting sixty seconds for a response from an rbl is, well, insane. ten 
seconds is far more reasonable, unless you enjoy backlogs of thousands of 
messages from time to time.

Paul Theodoropoulos
http://www.anastrophe.com
http://www.smileglobal.com



RE: [vchkpw] qmail smtp problem

2004-07-21 Thread Natter
Doh! Strange why I'm just having trouble in the last
month.

Any other good one I should use?

--- Paul Theodoropoulos <[EMAIL PROTECTED]> wrote:
> At 12:28 PM 7/21/2004, Natter wrote:
> >Got it, it was the spam checking I had in the smtp
> run
> >script:  rblsmtpd -r relays.osirusoft.com \
> >
> >For some reason, I'm having a hard time connecting
> >to that server sometimes.
> 
> it's bound to fail - they turned off
> relays.osirusoft.com nearly a year 
> ago. you should remove that rblsmtpd call.
> 
> Paul Theodoropoulos
> http://www.anastrophe.com
> http://www.smileglobal.com
> 
> 
> 
> 





__
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/


RE: [vchkpw] qmail smtp problem

2004-07-21 Thread Paul Theodoropoulos
At 12:28 PM 7/21/2004, Natter wrote:
Got it, it was the spam checking I had in the smtp run
script:  rblsmtpd -r relays.osirusoft.com \
For some reason, I'm having a hard time connecting
to that server sometimes.
it's bound to fail - they turned off relays.osirusoft.com nearly a year 
ago. you should remove that rblsmtpd call.

Paul Theodoropoulos
http://www.anastrophe.com
http://www.smileglobal.com



RE: [vchkpw] qmail smtp problem

2004-07-21 Thread Natter
Got it, it was the spam checking I had in the smtp run
script:  rblsmtpd -r relays.osirusoft.com \

For some reason, I'm having a hard time connecting
to that server sometimes.

I'm hoping that was it. When I send emails from
different places, it now comes through right away.
Also, the smtp.monitor script works now.

Thanks for the advise all. I know our main dns is
kinda hosed and I bet this has something to do with
it.


--- Rick Romero <[EMAIL PROTECTED]> wrote:
> On Wed, 2004-07-21 at 12:18, Natter wrote:
> > But I don't understand how it can be a dns issue
> > when I can connect to the port with no problem.
> It's
> > just not giving me back the correct smtp response.
> >
> > After I posted the last message, it's now giving 
> > me the [220  ESMTP] line when I telnet
> > to port 25. It's like it goes to sleep once in a
> while
> > and some smtp servers don't like that so they
> return
> > the email back to the sender...
> 
> It's probably a reverse DNS issue, I have that
> problem even with
> everything disabled:
>exec softlimit -m 2300 tcpserver -t3 -S -H -R
> 
> It's just that the reverse DNS server is down when
> you're getting the
> 'wait'.
> 
> Rick
> 
> > 
> > --- Shane Chrisp <[EMAIL PROTECTED]> wrote:
> > > >Well, it gets worse. Now when I telnet to port
> 25,
> > > >it's not giving me the correct messages back:
> > > >
> > > >>telnet  25
> > > >Trying ...
> > > >Connected to .
> > > >Escape character is '^]'.
> > > >^]
> > > >telnet> quit
> > > >Connection closed.
> > > 
> > > Brings us back to dns resolution. Ensure that
> server
> > > has a working dns. I
> > > like to run a 
> > > dnscache for the qmail servers to use. If the
> > > servers are not doing a lot of
> > > work I run
> > > it on the same server as the qmail install. Bind
> had
> > > been known to give
> > > problems with
> > > qmail.
> > > 
> > > Shane
> > > 
> > > 
> > 
> > 
> > 
> > 
> > __
> > Do you Yahoo!?
> > Yahoo! Mail - 50x more storage than other
> providers!
> > http://promotions.yahoo.com/new_mail
> 
> 





__
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/


Re: [vchkpw] Encrypted Password

2004-07-21 Thread Tom Collins
On Jul 21, 2004, at 11:49 AM, Jeremy Kitchen wrote:
On Wednesday 21 July 2004 01:02 pm, Joshua Leong wrote:
I am using vpopmail-4.9.10, is there any method to change the 
encrypted
password to clear text password?
no, it's a one way hash.  man crypt
You could upgrade to 5.2.2 or 5.4.x and turn on "clear passwords" and 
"learn passwords".  I'm pretty sure that 5.4.x was updated to 
authenticate the encrypted password, and store the clear-text version 
if it was good.  Otherwise, you'd have to delete all passwords and rely 
on the first POP session to set the user's password (with the "learn 
passwords" feature).

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


Re: [vchkpw] Encrypted Password

2004-07-21 Thread Jeremy Kitchen
On Wednesday 21 July 2004 01:02 pm, Joshua Leong wrote:

> I am using vpopmail-4.9.10, is there any method to change the encrypted
> password to clear text password?

no, it's a one way hash.  man crypt

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail



Re: [vchkpw] qmail smtp problem

2004-07-21 Thread Jeremy Kitchen
On Wednesday 21 July 2004 12:09 pm, Natter wrote:
> Well, it gets worse. Now when I telnet to port 25,
>
> it's not giving me the correct messages back:
> >telnet  25
>
> Trying ...
> Connected to .
> Escape character is '^]'.
> ^]
> telnet> quit
> Connection closed.

what happens if you wait a few minutes?

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail



[vchkpw] Encrypted Password

2004-07-21 Thread Joshua Leong








Hi all,

 

I am using vpopmail-4.9.10,
is there any method to change the encrypted password to clear text password?

 

Thanks!








RE: [vchkpw] qmail smtp problem

2004-07-21 Thread Rick Romero
On Wed, 2004-07-21 at 12:18, Natter wrote:
> But I don't understand how it can be a dns issue
> when I can connect to the port with no problem. It's
> just not giving me back the correct smtp response.
>
> After I posted the last message, it's now giving 
> me the [220  ESMTP] line when I telnet
> to port 25. It's like it goes to sleep once in a while
> and some smtp servers don't like that so they return
> the email back to the sender...

It's probably a reverse DNS issue, I have that problem even with
everything disabled:
   exec softlimit -m 2300 tcpserver -t3 -S -H -R

It's just that the reverse DNS server is down when you're getting the
'wait'.

Rick

> 
> --- Shane Chrisp <[EMAIL PROTECTED]> wrote:
> > >Well, it gets worse. Now when I telnet to port 25,
> > >it's not giving me the correct messages back:
> > >
> > >>telnet  25
> > >Trying ...
> > >Connected to .
> > >Escape character is '^]'.
> > >^]
> > >telnet> quit
> > >Connection closed.
> > 
> > Brings us back to dns resolution. Ensure that server
> > has a working dns. I
> > like to run a 
> > dnscache for the qmail servers to use. If the
> > servers are not doing a lot of
> > work I run
> > it on the same server as the qmail install. Bind had
> > been known to give
> > problems with
> > qmail.
> > 
> > Shane
> > 
> > 
> 
> 
> 
>   
> __
> Do you Yahoo!?
> Yahoo! Mail - 50x more storage than other providers!
> http://promotions.yahoo.com/new_mail



RE: [vchkpw] qmail smtp problem

2004-07-21 Thread Shane Chrisp
Why not add recordio to your smtpd service start script and watch whats
happening
from that side of things then.

Shane 

>-Original Message-
>From: Natter [mailto:[EMAIL PROTECTED] 
>Sent: Thursday, 22 July 2004 1:19 AM
>To: [EMAIL PROTECTED]
>Subject: RE: [vchkpw] qmail smtp problem
>
>But I don't understand how it can be a dns issue
>when I can connect to the port with no problem. It's
>just not giving me back the correct smtp response.
>
>After I posted the last message, it's now giving 
>me the [220  ESMTP] line when I telnet
>to port 25. It's like it goes to sleep once in a while
>and some smtp servers don't like that so they return
>the email back to the sender...
>
>
>--- Shane Chrisp <[EMAIL PROTECTED]> wrote:
>> >Well, it gets worse. Now when I telnet to port 25,
>> >it's not giving me the correct messages back:
>> >
>> >>telnet  25
>> >Trying ...
>> >Connected to .
>> >Escape character is '^]'.
>> >^]
>> >telnet> quit
>> >Connection closed.
>> 
>> Brings us back to dns resolution. Ensure that server
>> has a working dns. I
>> like to run a 
>> dnscache for the qmail servers to use. If the
>> servers are not doing a lot of
>> work I run
>> it on the same server as the qmail install. Bind had
>> been known to give
>> problems with
>> qmail.
>> 
>> Shane
>> 
>> 
>
>
>
>   
>__
>Do you Yahoo!?
>Yahoo! Mail - 50x more storage than other providers!
>http://promotions.yahoo.com/new_mail
>



RE: [vchkpw] qmail smtp problem

2004-07-21 Thread Natter
But I don't understand how it can be a dns issue
when I can connect to the port with no problem. It's
just not giving me back the correct smtp response.

After I posted the last message, it's now giving 
me the [220  ESMTP] line when I telnet
to port 25. It's like it goes to sleep once in a while
and some smtp servers don't like that so they return
the email back to the sender...


--- Shane Chrisp <[EMAIL PROTECTED]> wrote:
> >Well, it gets worse. Now when I telnet to port 25,
> >it's not giving me the correct messages back:
> >
> >>telnet  25
> >Trying ...
> >Connected to .
> >Escape character is '^]'.
> >^]
> >telnet> quit
> >Connection closed.
> 
> Brings us back to dns resolution. Ensure that server
> has a working dns. I
> like to run a 
> dnscache for the qmail servers to use. If the
> servers are not doing a lot of
> work I run
> it on the same server as the qmail install. Bind had
> been known to give
> problems with
> qmail.
> 
> Shane
> 
> 




__
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail


RE: [vchkpw] qmail smtp problem

2004-07-21 Thread Shane Chrisp
>Well, it gets worse. Now when I telnet to port 25,
>it's not giving me the correct messages back:
>
>>telnet  25
>Trying ...
>Connected to .
>Escape character is '^]'.
>^]
>telnet> quit
>Connection closed.

Brings us back to dns resolution. Ensure that server has a working dns. I
like to run a 
dnscache for the qmail servers to use. If the servers are not doing a lot of
work I run
it on the same server as the qmail install. Bind had been known to give
problems with
qmail.

Shane



RE: [vchkpw] qmail smtp problem

2004-07-21 Thread Natter
Well, it gets worse. Now when I telnet to port 25,
it's not giving me the correct messages back:

>telnet  25
Trying ...
Connected to .
Escape character is '^]'.
^]
telnet> quit
Connection closed.

A 'good' qmail server:

>telnet  25
Trying ...
Connected to .
Escape character is '^]'.
220  ESMTP

There is no ESMTP being sent back   ???



--- Shane Chrisp <[EMAIL PROTECTED]> wrote:
> That sounds like you have a dns issue. Make sure the
> server is
> able to resolve properly and to test if you have a
> problem with
> the mtu set the interface to a lower value. The
> lowest being 576
> with something like ifconfig eth0 mtu 576. But from
> what you just
> said, I would probably be looking at dns as well.
> 
> Shane
>  
> 
> >-Original Message-
> >From: Natter [mailto:[EMAIL PROTECTED] 
> >Sent: Thursday, 22 July 2004 12:59 AM
> >To: [EMAIL PROTECTED]
> >Subject: RE: [vchkpw] qmail smtp problem
> >
> >Well, now I have to figure out what a DF bit is...
> >I use a linksys wirless router for my router. How
> >would I remove the DF bit on my router?
> >
> >I see the request coming into the
> qmail-smtp/current
> >file. 
> >
> >What I do notice when I do a tail on the smtp file
> is
> >when an email first comes in, I see the: tcpserver:
> ok
> >but for some reason, it takes a long time to
> deliver
> >that test email. 3-5 minutes... to show up in my
> >inbox..
> >
> >Also, I just tried to telnet to port 25 and do the
> >smtp commands and it was just hanging:
> >telnet my-server 25
> >Trying ...
> >Connected to .
> >Escape character is '^]'.
> >HELO t10.net
> >MAIL FROM: [EMAIL PROTECTED] 
> >^]
> >telnet> quit
> >
> >It was not responding at all...
> >
> >
> >
> >
> >
> >
> >--- Shane Chrisp <[EMAIL PROTECTED]> wrote:
> >> The last time I had this same error it turned out
> >> that it was broken
> >> routers/hosts upstream from me that was setting
> the
> >> DF bit. I just 
> >> dropped the MTU on the qmail box and all was
> sweet
> >> again. Since then
> >> I have put in a new IOS on the cisco router and I
> >> now remove the DF bit
> >> at the border.
> >> 
> >> May not be your problem but would still be worth
> >> checking.
> >> 
> >> Shane 
> >> 
> >> >-Original Message-
> >> >From: Natter [mailto:[EMAIL PROTECTED] 
> >> >Sent: Thursday, 22 July 2004 12:19 AM
> >> >To: [EMAIL PROTECTED]
> >> >Subject: [vchkpw] qmail smtp problem
> >> >
> >> >I'm posting to this list because I don't know if
> >> this
> >> >is a qmail problem or a vpopmail problem:
> >> >
> >> >I have a problem with my qmail smtp server but I
> >> can't
> >> >figure out what is causing the problem.
> >> >
> >> >I've had 5 people so far that have complained
> that
> >> >they are getting rejected messages back when
> trying
> >> to
> >> >send to me.
> >> >Here is the mesage
> >> >>Connection timed out:
> >> >>SMTP timeout while connected to [my ip address]
> >> after
> >> >
> >> >>initial connection:  retry timeout exceeded
> >> >
> >> >Now, I know that me and the other people that
> have
> >> >email accounts on my server get 100s of emails a
> >> day.
> >> >It's just from a select few that can't seem to
> send
> >> me
> >> >email. (but I can send them email with no
> problems)
> >> >
> >> >Also, I use the unix program called 'mon' to do
> >> >monitoring and it times out when testing my
> server,
> >> >yet it works great with other qmail
> >> >servers I've built.
> >> >./smtp.monitor  
> >> >: Connection timed out
> >> >
> >> >I can telnet to my server and type in smtp
> commands
> >> >manually and it works fine.
> >> >
> >> >I just got done reinstalling qmail and I still
> have
> >> >the same problem.
> >> >
> >> >Anyone have any ideas?
> >> >
> >> >Thanks.
> >> >Eric
> >> >
> >>
> >__
> >> >Do You Yahoo!?
> >> >Tired of spam?  Yahoo! Mail has the best spam
> >> protection around 
> >> >http://mail.yahoo.com 
> >> >
> >> 
> >> 
> >
> >
> >
> > 
> > 
> >__
> >Do you Yahoo!?
> >Vote for the stars of Yahoo!'s next ad campaign!
>
>http://advision.webevents.yahoo.com/yahoo/votelifeengine/
> >
> 
> 





__
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/


RE: [vchkpw] qmail smtp problem

2004-07-21 Thread Shane Chrisp
That sounds like you have a dns issue. Make sure the server is
able to resolve properly and to test if you have a problem with
the mtu set the interface to a lower value. The lowest being 576
with something like ifconfig eth0 mtu 576. But from what you just
said, I would probably be looking at dns as well.

Shane
 

>-Original Message-
>From: Natter [mailto:[EMAIL PROTECTED] 
>Sent: Thursday, 22 July 2004 12:59 AM
>To: [EMAIL PROTECTED]
>Subject: RE: [vchkpw] qmail smtp problem
>
>Well, now I have to figure out what a DF bit is...
>I use a linksys wirless router for my router. How
>would I remove the DF bit on my router?
>
>I see the request coming into the qmail-smtp/current
>file. 
>
>What I do notice when I do a tail on the smtp file is
>when an email first comes in, I see the: tcpserver: ok
>but for some reason, it takes a long time to deliver
>that test email. 3-5 minutes... to show up in my
>inbox..
>
>Also, I just tried to telnet to port 25 and do the
>smtp commands and it was just hanging:
>telnet my-server 25
>Trying ...
>Connected to .
>Escape character is '^]'.
>HELO t10.net
>MAIL FROM: [EMAIL PROTECTED] 
>^]
>telnet> quit
>
>It was not responding at all...
>
>
>
>
>
>
>--- Shane Chrisp <[EMAIL PROTECTED]> wrote:
>> The last time I had this same error it turned out
>> that it was broken
>> routers/hosts upstream from me that was setting the
>> DF bit. I just 
>> dropped the MTU on the qmail box and all was sweet
>> again. Since then
>> I have put in a new IOS on the cisco router and I
>> now remove the DF bit
>> at the border.
>> 
>> May not be your problem but would still be worth
>> checking.
>> 
>> Shane 
>> 
>> >-Original Message-
>> >From: Natter [mailto:[EMAIL PROTECTED] 
>> >Sent: Thursday, 22 July 2004 12:19 AM
>> >To: [EMAIL PROTECTED]
>> >Subject: [vchkpw] qmail smtp problem
>> >
>> >I'm posting to this list because I don't know if
>> this
>> >is a qmail problem or a vpopmail problem:
>> >
>> >I have a problem with my qmail smtp server but I
>> can't
>> >figure out what is causing the problem.
>> >
>> >I've had 5 people so far that have complained that
>> >they are getting rejected messages back when trying
>> to
>> >send to me.
>> >Here is the mesage
>> >>Connection timed out:
>> >>SMTP timeout while connected to [my ip address]
>> after
>> >
>> >>initial connection:  retry timeout exceeded
>> >
>> >Now, I know that me and the other people that have
>> >email accounts on my server get 100s of emails a
>> day.
>> >It's just from a select few that can't seem to send
>> me
>> >email. (but I can send them email with no problems)
>> >
>> >Also, I use the unix program called 'mon' to do
>> >monitoring and it times out when testing my server,
>> >yet it works great with other qmail
>> >servers I've built.
>> >./smtp.monitor  
>> >: Connection timed out
>> >
>> >I can telnet to my server and type in smtp commands
>> >manually and it works fine.
>> >
>> >I just got done reinstalling qmail and I still have
>> >the same problem.
>> >
>> >Anyone have any ideas?
>> >
>> >Thanks.
>> >Eric
>> >
>> >__
>> >Do You Yahoo!?
>> >Tired of spam?  Yahoo! Mail has the best spam
>> protection around 
>> >http://mail.yahoo.com 
>> >
>> 
>> 
>
>
>
>   
>   
>__
>Do you Yahoo!?
>Vote for the stars of Yahoo!'s next ad campaign!
>http://advision.webevents.yahoo.com/yahoo/votelifeengine/
>



RE: [vchkpw] qmail smtp problem

2004-07-21 Thread Natter
Well, now I have to figure out what a DF bit is...
I use a linksys wirless router for my router. How
would I remove the DF bit on my router?

I see the request coming into the qmail-smtp/current
file. 

What I do notice when I do a tail on the smtp file is
when an email first comes in, I see the: tcpserver: ok
but for some reason, it takes a long time to deliver
that test email. 3-5 minutes... to show up in my
inbox..

Also, I just tried to telnet to port 25 and do the
smtp commands and it was just hanging:
telnet my-server 25
Trying ...
Connected to .
Escape character is '^]'.
HELO t10.net
MAIL FROM: [EMAIL PROTECTED] 
^]
telnet> quit

It was not responding at all...






--- Shane Chrisp <[EMAIL PROTECTED]> wrote:
> The last time I had this same error it turned out
> that it was broken
> routers/hosts upstream from me that was setting the
> DF bit. I just 
> dropped the MTU on the qmail box and all was sweet
> again. Since then
> I have put in a new IOS on the cisco router and I
> now remove the DF bit
> at the border.
> 
> May not be your problem but would still be worth
> checking.
> 
> Shane 
> 
> >-Original Message-
> >From: Natter [mailto:[EMAIL PROTECTED] 
> >Sent: Thursday, 22 July 2004 12:19 AM
> >To: [EMAIL PROTECTED]
> >Subject: [vchkpw] qmail smtp problem
> >
> >I'm posting to this list because I don't know if
> this
> >is a qmail problem or a vpopmail problem:
> >
> >I have a problem with my qmail smtp server but I
> can't
> >figure out what is causing the problem.
> >
> >I've had 5 people so far that have complained that
> >they are getting rejected messages back when trying
> to
> >send to me.
> >Here is the mesage
> >>Connection timed out:
> >>SMTP timeout while connected to [my ip address]
> after
> >
> >>initial connection:  retry timeout exceeded
> >
> >Now, I know that me and the other people that have
> >email accounts on my server get 100s of emails a
> day.
> >It's just from a select few that can't seem to send
> me
> >email. (but I can send them email with no problems)
> >
> >Also, I use the unix program called 'mon' to do
> >monitoring and it times out when testing my server,
> >yet it works great with other qmail
> >servers I've built.
> >./smtp.monitor  
> >: Connection timed out
> >
> >I can telnet to my server and type in smtp commands
> >manually and it works fine.
> >
> >I just got done reinstalling qmail and I still have
> >the same problem.
> >
> >Anyone have any ideas?
> >
> >Thanks.
> >Eric
> >
> >__
> >Do You Yahoo!?
> >Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> >http://mail.yahoo.com 
> >
> 
> 





__
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/


Re: [vchkpw] forwording mail's from qmail to ______ server

2004-07-21 Thread Jeremy Kitchen
On Wednesday 21 July 2004 11:13 am, Eric Ziegast wrote:
> [EMAIL PROTECTED] wrote:
> > We are shifting one of mail server from qmail to Exchange server
> > for testing,
>
> ... my sympathies.  You'll be back.

after his PHB dies, perhaps :)

> > so how can i forward mails from qmail mail server to Exchange
> > server.
>
> Look at the qmail-remote manual page.
>   http://qmail.geto.net/man/man8/qmail-remote.html
>
> If it's just POP mailboxes (not IMAP with subfolders), you can
> push the messages out using qmail-remote.

or easier, serialmail.

[snip]
> If you need to preserve IMAP subfolders, it gets more complicated.
> You'd actually have to write (as Jeremy said) a Perl script using
> Net:IMAP to push the message into their new mailboxes.

I found Net::IMAP to suck.  Mail::IMAPClient was much better, YMMV.

> If it's just 
> a few users, each user can add the new IMAP account and just
> drag/drop the messages into their new folders.

that's how I'd do it :)

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail



RE: [vchkpw] qmail smtp problem

2004-07-21 Thread Eclair Network Operations Center
Those 5 people are probably using ISPs that firewalls off the SMTP port to
any host other than the ISP's own mail servers.  This is done to curb down
on the possibility of spamming.

-Henry Ho
Eclair Omnimedia Corporation

-Original Message-
From: Natter [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 21, 2004 9:19 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] qmail smtp problem

I'm posting to this list because I don't know if this is a qmail problem or
a vpopmail problem:

I have a problem with my qmail smtp server but I can't figure out what is
causing the problem.

I've had 5 people so far that have complained that they are getting rejected
messages back when trying to send to me.
Here is the mesage
>Connection timed out:
>SMTP timeout while connected to [my ip address] after

>initial connection:  retry timeout exceeded

Now, I know that me and the other people that have email accounts on my
server get 100s of emails a day.
It's just from a select few that can't seem to send me email. (but I can
send them email with no problems)

Also, I use the unix program called 'mon' to do monitoring and it times out
when testing my server, yet it works great with other qmail servers I've
built.
./smtp.monitor 
: Connection timed out

I can telnet to my server and type in smtp commands manually and it works
fine.

I just got done reinstalling qmail and I still have the same problem.

Anyone have any ideas?

Thanks.
Eric

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com 




RE: [vchkpw] qmail smtp problem

2004-07-21 Thread Shane Chrisp
The last time I had this same error it turned out that it was broken
routers/hosts upstream from me that was setting the DF bit. I just 
dropped the MTU on the qmail box and all was sweet again. Since then
I have put in a new IOS on the cisco router and I now remove the DF bit
at the border.

May not be your problem but would still be worth checking.

Shane 

>-Original Message-
>From: Natter [mailto:[EMAIL PROTECTED] 
>Sent: Thursday, 22 July 2004 12:19 AM
>To: [EMAIL PROTECTED]
>Subject: [vchkpw] qmail smtp problem
>
>I'm posting to this list because I don't know if this
>is a qmail problem or a vpopmail problem:
>
>I have a problem with my qmail smtp server but I can't
>figure out what is causing the problem.
>
>I've had 5 people so far that have complained that
>they are getting rejected messages back when trying to
>send to me.
>Here is the mesage
>>Connection timed out:
>>SMTP timeout while connected to [my ip address] after
>
>>initial connection:  retry timeout exceeded
>
>Now, I know that me and the other people that have
>email accounts on my server get 100s of emails a day.
>It's just from a select few that can't seem to send me
>email. (but I can send them email with no problems)
>
>Also, I use the unix program called 'mon' to do
>monitoring and it times out when testing my server,
>yet it works great with other qmail
>servers I've built.
>./smtp.monitor  
>: Connection timed out
>
>I can telnet to my server and type in smtp commands
>manually and it works fine.
>
>I just got done reinstalling qmail and I still have
>the same problem.
>
>Anyone have any ideas?
>
>Thanks.
>Eric
>
>__
>Do You Yahoo!?
>Tired of spam?  Yahoo! Mail has the best spam protection around 
>http://mail.yahoo.com 
>



Re: [vchkpw] Filesystem question

2004-07-21 Thread Eric Ziegast
> > I'm thinking that there are probably more efficient filesystems than ext3
> > for at least some of this, and have been thinking about using xfs (faster
> > but still journaling), or maybe ext2 (very fast but no journaling) for at
> > least the qmail queue. Does anyone have some recommendations for the
> > filesystem to use on the partitions?
> 
> I normally use reiserfs on the vpopmail home dir, and ext3 or ext2 on 
> the qmail queue partition (due to old problems with reiserfs and qmail). 
>   I have recently installed a few systems with reiserfs on every 
> partition and have seen no untoward problems.

I did too.

When using ReiserFS /w Qmail, don't forget to apply "the patch".
  http://www.jedi.claranet.fr/qmail-link-sync.patch

Details:
  http://www.jedi.claranet.fr/reisersmtp.html

> I've heard good things about both jfs and xfs with vpopmail home and 
> qmail queue, but I haven't had time to play with them or benchmark them 
> under heavy load.

The one thing that I might like with XFS over otehrs is that it is
the only filesystem with documented hooks for using LVM snapshots
Has anyone ever used snapshots with Ext3 or ReiserFS?  Snapshots are
great becasue it's the fastest way to backup your mail partition
against user errors ("Help, I deleted my mailbox by mistake!") without
adding stress/load to the mail server.

--
Eric Ziegast


[vchkpw] qmail smtp problem

2004-07-21 Thread Natter
I'm posting to this list because I don't know if this
is a qmail problem or a vpopmail problem:

I have a problem with my qmail smtp server but I can't
figure out what is causing the problem.

I've had 5 people so far that have complained that
they are getting rejected messages back when trying to
send to me.
Here is the mesage
>Connection timed out:
>SMTP timeout while connected to [my ip address] after

>initial connection:  retry timeout exceeded

Now, I know that me and the other people that have
email accounts on my server get 100s of emails a day.
It's just from a select few that can't seem to send me
email. (but I can send them email with no problems)

Also, I use the unix program called 'mon' to do
monitoring and it times out when testing my server,
yet it works great with other qmail
servers I've built.
./smtp.monitor  
: Connection timed out

I can telnet to my server and type in smtp commands
manually and it works fine.

I just got done reinstalling qmail and I still have
the same problem.

Anyone have any ideas?

Thanks.
Eric

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: [vchkpw] forwording mail's from qmail to ______ server

2004-07-21 Thread Eric Ziegast
[EMAIL PROTECTED] wrote:
> We are shifting one of mail server from qmail to Exchange server
> for testing,

... my sympathies.  You'll be back.

> so how can i forward mails from qmail mail server to Exchange 
> server.

Look at the qmail-remote manual page.
  http://qmail.geto.net/man/man8/qmail-remote.html

If it's just POP mailboxes (not IMAP with subfolders), you can
push the messages out using qmail-remote.  Below are examples
of how to remail messages in people's folders.  Your script may
not end up being exactly the same, but it should give you an
idea as to qhat you need to do.

  #!/bin/sh
  PATH=/var/qmail/bin:/home/vpopmail/bin:$PATH # or whatever
  export PATH
  REMOTE=NEWSERVER.YOUR.DOMAIN
  [EMAIL PROTECTED]
  USERS="[EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]"
  for user in $USERS; do
dir=`vuserinfo -d $user`
for subdir in new cur; do
  cd $dir/Maildir/$subdir || continue
  for msg in *; do
qmail-remote $REMOTE $ADMIN $user < $msg
  done
done
  done

If you just have one domain using qmail and not vpopmail,
just change directories to the domain and run:

  #!/bin/sh
  PATH=/var/qmail/bin:$PATH # or whatever
  export PATH
  REMOTE=EXCHANGE.YOUR.DOMAIN
  [EMAIL PROTECTED]
  for user in * do
for subdir in new cur; do
  cd $dir/Maildir/$subdir || continue
  for msg in *; do
qmail-remote $REMOTE $ADMIN [EMAIL PROTECTED] < $msg
  done
done
  done

If you need to preserve IMAP subfolders, it gets more complicated.
You'd actually have to write (as Jeremy said) a Perl script using
Net:IMAP to push the message into their new mailboxes.  If it's just
a few users, each user can add the new IMAP account and just
drag/drop the messages into their new folders.

--
Eric Ziegast


Re: [vchkpw] Filesystem question

2004-07-21 Thread Trevor Little

Bill Wichers wrote:
I've got a qmail/vpopmail/courier system at the moment that supports a
fair load that continues to increase. At the moment everything runs on
sevaral ext3 partions on top of LVM (to allow online expansion) on a RAID5
array using a hardware controller with write back cache.
I'm thinking that there are probably more efficient filesystems than ext3
for at least some of this, and have been thinking about using xfs (faster
but still journaling), or maybe ext2 (very fast but no journaling) for at
least the qmail queue. Does anyone have some recommendations for the
filesystem to use on the partitions? Right now there are three partitions
on the system, one for qmail's queue, one for the virus scanner's temp
files, and one for the vpopmail maildirs. I have to be able to do online
expansion for at least the maildirs due to IMAP and user requirements.
Any recommendations or insights would be appreciated!
 -Bill
We were using ext3 software raid5 on linux for a database server.  We 
experienced some slowness/unresponsive problems similar to:
https://listman.redhat.com/archives/ext3-users/2002-October/msg00073.html
so we're going to try giving ext2 a try.  it's not in production yet but 
so far it does seem faster.





Re: [vchkpw] Filesystem question

2004-07-21 Thread Rick Macdougall

Bill Wichers wrote:
I've got a qmail/vpopmail/courier system at the moment that supports a
fair load that continues to increase. At the moment everything runs on
sevaral ext3 partions on top of LVM (to allow online expansion) on a RAID5
array using a hardware controller with write back cache.
I'm thinking that there are probably more efficient filesystems than ext3
for at least some of this, and have been thinking about using xfs (faster
but still journaling), or maybe ext2 (very fast but no journaling) for at
least the qmail queue. Does anyone have some recommendations for the
filesystem to use on the partitions? Right now there are three partitions
on the system, one for qmail's queue, one for the virus scanner's temp
files, and one for the vpopmail maildirs. I have to be able to do online
expansion for at least the maildirs due to IMAP and user requirements.
Any recommendations or insights would be appreciated!
Hi,
I normally use reiserfs on the vpopmail home dir, and ext3 or ext2 on 
the qmail queue partition (due to old problems with reiserfs and qmail). 
 I have recently installed a few systems with reiserfs on every 
partition and have seen no untoward problems.

I've heard good things about both jfs and xfs with vpopmail home and 
qmail queue, but I haven't had time to play with them or benchmark them 
under heavy load.

Regards,
Rick


[vchkpw] Filesystem question

2004-07-21 Thread Bill Wichers

I've got a qmail/vpopmail/courier system at the moment that supports a
fair load that continues to increase. At the moment everything runs on
sevaral ext3 partions on top of LVM (to allow online expansion) on a RAID5
array using a hardware controller with write back cache.

I'm thinking that there are probably more efficient filesystems than ext3
for at least some of this, and have been thinking about using xfs (faster
but still journaling), or maybe ext2 (very fast but no journaling) for at
least the qmail queue. Does anyone have some recommendations for the
filesystem to use on the partitions? Right now there are three partitions
on the system, one for qmail's queue, one for the virus scanner's temp
files, and one for the vpopmail maildirs. I have to be able to do online
expansion for at least the maildirs due to IMAP and user requirements.

Any recommendations or insights would be appreciated!

 -Bill

*
Waveform Technology
UNIX Systems Administrator




Re: [vchkpw] www.qmailrocks.org - was: Re: [vchkpw] RE: good howto

2004-07-21 Thread Abidis Solano
isoqlog, qmailmrtg
this 2 utilities show usage statistics of rour qmail box.


-- 
Abidis Solano Nova
http://www.minuevaweb.com

>> I like "http://sylvestre.ledru.info/howto/howto_qmail_vpopmail.php"; how
> to
>> also. It has some utils qMail Rocks lacks. I recently combined it with
>> qMailRock's how to and now my server really ROCKS!
> Which utilities you're saying qmailrocks site is missing? Why they are so
> good?
>
> bruno.
>
>