LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-30-2014, 11:15 AM   #16
cyberdome
Member
 
Registered: Mar 2014
Distribution: Fedora 23 - MariaDB 10.1 -
Posts: 130

Original Poster
Blog Entries: 2

Rep: Reputation: 8

Quote:
Originally Posted by Rawcous View Post

As you have amended and rebuilt the sendmail.mc to include the change of outbound smtp port from to 465, I recommend that you restart the sendmail service to reflect the change if you haven't already done so - otherwise the 2 may conflict.

systemctl restart sendmail.service

Rawcous!


yes, I have rebuilt the sendmail.mc file. I have restarted sendmail service. For some reason, it does not want to cooperate with me. It does not send email out to Yahoo or GMAIL inbox.

I am so frustrated. Do I need to make changes in the IPTABLES?
 
Old 03-30-2014, 12:43 PM   #17
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
A lot of ISPs block outgoing email from consumer accounts, most times by blocking the ports which are used for email. But you probably know that. As in port 25 will not work. Hosting companies tend to offer multiple port options like port 26 to let you play with your hosting subscription from a domestic ISP connection. But sometimes ISPs block those too.
 
Old 03-30-2014, 12:45 PM   #18
Rawcous
Member
 
Registered: Jan 2014
Location: Farnborough, Hampshire - UK
Distribution: SCO UNIX -> Fedora (Core) -> CentOS -> RedHat
Posts: 128

Rep: Reputation: 48
Hello,

Doing a search via Google (https://www.google.co.uk/#q=sendmail...n.net&start=20) it would seem that you are amongst hundreds if Verizon customers who are experiencing this issue. See the following for possible solutions. Unfortunately I cannot assist with this as I do not use Verizon / have this issue with relaying mail via my ISP - I will still help if I can... It also appears that Verizon may be using SSL after all...

http://forums.verizon.com/t5/Verizon...il/td-p/618153 in particular see "nigelhorne's" post at the bottom of the page.

Regards,

Rawcous!
 
Old 03-30-2014, 12:50 PM   #19
cyberdome
Member
 
Registered: Mar 2014
Distribution: Fedora 23 - MariaDB 10.1 -
Posts: 130

Original Poster
Blog Entries: 2

Rep: Reputation: 8
Quote:
Originally Posted by Shadow_7 View Post
A lot of ISPs block outgoing email from consumer accounts, most times by blocking the ports which are used for email. But you probably know that. As in port 25 will not work. Hosting companies tend to offer multiple port options like port 26 to let you play with your hosting subscription from a domestic ISP connection. But sometimes ISPs block those too.
I freaking knew it. Darn ISP's. I think you are correct. My Verizon FIOS is blocking those email ports. I have forwarded ports on my ROUTER and on my LINUX FODORA machine in the IPTABLES. When I run the port scanner. It says CLOSED for SMTP ports.
 
Old 03-30-2014, 12:54 PM   #20
cyberdome
Member
 
Registered: Mar 2014
Distribution: Fedora 23 - MariaDB 10.1 -
Posts: 130

Original Poster
Blog Entries: 2

Rep: Reputation: 8
Quote:
Originally Posted by Rawcous View Post
Hello,

Doing a search via Google (https://www.google.co.uk/#q=sendmail...n.net&start=20) it would seem that you are amongst hundreds if Verizon customers who are experiencing this issue. See the following for possible solutions. Unfortunately I cannot assist with this as I do not use Verizon / have this issue with relaying mail via my ISP - I will still help if I can... It also appears that Verizon may be using SSL after all...

http://forums.verizon.com/t5/Verizon...il/td-p/618153 in particular see "nigelhorne's" post at the bottom of the page.

Regards,

Rawcous!
I have working on this for 2 freaking weeks. I am getting the same error as it says in those forums.

{edited for privacy}@verizon.net... Connecting to smtp.verizon.net.
{edited for privacy}@verizon.net... Deferred: Connection reset by smtp.verizon.net.
 
Old 03-30-2014, 01:03 PM   #21
cyberdome
Member
 
Registered: Mar 2014
Distribution: Fedora 23 - MariaDB 10.1 -
Posts: 130

Original Poster
Blog Entries: 2

Rep: Reputation: 8
Quote:
Originally Posted by Rawcous View Post
Hello,

Doing a search via Google (https://www.google.co.uk/#q=sendmail...n.net&start=20) it would seem that you are amongst hundreds if Verizon customers who are experiencing this issue. See the following for possible solutions. Unfortunately I cannot assist with this as I do not use Verizon / have this issue with relaying mail via my ISP - I will still help if I can... It also appears that Verizon may be using SSL after all...

http://forums.verizon.com/t5/Verizon...il/td-p/618153 in particular see "nigelhorne's" post at the bottom of the page.

Regards,

Rawcous!


I believe you are referring to this post.

Code:
.
 
The pointer is at http://www.dawoodfall.net/index.php/relaying-sendmail-a-ssl which shows where Virgin Media in the UK pulled the same stunt as Verizon.  It doesn't quite work as mentioned, you need to put the relay domain in square brackets to avoid MX resolution, however apart from that it's sweet.  I didn't set up relay-domain as mentioned.
 
Briefly, to enable using sendmail to deliver mail on FIOS:
 
1) install stunnel
2) Create /etc/stunnel/smtp.verizon.net.conf with:
 
sslVersion = SSLv3

[ req ]
client = yes
accept = 2525
connect = smtp.verizon.net:465
 
3) /etc/init.d/stunnel restart
4) Add sendmail.mc:
 
define(`SMART_HOST', `[localhost]')dnl
define(`RELAY_MAILER_ARGS', `TCP $h 2525')dnl
define(`ESMTP_MAILER_ARGS', `TCP $h 2525')dnl
 
5) Add to authinfo:
 
AuthInfo:fqdn.of.your.localhost "U:name" "P:smileytongue:assword" "M:smileytongue:LAIN"
AuthInfo:fqdn.of.your.localhost:2525 "U:name" "P:smileytongue:assword" "M:smileytongue:LAIN"

6) cd /etc/mail && make && /etc/init.d/sendmail reload
 
Old 04-01-2014, 12:54 PM   #22
cyberdome
Member
 
Registered: Mar 2014
Distribution: Fedora 23 - MariaDB 10.1 -
Posts: 130

Original Poster
Blog Entries: 2

Rep: Reputation: 8
Quote:
Originally Posted by Rawcous View Post
Hello,

Doing a search via Google (https://www.google.co.uk/#q=sendmail...n.net&start=20) it would seem that you are amongst hundreds if Verizon customers who are experiencing this issue. See the following for possible solutions. Unfortunately I cannot assist with this as I do not use Verizon / have this issue with relaying mail via my ISP - I will still help if I can... It also appears that Verizon may be using SSL after all...

http://forums.verizon.com/t5/Verizon...il/td-p/618153 in particular see "nigelhorne's" post at the bottom of the page.

Regards,

Rawcous!


SOLUTION -->

As it turns out, Verizon FIOS is blocking all OUTGOING email ports, Verizon is not allowing relaying at all. I was able to use GMAIL SMTP port 587server. I configured POSTFIX to use GMAIL as relay.

http://mhawthorne.net/posts/postfix-...-as-relay.html

http://www.howtoforge.com/postfix_re...her_mailserver


Few changes to configuration. Before, I could check my mail queue. All mails gone already. LOL

Last edited by cyberdome; 04-01-2014 at 12:58 PM.
 
Old 04-01-2014, 03:14 PM   #23
Rawcous
Member
 
Registered: Jan 2014
Location: Farnborough, Hampshire - UK
Distribution: SCO UNIX -> Fedora (Core) -> CentOS -> RedHat
Posts: 128

Rep: Reputation: 48
Quote:
As it turns out, Verizon FIOS is blocking all OUTGOING email ports, Verizon is not allowing relaying at all.
Are you sure... if this is the case then does it mean that you can't send mail from your pc using a mail client such as Outlook, Live Mail, Thunderbird etc - therefore meaning emails can only be accessed by logging in via a web link...?

Anyway, if relaying mail through gmail servers works then fair enough and well done for figuring this one out - "There's always a way" (as my boss says...)

Rawcous!
 
Old 04-01-2014, 03:31 PM   #24
cyberdome
Member
 
Registered: Mar 2014
Distribution: Fedora 23 - MariaDB 10.1 -
Posts: 130

Original Poster
Blog Entries: 2

Rep: Reputation: 8
Quote:
Originally Posted by Rawcous View Post
Are you sure... if this is the case then does it mean that you can't send mail from your pc using a mail client such as Outlook, Live Mail, Thunderbird etc - therefore meaning emails can only be accessed by logging in via a web link...?

Anyway, if relaying mail through gmail servers works then fair enough and well done for figuring this one out - "There's always a way" (as my boss says...)

Rawcous!
Quote:
if this is the case then does it mean that you can't send mail from your pc using a mail client such as Outlook, Live Mail, Thunderbird etc
Yes, I tested this theory, I have outlook on my WINDOWS machine. and I am able to send out emails to Yahoo inbox or Gmail inbox.


My statement about blocking all my outgoing ports is a opinion, assumption. I am not 100% sure. So, I could be wrong. But GMAIL works for me. that is all I needed at this point. I will figure out the FIOS issue later on.

Recently, on VERIZON FIOS, 30,000 emails were compromised and sending out SPAM.

possibly, FIOS just blocked all outgoing for residential customers.

Last edited by cyberdome; 04-01-2014 at 03:33 PM.
 
Old 04-01-2014, 03:45 PM   #25
Rawcous
Member
 
Registered: Jan 2014
Location: Farnborough, Hampshire - UK
Distribution: SCO UNIX -> Fedora (Core) -> CentOS -> RedHat
Posts: 128

Rep: Reputation: 48
From the "gumph" I came across, yes it does appear this is the case with Verizon residential customers. Legit businesses having statitc IP's and perhaps less likely to intentionally deploy spam.

The only strange ocurence that I have experienced was if I used my ISP's default DNS entries (primary and secondary) via my router I had trouble sending out mail even though I specified my ISP's SMTP server via sendmail. However, if I used OPENDNS' DNS entries (primary and secondary)via my router and specified my ISP's SMTP server via sendmail it would work... So basically all I was changing was my router DNS not my mailserver SMTP...

Rawcous!
 
Old 04-02-2014, 10:40 AM   #26
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Many ISP provided DNS servers suck. Or at best are unreliable and incomplete. Things like dns_masq can help smooth over the experience, but using googles 8.8.8.8 and other options seems the better route. Sometimes I have to use sites like network-tools.com and add a DNS like entry in my /etc/hosts file to keep things working smoothly. I often equate american ISPs as 3rd world telecoms. Baring a few places with fiber, most of america falls short in bandwidth availability relative to the rest of the civilized world.
 
  


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
Unable to send email with sendmail from PHP 5.3 on CentOS VM crmpicco Linux - Newbie 1 02-14-2014 07:42 AM
[SOLVED] Unable to send email to-from localhost in Sendmail Rohit_4739 Linux - Server 6 06-27-2012 11:28 PM
Sendmail: unable to send and recive email in intranet nikhilgeo Red Hat 3 06-22-2011 12:30 AM
Sendmail - mail server rejected email and unable to send ghostplanet Linux - Server 4 02-24-2010 10:10 PM
Unable to send email from Sendmail rridler Linux - Software 26 07-13-2006 01:23 PM

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

All times are GMT -5. The time now is 03:43 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