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


  Search this Thread
Old 02-04-2006, 02:49 AM   #1
Registered: Dec 2004
Posts: 145

Rep: Reputation: 15
Postfix: slow transport?

I want to set postfix to use a "slow" transport for a particular site, because this site has limited a low rate for mail delivery, I did this:
# vi /etc/postfix/
smtp      unix  -       -       n       -       15      smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay     unix  -       -       n       -       -       smtp
        -o fallback_relay=
slow      unix  -       -       n       -       1       smtp
        -o smtp_destination_concurrency_limit=1

# vi /etc/postfix/transport    slow:
thus there is only one slow transport, and 15 smtp transports. and mails to should use the "slow" one.

But I still been rejected by that site from about 14:00 to about 20:00 every day(The busy moment of a day):
554 sender is reject: 0, mx4, ...(in reply to MAIL FROM command)

Before, when I didn't set default_process_limit=16, I got "IP is rejected" or "IP is hungup" from the mail server of that site and the mails were deferred. So I limit the process number, at first it's OK because there are many deferred mails in the queue, but now, after the deferred mails all have been delivered, some mails are bounced(in the time mentioned below), so I want to use slow transport, but it seems that there is no effect. why?

Does the slow transport setting take effect? How can I know? how can I make sure the mails to does only use the very "slow" transport--I haven't found "slow" word from maillog?

Some other parameters I have changed:
initial_destination_concurrency = 1
default_destination_concurrency_limit = 1
smtp_destination_concurrency_limit = 4
default_destination_recipient_limit = 2
smtp_connection_cache_reuse_limit = 2
smtp_connection_cache_time_limit = 1s
smtp_connection_cache_on_demand = no
# smtp_connection_cache_destinations =

in_flow_delay = 4s

maximal_queue_lifetime = 6d
qmgr_message_recipient_limit = 1000
qmgr_message_active_limit = 800
default_recipient_limit = 100

queue_run_delay = 2000s
minimal_backoff_time = 2000s
maximal_backoff_time = 6000s

# smtpd_recipient_limit = 100

transport_maps = hash:/etc/postfix/transport
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases

Last edited by Chowroc; 02-04-2006 at 03:11 AM.


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 question jeru Linux - Software 3 06-12-2005 02:17 AM
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 > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:49 PM.

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