LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   qmail attachment size? (https://www.linuxquestions.org/questions/linux-software-2/qmail-attachment-size-28667/)

IceNineJon 08-24-2002 01:53 AM

qmail attachment size?
 
I'm an ultra newbie to qmail...someone else installed it on the server so I'm not sure how everything works but I bought the "Life with Qmail Book." In it, it mentions the control file "databytes." I've followed the instructions and put the file in my control directory with my other control files but when I try to attach a large file, I get an error saying that the file exceeds the limit the system administrator has set (I set 10MB as the limit in the databytes file and the file I'm trying to upload is around 3). It appears the current limit is 2048K.

Does anyone have any clue what may be going on? Do I need to restart qmail to read the new control file?

Any help is greatly appreciated!,
Jon

Mara 08-24-2002 02:26 PM

Yes, you need to restart it. Only then it reads new configuration file.

IceNineJon 08-24-2002 06:14 PM

The guy who set it up for me set it to run through xinetd. How do I restart it? Doesn't it automatically restart everytime a connection is established? If so, it's still not working even with the configuration file.

Mara 08-25-2002 02:55 PM

You can run
ps -e|grep xinetd
and note down pid of xinetd (first column)
Then:
kill pid
And start xinetd again.
NOTE: Before trying it look which options are used when xinetd is starting. In my system it's
xinetd -reuse -pidfile /var/run/xinetd.pid

I guess you can make it much more simplier by using
service xinetd restart


All times are GMT -5. The time now is 12:56 PM.