LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-28-2019, 09:21 PM   #1
kenmore
LQ Newbie
 
Registered: Mar 2019
Posts: 8

Rep: Reputation: Disabled
ssmtp taking too long


I have a development machine on my home network which I've tried to make as a mirror image of my production server which is at a colocation site. My ISP for home internet access and outgoing email is separate from the colocation network. I run Slackware 14.7 at both sites.

When I run ssmtp on my dev box with the command:

/usr/sbin/ssmtp jane@foo.com < /home/bud/ssmtpTestEmail.txt

it executes rather quickly and sends the email.

When I issue the same command at my production site it takes nearly 3 minutes to execute.

ssmtp.conf is the same at both loacations (except for the hostname). Here it is


root=joe@myISP.net
mailhub=smtp.myISP.net:587
rewriteDomain=
hostname=UnixBox
FromLineOverride=YES
UseSTARTTLS=YES
AuthUser=uname
AuthPass=pword

What could be stalling it in production. I have sendmail running at production but shutting it off does not seem to help.

Does it execute faster at home because I'm connecting to my ISP's mail server while in a sense I'm on their network?

Any way to speed up responce in production?
 
Old 03-29-2019, 02:40 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
have you looked at the logs?
i have been troubleshooting ssmtp issues here:
Code:
/var/log/mail*
but there might be more.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: My Nerd Life: Too Loud, Too Funny, Too Smart, Too Fat LXer Syndicated Linux News 0 01-24-2014 05:21 AM
long long long: Too long for GCC Kenny_Strawn Programming 5 09-18-2010 01:14 AM
Filesystem check taking TOO LONG springshades Mandriva 2 08-10-2005 02:02 AM
urpmi --auto-select taking wayyy too long fulat2k Mandriva 4 10-07-2004 07:23 PM
Erasing Hard Drive with dd taking waaayyyy too long mtrisk Linux - Hardware 3 06-23-2004 01:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration