Fedora Linux Support Community & Resources Center
Old 16th February 2012, 05:49 AM
jims Offline
Registered User
Join Date: Oct 2006
Location: CN89KE Richmond BC Canada
Posts: 367
Re: script to email last 10 files


smtp.telus.net is what you want

Reply With Quote
Old 17th February 2012, 05:54 PM
robertdaleweir Offline
Registered User
Join Date: Oct 2005
Location: British Columbia, Canada
Posts: 834
Re: Update

Originally Posted by jpollard View Post
There are two ways to do it -

The .forward is aimed at user modification and can be quite flexible.

The other method is to define an alias for root that has the target mail.

Some/many ISPs block incoming port 25 connections, but don't block outgoing. 25 is the default mail port. Some ISPs use a different port just to avoid some external traffic, even though it really doesn't matter. Some require connections to have DNS authentication or other host authentication. This is not password type authentication, they just want to confirm that a remote mail server may be valid. These may cause errors, though you should get error messages about it.

You can always test by using utilities like mailx which make a TCP connection to the remote server (over port 25 by default) and send a test message. You can read the mailx manpage on how to specify a nonstandard port number.
Hi jpollard
I have found out that my ISP, a local Telco, is using a Spam filter thingy call 'spamhaus' . They are a legitimate service which filters E-Mail that has been generated from "inappropriate IP' (their words) addresses, which are not Certified Mail Server IP addresses (and I suspect I did not have the correct login info in my script). My ip 206.116.39.nnn is not a generally accepted Mail Server IP range.
I suspect they also want to ensure, that as a Home User, one does not run any servers open directly to the public, in particular Mail. Anyway after you guys helped me fix my local problem, I hit this one. I think I can fix it with the appropriate Authentication UID and password.
Just thought I would post anyway in case someone else has a similar problem. Cheers...
Robert :)
Kernel 4.10.17-100.fc24.x86_64 Gnome Software 3.20
CPU AMD FX-6300 Six Core AM3+
MoBo Gigabyte 78LMT-USB3 AMD760G AM3+ MicroATX
Memory 8 Gigs Gskill Ripjaw DDR3-1333 PC-10666
Reply With Quote

email, files, script

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
email via bash script lightman47 Using Fedora 4 10th March 2011 10:09 PM
Send an email from a bash script joe.pelayo Using Fedora 11 17th August 2009 10:35 PM
Email gathering script mh10190 Programming & Packaging 2 14th March 2006 01:44 PM
Email inc Attachment from script sc00by Using Fedora 2 13th August 2005 05:50 AM
email script ieuuk Using Fedora 1 20th June 2005 01:42 AM

Current GMT-time: 04:14 (Wednesday, 23-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat