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

Notices

Reply
 
Thread Tools
Old 11-07-2009, 01:25 AM   #1
pinenut
LQ Newbie
 
Registered: Oct 2009
Posts: 5
Thanked: 0
Getting an error while changing sendmail config file...


[Log in to get rid of this advertisement]
I am trying to change the configuration of sendmail so that I can relay mail through google smtp server as suggested here.

First I ran 'm4 sendmail,mc > sendmail.cf' with the original .mc file that came with Fedora 10. There was no error.

I added the following lines.
Quote:
TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
FEATURE(`authinfo','hash /etc/mail/auth/client-info.db')dnl
define(`SMART_HOST',`smtp.gmail.com')dnl
define(`RELAY_MAILER_ARGS’, `TCP $h 587′)
define(`ESMTP_MAILER_ARGS’, `TCP $h 587′)
I ran ''m4 sendmail,mc > sendmail.cf' again and got this message:
Quote:
m4:/usr/share/sendmail-cf/mailer/procmail.m4:33: ERROR: end of file in argument list
I did not change anything in the procmail.m4 file.
What do you think caused this error?
linuxfedora pinenut is offline     Reply With Quote
Old 11-10-2009, 10:47 PM   #2
davidstvz
Member
 
Registered: Jun 2008
Posts: 297
Thanked: 0
Could it be the single quotes? I recall the file being picky about opening with ` and closing with ' (a straight single quote).

I see one instance of you opening with a ' quote and two instances of you closing with a right sided smart quote ′ in some of your options.
windows_xp_2003 davidstvz is offline     Reply With Quote
Old 11-11-2009, 08:45 AM   #3
catkin
Senior Member
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Slackware 13.0
Posts: 1,835
Blog Entries: 6
Thanked: 225
Try adding dnl (the comment introducer) on the end of your last two "define"s (as is done on the ones above them).
linux catkin is offline     Reply With Quote
Old 11-11-2009, 11:15 AM   #4
davidstvz
Member
 
Registered: Jun 2008
Posts: 297
Thanked: 0
hmm, why are the dnl's even there if there are no comments after them? I'd also try removing them if there are no comments.
windows_xp_2003 davidstvz is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
Sendmail config error: warning program unsafe Mariognarly Linux - Software 0 08-28-2008 01:44 AM
Changing httpd config file NhaldSev Linux - Software 4 01-11-2007 02:04 AM
Config Error: Error accessing config file: /etc/yum.conf dr_zayus69 Linux - Software 2 01-17-2006 06:20 PM
Changing Xf86 config file toosdedoos Linux - Newbie 1 09-26-2003 10:17 AM
Sendmail: How do I config to write separate file for every email 360 Linux - Software 4 03-31-2003 09:52 PM


All times are GMT -5. The time now is 06:23 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration