LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 12-22-2006, 07:11 AM   #1
joadoor
Member
 
Registered: Apr 2002
Location: Clevedon, UK
Distribution: SUSE 8.2, 9.2, 10.0 OSS
Posts: 57

Rep: Reputation: 15
Send email to internet from 2nd SuSE via internal postfix server


Hi all,

I have (what I think) is an unusual situation regarding postfix.

I currently have a SuSE installation acting as both a firewall and a gateway for emails (using postfix).
This is currently working fine for our internal Exchange environment allowing all users to send emails to each other and to the internet. Call this machine mailgate.

Now, I have another SuSE installation acting as a monitoring server running VMware. Call this machine brslnx02. However I want to also use it to monitor the CPU Temp sensors and send an email to the internet when over a certain temp. I have written the bash script, but am getting stuck at getting it to send an email to the internet.

The emails are getting stuck in the 'mailq':

9798524E3A 767 Fri Dec 22 12:23:39 root@brslnx02.domain.local
(connect to smtp-in.orange.net[193.252.23.4]: Connection timed out)
0123456789@orange.net

90CA324E3E 774 Fri Dec 22 12:33:03 root@brslnx02.domain.local
(connect to mailgate.domain.com[12.34.56.78]: Connection timed out)
admin@domain.com

I have looked on the mail logs for mailgate.domain.com but its not even mentioned in the logs.

Anybody any ideas?
I think there is something that I need to put into either brslnx02 or mailgate's postfix config, but am reluctant to 'break' the working email.

If there is any more info that is needed, please ask away.
TIA.
 
Old 12-23-2006, 05:03 PM   #2
mpapet
Member
 
Registered: Nov 2003
Location: Los Angeles
Distribution: debian
Posts: 453

Rep: Reputation: 46
postfix

Is postfix the smtp server in your environment?

Is the localuser (localuser@domainname) you are trying to use to send the mail authorized to do so?

Does the recipient of the email exist?/routable?

Dumb questions, but get the simple stuff out of the way first.
 
Old 12-25-2006, 10:40 AM   #3
joadoor
Member
 
Registered: Apr 2002
Location: Clevedon, UK
Distribution: SUSE 8.2, 9.2, 10.0 OSS
Posts: 57

Original Poster
Rep: Reputation: 15
Thanks mpapet for the reply,

In asnwer:

Q: Is postfix the smtp server in your environment?
A: We have an Exchange server that holds everyones mailboxes, but this passes emails to the mailgate.domain.local linux box for transport to the outside world via postfix. External emails coming in, pass through postfix before being transfered to the Exchange box.

Q: Is the localuser (localuser@domainname) you are trying to use to send the mail authorized to do so?
A: Don't know. The two sepatate linux boxes are not 'joined' in any way other than being on the same LAN IP range. This is possibly the problem then.

Does the recipient of the email exist?/routable? Yes, I can send from my desktop Outlook program > Exchange Server > Postfix/Mailgate > ISP > Internet etc.etc.
I can't get a different Linux box to send an email to (or through) the mailgate/postifx box.

Hope these answers help (a little)

Cheers,
Andy

BTW, not sad on Xmas day, just fixing my Dad's anti-virus whilst waiting for turkey to go down
 
  


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
Postfix can't send email squirtle Linux - Newbie 1 09-24-2006 04:57 AM
postfix will not send internal mail fng_#1 Linux - Newbie 0 12-09-2004 03:30 PM
Using Postfix the send email via another smtp server - to anyone. scarstens Linux - Newbie 1 01-27-2004 03:31 PM
SENDMAIL as an SMTP RELAY SERVER that can send email to internet. how? kublador Linux - Software 7 10-25-2003 08:43 AM
SUSe email server hanging at postfix svc cmiwebmaster Linux - Newbie 0 04-14-2003 01:42 PM


All times are GMT -5. The time now is 02:02 PM.

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