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
 
Search this Thread
Old 11-23-2007, 02:48 AM   #1
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,440

Rep: Reputation: 80
Exclamation Bad configuration for mail server


Something is wrong with my configuration on my mail server. My username in linux is chris, and my hostname is ubuntu. But the mail sent by crontab is going to chris@gmail.com which is not my email. Here's my configuration.

ssmtp.conf:

Code:
  1 #
  2 # Config file for sSMTP sendmail
  3 #
  4 # The person who gets all mail for userids < 1000
  5 # Make this empty to disable rewriting.
  6 root=christopher.lemire@gmail.com
  7 
  8 # The place where the mail goes. The actual machine name is required no 
  9 # MX records are consulted. Commonly mailhosts are named mail.domain.com
 10 mailhub=smtp.gmail.com:587
 11 
 12 # Where will the mail seem to come from?
 13 rewriteDomain=gmail.com
 14 
 15 # The full hostname
 16 hostname=ubuntu
 17 
 18 # Are users allowed to set their own From: address?
 19 # YES - Allow the user to specify their own From: address
 20 # NO - Use the system generated From: address
 21 FromLineOverride=YES
 22 
 23 UseSTARTTLS=YES                    # Send SSL/TLS messages to Gmail
 24 AuthUser=christopher.lemire            # Your Gmail Username
 25 AuthPass=mypass            # Your Gmail Password
 26 rewriteDomain=gmail.com            # So the message appears to come from Gma    il
 27 FromLineOverride=YES               # So the message appears to come from Gma    il
Here is the problem.

http://img214.imageshack.us/my.php?image=cronjobfm8.png
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail Server Configuration veleno69 Linux - Networking 1 06-25-2007 09:00 AM
configuration of mail server dianarani Linux - Software 4 06-02-2007 07:11 AM
Mail Server Configuration hakmed Slackware 2 04-01-2005 05:14 PM
mail server / junk mail configuration CtrlAltDel Linux - Software 2 01-16-2004 04:35 PM
mail server responded - BAD AUTHENICATION macdafoe Linux - Networking 4 09-17-2003 08:40 PM


All times are GMT -5. The time now is 10:56 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 Google+: linuxquestions
Open Source Consulting | Domain Registration