Adding a mail header...
Scott Adkins
adkinss at OHIO.EDU
Mon Jan 13 22:05:57 GMT 2003
Okay, I don't agree with this solution. For starters, our mail queue
system is split up into a bunch of queues. When mail comes into our main
incoming queue, these messages are moved into other queues appropriate
for their destinations. Some go to the cyrus queue, some go to the our
edirectory queue, and the rest go to our outbound queue. We actually
have more queues than this, but that is a bit off topic.
MailScanner is setup to process messages coming into the cyrus queue
before delivering them to LMTP. When server load gets really high, we
sometimes have to shut off MailScanner altogether in order to get the
mail processed in a timely manner. For example, we have processed about
50,000 messages (just counting the ones going to the cyrus queue, not
the ones going elsewhere that are coming into our system) in the last 2
hours alone!
So, what I would like is to have a line like the following added to
emails that are touched by MailScanner:
X-MailScanner-Information: <some URL or contact info>
If MailScanner gets shutdown, I don't want that header in the messages.
I certainly don't want that header in emails that come into our server
and go back out without ever touching MailScanner.
I agree that in some cases, it should be the MTA's responsibility to add
headers to emails, but not in all cases. I believe this is one of them.
I would suggest in the next version to allow for such a header, maybe
call the config option "Information Header:".
Scott
--On Monday, January 13, 2003 6:53 PM +0000 Julian Field
<mailscanner at ECS.SOTON.AC.UK> wrote:
> At 17:40 13/01/2003, you wrote:
>> Maybe I missed something, but it doesn't look like it is possible to add
>> an arbitrary header to the emails in addition to the "Mail Header" and
>> the "Spam Header" headers. I am interested in adding a header that
>> contains a URL to a web page we maintain describing the spam checking
>> and virus scanning we are now doing. Is there an easy way to do this
>> that I might be missing?
>
> Best way is to get your MTA to do it for you. Apparently very easy in
> Exim, shouldn't be too taxing in sendmail either.
>
> In sendmail you should be able to add this to your sendmail.cf file:
> HX-Help-Available-At: http://www.your.domain.com/help
>
> If you want to know how to do it in Exim, search the archives for the past
> couple of weeks, this was discussed recently.
> --
> Julian Field
> www.MailScanner.info
> MailScanner thanks transtec Computers for their support
--
+-----------------------------------------------------------------------+
Scott W. Adkins http://www.cns.ohiou.edu/~sadkins/
UNIX Systems Engineer mailto:adkinss at ohio.edu
ICQ 7626282 Work (740)593-9478 Fax (740)593-1944
+-----------------------------------------------------------------------+
PGP Public Key available at http://www.cns.ohiou.edu/~sadkins/pgp/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 231 bytes
Desc: not available
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20030113/3351c061/attachment.bin
More information about the MailScanner
mailing list