Extract Email Attachments.....

2004-08-20 Thread samy lancher
Hello All,
I have a sendmail Email server on freebsd OS. I  would like to know if there is any 
way I can extract the attachments that come with email and store them in a local 
folder. I do not want to use any MUA. I will be getting several Emails with image 
attachments. I just want to automatically extract those image attachments and store 
them in local folder. Are there any third party applications or some kind of script or 
maybe need some configuration on the server for this purpose. I would really 
appreciate if someone could help me out.
 
Thanks in advance.
Naveen.



-
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ata1: resetting devices ...

2004-07-28 Thread samy lancher
Hello All,
 
This morning I have seen the following log message on my FreeBSD 4.7 server.
 
ad2: READ command timeout tag=0 serv=0 - resetting
ata1: resetting devices .. ad2: DMA limited to UDMA33, non-ATA66 cable or device
 
done.
 
I would really appreciate if someone could tell me the cause for this message and is 
there something to worry about the server?.
 
Thanks in advance.
 
Thanks,
Naveen.



-
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: ata1: resetting devices ...

2004-07-28 Thread samy lancher
Hi,
 
Thanks for the reply. 
Yes, i do have two hard drives in my server. I am not sure about their speeds. Could 
you please give me the solution if the problem is from having two hard drives.
 
Thanks,
Naveen.

JJB [EMAIL PROTECTED] wrote:
These means that you have a mismatch between the devices and the
ribbon connecting them to your motherboard. Most common cause is a
UDMA66 hard drive plugged into the master connector on the ribbon
and a UDMA33 CDROM. The messages is telling you the IDE hard drive
controller is defaulting the ribbon read/write speed to the slower
speed of the CDROM.

Now this is not harmful to your hardware, but does deny your server
the ability to utilize the full speed potential of your hard drive.

This is easily fixed by moving the CDROM drive from the slave
connector on the primary IDE controller to the master commenter on
the secondary IDE controller on your motherboard.

This also can occur if you have two hard drives on the primary IDE
controller of different speeds.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of samy
lancher
Sent: Wednesday, July 28, 2004 12:48 PM
To: [EMAIL PROTECTED]
Subject: ata1: resetting devices ...

Hello All,

This morning I have seen the following log message on my FreeBSD 4.7
server.

ad2: READ command timeout tag=0 serv=0 - resetting
ata1: resetting devices .. ad2: DMA limited to UDMA33, non-ATA66
cable or device

done.

I would really appreciate if someone could tell me the cause for
this message and is there something to worry about the server?.

Thanks in advance.

Thanks,
Naveen.



-
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]



-
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: ata1: resetting devices ...

2004-07-28 Thread samy lancher
These are the messages from dmesg
 
ad0: 76345MB MAXTOR 6L080J4 [155114/16/63] at ata0-master UDMA66
ad2: DMA limited to UDMA33, non-ATA66 cable or device
ad2: 38166MB ST340810A [77545/16/63] at ata1-master UDMA33
Mounting root from ufs:/dev/ad0s1a
ad2: READ command timeout tag=0 serv=0 - resetting
ata1: resetting devices .. ad2: DMA limited to UDMA33, non-ATA66
cable or device

Thanks,
Naveen.

JJB [EMAIL PROTECTED] wrote:
These means that you have a mismatch between the devices and the
ribbon connecting them to your motherboard. Most common cause is a
UDMA66 hard drive plugged into the master connector on the ribbon
and a UDMA33 CDROM. The messages is telling you the IDE hard drive
controller is defaulting the ribbon read/write speed to the slower
speed of the CDROM.

Now this is not harmful to your hardware, but does deny your server
the ability to utilize the full speed potential of your hard drive.

This is easily fixed by moving the CDROM drive from the slave
connector on the primary IDE controller to the master commenter on
the secondary IDE controller on your motherboard.

This also can occur if you have two hard drives on the primary IDE
controller of different speeds.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of samy
lancher
Sent: Wednesday, July 28, 2004 12:48 PM
To: [EMAIL PROTECTED]
Subject: ata1: resetting devices ...

Hello All,

This morning I have seen the following log message on my FreeBSD 4.7
server.

ad2: READ command timeout tag=0 serv=0 - resetting
ata1: resetting devices .. ad2: DMA limited to UDMA33, non-ATA66
cable or device

done.

I would really appreciate if someone could tell me the cause for
this message and is there something to worry about the server?.

Thanks in advance.

Thanks,
Naveen.



-
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]



-
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


rsync: connection unexpectedly closed (0 bytes read so far)

2004-04-22 Thread samy lancher

Hello all,

I am having a problem with rsync. I want to backup data from one machine  to another 
remote machine. I have Freebsd4.7 on source and FreeBSD4.9 on destination machines. 
rsync is installed on both the machines. I gave the following command at the source 
machine.

rsync -avvznrbe  rsh  /sourcepath   66.123.34.123:/destinationpath 

(66.123.34.123 is the destination ip address)

Below is the error i get

opening connection using rsh 66.123.34.123 rsync --server -vvbnlogDtprz . 
/destinationpath
66.123.34.123: operation timed out
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(189)

