LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
 
LinkBack Search this Thread
Old 11-07-2009, 12:25 AM   #1
pinenut
LQ Newbie
 
Registered: Oct 2009
Posts: 9

Rep: Reputation: 0
Getting an error while changing sendmail config file...


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?
 
Old 11-10-2009, 09:47 PM   #2
davidstvz
Member
 
Registered: Jun 2008
Posts: 399

Rep: Reputation: 30
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.
 
Old 11-11-2009, 07:45 AM   #3
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Slackware 13.37, Debian Squeeze
Posts: 7,962
Blog Entries: 25

Rep: Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006
Try adding dnl (the comment introducer) on the end of your last two "define"s (as is done on the ones above them).
 
Old 11-11-2009, 10:15 AM   #4
davidstvz
Member
 
Registered: Jun 2008
Posts: 399

Rep: Reputation: 30
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.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail config error: warning program unsafe Mariognarly Linux - Software 0 08-28-2008 12:44 AM
Changing httpd config file NhaldSev Linux - Software 4 01-11-2007 01:04 AM
Config Error: Error accessing config file: /etc/yum.conf dr_zayus69 Linux - Software 2 01-17-2006 05:20 PM
Changing Xf86 config file toosdedoos Linux - Newbie 1 09-26-2003 09:17 AM
Sendmail: How do I config to write separate file for every email 360 Linux - Software 4 03-31-2003 08:52 PM


All times are GMT -5. The time now is 02:25 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration