A
A
Arsen Abakarov2018-05-18 19:55:28
Mail server
Arsen Abakarov, 2018-05-18 19:55:28

Feedback from the mailing list server to the application?

There is an application for mass mailings,
the task was to raise a new mail server for mailings, there should be feedback from the server to the application, preferably in real time.
The application must somehow understand that the letter could not be delivered, the domain is blacklisted, and so on. etc., preferably as soon as possible... It is also desirable to teach the application to give commands to the mailer.
I thought of raising postfix.
While there are several feedback solutions:
1) It’s trite to parse the log, not quite realtime, but something
2) Tell postfix to check each addressee, thereby accumulating a database of recipient statuses, analyze it, not realtime at all
3) Write a filter that would put info in the amqp queue, the queue would be raked by application workers
4) There are no more ideas ... It's
clear that everything has long been invented and works, but I don't know this.
I'm leaning towards option 3, how difficult is it to do? Will there be any problems with determining the status in the filter? Will the Trouble return the letter back to another smtpd instance?
Or maybe I chose postfix incorrectly for these purposes? Is there another mail server that is as flexible as postfix and has better hooks out of the box?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis, 2018-06-06
@notwrite

Each addressee is given a separate letter with a Return-Path that uniquely indicates the addressee. Received an error - deleted from the list.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question