LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-11-2005, 02:05 PM   #1
jeru
Member
 
Registered: Feb 2003
Location: Arizona
Distribution: Debian Sid
Posts: 57

Rep: Reputation: 15
postfix transport question


Ok, I have 2 mail servers. The priority 10 that recieves email is dead right now. It's 100 miles away so I can't look at it.

So my priority 20 server is obviously filling up with mail in the mail queue. I want to know where the settings is to know how long it will hold onto mail before giving up and bouncing the message back. Anybody know what setting that is in regaurd to transport maps?
 
Old 06-11-2005, 02:31 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,373

Rep: Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962
the value for mesage timeouts is controlled by the "maximal_queue_lifetime" parameter. this defaults to 5 days. after this time, it's returned as undeliverable. there are other things which might be relevant in your situation though, such as restirctions on the maximum number of queued mails per user, but unless it's very very busy, you won't touch it.

crap, that took aaages to find this out.. no idea why i found it so tricky....
 
Old 06-11-2005, 05:35 PM   #3
jeru
Member
 
Registered: Feb 2003
Location: Arizona
Distribution: Debian Sid
Posts: 57

Original Poster
Rep: Reputation: 15
thanks acid_kewpie. That is what I was looking for.
 
Old 06-12-2005, 02:17 AM   #4
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
As an aside, you can retroactively change the value of such variables for already-queued messages:
Code:
 in main.cf:
   variable_name = new_value
Code:
# postfix reload
And, to requeue the messages based on the new value:
Code:
# postsuper -r ALL

Last edited by Berhanie; 06-12-2005 at 02:19 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Postfix transport problems BarrySharpen Linux - Networking 1 12-02-2004 05:36 PM
HELP postfix transport error HELP Sammy2ooo Linux - Networking 1 08-26-2004 05:17 AM
Postfix transport map and regular expressions mpwiedemann Linux - Software 0 07-23-2004 10:39 AM
Postfix transport map table?? emilioestevezz Linux - Networking 0 05-05-2004 01:59 PM
Postfix question DavidPhillips Linux - General 1 02-18-2002 12:02 AM


All times are GMT -5. The time now is 10:38 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration