Re: [vchkpw] vpopmail via NFS

2005-11-15 Thread Rick Macdougall
Nitass Sutaveephamochanon wrote:
 Hello All,
 
 I want to setup qmail with vpopmail that is mounted via NFS. As I 
 tested, the mail message can sent to the new folder of user maildir 
 correctly but I can not pop that message to mail client program. I did 
 not find any error messages on my linux box.
 
 Could anyone please suggest me?
 
 Thanks for advance,
 Nitass
 

Hi,

Check the time on the two servers, make sure that they are the same.

Regards,

Rick


Re: [vchkpw] vpopmail via NFS

2005-11-15 Thread Nitass Sutaveephamochanon

Hello Rick,

I got it. Thank you very much. :-)

If you do not mind, could you please advice me how the time is involved to 
this issue?


Thanks and regards,
Nitass

- Original Message - 
From: Rick Macdougall [EMAIL PROTECTED]

To: vchkpw@inter7.com
Sent: Tuesday, November 15, 2005 8:29 PM
Subject: Re: [vchkpw] vpopmail via NFS



Nitass Sutaveephamochanon wrote:

Hello All,

I want to setup qmail with vpopmail that is mounted via NFS. As I
tested, the mail message can sent to the new folder of user maildir
correctly but I can not pop that message to mail client program. I did
not find any error messages on my linux box.

Could anyone please suggest me?

Thanks for advance,
Nitass



Hi,

Check the time on the two servers, make sure that they are the same.

Regards,

Rick





Re: [vchkpw] vpopmail via NFS

2005-11-15 Thread Rick Macdougall
Nitass Sutaveephamochanon wrote:
 Hello Rick,
 
 I got it. Thank you very much. :-)
 
 If you do not mind, could you please advice me how the time is involved 
 to this issue?

Hi,

A new message comes in.  The message gets stored on the NFS server.  The
time on the pop server is 10 minutes behind the time on the NFS server,
the pop server doesn't see the new message until 10 minutes is passed
because the time stamp on the new message is 10 minutes in the future.

Regards,

Rick



Re: [vchkpw] vpopmail via NFS

2005-11-15 Thread Nitass Sutaveephamochanon

Hi Rick,

Thank you so much.

Nice to meet you,
Nitass

- Original Message - 
From: Rick Macdougall [EMAIL PROTECTED]

To: vchkpw@inter7.com
Sent: Tuesday, November 15, 2005 9:24 PM
Subject: Re: [vchkpw] vpopmail via NFS



Nitass Sutaveephamochanon wrote:

Hello Rick,

I got it. Thank you very much. :-)

If you do not mind, could you please advice me how the time is involved 
to this issue?


Hi,

A new message comes in.  The message gets stored on the NFS server.  The
time on the pop server is 10 minutes behind the time on the NFS server,
the pop server doesn't see the new message until 10 minutes is passed
because the time stamp on the new message is 10 minutes in the future.

Regards,

Rick




RE: [vchkpw] vpopmail via NFS

2005-11-15 Thread shadowplay.net


try using ntp

kenneth gf brown
ceo shadowplay.net

 -Original Message-
 From: Rick Macdougall [mailto:[EMAIL PROTECTED] 
 Sent: November 15, 2005 08:24
 To: vchkpw@inter7.com
 Subject: Re: [vchkpw] vpopmail via NFS
 
 
 Nitass Sutaveephamochanon wrote:
  Hello Rick,
  
  I got it. Thank you very much. :-)
  
  If you do not mind, could you please advice me how the time is 
  involved
  to this issue?
 
 Hi,
 
 A new message comes in.  The message gets stored on the NFS 
 server.  The time on the pop server is 10 minutes behind the 
 time on the NFS server, the pop server doesn't see the new 
 message until 10 minutes is passed because the time stamp on 
 the new message is 10 minutes in the future.
 
 Regards,
 
 Rick
 
 
 __ NOD32 1.1170 (20050715) Information __
 
 This message was checked by NOD32 antivirus system. 
 http://www.eset.com
 
 



Re: [vchkpw] vpopmail via NFS

2005-11-15 Thread Nitass Sutaveephamochanon

Hello,



Thanks for advice. I will use it.



I have one more question. Have anyone used vpopmail via SMB protocol? I mean 
the vpopmail is mounted from windows to linux box. I have tried but it did 
not work. The qmail-send log message has shown as delivery 16: failure: 
link_REALLY_failed.




Thanks,

Nitass



- Original Message - 
From: shadowplay.net [EMAIL PROTECTED]

To: vchkpw@inter7.com
Sent: Tuesday, November 15, 2005 11:52 PM
Subject: RE: [vchkpw] vpopmail via NFS





