[prev in list] [next in list] [prev in thread] [next in thread] 

List:       plug-mail
Subject:    Re: [PLUG] Sendmail is unable to send emails to users in same domain
From:       Amey Abhyankar <sco1984 () gmail ! com>
Date:       2020-12-24 5:21:21
Message-ID: CAGT4=KKA2a9cd=iE+C1kw1ELxOQRTBnSuiER9gzfzwszYaBe=A () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Wed, 23 Dec 2020 at 14:25, Vishal Rao <vishalrao@gmail.com> wrote:

> So either you need smtp server port listening enabled on host abc.com or
> there is a firewall rule blocking it, I guess.
>

Issue got resolved after removing entry of abc.com from /etc/resolve.conf


>
> On Wed, 23 Dec 2020, 14:21 Amey Abhyankar, <sco1984@gmail.com> wrote:
>
>> On Wed, 23 Dec 2020 at 12:50, Vishal Rao <vishalrao@gmail.com> wrote:
>> >
>> > Do you have mail server port open on abc.com itself and not some
>> subdomain like smtp.abc.com?
>>
>> If I try to telnet on port 25 to abc.com, I get a connection refused
>> message.[over private/internal IP range]
>>
>> >
>> > On Wed, 23 Dec 2020, 12:33 Amey Abhyankar, <sco1984@gmail.com> wrote:
>> >>
>> >> Hello,
>> >>
>> >> I am trying to configure sendmail on gitlab 13.x CE [on-prem
>> >> server/CentOS 7] to send emails to the LDAP based gitlab users.
>> >> [on-prem/traditional set-up]
>> >>
>> >> Sendmail is able to send email to any domains except its own domain.
>> >>
>> >> In logs, I am getting a message saying that the connection is refused
>> >> by domain abc.com & the private IP of Windows based DNS server.
>> >> The mailing solution for abc.com is taken from Google.
>> >> We checked for any email in the queue from gitlab@gitlab.abc.com but
>> >> no email in blacklist or spam section.
>> >>
>> >> mail sender is gitlab@gitlab.abc.com
>> >> Reply to is noreply@gitlab.abc.com
>> >>
>> >> I tried to add abc.com domain in access file as = Connect:abc.com
>> RELAY
>> >> Tried with more R&D but same issue.
>> >> Not helping.
>> >>
>> >> Any ideas how to fix the issue.
>> >> I did a lot of Google.
>> >> Those solutions did not work.
>> >>
>> >> Regards,
>> >> Amey.
>> >> _______________________________________________
>> >> plug-mail mailing list
>> >> plug-mail@plug.org.in
>> >> http://list.plug.org.in/listinfo/plug-mail
>> >
>> > _______________________________________________
>> > plug-mail mailing list
>> > plug-mail@plug.org.in
>> > http://list.plug.org.in/listinfo/plug-mail
>> _______________________________________________
>> plug-mail mailing list
>> plug-mail@plug.org.in
>> http://list.plug.org.in/listinfo/plug-mail
>>
> _______________________________________________
> plug-mail mailing list
> plug-mail@plug.org.in
> http://list.plug.org.in/listinfo/plug-mail
>

