OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Postfix Archives: Re: spam notification

Re: spam notification


Subject: Re: spam notification
From: Drew Derbyshire (ahdkew.com)
Date: Sat Jan 08 2000 - 08:30:28 CST


You mean like:

smtpd_banner = $myhostname ESMTP $mail_name ($mail_version); report problems to Kendra Electronic Wonderworks Operations <hostmasterfoo.com> (telephone 1-900-279-9812)

Note that the information is only visible to the sender if the
entire SMTP transaction log is printed by the smtp client which
later has a problem -- this is, alas, unlikely.

[My favorite SMTP banner used to be that of the MPP vendor Thinking
Machines Corporation, which claimed something along the lines that
they were running sendmail* (C* was their MPP parallel C dialect)
on 65536 processors. That would have been a mail server!]

I personally put my entire smtpd_sender_access and smtpd_recipient_access
tables through the C preprocessor to transform a CONTACT token
into pretty much the same text (see bottom of this e-mail for the
Makefile). I also make sure the abuse+smtpd (the contact address)
is passed by my maps so that blocked addresses can ask "why?"

I would prefer that the contact support was native, so errors such
as "unknown client" got the contact information as well. However,
I don't have time to write the patch itself myself this week.
(Like anyone does?)

-ahd-

p.s. The FreeBSD Makefile I use to rebuilt my maps:

   .SUFFIXES : .db .txt

   .PRECIOUS :

   DIR=/etc/postfix/maps
   CFLAGS=-DCONTACT="Report problems to foo.com operations <abuse+smtpdfoo.com> (telephone 1-900-279-9812)"

   .txt.db:
           $(CPP) ${CFLAGS} ${.IMPSRC} > ${.IMPSRC:.txt=}
           postmap hash:${.IMPSRC:.txt=}
           rm ${.IMPSRC:.txt=}

   all: ${DIR}/smtpd_sender_access.db \
           ${DIR}/mailertable.db \
           ${DIR}/smtpd_recipient_access.db \
           /usr/local/majordomo/aliases.majordomo.db \
           ${DIR}/aliases.db
           postfix reload

   ${DIR}/aliases.db: ${DIR}/aliases
           postalias ${.ALLSRC}

   /usr/local/majordomo/aliases.majordomo.db: /usr/local/majordomo/aliases.majordomo
           postalias ${.ALLSRC}

   ${DIR}/smtpd_sender_access.db : ${DIR}/smtpd_sender_access.txt Makefile

   ${DIR}/mailertable.db : ${DIR}/mailertable.txt Makefile

   ${DIR}/smtpd_sender_access.db : ${DIR}/smtpd_sender_access.txt Makefile



This archive was generated by hypermail 2b27 : Sat Jan 08 2000 - 08:37:15 CST