LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-08-2004, 03:22 AM   #1
vacilus
LQ Newbie
 
Registered: Aug 2004
Location: Brescia - ITALY
Distribution: RH9
Posts: 19

Rep: Reputation: 0
sendmail client


good morrning to everyone,

I want explaine my problem because I didn't found any solutions :

I want send mail from my linux server (with sendmail or postfix it's the same..) without configure the machine as MTA because already exist another linux server on the lan that makes this.

I think there is a trick for sending mail from linux without the machine is configured as MTA .. otherwise ,How I can have two machine that work with the same domain ? www.myDomain.com ??

thanks in advance

marco
 
Old 10-08-2004, 05:24 AM   #2
rkmalik
LQ Newbie
 
Registered: Oct 2004
Location: UK
Posts: 13

Rep: Reputation: 0
sendmail.cf

You can always send mails using other MTA, as long as your mailhost entry is right in your sendmail.cf

Here is an example:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# "Smart" relay host (may be null)
DSmailhost$?m.$m$.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Replace mailhost with your MTA name.

Or there is another quick and temporary solution. You could send you local domain mails like this:

echo "test mail body" | mail -s "mail subject" rakesh.malik@mymta.mydomain.com

This will forward the mail to mymta.mydomain.com and you MTA will decide where to send the mail.

Hope this will help!
 
Old 10-08-2004, 08:02 AM   #3
vacilus
LQ Newbie
 
Registered: Aug 2004
Location: Brescia - ITALY
Distribution: RH9
Posts: 19

Original Poster
Rep: Reputation: 0
tahnks rkmalik !!

I didn't remember SMART_HOST define into sendmail.mc

I don't known very well the .cf's syntax so I prefer configure sendmail by sendmail.mc.

thanks once again !

marco
 
  


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
Sendmail and sm-client slow on startup! hotpepsi Linux - Newbie 3 10-11-2010 05:17 AM
sm-client failing on Restarting Sendmail myguest Linux - Software 0 01-03-2005 07:00 AM
sendmail sm-client jon3k Linux - Software 0 11-15-2004 01:42 PM
SENDMAIL - sm-client fails digimike Linux - Newbie 4 08-09-2003 02:30 PM
Sendmail and sm-client Micro Linux - General 1 01-12-2003 07:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:57 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