04-26-2016
Gmail very slow to receive Sendmail/PHP Mail
Okay, I have searched the forums and couldn't really find a topic on this, so I decided to start one. But I decided to start a ncurses discussion forum recently and one thing I noticed while getting it going is that when mail is sent out via Sendmail or PHP Mail, Gmail is /very/ slow to receive it. About 15-20 minutes in total. It doesn't matter who the recipient is, as I've tested this with a pool of several different people. But when sending by SMTP, it's instant!
I'd understand if they were using greylisting or something similar, but why is one protocol slow and the other fast? Any insight into this would be greatly appreciated. I have also checked the mail queues and there is no holdups in those, so that can't be it.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
In order to prevent any php processes on our web server from waiting
for sendmail hangups (name resolution issues, etc), we wrap sendmail
in a simple shell script and push it to the background and disown the
process so that any php script on our site can continue on processing
code and not have... (0 Replies)
Discussion started by: fearlessmind
0 Replies
2. Forum Support Area for Unregistered Users & Account Problems
Hi Administrators,
I've registered myself yesterday and have been waiting for my account to be activated. I've followed the instructions in the 'See this if you have an account but cannot post ' thread to request for an activation mail to be sent to my other email address, but still did not... (0 Replies)
Discussion started by: pl_cyber
0 Replies
3. UNIX for Dummies Questions & Answers
Hi Unix Gurus,
Please help me out here.
Please tell me the steps to conigure sendmail to receive emails (same way we configure outlook client in windows)?
Thanks in advance.
-Dejavu (1 Reply)
Discussion started by: DejaVu
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I am not sure if it is a good question or not.
Is there a unix utility which can be configured with exchange server and then receive e-mails?
Thanks! (4 Replies)
Discussion started by: DejaVu
4 Replies
5. Shell Programming and Scripting
Hi all,
I have written a script which supposed send a mail.
For testing I am just sending mails to my ID.
script I have written to send mail is-
#!/usr/bin/ksh
MAIL_FILE="$HOME/MAIL_FILE"
MAILOUT_LIST="milindb@example.com"
mail -s "Subject" $MAILOUT_LIST < $MAIL_FILE
if
then
echo... (6 Replies)
Discussion started by: milindb
6 Replies
6. Shell Programming and Scripting
Hi.
I am using a script on HP-UX to send emails that include a Pdf attachment to clients. The scipt makes use of sendmail.
The scripts works for everything except gmail. When I go on gmail via my Web Browser, I can see the message with the attachment, but if I try to view or download the... (2 Replies)
Discussion started by: Wahooka
2 Replies
7. Shell Programming and Scripting
Hi.
I am a user on HP-UX , OS Version 11.23 with the Itanium architecture.
I am using a script on HP-UX to send emails that include a Pdf attachment to clients. The scipt makes use of sendmail.
The scripts works for everything except gmail. When I go on gmail via my Web Browser, I can see... (4 Replies)
Discussion started by: Wahooka
4 Replies
8. Proxy Server
PHP mail() function doesn't work.
Nor does sendmail:
loaded system configuration file /etc/msmtprc
ignoring user configuration file /home/xi/.msmtprc: No such file or directory
falling back to default account
using account default from /etc/msmtprc
host = xsi
port = 25
proxy host = (not... (1 Reply)
Discussion started by: Xcislav
1 Replies
9. UNIX for Beginners Questions & Answers
On Red Hat Enterprise Linux Server release 6.8.
I am to get the email from my LINUX box on gmail account but it fails on company domain.
getting status=sent for gmail. BUT
getting below error for company domain:
status=bounced
#5.1.8 Domain of sender address <root@xxxx.com> does not exist... (16 Replies)
Discussion started by: nadeemrafikhan
16 Replies
LEARN ABOUT DEBIAN
email::sender::transport::smtp::tls
Email::Sender::Transport::SMTP::TLS(3pm) User Contributed Perl Documentation Email::Sender::Transport::SMTP::TLS(3pm)
NAME
Email::Sender::Transport::SMTP::TLS - Email::Sender with Net::SMTP::TLS (Eg. Gmail)
VERSION
version 0.10
SYNOPSIS
use Email::Sender::Simple qw(sendmail);
use Email::Sender::Transport::SMTP::TLS;
use Try::Tiny;
my $transport = Email::Sender::Transport::SMTP::TLS->new(
host => 'smtp.gmail.com',
port => 587,
username => 'username@gmail.com',
password => 'password',
helo => 'fayland.org',
);
# my $message = Mail::Message->read($rfc822)
# || Email::Simple->new($rfc822)
# || Mail::Internet->new([split /
/, $rfc822])
# || ...
# || $rfc822;
# read L<Email::Abstract> for more details
use Email::Simple::Creator; # or other Email::
my $message = Email::Simple->create(
header => [
From => 'username@gmail.com',
To => 'to@mail.com',
Subject => 'Subject title',
],
body => 'Content.',
);
try {
sendmail($message, { transport => $transport });
} catch {
die "Error sending email: $_";
};
DESCRIPTION
Email::Sender replaces the old and sometimes problematic Email::Send library, while this module replaces the Email::Send::SMTP::TLS.
It is still alpha, but it works. use it at your own risk!
ATTRIBUTES
The following attributes may be passed to the constructor:
host - the name of the host to connect to; defaults to localhost
port - port to connect to; defaults to 587
username - the username to use for auth; required
password - the password to use for auth; required
helo - what to say when saying HELO; no default
allow_partial_success - if true, will send data even if some recipients were rejected
PARTIAL SUCCESS
If "allow_partial_success" was set when creating the transport, the transport may return Email::Sender::Success::Partial objects. Consult
that module's documentation.
AUTHOR
Fayland Lam <fayland@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Fayland Lam.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-06-25 Email::Sender::Transport::SMTP::TLS(3pm)