On 24 Feb 2015 at 17:09, Viktor Dukhovni wrote:
> On Tue, Feb 24, 2015 at 08:42:08AM -0500, System Support wrote: > > > I send several weekly newsletters where a number of the e-mails are all > > relayed to a separate > > host. I would like to rate limit the traffic to this host. I tried using: > > > > smtp_destination_rate_delay = 1s > > What is the name of the transport used to reach the nexthop relay? > (from the transport table entry). There is no transport table > > What version of Postfix are you using. 2.9.6-7.4.1 on an OpenSuSE system > > And of course: > > $ postconf -n A couple of items in <> were masked. INTERNAL_USERS = check_sender_access hash:$config_directory/internal_users, reject alias_database = hash:$config_directory/aliases alias_maps = hash:$config_directory/aliases alternate_config_directories = /etc/postfix-relay1, /etc/postfix-in append_at_myorigin = yes append_dot_mydomain = yes biff = no command_directory = /usr/sbin config_directory = /etc/postfix-relay1/ daemon_directory = /usr/lib/postfix data_directory = /var/spool/postfix-relay1/var/run default_privs = nobody empty_address_recipient = MAILER-DAEMON html_directory = /usr/share/doc/packages/postfix/html inet_interfaces = localhost, falcon inet_protocols = ipv4 local_maps = hash:$config_directory/local local_recipient_maps = $alias_maps $local_maps mail_name = Falcon mail server mail_owner = postfix mail_spool_directory = /var/mail mailq_path = /usr/bin/mailq manpage_directory = /usr/share/man message_size_limit = 20480000 mydestination = $config_directory/local_destinations.dat mydomain = MicroTechniques.com myhostname = <myname> mynetworks = $config_directory/mynetworks.dat myorigin = <myname> newaliases_path = /usr/bin/newaliases queue_directory = /var/spool/postfix-relay1 readme_directory = /usr/share/doc/packages/postfix/README_FILES recipient_delimiter = - relayhost = <relay1> sample_directory = /usr/share/doc/packages/postfix/samples sendmail_path = /usr/sbin/sendmail.posfix setgid_group = maildrop smtp_destination_rate_delay = 1s smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:<relay1>_password smtp_sasl_security_options = noanonymous smtp_tls_note_starttls_offer = yes smtp_use_tls = yes smtpd_banner = $myhostname ESMTP smtpd_restriction_classes = INTERNAL_USERS syslog_facility = local3 > $ pcregrep -v '^\s*#' /etc/postfix/master.cf anvil unix - - n - 1 anvil bounce unix - - n - 0 bounce cleanup unix n - n - 0 cleanup defer unix - - n - 0 bounce discard unix - - n - - discard error unix - - n - - error flush unix n - n 1000? 0 flush lmtp unix - - n - - lmtp local unix - n n - - local pickup fifo n - n 60 1 pickup proxymap unix - - n - - proxymap qmgr fifo n - n 300 1 qmgr relay unix - - n - - smtp retry unix - - n - - error rewrite unix - - n - - trivial-rewrite scache unix - - n - 1 scache showq unix n - n - - showq <local_add>:25 inet n - n - - smtpd smtp unix - - n - - smtp tlsmgr unix - - n 1000? 1 tlsmgr trace unix - - n - 0 bounce verify unix - - n - 1 verify virtual unix - n n - - virtual slow unix - - n - - smtp proxywrite unix - - n - 1 proxymap And here is part of the log: Feb 23 21:59:50 <hostname> postfix/smtpd[3200]: connect from <myhost> Feb 23 21:59:50 <hostname> postfix/smtpd[3200]: 77E62139155: client=<myhost> Feb 23 21:59:50 <hostname> postfix/cleanup[3202]: 77E62139155: message-id=<54EBE925.7293.3D5A0@<me> Feb 23 21:59:50 <hostname> postfix/qmgr[2465]: 77E62139155: from=<me>, size=260087, nrcpt=1 (queue active) Feb 23 21:59:50 <hostname> postfix/smtpd[3200]: disconnect from <myhost> Feb 23 21:59:50 <hostname> postfix/cleanup[3202]: 96CF9139167: message-id=<54EBE925.7293.3D5A0@<me> Feb 23 21:59:51 <hostname> postfix/qmgr[2465]: 96CF9139167: from=<owner-me@myhost>, size=260232, nrcpt=848 (queue active) Feb 23 21:59:51 <hostname> postfix/local[3203]: 77E62139155: to=<??>, relay=local, delay=0.61, delays=0.12/0.01/0/0.47, dsn=2.0.0, status=sent (forwarded as 96CF9139167) Feb 23 21:59:51 <hostname> postfix/qmgr[2465]: 77E62139155: removed </snip> Feb 23 21:59:56 <hostname> postfix/smtp[3205]: 96CF9139167: to= Feb 23 21:59:56 <hostname> postfix/smtp[3205]: 96CF9139167: to= Feb 23 21:59:56 <hostname> postfix/smtp[3205]: 96CF9139167: to= Feb 23 21:59:56 <hostname> postfix/smtp[3205]: 96CF9139167: to= Feb 23 21:59:56 <hostname> postfix/smtp[3205]: 96CF9139167: to= Feb 23 21:59:56 <hostname> postfix/smtp[3205]: 96CF9139167: to= Feb 23 21:59:56 <hostname> postfix/smtp[3205]: 96CF9139167: to= Feb 23 21:59:56 <hostname> postfix/smtp[3205]: 96CF9139167: to= Feb 23 21:59:56 <hostname> postfix/smtp[3205]: 96CF9139167: to= Feb 23 21:59:56 <hostname> postfix/smtp[3205]: 96CF9139167: to= Feb 23 21:59:56 <hostname> postfix/smtp[3205]: 96CF9139167: to= Feb 23 21:59:56 <hostname> postfix/smtp[3205]: 96CF9139167: to= Feb 23 21:59:56 <hostname> postfix/smtp[3205]: 96CF9139167: to= Feb 23 21:59:56 <hostname> postfix/smtp[3205]: 96CF9139167: to= Feb 23 21:59:56 <hostname> postfix/smtp[3205]: 96CF9139167: to= Feb 23 21:59:56 <hostname> postfix/smtp[3205]: 96CF9139167: to= Feb 23 21:59:56 <hostname> postfix/smtp[3205]: 96CF9139167: to= Feb 23 21:59:56 <hostname> postfix/smtp[3205]: 96CF9139167: to= Feb 23 21:59:56 <hostname> postfix/smtp[3205]: 96CF9139167: to= Feb 23 21:59:56 <hostname> postfix/smtp[3205]: 96CF9139167: to= Feb 23 21:59:56 <hostname> postfix/smtp[3205]: 96CF9139167: to= Feb 23 21:59:56 <hostname> postfix/smtp[3205]: 96CF9139167: to= Feb 23 21:59:56 <hostname> postfix/smtp[3205]: 96CF9139167: to= </snip> -- > Viktor. > ...don support (at) microtechniques.com