UnitedWare, LLCUnitedWare, LLC

"I have the highest praise for UnitedWare, the group that helped us with our website. They were diligent, responsive, and best of all skilled webmasters. What was once a hassle was actually fun this time!"


K.E. Smith
Executive Director
Oxford Community Foundation

Sendmail + Cyrus Pre-DATA To: Verify

By Anish Mistry

Background - 2007-09-22

Starting yesterday we began receiving lots of incorrect To: spam. This was causing the postmaster address to be slammed with lots of bogus messages. The problem is that by default Sendmail does not check with Cyrus until the entire message is received. So if mail is sent to an invalid address it will just get bounced to the postmaster address because of our local From: check. To hook Cyrus checking before the data is received we are now using the following: Address Verification FEATURE

  1. Setup the From: check
  2. Put ckuser_cyrus.m4 into /usr/share/sendmail/cf/feature/
  3. Add FEATURE(`ckuser_cyrus')dnl to your .mc
  4. Rebuild your .cf and then stop and start Sendmail.cd /etc/mail && make && make install && make stop && make start

DISCLAIMER: UNITEDWARE, LLC AND ITS OUTSIDE CONSULTANTS OR VENDORS PROVIDE THIS SOFTWARE AND/OR INFORMATION "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL UNITEDWARE, LLC AND ITS OUTSIDE CONSULTANTS OR VENDORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Member of the Independent Computer Consultants Association Copyright 2002-2009     UnitedWare, LLC
High Quality Web, Software, and Network Security Consultants for all of your IT needs
Site Map Privacy Policy