Richard Pickett:
> I've typically ran on boxes w/ Exim. We are evaluating different MTAs, I've
> been using a stock postfix install and am pretty happy. I have two main
> areas that we need to "tweak". We have a mailing list and run into all the
> problems that are natorious with spammers, even though we definitely aren't
> spamming (you can see the site, it's on adoptions, centered around Haiti and
> my personal adoption - we help a lot of people do their adoptions -
> www.MyHaitianAdoption.org). Since the earthquake in Haiti my site has gone
> through the roof (search Haiti/Haitian adoption and you'll see my site on
> the front page if not the #1 spot).
>
> We're trying to deliver email "smart" as to not become blacklisted even
> though we are a double-opt-in list.
>
> 1. We want the ability to schedule delivery to a lot of common domains so
> our email server isn't trying to email the world all at once, we'd rather
> set certain hours of delivery for different domains.
>
> We *can* manage this by handing the emails to the MTA at the times when we
> want that domain delivered, but then the issue becomes if the recipient
> domain says "defer" postfix only defer's *that* email and continues to
> irritate the recipient domain with all the other emails to that domain. I'd
> prefer the MTA be smart enough to handle the defer and delivery times.
> (maybe I should list this defer problem as a separate item).
/etc/postfix/main.cf:
transport_maps = hash:/etc/postfix/transport
/etc/postfix/transport:
example.com retry:Mail for example.com is waiting to be scheduled
Then, update the transport table as per
http://www.postfix.org/DATABASE_README.html#safe_db
> 2. We need to ensure connection caching is really happening - I thought I
> had this configured correctly, but in my own testing it doesn't look like
> it's really working. I posted this in a previous email a couple days ago and
> haven't seen any responses to it. Maybe my test is "wrong". I create 50
> emails within a few seconds all to me and used a sniffer to watch the emails
> coming in and counted up the connections.
There are two types of connection caching. One of them is what I
call anti-social.
It would be anti-social to keep a connection open in the hope that
you will be sending messages by quickly after each other.
Postfix does not implement anti-social connection caching. For
that, you will have to use a different MTA.
Postfix reuses a connection only if there is more mail for the same
destination in the active queue.
Wietse