I am using dry run for testing purpose. I can rsh from source to destination machine 
but i do not understand why rsync is not working. Any direction would be very helpful.

Thanks in advance.

Naveen.



-
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Server down regularly

2004-04-02 Thread samy lancher


meimi [EMAIL PROTECTED] wrote:
Hello,
My server is down regularly. Could anyone tell what thing I should check?
Thanks

Does your system crash or shutdowns by itself.

Naveen.


Meimi
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



-
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway - Enter today
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IMAP-UW Question.

2004-03-26 Thread samy lancher
Hello,
 
I have installed squirrelmail and i get Unknown user or password incorrect everytime 
at login page. I did telnet localhost 143 and i got the following:

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS STARTTLS LOGINDISABLED] 
localhost IMAP4rev1 blah blah ...

I think IMAP_UW  rejects non-encrypted logins by default. So I guess LOGINDISABLED has 
got something to do with the default SSL support in IMAP-UW. Is there any way to 
disable default SSL support, without actually reinstalling cclient and IMAP with make 
variables WITHOUT_SSL or WITH_SSL_AND_PLAINTEXT.

Thanks,

Naveen.



-
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


THREADSAFE, DHAVE-BROKEN-REALPATH; MySql Installation Errors.

2004-03-25 Thread samy lancher
Hello,
I am trying to install mysql4.0 on my FreeBSD4.7 system. When I gave make in 
usr/ports/databases/mysql40-server, the installation process went on on and on ... 
until i gave Ctrl-C. I think it is going into some kind of loop. During installation i 
saw several messages having words like THREADSAFE, DHAVE-BROKEN-REALPATH.
Does anyone had similar problem? Any suggestions?
 
Thanks in advance.
 
Naveen.
 



-
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: THREADSAFE, DHAVE-BROKEN-REALPATH; MySql Installation Errors.-SOLVED

2004-03-25 Thread samy lancher

Hello,
I did make install and the installation process took almost 8 mins but at the end 
mysql4.0 was installed without any problems. 
Thankyou very very much.
 
Naveen.
 

Eric F Crist [EMAIL PROTECTED] wrote:
On Thursday 25 March 2004 09:05 am, you wrote:
 Hello,
 I am trying to install mysql4.0 on my FreeBSD4.7 system. When I gave make
 in usr/ports/databases/mysql40-server, the installation process went on on
 and on ... until i gave Ctrl-C. I think it is going into some kind of loop.
 During installation i saw several messages having words like THREADSAFE,
 DHAVE-BROKEN-REALPATH. Does anyone had similar problem? Any suggestions?

Do a 'make install' and let it run. This will take a while. Start it, let it 
go, and wait for it to either 1) Error out, or 2) Finish successfully. Trust 
me, everything is fine.

-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588

-
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Mysql4.0 Installation problems on FreeBSD

2004-03-23 Thread samy lancher

Hello,

I have been running mysql3.23 on FreeBSD 4.5 server for a long time. I was having 
problems installing mod_php4 using portupgrade. So I decided to upgrade mysql3.23 to 
mysql4 using ports. I first did make uninstall in 
usr/ports/databases/mysql323-client and mysql323-server. I got message that the 
package was not installed completely. But when i gave pkg_info | grep mysql i got no 
results.

Than, from /usr/ports/databases/mysql40-server i gave make install command. 
mysql-client installed properly but mysql-server did not. I got the following error:

shared library mysqlclient.12 is not found.

Goolging for this error did not help me much.Having had no success in installation, I 
uninstalled mysql-client again and from /usr/ports/databases/mysql40-server i gave 
make reinstall. This has worsten the situation. The installation process was going 
on going on and going on.. and i had to give ctrl-C to stop it. I guess it went on to 
some kind of loop. I am now also worried if it has effected any of my system files.

I am totally lost. Any help is greatly appreciated.

Thanks,

Naveen.


Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Portupgrade mod_php4 problems.

2004-03-22 Thread samy lancher
Hello All,
 
I am having hard time in installing php4  using portupgrade.
First i have updated the port directory using cvsup. I am doing fresh installation of 
php so i gave the following command.
 
portupgrade -NPRri mod_php4.
 
I noticed mysql3.23.51 got updated to mysql3.23.58_2. All the other dependencies also 
had no problem in updating. However the php installation was not successful. At the 
end of installation i got the following errors.
 
Command failed [exit code 1] /usr/bin/script -qa /tmp/portupgrade23698.1 make
 
mysql-client-3.23.58 is already installed or may be older version blah blah blah... 
you can uninstall and reinstall mysql blah blah blah ...to install correctly. If you 
really want to override without deleting use FORCE_PICG_REGISTER blah blah
 
I also tried to install php after doing make clean in 
/usr/ports/databases/mysql323-client but it did not help me.
Any pointer would be very helpful. Thanks in advace.
 
Thanks,
Naveen.

Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Portupgrade mod_php4 problems.

2004-03-22 Thread samy lancher
Hey,
 
I did make uninstall  in usr/ports/databases/mysql323-client. and than i gave the 
command
portupgrade -NPRri mod_php4.
 
This time,  mysql-client-4.0.18_1 was installed and at the end of php installation i 
got the following error:
 
--- Registering installation for mysql-client-4.0.18_1
 Returning to build of mod_php4.4-3.4_7,1
Error: shared library mysqlclient.12 does not exist.
 Do I have to manually copy that file into the system?If so, where can i get that file 
and in which location in the system should i copy to?
 
I gave pkg_info | grep mysql and i got following results
mysql-client-4.0.18_1
mysql-server-3.23.51_1
 
Thanks again,
Naveen.

Kevin D. Kinsey, DaleCo, S.P. [EMAIL PROTECTED] wrote:
samy lancher wrote:

 
mysql-client-3.23.58 is already installed or may be older version blah blah blah... 
you can uninstall and reinstall mysql blah blah blah ...to install correctly. If you 
really want to override without deleting use FORCE_PICG_REGISTER blah blah
 
I also tried to install php after doing make clean in 
/usr/ports/databases/mysql323-client but it did not help me.
Any pointer would be very helpful. Thanks in advace.
 
Thanks,
Naveen.

 


Make clean doesn't uninstall the mysql client.
This simply cleans up the work directories that
were created during the build process, whenever
you did that...

Make deinstall will. Do a make deinstall in the
directory you named aboved and then try and
let portupgrade do its work.

HTH,

Kevin Kinsey
DaleCo, S.P.
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Portupgrade mod_php4 problems.

2004-03-22 Thread samy lancher

Kirk Strauser [EMAIL PROTECTED] wrote: 
At 2004-03-22T20:25:54Z, samy lancher writes:

 Hey,

Quit top posting.

 I did make uninstall  in usr/ports/databases/mysql323-client. and than i
 gave the command portupgrade -NPRri mod_php4.
 
 This time, mysql-client-4.0.18_1 was installed and at the end of php
 installation i got the following error:

Did you *want* to upgrade to the MySQL 4 client (instead of the version 3
client that matches your server)?

All i want to do is install mod_php4 in my system. mysql 4 client was installed  
automatically when i used portupgrade. 

 --- Registering installation for mysql-client-4.0.18_1
  Returning to build of mod_php4.4-3.4_7,1
 Error: shared library mysqlclient.12 does not exist.

Step one: Pick a version of MySQL, and make sure that your client and server
are both at that version.

Does mysql-server and mysql-client should have the same version?. Since Mod_php4 has 
mysql-client as dependency, portupgrade has upgraded mysql-client to necessary version 
and did not touch mysql-server. Now, my question is: does making mysql-client and 
mysql-server to same version would really  help in installing mod_php4?

Thanks,

Naveen.

Step two: Try that portupgrade again.
-- 
Kirk Strauser

94 outdated ports on the box,
94 outdated ports.
Portupgrade one, an hour 'til done,
82 outdated ports on the box.


 ATTACHMENT part 2 application/pgp-signature 




Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php installation problems; PortUpgrade Question...

2004-03-20 Thread samy lancher

Hello,

I have installed portupgrade tool on my system. I need some clarification before i use 
it. At present, my system has mysql3.23,Apache1.3 and no php. 

Earlier, My system had php4.2.2 but when i used pkg_update php4.2.2 ; php4-4.2.2 got 
uninstalled and  new version php4-4.3.3 was not  installed because it needed 
upgradation of mysql.

Anyways, Now I want to install php4-4.3.3.1 in my system using portupgrade without 
manually upgrading mysql. When i gave pkg_info | grep php i did not get any output 
since i do not have php installed on my system. So, I am not sure what should i 
specify after -NRr in portupgrade -NRr ??. 

Will the command  portupgrade -NRr php4-4.3.3.1 work? Will this command install 
php4-4.3.3.1 and also upgrade all its dependencies(if necessary). 

I would really appreciate any help.

 

Thanks,

Naveen.
Jorn Argelo [EMAIL PROTECTED] wrote:

Why don't you use portupgrade instead? You can install it via
/usr/ports/sysutils/portupgrade if you don't have it. Though I am not
certain if it works or even exists for FreeBSD 4.5

Anyway, if you do have it, try this:

pkg_info | grep php
portupgrade -Rr 

Cheers,

Jorn

On 3/19/2004, samy lancher wrote:


Hello All,

I have FreeBSD 4.5, apache 1.3.26_3 and mod_php4-4.2.2 . i wanted to upgrade php to 
php4-4.3.3.1 so i downloaded php4-4.3.3,1.tgz to usr/ports/distfiles and gave the 
command

port_update -r mod_php4-4.2.2 php4-4.3.3,1.tgz

I noticed that php old version got uninstalled and the new one did not get installed. 
Then in usr/ports/distfiles when i gave the command pkg_add php4-4.3.3,1.tgz i got 
an error

read_plist: bad command '@conflicts php4-4*'

I guess it is something to do with package version and their dependencies but I am 
not sure what exactly the problem is.

I would also like to know if there is a way i can find out all the dependencies for a 
particular package before actually installing it.

I would appreciate if some one could help me.

Thanks,

Naveen.


Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php installation problems; now mysql connection problems

2004-03-19 Thread samy lancher
This morning I decided to install php4.4.2.2 back. In usr/ports/www/mod_php4 I gave 
make clean. It cleared work directory. Than I gave make install command. I chose 
the option of installing php without mysql since i already have mysql in my system. 
Installation went on fine but now php is not able to connect to mysql. Any clues?
 
Thanks,
Naveen.
Jorn Argelo [EMAIL PROTECTED] wrote:

Why don't you use portupgrade instead? You can install it via
/usr/ports/sysutils/portupgrade if you don't have it. Though I am not
certain if it works or even exists for FreeBSD 4.5

Anyway, if you do have it, try this:

pkg_info | grep php
portupgrade -Rr 

Cheers,

Jorn

On 3/19/2004, samy lancher wrote:


Hello All,

I have FreeBSD 4.5, apache 1.3.26_3 and mod_php4-4.2.2 . i wanted to upgrade php to 
php4-4.3.3.1 so i downloaded php4-4.3.3,1.tgz to usr/ports/distfiles and gave the 
command

port_update -r mod_php4-4.2.2 php4-4.3.3,1.tgz

I noticed that php old version got uninstalled and the new one did not get installed. 
Then in usr/ports/distfiles when i gave the command pkg_add php4-4.3.3,1.tgz i got 
an error

read_plist: bad command '@conflicts php4-4*'

I guess it is something to do with package version and their dependencies but I am 
not sure what exactly the problem is.

I would also like to know if there is a way i can find out all the dependencies for a 
particular package before actually installing it.

I would appreciate if some one could help me.

Thanks,

Naveen.


Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php installation problems; now mysql connection problems

2004-03-19 Thread samy lancher
If I install with mysql, Will i lose my existing databases.?

Matt Emmerton [EMAIL PROTECTED] wrote:When you chose install php without mysql, 
what you really did is install
PHP without mysql _support_. This is why you can't connect.
Reinstall PHP *with* mysql support and you will be fine.

Matt

- Original Message - 
From: samy lancher 
To: Jorn Argelo 
Cc: 
Sent: Friday, March 19, 2004 11:01 AM
Subject: Re: php installation problems; now mysql connection problems


 This morning I decided to install php4.4.2.2 back. In
usr/ports/www/mod_php4 I gave make clean. It cleared work directory. Than
I gave make install command. I chose the option of installing php without
mysql since i already have mysql in my system. Installation went on fine but
now php is not able to connect to mysql. Any clues?

 Thanks,
 Naveen.
 Jorn Argelo wrote:

 Why don't you use portupgrade instead? You can install it via
 /usr/ports/sysutils/portupgrade if you don't have it. Though I am not
 certain if it works or even exists for FreeBSD 4.5

 Anyway, if you do have it, try this:

 pkg_info | grep php
 portupgrade -Rr

 Cheers,

 Jorn

 On 3/19/2004, samy lancher wrote:

 
 Hello All,
 
 I have FreeBSD 4.5, apache 1.3.26_3 and mod_php4-4.2.2 . i wanted to
upgrade php to php4-4.3.3.1 so i downloaded php4-4.3.3,1.tgz to
usr/ports/distfiles and gave the command
 
 port_update -r mod_php4-4.2.2 php4-4.3.3,1.tgz
 
 I noticed that php old version got uninstalled and the new one did not
get installed. Then in usr/ports/distfiles when i gave the command pkg_add
php4-4.3.3,1.tgz i got an error
 
 read_plist: bad command '@conflicts php4-4*'
 
 I guess it is something to do with package version and their dependencies
but I am not sure what exactly the problem is.
 
 I would also like to know if there is a way i can find out all the
dependencies for a particular package before actually installing it.
 
 I would appreciate if some one could help me.
 
 Thanks,
 
 Naveen.
 
 
 Do you Yahoo!?
 Yahoo! Mail - More reliable, more storage, less spam
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]
 Do you Yahoo!?
 Yahoo! Mail - More reliable, more storage, less spam
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php installation problems; now mysql connection problems

2004-03-19 Thread samy lancher
I tried to installed PHP with MySQL but I could not successfully install it. I got an 
error which says MySQL is already installed in your system, please uninstall mysql 
first.
Is there a way to install php without actually uninstalling mysql?

Matt Emmerton [EMAIL PROTECTED] wrote:
When you chose install php without mysql, what you really did is install
PHP without mysql _support_. This is why you can't connect.
Reinstall PHP *with* mysql support and you will be fine.

Matt

- Original Message - 
From: samy lancher 
To: Jorn Argelo 
Cc: 
Sent: Friday, March 19, 2004 11:01 AM
Subject: Re: php installation problems; now mysql connection problems


 This morning I decided to install php4.4.2.2 back. In
usr/ports/www/mod_php4 I gave make clean. It cleared work directory. Than
I gave make install command. I chose the option of installing php without
mysql since i already have mysql in my system. Installation went on fine but
now php is not able to connect to mysql. Any clues?

 Thanks,
 Naveen.
 Jorn Argelo wrote:

 Why don't you use portupgrade instead? You can install it via
 /usr/ports/sysutils/portupgrade if you don't have it. Though I am not
 certain if it works or even exists for FreeBSD 4.5

 Anyway, if you do have it, try this:

 pkg_info | grep php
 portupgrade -Rr

 Cheers,

 Jorn

 On 3/19/2004, samy lancher wrote:

 
 Hello All,
 
 I have FreeBSD 4.5, apache 1.3.26_3 and mod_php4-4.2.2 . i wanted to