[Attachment #5 (text/html)]

<div dir="ltr"><div dir="ltr">On Wed, 23 Dec 2020 at 14:25, Vishal Rao &lt;<a \
href="mailto:vishalrao@gmail.com">vishalrao@gmail.com</a>&gt; wrote:<br></div><div \
class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">So \
either you need smtp server port listening enabled on host <a href="http://abc.com" \
target="_blank">abc.com</a> or there is a firewall rule blocking it, I guess.  \
</div></blockquote><div><br></div><div>Issue got resolved after removing  entry of <a \
href="http://abc.com">abc.com</a> from /etc/resolve.conf  </div><div>  \
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px \
solid rgb(204,204,204);padding-left:1ex"><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">On Wed, 23 Dec 2020, 14:21 Amey Abhyankar, &lt;<a \
href="mailto:sco1984@gmail.com" target="_blank">sco1984@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">On Wed, \
23 Dec 2020 at 12:50, Vishal Rao &lt;<a href="mailto:vishalrao@gmail.com" \
rel="noreferrer" target="_blank">vishalrao@gmail.com</a>&gt; wrote:<br>&gt;<br>&gt; \
Do you have mail server port open on <a href="http://abc.com" rel="noreferrer" \
target="_blank">abc.com</a> itself and not some subdomain like <a \
href="http://smtp.abc.com" rel="noreferrer" \
target="_blank">smtp.abc.com</a>?<div><br></div><div>If I try to telnet on port 25 to \
<a href="http://abc.com" rel="noreferrer" target="_blank">abc.com</a>, I get a \
connection refused message.<font face="monospace">[over private/internal IP \
range]</font><br></div><div><br></div><div>&gt;<br>&gt; On Wed, 23 Dec 2020, 12:33 \
Amey Abhyankar, &lt;<a href="mailto:sco1984@gmail.com" rel="noreferrer" \
target="_blank">sco1984@gmail.com</a>&gt; wrote:<br>&gt;&gt;<br>&gt;&gt; \
Hello,<br>&gt;&gt;<br>&gt;&gt; I am trying to configure sendmail on gitlab 13.x CE \
[on-prem<br>&gt;&gt; server/CentOS 7] to send emails to the LDAP based gitlab \
users.<br>&gt;&gt; [on-prem/traditional set-up]<br>&gt;&gt;<br>&gt;&gt; Sendmail is \
able to send email to any domains except its own domain.<br>&gt;&gt;<br>&gt;&gt; In \
logs, I am getting a message saying that the connection is refused<br>&gt;&gt; by \
domain <a href="http://abc.com" rel="noreferrer" target="_blank">abc.com</a> &amp; \
the private IP of Windows based DNS server.<br>&gt;&gt; The mailing solution for <a \
href="http://abc.com" rel="noreferrer" target="_blank">abc.com</a> is taken from \
Google.<br>&gt;&gt; We checked for any email in the queue from <a \
href="mailto:gitlab@gitlab.abc.com" rel="noreferrer" \
target="_blank">gitlab@gitlab.abc.com</a> but<br>&gt;&gt; no email in blacklist or \
spam section.<br>&gt;&gt;<br>&gt;&gt; mail sender is <a \
href="mailto:gitlab@gitlab.abc.com" rel="noreferrer" \
target="_blank">gitlab@gitlab.abc.com</a><br>&gt;&gt; Reply to is <a \
href="mailto:noreply@gitlab.abc.com" rel="noreferrer" \
target="_blank">noreply@gitlab.abc.com</a><br>&gt;&gt;<br>&gt;&gt; I tried to add <a \
href="http://abc.com" rel="noreferrer" target="_blank">abc.com</a> domain in access \
file as = Connect:<a href="http://abc.com" rel="noreferrer" \
target="_blank">abc.com</a>    RELAY<br>&gt;&gt; Tried with more R&amp;D but same \
issue.<br>&gt;&gt; Not helping.<br>&gt;&gt;<br>&gt;&gt; Any ideas how to fix the \
issue.<br>&gt;&gt; I did a lot of Google.<br>&gt;&gt; Those solutions did not \
work.<br>&gt;&gt;<br>&gt;&gt; Regards,<br>&gt;&gt; Amey.<br>&gt;&gt; \
_______________________________________________<br>&gt;&gt; plug-mail mailing \
list<br>&gt;&gt; <a href="mailto:plug-mail@plug.org.in" rel="noreferrer" \
target="_blank">plug-mail@plug.org.in</a><br>&gt;&gt; <a \
href="http://list.plug.org.in/listinfo/plug-mail" rel="noreferrer" \
target="_blank">http://list.plug.org.in/listinfo/plug-mail</a><br>&gt;<br>&gt; \
_______________________________________________<br>&gt; plug-mail mailing \
list<br>&gt; <a href="mailto:plug-mail@plug.org.in" rel="noreferrer" \
target="_blank">plug-mail@plug.org.in</a><br>&gt; <a \
href="http://list.plug.org.in/listinfo/plug-mail" rel="noreferrer" \
target="_blank">http://list.plug.org.in/listinfo/plug-mail</a></div></div> \
_______________________________________________<br> plug-mail mailing list<br>
<a href="mailto:plug-mail@plug.org.in" rel="noreferrer" \
target="_blank">plug-mail@plug.org.in</a><br> <a \
href="http://list.plug.org.in/listinfo/plug-mail" rel="noreferrer noreferrer" \
target="_blank">http://list.plug.org.in/listinfo/plug-mail</a><br> \
</blockquote></div> _______________________________________________<br>
plug-mail mailing list<br>
<a href="mailto:plug-mail@plug.org.in" target="_blank">plug-mail@plug.org.in</a><br>
<a href="http://list.plug.org.in/listinfo/plug-mail" rel="noreferrer" \
target="_blank">http://list.plug.org.in/listinfo/plug-mail</a><br> \
</blockquote></div></div>



_______________________________________________
plug-mail mailing list
plug-mail@plug.org.in
http://list.plug.org.in/listinfo/plug-mail


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic