FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 10-19-2010, 03:39 AM
cornel panceac
 
Default Not receiving mail

Yes, those error were before I removed sendmail from the default config.



Even though it seems to be answering on post 25 now, mail sent to an

account there from Gmail are not being received. No errors in the

logs.



--

Dotan Cohen


stupid's question: what happens if you disable selinux?


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 10-19-2010, 06:26 PM
Ian Murray
 
Default Not receiving mail

> No the example above shows a telnet to port 25 connecting - which I can
> reproduce too - but there is no 220 response as there should be from a

I am late to the thread (and I haven't a clue what we are talking about in
fact), but I get a 220 when I telnet into that IP address...

Escape character is '^]'.
220 mercury.localdomain ESMTP Postfix



_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 10-19-2010, 06:42 PM
 
Default Not receiving mail

Ian Murray wrote:
>
>
>> No the example above shows a telnet to port 25 connecting - which I can
>> reproduce too - but there is no 220 response as there should be from a
>
> I am late to the thread (and I haven't a clue what we are talking about in
> fact), but I get a 220 when I telnet into that IP address...
>
> Escape character is '^]'.
> 220 mercury.localdomain ESMTP Postfix

Odd. Why would it say localdomain?

mark

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 10-19-2010, 06:58 PM
Ian Murray
 
Default Not receiving mail

>
> [herrold@stones herrold]$ telnet 178.63.65.136 25
> Trying 178.63.65.136...
> Connected to 178.63.65.136.
> Escape character is '^]'.
> 220 mercury.localdomain ESMTP Postfix
> quit
> 221 2.0.0 Bye
> Connection closed by foreign host.
> [herrold@stones herrold]$
>
> Something between your local setup and 178.63.65.136 is
> blocking you --
>
> Solve that -- it is NOT a centos issue at this point
>
> -- Russ herrold
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


In fact Russ was here before me.... as he says, it is likely a connectivity
issue... not a mail issue.




_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 10-19-2010, 07:58 PM
Ben McGinnes
 
Default Not receiving mail

On 20/10/10 5:42 AM, m.roth@5-cent.us wrote:
> Ian Murray wrote:
>>
>>
>>> No the example above shows a telnet to port 25 connecting - which I can
>>> reproduce too - but there is no 220 response as there should be from a
>>
>> I am late to the thread (and I haven't a clue what we are talking about in
>> fact), but I get a 220 when I telnet into that IP address...
>>
>> Escape character is '^]'.
>> 220 mercury.localdomain ESMTP Postfix
>
> Odd. Why would it say localdomain?

He probably has an incorrect myhostname or mydomain value in main.cf.
From the look of the postconf -n he posted, he hasn't specified either
of these.

From the relevant section in Dotan's postconf -n:

mydestination = $myhostname, localhost.$mydomain, localhost
newaliases_path = /usr/bin/newaliases.postfix

The equivalent section in mine (sanitised because copying & pasting is
not the solution):

mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = example.com
myhostname = mail.example.com
mynetworks = 127.0.0.0/8, 192.168.1.0/24
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix


Regards,
Ben

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 10-20-2010, 07:17 PM
Dotan Cohen
 
Default Not receiving mail

Got it! I had to set these three last values:
postconf -e 'mydomain = sharingcenter.eu'
postconf -e 'myhostname - mail.sharingcenter.eu'
postconf -e 'myhostname = mail.sharingcenter.eu'
postconf -e 'mynetworks = 178.63.65.136'
postconf -e 'mydestination = $myhostname, localhost.$mydomain,
localhost, sharingcenter.eu, mail.sharingcenter.eu'

I thank you guys for your patience and help. I just spent a good few
hours googling today and working my way around blogs, documentation,
howto articles, forum posts, mailing list archives, and the like. I
wouldn't have even known what to google for without the patient and
helpful assistance I've received here. When it is said that CentOS is
a "Community ENTerprise Operating System" be there no mistake!

Cold beer for anyone visiting Israel soon!

--
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 10-21-2010, 04:04 AM
Ben McGinnes
 
Default Not receiving mail

On 21/10/10 6:17 AM, Dotan Cohen wrote:
>
> I thank you guys for your patience and help.

No problem.

> I just spent a good few hours googling today and working my way
> around blogs, documentation, howto articles, forum posts, mailing
> list archives, and the like. I wouldn't have even known what to
> google for without the patient and helpful assistance I've received
> here. When it is said that CentOS is a "Community ENTerprise
> Operating System" be there no mistake!

Heh. It probably helps that I'm also subscribed to the postfix-users
mailing list, which frequently addresses issues like this. I highly
recommend it for anyone running postfix, even just as a lurker. Also,
Wietse posts regularly to that list.

> Cold beer for anyone visiting Israel soon!

If I could afford to visit, I'd take you up on that!


Regards,
Ben

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 07:37 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org