Как найти, что электронные письма, посланные, задержанные, возвратили с входом в систему exim почтовый сервер?

Вы могли использовать DNS, который прямой https://mail.domain.com запрашивает к https://website.com путем размещения записи CNAME в zonefile для domain.com и путем конфигурирования веб-сервера по website.com, чтобы принять и обработать запросы с заголовком Хоста HTTP mail.domain.com (независимо, что сервером является website.com). Это будет быстрее.

Иначе Вам будет нужно перенаправление, или в HTTP-заголовках, испускаемых веб-сервером в http [s] ://mail.domain.com или в перенаправлении HTML в index.html (или эквивалентный) в том местоположении и URL. Специфические особенности зависят, на каком программном обеспечении веб-сервера Вы работаете в том компьютере. Это более гибко, но вовлекает клиент, делающий два Запроса HTTP вместо одного.

4
задан 11 March 2013 в 15:26
2 ответа

Exim provides a log grepping perl script which will find and group all related log lines for whatever you search for. This tool is called exigrep and it can look for many different things, and can use regular expressions to do the matching. Examples:

# to find all emails to or from an email address
exigrep user@example.com /var/log/exim/main.log

# to find all delivered emails to an email address
exigrep '=>.*user@example.com' /var/log/exim/main.log

# if you know the specific mail queue id
exigrep 1UF3vP-0003M7-TY /var/log/exim/main.log

# to find a specific virus matches
exigrep Heuristics.Phishing.Email.SpoofedDomain /var/log/exim/main.log

It is a very powerful tool, but one caveat is that it searches the entire file from beginning to end. This will be slow or cause high load if you have very large mail logfiles or a very busy machine.

2
ответ дан 3 December 2019 в 03:19

Exim comes with a tool called eximstats that will generates such statistics for you instead of grepping

Just run it from the command line with the log file to be examined as a parameter like:

eximstats /var/log/exim4/mainlog
3
ответ дан 3 December 2019 в 03:19

Теги

Похожие вопросы