Visit Jeremy's Blog.
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 04-01-2010, 11:10 PM   #1
LQ Newbie
Registered: Apr 2010
Posts: 1

Rep: Reputation: 0
Angry sendmail not reading default

I recently modified to use a third party SMTP server to send emails. It works great. But when I run sendmail from the command line, I have to specify the -C flag and force feed it the location of my, or else it doesn't work.

So in other words, the following works great:

me@db0:~> sendmail -C/etc/mail/ -v
This is a test message. Connecting to port 465 via relay...
... Sent (OK ...)

However, if I don't specify the -C flag, sendmail doesn't consider what's in the and barfs:

me@db0:~> sendmail -v
This is a test message. Connecting to [] via relay... Deferred: Connection refused by []

I don't run sendmail as a daemon. I'm only using it to send emails. I know my modifications of are correct because it works perfectly when I use the -C flag. I searched my disk to see if I could find another on the machine and only the one in /etc/mail came up.

Any ideas why sendmail is not reading my

I'm running Sendmail version 8.14.2 on Fedora Core 8.
Old 04-02-2010, 11:03 AM   #2
LQ Newbie
Registered: Oct 2004
Posts: 5

Rep: Reputation: 1
Try touch /etc/mail/; touch /etc/mail/; make -C /etc/mail


sendmail, sendmailmc

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
Reading mail with sendmail 8.13.8 on RHEL 5.1 Rocktron Linux - Software 3 01-17-2010 08:58 PM
Sendmail seems not to use default-auth-info DieSpeedy Linux - Software 8 07-30-2009 08:38 AM
Sendmail reading active directory liam57 Linux - Server 0 01-27-2009 01:58 AM
config sendmail and default gateway daisytw88 Linux - Server 2 04-04-2008 09:22 AM
mail not reading file???? koutsane Linux - Software 1 07-18-2007 09:08 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:49 AM.

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