upgrade php to php4-4.3.3.1 so i downloaded php4-4.3.3,1.tgz to
usr/ports/distfiles and gave the command
 
 port_update -r mod_php4-4.2.2 php4-4.3.3,1.tgz
 
 I noticed that php old version got uninstalled and the new one did not
get installed. Then in usr/ports/distfiles when i gave the command pkg_add
php4-4.3.3,1.tgz i got an error
 
 read_plist: bad command '@conflicts php4-4*'
 
 I guess it is something to do with package version and their dependencies
but I am not sure what exactly the problem is.
 
 I would also like to know if there is a way i can find out all the
dependencies for a particular package before actually installing it.
 
 I would appreciate if some one could help me.
 
 Thanks,
 
 Naveen.
 
 
 Do you Yahoo!?
 Yahoo! Mail - More reliable, more storage, less spam
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]
 Do you Yahoo!?
 Yahoo! Mail - More reliable, more storage, less spam
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Server automatically Shuts down.

2004-03-18 Thread samy lancher
Last night the system again crashed. Are there any other ways to redude power load on 
the system.?
 
Thanks,
Naveen.

JJB [EMAIL PROTECTED] wrote:
Since your system did not crash with case open, the odds just got
much higher that problem is heat related.
Clean the dust off of motherboard and the inside of the power
supply,
and all fans, and you should be back to normal operating
temperature,
and good to go with case closed.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of samy
lancher
Sent: Wednesday, March 17, 2004 2:40 PM
To: Chris Pressey
Cc: [EMAIL PROTECTED]
Subject: Re: Server automatically Shuts down.

I am not sure how to check auto power off at  option in BIOS.
Yesterday, i let the case open and the system did not crash last
night. I will keep the case open for few more days and see what
happens.

Thanks,
Naveen.
Chris Pressey wrote:
On Tue, 16 Mar 2004 06:33:33 -0800 (PST)
samy lancher wrote:

 My system does not auto reboot. It just crashes as if some one has
 pressed the power off button. I think it is surely some thing to
do
 with power supply. I will open the case and leave for a day. I
will
 also remove one of the CDROM and see what happens.

One simple and obvious thing comes to mind, only because no one has
mentioned it yet:

Does the BIOS on the machine have an auto power off at  option?
And is it active?

-Chris
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


php installation problems

2004-03-18 Thread samy lancher

Hello All, 

I have FreeBSD 4.5, apache 1.3.26_3 and mod_php4-4.2.2 . i wanted to upgrade php to 
php4-4.3.3.1 so i downloaded php4-4.3.3,1.tgz to usr/ports/distfiles and gave the 
command 

port_update   -r   mod_php4-4.2.2   php4-4.3.3,1.tgz 

I noticed that php old version got uninstalled and the new one did not get installed. 
Then in usr/ports/distfiles when i gave the command pkg_add php4-4.3.3,1.tgz i got 
an error 

read_plist: bad command '@conflicts php4-4*' 

I guess it is something to do with package version and their dependencies but I am not 
sure what  exactly the problem is. 

I would also like to know if there is a way i can find out all the dependencies for a 
particular package before actually installing it.

I would appreciate if some one could help me. 

Thanks, 

Naveen.


Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IMAP error.

2004-03-17 Thread samy lancher
Hello All,
I have a FreeBSD 4.5 server. I just installed imap-uw-2002d,1.tgz package and I have 
uncommented the IMAP line in inetd. I restarted the system. When i gave the command  
telnet localhost 143 i got the following error
 
/usr/libexec/ld-elf.so.1: Shared Object libssl.SO.3 not found
Connection closed by foreign host.
 
I do not have openSSL installed in my system. I believe that imap-uw-2002d,1 package 
needs freebsd 4.7 or higher version. Is there any way to make IMAP work without 
upgrading anything?
 
thanks in advance,
 
Naveen.

Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IMAP error.

2004-03-17 Thread samy lancher
Can I do pkg_add imap-uw-2002d,1.tgz WITHOUT_SSL=yes
 
Thanks,
Naveen.

Peter Risdon [EMAIL PROTECTED] wrote:
samy lancher wrote:

Hello All,
I have a FreeBSD 4.5 server. I just installed imap-uw-2002d,1.tgz package and I have 
uncommented the IMAP line in inetd. I restarted the system. When i gave the command  
telnet localhost 143 i got the following error
 
/usr/libexec/ld-elf.so.1: Shared Object libssl.SO.3 not found
Connection closed by foreign host.
 
I do not have openSSL installed in my system. I believe that imap-uw-2002d,1 package 
needs freebsd 4.7 or higher version. Is there any way to make IMAP work without 
upgrading anything?
 

You either need to install it without ssl, or install openssl. To do the 
former:

#cd /usr/ports/mail/imap-uw
#make WITHOUT_SSL=yes install

PWR.


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Server automatically Shuts down.

2004-03-17 Thread samy lancher
I am not sure how to check auto power off at  option in BIOS. Yesterday, i let the 
case open and the system did not crash last night. I will keep the case open for few 
more days and see what happens. 
 
Thanks,
Naveen.
Chris Pressey [EMAIL PROTECTED] wrote:
On Tue, 16 Mar 2004 06:33:33 -0800 (PST)
samy lancher wrote:

 My system does not auto reboot. It just crashes as if some one has
 pressed the power off button. I think it is surely some thing to do
 with power supply. I will open the case and leave for a day. I will
 also remove one of the CDROM and see what happens. 

One simple and obvious thing comes to mind, only because no one has
mentioned it yet:

Does the BIOS on the machine have an auto power off at  option? 
And is it active?

-Chris
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Server automatically Shuts down.

2004-03-16 Thread samy lancher

My system does not auto reboot. It just crashes as if some one has pressed the power 
off button. I think it is surely some thing to do with power supply. I will  open the 
case and leave for a day. I will also remove one of the CDROM and see what happens. 

Thanks, 

Mike Jackson [EMAIL PROTECTED] wrote:
samy lancher ([EMAIL PROTECTED]) wrote:
 
 The system just crashes. After nightly event, when i start the system I see a 
 message Warning: / was not mounted properly . It does not happen at the same time 
 every night. This box does not have anonymous FTP. 
 

Hi,
I once had a similar situation, and it was caused by an overloaded
power supply. The box would auto-reboot quite regularly. I removed two
cd drives from it and it has not happened since.

I can't say if this is your problem or not, but it's worth considering.

--
Mike 

Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Server automatically Shuts down.

2004-03-15 Thread samy lancher
Hello All,
I have a strange problem with my FreeBSD 4.5 server. The server daily turns off 
automatically every night. I checked my power sockets and power cables and everything 
is good. i wonder why the server is shutting down daily at night times. I could not 
get  much useful information through log files. I am having this problem from past 2 
weeks and I did not make any changes to the server when it was working fine. Any 
suggestion would be appreciated.
 
Thanks,
Naveen.

Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Server automatically Shuts down.

2004-03-15 Thread samy lancher

The system just crashes. After nightly event, when i start the system I see a message 
Warning: / was not mounted properly . It does not happen at the same time every 
night. This box does not have anonymous FTP. 
 
Thanks,
naveen.

JJB [EMAIL PROTECTED] wrote:
You need to provide additional information,
your post is way to general.

You use the word, Shutdown, which implies an orderly close of all
files systems, This would be very apparent in the logs.

Is the system really crashing and not shutting down?
Does it happen at the same time every night?
Do you have any custom cron jobs which execute daily at night?
Is the file system corrupt when you reboot system after the
nightly event?
Login as root and do not logout, see what is on root
console screen in morning after the event.
Does this box have anonymous FTP?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of samy
lancher
Sent: Monday, March 15, 2004 12:44 PM
To: [EMAIL PROTECTED]
Subject: Server automatically Shuts down.

Hello All,
I have a strange problem with my FreeBSD 4.5 server. The server
daily turns off automatically every night. I checked my power
sockets and power cables and everything is good. i wonder why the
server is shutting down daily at night times. I could not get much
useful information through log files. I am having this problem from
past 2 weeks and I did not make any changes to the server when it
was working fine. Any suggestion would be appreciated.

Thanks,
Naveen.

Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Server access using Samba from out side LAN.

2004-03-10 Thread samy lancher

Hey guys, 

I have a FreeBSD server and windows XP workstations in our LAN network.I use samba to 
access server files from XP machines. Very soon, I will be having a windows XP system 
outside our LAN that needs access to our FreeBSD server. Is there any way i can access 
the server data from that XP system the same way as i do from my workstations in our 
LAN. As far as i know, samba only works with the computers in same LAN, please correct 
me if I am wrong.

Thanks in advance.

Naveen

 



-
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Server access using Samba from out side LAN.

2004-03-10 Thread samy lancher
Thanks for the reply. The XP system outside our LAN is not in another LAN. It is just 
an individual system. So does it work the same for this system. Could you please refer 
any good manual to achieve my goal.
 
Thanks.

Bill Campbell [EMAIL PROTECTED] wrote:
On Wed, Mar 10, 2004, samy lancher wrote:

Hey guys, 

I have a FreeBSD server and windows XP workstations in our LAN network.I
use samba to access server files from XP machines. Very soon, I will be
having a windows XP system outside our LAN that needs access to our FreeBSD
server. Is there any way i can access the server data from that XP system
the same way as i do from my workstations in our LAN. As far as i know,
samba only works with the computers in same LAN, please correct me if I am
wrong.

You can configure Samba to server on different LANs, but I would
strongly suggest that you do this only over a VPN connection.
The Microsoft networking ports are frequent vectors for worms
that infect the Microsoft virus, Windows, and many responsible
ISPs block them at their border routers. These blocks go back
about ten years to the WinNuke attacks which hit the netbios
ports 137-139.

We have customers doing this with the LinkSys VPN boxes (part number
BEFVP41), on cable and DSL connections with excellent results.

Bill
--
INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC
UUCP: camco!bill PO Box 820; 6641 E. Mercer Way
FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676
http://www.celestial.com/

You need only reflect that one of the best ways to get yourself a
reputation as a dangerous citizen these days is to go about repeating
the very phrases which our founding fathers used in the struggle for
independence.
-- Charles A. Beard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

-
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Server access using Samba from out side LAN.

2004-03-10 Thread samy lancher


Ok, here is what i understood. I need to set up VPN server on my FreeBSD server giving 
permission to the outside XP system to access the server. On the outside XP system, I 
need to connect VPN box (eg. LinkSys part number BEFVP41) to the system and this one 
does not require any additional VPN client because the builtin IPSec client in XP 
machine will create a tunnel between the client and server. Please correct me if I am 
wrong.

Thanks,

naveen.

Bill Campbell [EMAIL PROTECTED] wrote:On Wed, Mar 10, 2004, samy lancher wrote:

 Thanks for the reply. The XP system outside our LAN is not in another
 LAN. It is just an individual system. So does it work the same
 for this system. Could you please refer any good manual to achieve my
 goal.

There are IPSec clients that run on XP that will connect to the LinkSys and
similar VPN boxes from Netgear and others. As a general rule, no Windows
box should ever be connected directly to the Internet as there are far too
many ways for worms to access the Microsoft virus, Windows with a direct
connection.

Bill
--
INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC
UUCP: camco!bill PO Box 820; 6641 E. Mercer Way
FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

Those who profess to favor freedom, and yet depreciate agitation, are
men who want rain without thunder and lightning. They want the ocean
without the roar of its many waters.
-- Frederick Douglass
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


-
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Backup Server

2003-12-26 Thread samy lancher
Hello all,
I have a 4.5 FreeBSD server. It is our Email, web and database server. I would like to 
setup a backup server so that when the main server goes down the backup server takes 
over its job.
Could some one please tell me the best way to setup a backup server and also suggest 
some good documentation.
 
Thanks in advance,
Naveen.


-
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: floppy mount support

2003-12-23 Thread samy lancher

Hey,

Try  mount_msdos /dev/fd0 yourfolder

Srinivasa Kanduru [EMAIL PROTECTED] wrote:
Hi,

I happenned to install 5.1 FreeBSD. I couldn't mount floppy disk. I noticed
that /dev/fd0 did not exist. I tried doing a mknod using character device 9, 0
for fd0 but it doesn't work. The floppy devnode is not permitted to be created.


Incidentally there seems to be a change in the devfs and the usage is not very
intuitive. Is there anywhere the examples are given ? Particularly if I want to
use the floppy disk how can I get around this problem.

Thanks,
Srini.

 

 



__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



-
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Question about daily run output

2003-12-18 Thread samy lancher
Hello,
I have freeBSD 4.5 server. I check daily run output sent by server everyday. I  
notice some change in the output from past few days. 
In Checking for rejected mail hosts: I see following output:
  14 miltnews.com
   1 ohhello.com
   1 OUTGOING25.myaccountemail.com
   1 OUTGOING121.asapemailaccount.com
This output changes everyday but there is always some thing or the other in this 
section. Till last week this section used be empty; but i starting getting these kind 
of messages from past few days. Is it some thing i need to worry about?,.
 
thanks in advance,
Naveen.


-
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Increase space for /var/db/

2003-12-17 Thread samy lancher
Hello,
I have a 4.5 FreeBSD server with mysql database. only 250MB was allocated to /var/db. 
Our database is increasing so fast that now i need to expand the memory for /var/db. I 
guess one way to do  is to install a new hard drive and then mount it to /var/db. But 
i would like to know if there is any other way to solve that problem. Is making a soft 
link a good idea. i have 70GB in /usr/ so i would like to map /var/db/ to some 
location in /usr/. Please let me know if anyone has any suggestions. 
 
Thanks in advance,
Naveen.


-
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Increase space for /var/db/

2003-12-17 Thread samy lancher
Dan Nelson [EMAIL PROTECTED] wrote:
In the last episode (Dec 17), samy lancher said:
 Hello, I have a 4.5 FreeBSD server with mysql database. only 250MB
 was allocated to /var/db. Our database is increasing so fast that now
 i need to expand the memory for /var/db. I guess one way to do is to
 install a new hard drive and then mount it to /var/db. But i would
 like to know if there is any other way to solve that problem. Is
 making a soft link a good idea. i have 70GB in /usr/ so i would like
 to map /var/db/ to some location in /usr/. Please let me know if
 anyone has any suggestions.

That's what I do.

$ ls -l /var/db/pkg
lrwxr-xr-x 1 root wheel 20 Apr 14 2003 /var/db/pkg@ - ../../usr/var_db_pkg

Hello, 

thanks for the quick response. 

Is this a soft link?, what happens to the existing data in /var/db. I do not want to 
loose that data.

thanks,

-- 
Dan Nelson
[EMAIL PROTECTED]



-
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Email problem

2003-12-16 Thread samy lancher
hello steve,
httpd belongs to user:www and group:www; is it ok if i change only the group to smmsp? 
does it effect the webserver in any way? the webserver and email server is working 
fine now. i am worried if the change might have any bad effect.
 
thanks,
Naveen.

Micheal Patterson [EMAIL PROTECTED] wrote:




- Original Message - 
From: samy lancher 
To: 
Sent: Monday, December 15, 2003 2:03 PM
Subject: Email problem


 Hello all,
 I have 4.5 freebsd server with apache, php and mysql. i wrote a simple php
program using mail(). The mail() function returns true without any error.
but the problem is the email is never delivered. I viewed the log file for
mail(/var/log/maillog) and i saw the following error:

 Server sendmail[351]:NOQUEUE:SYSERR(www):can not
chdir(/var/spool/clientmqueue/): Permission denied.

 I would be really thankful if someone could tell me where i am doing
wrong.
 In php.ini, i have set sendmail_path = /usr/sbin/sendmail.

 thanks in advance.
 Naveen.




Change the group that http is running under to smmsp via the httpd.conf and
it should run. I don't know if this the best approach to this problem, but
it will allow the httpd to access the clientmqueue folder. Be warned, if
you're using mailman for mailing lists, it will have to be recompiled with
the proper gid or it will fail out.

--

Micheal Patterson
TSG Network Administration
405-917-0600

Confidentiality Notice: This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


-
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Email problem

2003-12-15 Thread samy lancher
Hello all,
I have 4.5 freebsd server with apache, php and mysql. i wrote a simple php program 
using mail(). The mail() function returns true without any error. but the problem is 
the email is never delivered. I viewed the log file for mail(/var/log/maillog) and i 
saw the following error:
 
Server sendmail[351]:NOQUEUE:SYSERR(www):can not chdir(/var/spool/clientmqueue/): 
Permission denied.
 
I would be really thankful if someone could tell me where i am doing wrong. 
In php.ini, i have set sendmail_path = /usr/sbin/sendmail.
 
thanks in advance.
Naveen.
 
 


-
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Email problem

2003-12-15 Thread samy lancher


Josh Paetzel [EMAIL PROTECTED] wrote:
On Mon, Dec 15, 2003 at 12:03:23PM -0800, samy lancher wrote:
 Hello all,
 I have 4.5 freebsd server with apache, php and mysql. i wrote a simple php program 
 using mail(). The mail() function returns true without any error. but the problem is 
 the email is never delivered. I viewed the log file for mail(/var/log/maillog) and i 
 saw the following error:
 
 Server sendmail[351]:NOQUEUE:SYSERR(www):can not chdir(/var/spool/clientmqueue/): 
 Permission denied.
 
 I would be really thankful if someone could tell me where i am doing wrong. 
 In php.ini, i have set sendmail_path = /usr/sbin/sendmail.
 
 thanks in advance.
 Naveen.

In PHP, mail() will always return true as long as it was able to successfully 
communicate with the mailserver. As you have seen, that has very little to do 
with whether or not your email will go through correctly or not. ;)

Your error is coming because sendmail runs setuid, in this case to www, and 
www doesn't have write permissions to /var/spool/clientmqueue.

Josh Paetzel

Hello,

thanks josh and martin for quick response.

the persmissions on clientmqueue is as follows

drwxrwx_ _ _ smmsp smmsp clientmqueue

could you please tell me what changes i need to make. IMPORTANT thing is my email 
server is working fine, i use sendmail MTA and outlook MUA. I am able to send emails 
and view my received emails in outlook through my server.

thanks,

Naveen.



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



-
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Email problem

2003-12-15 Thread samy lancher

Hello martin,
i added www to smmsp group (smmsp:*:25:www). But still im having the same problem, 
this time i get different error message in log file. 
 
server sendmail[303]:NOQUEUE:SYSERR(www): can not write to queue directory 
/var/spool/clientmqueue ( RunAsGid = 80), required=25) : Permission denied.
 
In group file www group has Gid=80 (www:*:80)
 
thanks,
 

Martin Hudec [EMAIL PROTECTED] wrote:
Hi,

so its drwxrwx--- for smmsp/smmsp

that means that only user smmsp (first rwx) and group smmsp (second rwx) are 
able to get inside. Either edit /etc/groups file and add your webserver user 
(most likely that www user) to that group, or set chmod 775 (to be able to 
browse that directory by other users/groups) or chmod 777 (to be world 
writable) to that directory.

On Monday 15 December 2003 21:48, samy lancher wrote:
 the persmissions on clientmqueue is as follows

 drwxrwx_ _ _ smmsp smmsp clientmqueue

 could you please tell me what changes i need to make. IMPORTANT thing is my
 email server is working fine, i use sendmail MTA and outlook MUA. I am able
 to send emails and view my received emails in outlook through my server.

-- 
:
:. kind regards
:.. Martin Hudec
:.:
:.: =w= http://www.aeternal.net
:.: =m= +421.907.303393
:.: [EMAIL PROTECTED] [EMAIL PROTECTED]
:.:
:.: When you want something, all the universe 
:.: conspires in helping you to achieve it.
:.: - The Alchemist (Paulo Coelho)

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

-
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]