LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-18-2004, 09:57 AM   #1
gdelaney
LQ Newbie
 
Registered: May 2004
Location: SA
Posts: 2

Rep: Reputation: 0
sendmail mail queue setup




I have SuSE9 running sendmail 8.12.10 Is there any way to setup the mail queues or sendmail to forward mail under 2MB big and queue the larger mail till a set time when a cron or something can send it on its way?
 
Old 06-18-2004, 10:15 AM   #2
linuxxed
Member
 
Registered: Feb 2004
Posts: 273

Rep: Reputation: 30
Re: sendmail mail queue setup

Quote:
Originally posted by gdelaney


I have SuSE9 running sendmail 8.12.10 Is there any way to setup the mail queues or sendmail to forward mail under 2MB big and queue the larger mail till a set time when a cron or something can send it on its way?

One way to achieve this is to run sendmail in "queue only" mode. (see deliveryMode option). Write a script to scan for big files and move it to a different directory (say /var/spool/mybigfilequeue).

Run two cron jobs to process the directories (/var/spool/mqueue and /var/spool/mybigfilequeue) at your specified times using "-q". See sendmail doc.


There might be a simpler way. Try asking in sendmail forum. You might get a reply from the guru (claus assman)
 
Old 06-18-2004, 10:35 AM   #3
gdelaney
LQ Newbie
 
Registered: May 2004
Location: SA
Posts: 2

Original Poster
Rep: Reputation: 0
would you know where i would be able to find such scripts. is there a sendmail forum on this site?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow SendMail Mail Queue hotstyle765 Linux - Software 0 11-03-2005 10:22 AM
how do I setup/access sendmail mail boxes vrooom305 Fedora 1 08-23-2005 09:57 AM
RH 9.0, sendmail 8.13.1, mail queue stalls... taylodge Linux - Software 6 12-16-2004 05:07 AM
sendmail - mail stays in queue... E-Rick Linux - Networking 1 10-21-2004 11:51 PM
sendmail queue visuelz Linux - Software 0 07-17-2003 11:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration