how to allow my all local network to sendmail
how to allow my all local network to sendmail
Hi Guys,
Anyone can tell me on how to i allow all my local network to send i have set-up sendmail and my prob i need to vi my access just to add one by one every ip add of my network.
Thank you guys!
Sonn
Anyone can tell me on how to i allow all my local network to send i have set-up sendmail and my prob i need to vi my access just to add one by one every ip add of my network.
Thank you guys!
Sonn
sonn33
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Dear sonn33,
Salam,
# make -C /etc/mail
Best Regards.
Salam,
Do not forget to make your access database by using make command.shakirz1 wrote:for example you are using following IP Pool 192.168.0.0/24 then your /etc/mail/access will be like this.
192.168.0 RELAY
# make -C /etc/mail
Best Regards.
Farrukh Ahmed
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Dear sonn33,
Salam,
Below command will delete any file which was created 3 hours ago.
find /var/spool/mqueue -type f -amin +180 -print0 | xargs -0 rm -f
Best Regards.
Salam,
Create script which will check files creation time by using find command and remove them.sonn33 wrote:and my question again how to i edit may cron i have alot of queue mails my worry is to become full my HD
grew WorkList for /var/spool/mqueue to 14000
i need to automate this to delete.
Below command will delete any file which was created 3 hours ago.
find /var/spool/mqueue -type f -amin +180 -print0 | xargs -0 rm -f
Best Regards.
Farrukh Ahmed
under normal circumstances, deleting files 3 hours old is a bad idea. what kind of email is going through the server? is a computer on your network infected, and sending out spam?
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Dear lambda,
Salam,
Best Regards.
Salam,
If he is smart then he can adjust it by him self. We are not here to spoon feed every thing.lambda wrote:under normal circumstances, deleting files 3 hours old is a bad idea. what kind of email is going through the server? is a computer on your network infected, and sending out spam?
Best Regards.
Farrukh Ahmed
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Dear x2oxen,
Salam,
Best Regards.
Salam,
Sorry, I do not get you what do you mean by that ?x2oxen wrote:Dear farrukh don't forget to pamper first
Best Regards.
Farrukh Ahmed