
10th August 2010, 08:05
|
|
Junior Member
|
|
Join Date: Mar 2010
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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?
|

11th August 2010, 17:38
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Any errors in your mail log?
Also make sure that your server isn't blacklisted: http://mxtoolbox.com/blacklists.aspx
|

17th August 2010, 13:50
|
|
Junior Member
|
|
Join Date: Mar 2010
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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?
|

18th August 2010, 09:20
|
|
Junior Member
|
|
Join Date: Mar 2010
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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 `('
|

18th August 2010, 09:35
|
|
Senior Member
|
|
Join Date: Jun 2006
Posts: 375
Thanks: 11
Thanked 48 Times in 40 Posts
|
|
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?
|

20th August 2010, 04:54
|
|
Junior Member
|
|
Join Date: Mar 2010
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
..
..Is in the datacenter ....so that means only in the ISP would be the problem?.(regarding firewall.)..
|

20th August 2010, 14:42
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Did you check if your server is blacklisted?
|

6th September 2010, 11:48
|
|
Junior Member
|
|
Join Date: Mar 2010
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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?
|

7th September 2010, 16:03
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
I can't help you if you don't answer my questions...
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 05:53.
|
Recent comments
2 days 20 hours ago
3 days 5 hours ago
3 days 8 hours ago
3 days 9 hours ago
3 days 11 hours ago
3 days 12 hours ago
3 days 14 hours ago
3 days 15 hours ago
4 days 7 hours ago
4 days 8 hours ago