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 04-27-2011, 04:03 PM
Jerry Geis
 
Default slow sendmail going out

I am trying to find a way to "speed" up sendmail going out of my box.

I am setting SMART_HOST. Dont get me wrong email does go out it just takes
like 3-4 minutes to get there.

When I do "mail xxxx@y.com" and send it the /var/log/maillog file shows
the connection and shows the relay as [127.0.0.1]. Then it just SITS
there for a long time.

Then it picks up the mail and delivers it. No errors are show, no
timeouts etc...

My box does not have an MX record as I am behind the firewall
(192.168.1.X).

I have set the /etc/sysconfig/sendmail QUEUE=1m but that does not seem
to help either.

There is nothing else happening on my box so that is not slowing
anything down.

I've done some google'ing, some playing and nothing has helped. I tried
adding the service.switch
to sendmail.mc, I tried temporarily taking out dns from nsswitch.conf -
and nothing seemed to help.

How can I get emails exiting my box faster.

Jerry
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 04-27-2011, 04:21 PM
Les Mikesell
 
Default slow sendmail going out

On 4/27/2011 11:03 AM, Jerry Geis wrote:
> I am trying to find a way to "speed" up sendmail going out of my box.
>
> I am setting SMART_HOST. Dont get me wrong email does go out it just takes
> like 3-4 minutes to get there.
>
> When I do "mail xxxx@y.com" and send it the /var/log/maillog file shows
> the connection and shows the relay as [127.0.0.1]. Then it just SITS
> there for a long time.
>
> Then it picks up the mail and delivers it. No errors are show, no
> timeouts etc...
>
> My box does not have an MX record as I am behind the firewall
> (192.168.1.X).
>
> I have set the /etc/sysconfig/sendmail QUEUE=1m but that does not seem
> to help either.
>
> There is nothing else happening on my box so that is not slowing
> anything down.
>
> I've done some google'ing, some playing and nothing has helped. I tried
> adding the service.switch
> to sendmail.mc, I tried temporarily taking out dns from nsswitch.conf -
> and nothing seemed to help.
>
> How can I get emails exiting my box faster.

Sendmail normally does a reverse DNS lookup (number to name) for the
connecting IP and an IDENT query on the socket. If you've configured a
firewall to drop these from the receiving mailer, you'll wait for a
timeout to happen. Rejecting with an ICMP-denied makes it fast, since
it tells the other end not to wait. Note that these will come to the
public side of your NAT router. The remote will also be checking that
it can resolve the domain in your From: header and probably some other
things.

--
Les Mikesell
lesmikesell@gmail.com
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 04-27-2011, 04:33 PM
"Gregory P. Ennis"
 
Default slow sendmail going out

0400

I am trying to find a way to "speed" up sendmail going out of my box.

I am setting SMART_HOST. Dont get me wrong email does go out it just takes
like 3-4 minutes to get there.

When I do "mail xxxx@y.com" and send it the /var/log/maillog file shows
the connection and shows the relay as [127.0.0.1]. Then it just SITS
there for a long time.

Then it picks up the mail and delivers it. No errors are show, no
timeouts etc...

My box does not have an MX record as I am behind the firewall
(192.168.1.X).

I have set the /etc/sysconfig/sendmail QUEUE=1m but that does not seem
to help either.

There is nothing else happening on my box so that is not slowing
anything down.

I've done some google'ing, some playing and nothing has helped. I tried
adding the service.switch
to sendmail.mc, I tried temporarily taking out dns from nsswitch.conf -
and nothing seemed to help.

How can I get emails exiting my box faster.

Jerry
----------------

Jerry,

I had the same problem with sendmail. My solution occurred when I set
up DNS resolution internally. I had a lot of 'time out' conditions
when dns resolution was not obtainable with sendmail. Having a name
server with reverse resolution totally solved this for me.

Greg

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 04-27-2011, 07:02 PM
Jerry Geis
 
Default slow sendmail going out

Jerry Geis wrote:
> I am trying to find a way to "speed" up sendmail going out of my box.
>
> I am setting SMART_HOST. Dont get me wrong email does go out it just
> takes
> like 3-4 minutes to get there.
>
> When I do "mail xxxx@y.com" and send it the /var/log/maillog file shows
> the connection and shows the relay as [127.0.0.1]. Then it just SITS
> there for a long time.
>
> Then it picks up the mail and delivers it. No errors are show, no
> timeouts etc...
>
> My box does not have an MX record as I am behind the firewall
> (192.168.1.X).
>
> I have set the /etc/sysconfig/sendmail QUEUE=1m but that does not seem
> to help either.
>
> There is nothing else happening on my box so that is not slowing
> anything down.
>
> I've done some google'ing, some playing and nothing has helped. I
> tried adding the service.switch
> to sendmail.mc, I tried temporarily taking out dns from nsswitch.conf
> - and nothing seemed to help.
>
> How can I get emails exiting my box faster.
>
> Jerry
>
Gregory - Thanks for the DNS info.

Another avenue I just tried was setting up AuthInfo with a user and
account and that goes much faster now also.
Perhaps loging in to the email server by passes any DNS lookup it was
trying to do.

Thanks,

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

Thread Tools




All times are GMT. The time now is 09:32 AM.

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