LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-19-2008, 02:17 PM   #1
liam1234321
LQ Newbie
 
Registered: May 2008
Posts: 1

Rep: Reputation: 0
sendmail relaying with smtp-auth strange prob


Hello, and thanks for reading this.

i have a sendmail (running Debian) relaying that is configured with smtp-auth and tls. i used the /usr/share/sendmail/update_auth & update_tls, to configure both.
This relay acts as a backup MX for the 2 domains that my company use. for some reason unknown to me (at the mo) the server will relay mail without auth for the domains that it is a backup mx for. this has meant that 50% of the spam i (and every at my place) recieve comes from the relay in question.
Now i've looked into this it seems that sendmail is also not using 'access'.

here is my sendmail.mc

divert(-1)dnl
#-----------------------------------------------------------------------------
# $Sendmail: debproto.mc,v 8.12.3 2004-09-13 07:12:56 cowboy Exp $
#
# Copyright (c) 1998-2003 Richard Nelson. All Rights Reserved.
#
# ./cf/debian/sendmail.mc. Generated from sendmail.mc.in by configure.
#
# sendmail.mc prototype config file for building Sendmail 8.12.3
#
# Note: the .in file supports 8.7.6 - 8.12.7, but the generated
# file is customized to the version noted above.
#
# This file is used to configure Sendmail for use with Debian systems.
#
# If you modify this file, you will have to regenerate /etc/mail/sendmail.cf
# by running this file through the m4 preprocessor via one of the following:
# * `sendmailconfig`
# * `make`
# * `m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf`
# The first two options are preferred as they will also update other files
# that depend upon the contents of this file.
#
# The best documentation for this .mc file is:
# /usr/share/doc/sendmail-doc/cf.README.gz
#
#-----------------------------------------------------------------------------
divert(0)dnl
#
# Copyright (c) 1998-2002 Richard Nelson. All Rights Reserved.
#
# This file is used to configure Sendmail for use with Debian systems.
#
define(`_USE_ETC_MAIL_')dnl
include(`/usr/share/sendmail/cf/m4/cf.m4')dnl
VERSIONID(`$Id: sendmail.mc, v 8.12.3-7.1 2004-09-13 07:12:56 cowboy Exp $')
OSTYPE(`debian')dnl
DOMAIN(`debian-mta')dnl
dnl # Items controlled by /etc/mail/sendmail.conf - DO NOT TOUCH HERE
undefine(`confHOST_STATUS_DIRECTORY')dnl #DAEMON_HOSTSTATS
dnl # Items controlled by /etc/mail/sendmail.conf - DO NOT TOUCH HERE
dnl #
dnl # General defines
dnl #
dnl # SAFE_FILE_ENV: [undefined] If set, sendmail will do a chroot()
dnl # into this directory before writing files.
dnl # If *all* your user accounts are under /home then use that
dnl # instead - it will prevent any writes outside of /home !
dnl # define(`confSAFE_FILE_ENV', `')dnl
FEATURE(`use_cw_file')dnl
FEATURE(`use_ct_file')dnl
FEATURE(`smrsh')dnl
FEATURE(`access_db')dnl
MAILER_DEFINITIONS
MAILER(local)dnl
MAILER(smtp)dnl
define(`confDOMAIN_NAME', `foo.foo.com')dnl
Cwfoo.foo.com

LOCAL_CONFIG
LOCAL_CONFIG
## Custom configurations below (will be preserved)
include(`/etc/mail/sasl/sasl.m4')dnl
define(`confPRIVACY_FLAGS', `goaway')
include(`/etc/mail/tls/starttls.m4')dnl


Thanks for the Help

Liam
 
Old 05-20-2008, 11:30 AM   #2
kideyse
LQ Newbie
 
Registered: May 2008
Posts: 15

Rep: Reputation: 0
What is in your access file?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
regarding sendmail with smtp auth neelendhar Linux - Server 2 03-08-2008 04:06 AM
Sendmail SMTP AUTH omlex Linux - Networking 2 01-30-2007 05:24 AM
SMTP AUTH, SASL and Sendmail not getting along prozach Linux - Software 0 12-02-2003 05:10 PM
SMTP Auth for sendmail wolftechmn Linux - Networking 4 11-27-2003 01:17 PM
Sendmail / SMTP Auth cleaner416 Linux - Networking 3 10-06-2003 10:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration