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 04-27-2017, 12:02 PM   #1
risingfish
LQ Newbie
 
Registered: Apr 2017
Posts: 2

Rep: Reputation: Disabled
SendMail config question for Mint 18.1 (Ubuntu 16.04)


I'm getting an error in my send mail config and was curious if anyone knew knows what is happening.

First of all this is on Mint Linux 18.1 (Ubuntu 16.04 based). I've installed Sendmail and have setup the configuration to relay through gmail.

When I run sudo sendmailconfig everything starts of fine, but right before it asks if it should reload sendmail with the config I get this follwing errors:

Code:
/etc/mail/sendmail.cf: line 7: invalid argument to V line: "ERSIONID(Id: sasl.m"
/etc/mail/sendmail.cf: line 8: invalid argument to V line: "ERSIONID(Id: autoco"
The following lines in sendmail.cf look like

Code:
   4 #  This file is used to configure Sendmail for use with Debian systems.
   5 #
   6 # include(`/usr/share/sendmail/cf/m4/cf.m4')dnl
   7 VERSIONID($Id: sasl.m4,v 8.15.2-3 2015-12-10 18:02:49 cowboy Exp $)
   8 VERSIONID($Id: autoconf.m4, v 8.15.2-3 2015-12-10 18:02:49 cowboy Exp $)
   9 TRUST_AUTH_MECH(EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN)TRUST_AUTH_MECH(EXTERNAL)
  10 #
  11 # Copyright (c) 1998-2004, 2009, 2010 Proofpoint, Inc. and its suppliers.
It seems odd that the bundled configbuilder would build an invalid config. I've been googling this for a day off and on but haven't found a solution yet. Anyone know what's going on?
 
Old 04-27-2017, 05:25 PM   #2
af7567
Member
 
Registered: Nov 2012
Posts: 291

Rep: Reputation: 104Reputation: 104
This looks like a sendmail .mc file not a .cf file. Try running it through the m4 command to create the cf file.
Code:
$ m4 sendmail.cf > /tmp/realsendmail.cf
 
Old 04-28-2017, 02:18 AM   #3
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
When I run sudo sendmailconfig everything starts of fine, but right before it asks if it should reload sendmail with the config I get this follwing errors:

/etc/mail/sendmail.cf: line 7: invalid argument to V line: "ERSIONID(Id: sasl.m"
/etc/mail/sendmail.cf: line 8: invalid argument to V line: "ERSIONID(Id: autoco"

The following lines in sendmail.cf look like
<snip>
You didn't say how you modified sendmail.cf, but you need to comment out lines 7 and 8:
Code:
   4 #  This file is used to configure Sendmail for use with Debian systems.
   5 #
   6 # include(`/usr/share/sendmail/cf/m4/cf.m4')dnl
   7 # VERSIONID($Id: sasl.m4,v 8.15.2-3 2015-12-10 18:02:49 cowboy Exp $)
   8 # VERSIONID($Id: autoconf.m4, v 8.15.2-3 2015-12-10 18:02:49 cowboy Exp $)
   9 TRUST_AUTH_MECH(EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN)TRUST_AUTH_MECH(EXTERNAL)
  10 #
  11 # Copyright (c) 1998-2004, 2009, 2010 Proofpoint, Inc. and its suppliers.
Always make backups when you're editing config files
 
Old 04-28-2017, 09:55 AM   #4
risingfish
LQ Newbie
 
Registered: Apr 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
I wasn't editing it, but maybe that was the problem I was only editing sendmail.mc. At any rate, I ended up talking to a few folks here are work and they convinced me to switch to Postfix. I was able to get Postfix up and running yesterday and it's relaying my emails now.

Thank you both for the replies however.
 
  


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
[SOLVED] sendmail config question ... adjust the delivery retry time socalheel Linux - Software 4 06-02-2014 12:31 PM
Sendmail on RHEL Config Question mlbrunker Linux - Software 1 02-21-2013 03:27 PM
Sendmail - Config for IP Block's & Config Issues Thom_Redhat Linux - Software 1 04-07-2006 01:29 PM
sendmail config question Jabate Linux - Software 1 07-03-2003 10:09 AM
Sticky Sendmail config question merana Linux - Networking 3 01-05-2003 02:56 PM

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

All times are GMT -5. The time now is 07:27 AM.

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