Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 10th August 2010, 08:05
dongsky dongsky is offline
Junior Member
 
Join Date: Mar 2010
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to set up a mail server in centos/linux system?regarding(SMTP/MTA server)postfix.

Hi Everyone,
I wonder why my system cant send a notification about the problems/issues to my yahoo mail or google. ,actually the system is about monitoring ...can somebody here know's how to set up a mail server in centos..because i want to change the configuration..and also i want to grant access or locate the destination for my email notification..

How can I do that?
Reply With Quote
Sponsored Links
  #2  
Old 11th August 2010, 17:38
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Any errors in your mail log?

Also make sure that your server isn't blacklisted: http://mxtoolbox.com/blacklists.aspx
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 17th August 2010, 13:50
dongsky dongsky is offline
Junior Member
 
Join Date: Mar 2010
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default regarding the email notification in nagios

Is it possible to set up Postfix to send e-mails to an outside address such as a gmail.com address from a .local address?
Reply With Quote
  #4  
Old 18th August 2010, 09:20
dongsky dongsky is offline
Junior Member
 
Join Date: Mar 2010
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default the log files under /var/log/maillog

[root@localhost ~]# Aug 18 15:09:45 localhost postfix/qmgr[2717]: 399491E1385: from=<nagios@localhost.localdomain>, size=541, nrcpt=1 (queue active)
bash: syntax error near unexpected token `('
[root@localhost ~]# Aug 18 15:10:44 localhost postfix/smtp[9809]: connect to e.mx.mail.yahoo.com[67.195.168.230]: Connection timed out (port 25)
bash: syntax error near unexpected token `('
[root@localhost ~]# Aug 18 15:11:42 localhost postfix/smtp[9809]: connect to f.mx.mail.yahoo.com[98.137.54.237]: Connection timed out (port 25)
bash: syntax error near unexpected token `('
[root@localhost ~]# Aug 18 15:12:39 localhost postfix/smtp[9809]: connect to h.mx.mail.yahoo.com[66.94.236.34]: Connection timed out (port 25)
bash: syntax error near unexpected token `('
[root@localhost ~]# Aug 18 15:13:37 localhost postfix/smtp[9809]: connect to a.mx.mail.yahoo.com[67.195.168.31]: Connection timed out (port 25)
bash: syntax error near unexpected token `('
[root@localhost ~]# Aug 18 15:14:34 localhost postfix/smtp[9809]: connect to c.mx.mail.yahoo.com[206.190.54.127]: Connection timed out (port 25)
bash: syntax error near unexpected token `('
[root@localhost ~]# Aug 18 15:14:34 localhost postfix/smtp[9809]: 399491E1385: to=<celvando213@yahoo.com>, relay=none, delay=290, delays=0.16/0.01/290/0, dsn=4.4.1, status=deferred (connect to c.mx.mail.yahoo.com[206.190.54.127]: Connection timed out)
bash: syntax error near unexpected token `('
Reply With Quote
  #5  
Old 18th August 2010, 09:35
damir damir is offline
Senior Member
 
Join Date: Jun 2006
Posts: 375
Thanks: 11
Thanked 51 Times in 42 Posts
Default

It seems that port 25 is either blocked by your ISP or it's closed by you firewall. Where is this server, at you house or in datacenter?
Reply With Quote
  #6  
Old 20th August 2010, 04:54
dongsky dongsky is offline
Junior Member
 
Join Date: Mar 2010
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default ..

..Is in the datacenter ....so that means only in the ISP would be the problem?.(regarding firewall.)..
Reply With Quote
  #7  
Old 20th August 2010, 14:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Did you check if your server is blacklisted?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 6th September 2010, 11:48
dongsky dongsky is offline
Junior Member
 
Join Date: Mar 2010
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default another maillog

When i change it to my google account..here's the log files.:


Sep 6 17:32:03 localhost postfix/qmgr[2711]: 916A51C8F63: to=<loremuelgadrinab@gmail.com>, relay=none, delay=91, delays=0.25/91/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt4.gmail-smtp-in.l.google.com[209.85.229.27]: Connection timed out)

[root@localhost ~]#



Anyone here ,,,have some idea?
Reply With Quote
  #9  
Old 7th September 2010, 16:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

I can't help you if you don't answer my questions...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How cai remove amavis from postfix ? gabrix Server Operation 16 2nd October 2012 09:58
amavis & ispconfig 3 yalex2000 Installation/Configuration 20 18th February 2010 17:02
Webmail problems with only one domain? compner Installation/Configuration 14 16th February 2010 16:59
I don't recieve mail. privir Installation/Configuration 2 3rd June 2009 22:08
Filtering emails using Spamassassin and Clamav for Exchange 2000 Server Rocky Server Operation 19 11th March 2008 08:27


All times are GMT +2. The time now is 12:00.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.