try using ntp

kenneth gf brown
ceo shadowplay.net


-Original Message-
From: Rick Macdougall [mailto:[EMAIL PROTECTED]
Sent: November 15, 2005 08:24
To: vchkpw@inter7.com
Subject: Re: [vchkpw] vpopmail via NFS


Nitass Sutaveephamochanon wrote:
 Hello Rick,

 I got it. Thank you very much. :-)

 If you do not mind, could you please advice me how the time is
 involved
 to this issue?

Hi,

A new message comes in.  The message gets stored on the NFS
server.  The time on the pop server is 10 minutes behind the
time on the NFS server, the pop server doesn't see the new
message until 10 minutes is passed because the time stamp on
the new message is 10 minutes in the future.

Regards,

Rick


__ NOD32 1.1170 (20050715) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com









Re: [vchkpw] vpopmail via NFS

2005-11-15 Thread Ken Jones

/var/qmail/queue must be mounted locally.

Nitass Sutaveephamochanon wrote:

Hello,
Thanks for advice. I will use it.

I have one more question. Have anyone used vpopmail via SMB protocol? I 
mean the vpopmail is mounted from windows to linux box. I have tried but 
it did not work. The qmail-send log message has shown as delivery 16: 
failure: link_REALLY_failed.


Thanks,
Nitass

- Original Message - From: shadowplay.net 
[EMAIL PROTECTED]

To: vchkpw@inter7.com
Sent: Tuesday, November 15, 2005 11:52 PM
Subject: RE: [vchkpw] vpopmail via NFS





try using ntp

kenneth gf brown
ceo shadowplay.net


-Original Message-
From: Rick Macdougall [mailto:[EMAIL PROTECTED]
Sent: November 15, 2005 08:24
To: vchkpw@inter7.com
Subject: Re: [vchkpw] vpopmail via NFS


Nitass Sutaveephamochanon wrote:
 Hello Rick,

 I got it. Thank you very much. :-)

 If you do not mind, could you please advice me how the time is
 involved
 to this issue?

Hi,

A new message comes in.  The message gets stored on the NFS
server.  The time on the pop server is 10 minutes behind the
time on the NFS server, the pop server doesn't see the new
message until 10 minutes is passed because the time stamp on
the new message is 10 minutes in the future.

Regards,

Rick


__ NOD32 1.1170 (20050715) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com











Re: [vchkpw] vpopmail via NFS

2005-11-15 Thread Nitass Sutaveephamochanon
Thanks for reply. Only the vpopmail directory was mounted from windows 
machine. Others were in the local file system.




Any suggestions please let me know.



Thanks,

Nitass



- Original Message - 
From: Ken Jones [EMAIL PROTECTED]

To: vchkpw@inter7.com
Sent: Wednesday, November 16, 2005 2:00 AM
Subject: Re: [vchkpw] vpopmail via NFS



/var/qmail/queue must be mounted locally.

Nitass Sutaveephamochanon wrote:

Hello,
Thanks for advice. I will use it.

I have one more question. Have anyone used vpopmail via SMB protocol? I 
mean the vpopmail is mounted from windows to linux box. I have tried but 
it did not work. The qmail-send log message has shown as delivery 16: 
failure: link_REALLY_failed.


Thanks,
Nitass

- Original Message - From: shadowplay.net 
[EMAIL PROTECTED]

To: vchkpw@inter7.com
Sent: Tuesday, November 15, 2005 11:52 PM
Subject: RE: [vchkpw] vpopmail via NFS





try using ntp

kenneth gf brown
ceo shadowplay.net


-Original Message-
From: Rick Macdougall [mailto:[EMAIL PROTECTED]
Sent: November 15, 2005 08:24
To: vchkpw@inter7.com
Subject: Re: [vchkpw] vpopmail via NFS


Nitass Sutaveephamochanon wrote:
 Hello Rick,

 I got it. Thank you very much. :-)

 If you do not mind, could you please advice me how the time is
 involved
 to this issue?

Hi,

A new message comes in.  The message gets stored on the NFS
server.  The time on the pop server is 10 minutes behind the
time on the NFS server, the pop server doesn't see the new
message until 10 minutes is passed because the time stamp on
the new message is 10 minutes in the future.

Regards,

Rick


__ NOD32 1.1170 (20050715) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com














RE: [vchkpw] vpopmail via NFS

2005-11-15 Thread Tren Blackburn
smb isn't meant for *nix to *nix connectivity :) Just stick with nfs.  I've
got 4 inbound smtp servers that deliver via nfs...works pretty well.  Bill
Shupp has a good flow chart of a good way to do a mail cluster via nfs.
It's at http://shupp.org/maps/ispcluster.html  

Some people also deliver via smtproutes too...there was a discussion on the
list about a month or so ago about that.  Check the list archives.  

t.

-Original Message-
From: Nitass Sutaveephamochanon [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 15, 2005 10:05 AM
To: vchkpw@inter7.com
Subject: Re: [vchkpw] vpopmail via NFS

Hello,



Thanks for advice. I will use it.



I have one more question. Have anyone used vpopmail via SMB protocol? I mean
the vpopmail is mounted from windows to linux box. I have tried but it did
not work. The qmail-send log message has shown as delivery 16: failure: 
link_REALLY_failed.



Thanks,

Nitass



RE: [vchkpw] vpopmail via NFS

2005-06-28 Thread Andre Fortin
I use NFS for my vpopmail directories, and haven't seen this..

I'm assuming you're using CDB files for auth; that means the DB files are
all on NFS.  If you don't have your root mapped properly, you won't be able
to create files.  Try using -maproot=0 (freebsd, others may be similar) in
your exports on the NFS server, and re-mount the NFS mountpoint; see if that
helps.

Andre

 -Original Message-
 From: James McMillan [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, June 28, 2005 11:47 AM
 To: vchkpw@inter7.com
 Subject: [vchkpw] vpopmail via NFS


 Has anyone tried to hold the vpopmail home as a NFS mount?
 I've gotten the mount setup properly, and the permissions are fine,
 however when adding a domain or a user I recieve the following error.

 minoru# ./bin/vadduser [EMAIL PROTECTED]
 Please enter password for [EMAIL PROTECTED]:
 enter password again:
 Failed while attempting to add user to auth backend
 Error: no auth connection

 If copy out all the files in the ~vpopmail mount, unmount, and copy the
 files into the now-local ~/vpopmail I do not have this problem.

 Has anyone done this, or know what the problem is?

 Thanks in advance.

 Jimmy McMillan

 --

 James McMillan
 V.P. Of Information Technology
 www.TheNetMark.com
 412 New Broadway
 Brooklawn, NJ 08030
 888.767.8750 X106





Re: [vchkpw] vpopmail via NFS

2005-06-28 Thread James McMillan

Hey thanks... Let me explain the scenario a bit better.

NFS Server is a Slackware 10.1 box.
NFS Client (and qmail/vpopmail server) is a FreeBSD 5.4 box.

My server side client export file looks like this.

/mnt/hd/mail_store/test minoru(no_root_squash,rw,sync)

I believe the 'no_root_squash' flag is the equiv of the -maproot=0 for 
BSD/other OS's.


I'm not having any issue at all creating files, chowning, or chmoding.  
It seems that it's a simple locking problem.  [lockd] seems to be 
running on the NFS host, however I'm wondering if it's the difference in 
NFS standards.  I've compiled vpopmail with the --disable-file-locking 
configure flag, and then everything seems to work fine, however it's not 
very multi-user-safe.


Any other thoughts would be greatly appreciated.

Jimmy



Andre Fortin wrote:


I use NFS for my vpopmail directories, and haven't seen this..

I'm assuming you're using CDB files for auth; that means the DB files are
all on NFS.  If you don't have your root mapped properly, you won't be able
to create files.  Try using -maproot=0 (freebsd, others may be similar) in
your exports on the NFS server, and re-mount the NFS mountpoint; see if that
helps.

Andre

 


-Original Message-
From: James McMillan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 28, 2005 11:47 AM
To: vchkpw@inter7.com
Subject: [vchkpw] vpopmail via NFS


Has anyone tried to hold the vpopmail home as a NFS mount?
I've gotten the mount setup properly, and the permissions are fine,
however when adding a domain or a user I recieve the following error.

minoru# ./bin/vadduser [EMAIL PROTECTED]
Please enter password for [EMAIL PROTECTED]:
enter password again:
Failed while attempting to add user to auth backend
Error: no auth connection

If copy out all the files in the ~vpopmail mount, unmount, and copy the
files into the now-local ~/vpopmail I do not have this problem.

Has anyone done this, or know what the problem is?

Thanks in advance.

Jimmy McMillan

--

James McMillan
V.P. Of Information Technology
www.TheNetMark.com
412 New Broadway
Brooklawn, NJ 08030
888.767.8750 X106


   





 




--

James McMillan
V.P. Of Information Technology
www.TheNetMark.com
412 New Broadway
Brooklawn, NJ 08030
888.767.8750 X106 



RE: [vchkpw] vpopmail via NFS

2005-06-28 Thread Clayton Weise
I would reccomend having your slackware server running MySQL or some
other type of database server.  The installing the mysql client binaries
and libraries on your frontend mail servers.  Compile vpopmail for
mysql (or the db backend of your choice) with replication.  Designate
your slackware server as your writing server, and the local boxes as
your reading server.

Then, on each local machine setup mysql replication from the frontend
mail server(s) as slaves to the master slackware server on the backend.
Then, mount your ~vpopmail/etc and ~vpopmail/domains, and possibly
~vpopmail/bin depending on how you want to set it up, via NFS from the
slackware backend server to your bsd frontend servers.

With a SQL server handling the authentication it will help you in a
couple of ways.  First is that you won't need to worry about file
locking issues since the the SQL server will take care of all of that.
Second would be improved performance, since you'll be querying a local
database instead of having to travel across NFS to deliver the mail.
And lastly, you could even apply the MySQL patch to tcpserver to do
pop-before-smtp authentication out of the MySQL database in place of the
cdb file.  This would only be a problem if you were getting so many pop
connections that it couldn't rebuild the cdb file fast enough.  Another
workaround for the whole rebuilding tcp.smtp.cdb file thing is to use
the relay-ctrl program from untroubled.org for relay control.

-Clayton

-Original Message-
From: James McMillan [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 28, 2005 10:39 AM
To: vchkpw@inter7.com
Subject: Re: [vchkpw] vpopmail via NFS

Hey thanks... Let me explain the scenario a bit better.

NFS Server is a Slackware 10.1 box.
NFS Client (and qmail/vpopmail server) is a FreeBSD 5.4 box.

My server side client export file looks like this.

/mnt/hd/mail_store/test minoru(no_root_squash,rw,sync)

I believe the 'no_root_squash' flag is the equiv of the -maproot=0 for 
BSD/other OS's.

I'm not having any issue at all creating files, chowning, or chmoding.  
It seems that it's a simple locking problem.  [lockd] seems to be 
running on the NFS host, however I'm wondering if it's the difference in

NFS standards.  I've compiled vpopmail with the --disable-file-locking 
configure flag, and then everything seems to work fine, however it's not

very multi-user-safe.

Any other thoughts would be greatly appreciated.

Jimmy



Andre Fortin wrote:

I use NFS for my vpopmail directories, and haven't seen this..

I'm assuming you're using CDB files for auth; that means the DB files
are
all on NFS.  If you don't have your root mapped properly, you won't be
able
to create files.  Try using -maproot=0 (freebsd, others may be similar)
in
your exports on the NFS server, and re-mount the NFS mountpoint; see if
that
helps.

Andre

  

-Original Message-
From: James McMillan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 28, 2005 11:47 AM
To: vchkpw@inter7.com
Subject: [vchkpw] vpopmail via NFS


Has anyone tried to hold the vpopmail home as a NFS mount?
I've gotten the mount setup properly, and the permissions are fine,
however when adding a domain or a user I recieve the following error.

minoru# ./bin/vadduser [EMAIL PROTECTED]
Please enter password for [EMAIL PROTECTED]:
enter password again:
Failed while attempting to add user to auth backend
Error: no auth connection

If copy out all the files in the ~vpopmail mount, unmount, and copy
the
files into the now-local ~/vpopmail I do not have this problem.

Has anyone done this, or know what the problem is?

Thanks in advance.

Jimmy McMillan

--

James McMillan
V.P. Of Information Technology
www.TheNetMark.com
412 New Broadway
Brooklawn, NJ 08030
888.767.8750 X106







  



-- 

James McMillan
V.P. Of Information Technology
www.TheNetMark.com
412 New Broadway
Brooklawn, NJ 08030
888.767.8750 X106 



RE: [vchkpw] vpopmail via NFS

2005-06-28 Thread Clayton Weise
Slight correction on my verbage there:

Second would be improved performance, since you'll be querying a local
database instead of having to travel across NFS to deliver the mail.

I meant to say that it won't have to travel across NFS to find if the
user exists, only to deliver the mail.



Re: [vchkpw] vpopmail via NFS

2005-06-28 Thread James McMillan
Clayton, thanks... that's exactully what i did.  Everything seems good 
now.  Thanks a million for you input.


Jimmy

Clayton Weise wrote:


Slight correction on my verbage there:

 


Second would be improved performance, since you'll be querying a local
database instead of having to travel across NFS to deliver the mail.
   



I meant to say that it won't have to travel across NFS to find if the
user exists, only to deliver the mail.



 




--

James McMillan
V.P. Of Information Technology
www.TheNetMark.com
412 New Broadway
Brooklawn, NJ 08030
888.767.8750 X106