-
Notifications
You must be signed in to change notification settings - Fork 178
Q0906
Nigel Metheringham edited this page Nov 29, 2012
·
2 revisions
How do I reject messages that don't have a Message-ID header? How do I fix MUAs that don't supply a Message-ID?.. qend
RFC2822 says a Message-ID header SHOULD be present. Sometimes the lack of a Message-ID is a spam indicator, so you might want to reject messages which don't have a message-ID.
In the ACL that runs when the message body is inspected near the top put:
# Check for the presence of a Message-Id: header, which RFC2822 says SHOULD be present.
# Some broken or misconfigured mailer software occasionally omits this from genuine
# messages too, though -- although it's not hard for the offender to fix
# after they receive a bounce because of it.
#
deny condition = ${if !def:h_Message-ID: {1}}
message = RFC2822 says that all mail SHOULD have a Message-ID header.\n\
Most messages without it are spam, so your mail has been rejected.
This may be named acl_check_data
in which case you will have a line
acl_smtp_data = acl_check_data
near the top of the config file.
- jmail: here is a solution: http://www.dimac.net/support/Forum/topic.asp?TOPIC_ID=479&SearchTerms=Message-ID
- MS outlook 2003: the problem is fixed with SP2: http://www.smartertools.com/forums/p/10352/18717.aspx
- I would like add some custom headers to selected outgoing mail based on
- Is it possible to have Exim add a header to only certain local parts of
- How can I remove some part of the Received: header?
- How I can insert the PGP header line using Exim filters?
- I know I can use a system filter to replace certain headers in messages,
- How do I reject messages that don't have a Message-ID header? How do I