Sponsored Content
Homework and Emergencies Emergency UNIX and Linux Support How to prevent emails as spam? Post 302961173 by Swathe on Tuesday 24th of November 2015 07:42:27 PM
Old 11-24-2015
Gmail marks anything that fails a reverse DNS check as spam
 

9 More Discussions You Might Find Interesting

1. Programming

how to prevent deadlock on this...

I am using linux termios structure to configure serial port and read the port by read function. For some reason, if I read the whole buffer, almost every time the buffer does not contain the correct reply message sequence from a device sending reply to my linux PC. So I use... (5 Replies)
Discussion started by: yimab
5 Replies

2. UNIX for Dummies Questions & Answers

Creating emails

Hi, I posted here 2 months ago, saying I wanted to learn UNIX for my work running a small ISP. I had the problem of practically no technical support for our system. Many courses later, I can just about do everything I need to do. The server is a FreeBSD i386. I can now create email accounts for... (4 Replies)
Discussion started by: ferret495
4 Replies

3. UNIX for Dummies Questions & Answers

duplicate emails

Hi all new here. Question. My mail server is sending out duplicate emails but its not system wide. We have several virtual host that use our email server and some are having the duplicate emails issue and some are not. For example in the office some people are getting duplicate emails but i am... (1 Reply)
Discussion started by: mcraul
1 Replies

4. UNIX for Dummies Questions & Answers

Emails on HP-UX

Hi Guys I am running Oracle database on HP-UX, every now and then I get emails that are sent to me by root. When check with the sysadmin know one have a clue as to where does the emails come from. I need to stop this emails...how do I check which script is sending me the emails. Thanks ... (0 Replies)
Discussion started by: Phuti
0 Replies

5. UNIX for Dummies Questions & Answers

Delete Old Spam Emails Custom Cron

Hey Guys, I've done some research however I got stuck. My goal is to create a cron job that runs every hour and goes through all web accounts on my server and deletes spam emails that are older than 3 days. This is what I came up with: 0 * * * * find /home/*/mail/*/*/.spam/cur/* -type f... (0 Replies)
Discussion started by: plxkarl
0 Replies

6. Shell Programming and Scripting

examples of hyperlinks in emails

Hi All, Im using bash on a sloaris box. I am using mailx to send emails from the unix box to internal email accounts. Does anyone have an example of how I can generate a hyperlink within the email body so that when the recipeint recieves the email, they can click on the link and the link... (1 Reply)
Discussion started by: satnamx
1 Replies

7. UNIX for Dummies Questions & Answers

send emails

hi guys I need to send emails to some accounts 1. I need sendmail up and running right? 2. I need my local sendmail to use an existing SMTP server to send emails (10.x.x.x)? in that case what I need to configure to send emails? since using mail myaccount@companyame.com is not sending emails... (3 Replies)
Discussion started by: karlochacon
3 Replies

8. Solaris

Emails issue

Dear all, I am facing an issue in my data Center environment related to mails being generated by users on my machines. Let me walk you through the issue one by one. Each system (100+ servers in my DC) has a user sysmon on it that sends mails to a specific Email ID. The user runs scripts... (8 Replies)
Discussion started by: Junaid Subhani
8 Replies

9. UNIX for Advanced & Expert Users

How to prevent Accidents 'rm -rf *'?

When invoking unix commands from other third party tools (IBM ETL), we run the rm / mv commands with the folder as argument been passed. Eg rm -rf {folder}/* when the parameter {folder} did not pass rightly or becomes blank, the command becomes dangerous to execute rm -rf /* How to prevent... (9 Replies)
Discussion started by: deepakwins
9 Replies
Net::Akismet(3pm)					User Contributed Perl Documentation					 Net::Akismet(3pm)

NAME
Net::Akismet - Perl interface to Akismet - comment and trackback spam fighter SYNOPSIS
my $akismet = Net::Akismet->new( KEY => 'secret-baba-API-key', URL => 'http://example.blog.net/', ) or die('Key verification failure!'); my $verdict = $akismet->check( USER_IP => '10.10.10.11', COMMENT_USER_AGENT => 'Mozilla/5.0', COMMENT_CONTENT => 'Run, Lola, Run, the spam will catch you!', COMMENT_AUTHOR => 'dosser', COMMENT_AUTHOR_EMAIL => 'dosser@subway.de', REFERRER => 'http://lola.home/', ) or die('Is the server here?'); if ('true' eq $verdict) { print "I found spam. I am a spam-founder! "; } METHODS
new() Net::Akismet->new(PARAM => ...); Acceptable parameters: KEY The API key being verified for use with the API. URL The front page or home URL of the instance making the request. For a blog or wiki this would be the front page. USER_AGENT If supplied the value is prepended to this module's identification string to become something like: your-killer-app/0.042 Perl-Net-Akismet/0.01 libwww-perl/5.8 Otherwise just Akismet Perl's user agent string will be sent. SERVICE_HOST If supplied, the host of the service API. The default is rest.akismet.com SERVICE_VERSION If supplied, the API version. The default is 1.1 If verification of the key was unsuccessful "new()" returns "undef". check() $akismet->check(USER_IP => ..., COMMENT_CONTENT => ..., ...) To be or not to be... "check" is meant to tell you. Give it enough details about the comment and expect 'true', 'false' or "undef" as a result. 'true' means spam, 'false' means not spam, "undef" is returned on errror in submission of the comment. Acceptable comment characteristics: USER_IP Required. Represents the IP address of the comment submitter. COMMENT_USER_AGENT Required. User agent string from the comment submitter's request. COMMENT_CONTENT Comment text. REFERRER HTTP "Referer" header. PERMALINK Permanent link to the subject of the comment. COMMENT_TYPE May be blank, 'comment', 'trackback', 'pingback', or a made up value like 'registration'. COMMENT_AUTHOR Name of submitter. COMMENT_AUTHOR_EMAIL Submitter e-mail. COMMENT_AUTHOR_URL Submitter web page. spam() Reports a certain comment as spam. Accepts the same arguments as "check()". In case of failed submission returns "undef", otherwise - a perl-known truth. ham() This call is intended for the marking of false positives, things that were incorrectly marked as spam. It takes identical arguments as "check()" and "spam()". In case of failed submission returns "undef", otherwise - a perl-known truth. NOTES
Although almost all comment characteristics are optional, performance can drop dramatically if you exclude certain elements. So please, supply as much comment detail as possible. SEE ALSO
o http://akismet.com/ o http://akismet.com/development/api/ AUTHOR
Nikolay Bachiyski <nb@nikolay.bg> Help, modifications and bugfixes from: o Peter Pentchev o John Belmonte COPYRIGHT AND LICENSE
Copyright (C) 2006, 2007, 2008 by Nikolay Bachiyski This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available. $Id: Akismet.pm 38 2008-06-05 17:15:12Z humperdink $ perl v5.10.0 2008-06-05 Net::Akismet(3pm)
All times are GMT -4. The time now is 03:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy