LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-03-2007, 11:12 PM   #1
k0nsole.c
LQ Newbie
 
Registered: Jun 2007
Posts: 8

Rep: Reputation: 0
sendmail configuration


Hi all

I'm trying to setup a disk space check scripts at one of the server(host1) in private zone, which will send email to me(eg: a@abc.com) through smtp server(eg: 10.58.216.5) in DMZ.
I have been trying to test sending mail with command line, but it was never been successful.

I have already setup smart host at sendmail.mc and already m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf and restarted the sendmail service.

whenever I send the test mail from command line, it always been queued.
Jun 4 11:57:13 p106pu02 sendmail[20640]: l543vDIY020640: from=root, size=40, class=0, nrcpts=1, msgid=<200706040357.l543vDIY020640@host1.xyz.com>, relay=root@localhost
Jun 4 11:57:13 p106pu02 sendmail[20640]: l543vDIY020640: to=a@abc.com, delay=00:00:00, mailer=esmtp, pri=30040, dsn=4.4.3, stat=queued

I have no DNS in private zone. DNS is only at DMZ.
I can try connecting port 25 of SMTP server from private zone by telneting 10.58.216.58 22, it is listening.

Pls guide me how can I achieve sending mail.
Thanks in deed.
 
Old 06-04-2007, 08:29 AM   #2
ScooterB
Member
 
Registered: Sep 2003
Location: NW Arkansas
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344

Rep: Reputation: 31
I would think that you would need to set up the ability to relay mail in your DMZ SMTP mail server. If you go to /etc/access and look at the list you will see the configuration. It is basically just the IP and you would want to set the action to RELAY. That way, the DMZ mail server would know to accept SMTP and relay it from the internal mail server (if I understand your topology correctly). Take a look at that and repost.
 
  


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 Configuration skun11 Linux - Server 1 05-10-2007 01:41 AM
Sendmail Configuration - I need Help ukjairaj Linux - Networking 5 06-23-2005 12:26 PM
Sendmail Configuration ralphf Linux - Newbie 1 06-09-2004 12:47 PM
Sendmail Configuration svsalian Linux - Software 7 08-29-2003 04:17 AM
Sendmail Configuration TheDude074 Linux - General 1 08-07-2003 08:41 PM

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

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