Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 05-25-2009, 05:57 PM   #1
Senior Member
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 83
Unhappy sendmail config has me stumped, StartTLS and relaying

Hi folks,

I'm having a pretty crap day here, trying to set up a sendmail MTA, never did one before, always used postfix!

Anyway, I've probably made loads of mistakes all over the place, so any advice will be gratefully received.

My setup is as follows:

An ubuntu 8.10 VPS:

I'm trying to not open myself as an open relay, yet auth a few users who will be administering the server. So PAM authentication is perfect. Other than that, squirrelmail is configured and working, I can send and receive mail no probs.

What I want: well, squirrelmail is ok when I'm out and about, but I want to use Thunderbird to login to the IMAP server. This is working. I can see my folders, move things around, even save mails in the drafts folder. So it appears dovecot is sufficiently setup to at least be functional. It doesn't seem to be moaning in the logs either.

The problem occurs when I compose a message and hit send. I have sendmail configured far enough that I could save my self signed cert. This much is done. Then, Thunderbird repeatedly asks for my password. Eventually, I have to cancel sending.

Meanwhile, this command:
less /var/log/mail.log | tail
shows up an error like this:
srv1 sm-mta[26301]: n4PMgQ6P026301: [client IP] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA-v4
I've googled and searched LQ, all in vain. Any help would be greatly appreciated. Here is a cutdown version of (no comments included):
# $Sendmail:,v 8.14.3 2008-05-20 07:20:30 cowboy Exp $
# Copyright (c) 1998-2008 Richard Nelson.  All Rights Reserved.
# cf/debian/  Generated from by configure.
# prototype config file for building Sendmail 8.14.3
# Note: the .in file supports 8.7.6 - 9.0.0, 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/
# by running this file through the m4 preprocessor via one of the following:
#	* make   (or make -C /etc/mail)
#	* sendmailconfig 
#	* m4 /etc/mail/ > /etc/mail/
# 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
#   Copyright (c) 1998-2005 Richard Nelson.  All Rights Reserved.
#  This file is used to configure Sendmail for use with Debian systems.
VERSIONID(`$Id:, v 8.14.3-4 2008-05-20 07:20:30 cowboy Exp $')
dnl # Items controlled by /etc/mail/sendmail.conf - DO NOT TOUCH HERE
dnl # Items controlled by /etc/mail/sendmail.conf - DO NOT TOUCH HERE
DAEMON_OPTIONS(`Family=inet,  Name=MTA-v4, Port=smtp')dnl
dnl # `needmailhelo,needexpnhelo,needvrfyhelo,restrictqrun,restrictexpand,nobodyreturn,authwarnings')dnl
define(`confCONNECTION_RATE_THROTTLE', `15')dnl
dnl # This section added for SSL connections
DAEMON_OPTIONS(`Family=inet, Port=465, Name=MTA-SSL, M=s')dnl
dnl # enable down to here for SSL
dnl # Added 200509 for antispam
FEATURE(`dnsbl',`',`Rejected - see')
FEATURE(`access_db', , `skip')dnl
FEATURE(`greet_pause', `1000')dnl 1 seconds
FEATURE(`delay_checks', `friend', `n')dnl
FEATURE(`conncontrol', `nodelay', `terminate')dnl
FEATURE(`ratecontrol', `nodelay', `terminate')dnl
dnl # added 200509 for relay of domain mail
Old 05-28-2009, 04:50 PM   #2
Senior Member
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Original Poster
Rep: Reputation: 83
Well, thankfully my service provider for this remote VPS has disabled the node monitor on the VPS long enough to allow me to install postfix, all working now!


dovecot, sendmail, server, squirrelmail, ubuntu

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
can't build sendmail v8.13.4 with starttls support on slack 10.1 ddaas Slackware 5 10-01-2008 01:31 AM
Sendmail relaying... kloppster Linux - Software 3 07-19-2004 12:49 PM
Sendmail STARTTLS Manuel-H Linux - General 0 04-11-2003 08:20 AM
sendmail relaying atin Linux - Software 1 10-01-2002 10:21 AM
Sendmail 8.11 relaying?? magyartoth Linux - General 3 04-29-2002 03:24 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:38 PM.

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