Sending email to gmail from cron

Looking for help sending email to a gmail address from my cron. At the top of crontab


But no mail comes. Checking /var/log/maillog, I see

Dec 17 22:46:36 myserver postfix/pickup[30426]: CC21261C6E: uid=501 from=<root> Dec 17 22:46:36 myserver postfix/cleanup[30486]: CC21261C6E: message-id=<20181217224636.CC21261C6E@myserver.novalocal> Dec 17 22:46:36 myserver postfix/qmgr[11071]: CC21261C6E: from=<root@myserver.novalocal>, size=5920, nrcpt=1 (queue active) Dec 17 22:46:37 myserver postfix/smtp[30488]: connect to[2607:f8b0:400e:c03::1b]:25: Network is unreachable Dec 17 22:46:37 myserver postfix/smtp[30488]: CC21261C6E: enabling PIX workarounds: disable_esmtp delay_dotcrlf for[]:25 Dec 17 22:46:37 myserver postfix/smtp[30488]: CC21261C6E: to=<>,[]:25, delay=221, delays=220/0.02/0.34/0.39, dsn=2.0.0, status=sent (250 2.0.0 OK 1545086797 31si11773098plk.310 - gsmtp) Dec 17 22:46:37 myserver postfix/qmgr[11071]: CC21261C6E: removed 

So, clearly, the IPv6 version is blocked, but the fallback gets a success message, yet no mail ever arrives. Same messages if I try using the command-line mail command. However, I can use the command-line mail program to successfully send mail to my company email address.

mail -s "test1" test1 EOT 

The telnet trick seems to indicate I can access the gmail server:

$   telnet 25 Trying Connected to Escape character is '^]'. 220 ************************************************* ^]  telnet> quit Connection closed. 

My IP tables look like this

Chain INPUT (policy ACCEPT) target     prot opt source               destination          ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED  ACCEPT     icmp --  anywhere             anywhere             ACCEPT     all  --  anywhere             anywhere             ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:ssh  ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:http  REJECT     all  --  anywhere             anywhere            reject-with icmp-host-prohibited   Chain FORWARD (policy ACCEPT) target     prot opt source               destination          REJECT     all  --  anywhere             anywhere            reject-with icmp-host-prohibited   Chain OUTPUT (policy ACCEPT) target     prot opt source               destination          

Any help on this will be greatly appreciated.

embed vs link HTML content in email

Let’s say your company sends its customers quotes via email when a customer requests a quote. In the quote it has some fancy images, logos, and HTML/CSS to help sell the quote to the customer.

The problem: When you embed the HTML/CSS into an email, you are working at the mercy of the email provider to render the HTML/CSS correctly. First, different email providers will render your quote differently. Second, you have a subset of HTML/CSS to work with.

A workaround is to attach a PDF of the quote and also link the quote externally so a browser opens it. Doing it this way, you have the full arsenal of css/html that is available in a standard browser. The body of the email may look like this:

Your quote is attached.  Additionally, you may <a href='url'>click here</a> to view your quote. 

The question is, would there be a huge loss in views since people willing to open an attachment or click on an external link may be less? If possible, support your conclusion with data.

Ideas on email marketing

Do we suppose pitch one product from our store or store itself at once.. Just got the idea with getting email addresses from FB groups members (for instance cactus plant lovers). What would be "open rate " mark? I understeand it is much easier to pitch something to people who are subscribed to newsletter of our example "cactus" blog but do anyone tried to pitch something trough new email list? Please share, thanks…

[Email Scraper Plugin – URL Generator] 2 distinct PAGENUM

Hi everyone,

I’m using the URL Generator in the Email Scraper to scrape a directory. The URLs look like this


So I tried{pagenum}
but the website crashes when the pagenum is too high.

I want to do something like{pa…o={pagenum}

I tried with{ke…o={pagenum}
with  1, 21, 41, 61, etc… as , (from an Excel) but I have thousand of useless URLs…

Can someone help me?


Locked out & email no good

Tried to visit my yahoo groups and was told at login that my email address isn't recognized, so tried to create a new yahoo account, but was told email is already in use! I believe this is because my account has been frozen but not deleted, but this puts me in a bind because I can't get into yahoo to contact yahoo to tell yahoo they've tied up my email and my account! What to do?

Problem with Forgotten Password and Email Address

Sadly I have forgotten my Twitter Password.

Typically this would be easy to solve but for one additional issue.

I joined Twitter several years ago at which time I was using an email address from my isp provider:

Since that time I have dropped as my isp provider so I am unable to send/receive emails related to that provider.

Therefore when Twitter wants to confirm that I am the legitimate owner of my Twitter account they want to send an email to my former…

Problem with Forgotten Password and Email Address

Send email if script outputs string

I found this line:

sh | grep 'NO' 2>&1 > grep.log && /usr/bin/mail -s "grep found something" < grep.log 

which will write the output of to grep.log and then email that to an email

Is there anyway to remove the part where this wrote to grep.log and simply mail the output of the script without having to write it to a file?