Visit The New, Modern Unix Linux Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #328
Difficulty: Easy
The Windows ME operating system was released in the year 2006.
True or False?
Linux & Unix Commands - Search Man Pages

mail::verify(3pm) [debian man page]

Mail::Verify(3pm)					User Contributed Perl Documentation					 Mail::Verify(3pm)

Mail::Verify - Utility to verify an email address SYNOPSIS
use Mail::Verify; DESCRIPTION
"Mail::Verify" provides a function CheckAddress function for verifying email addresses. First the syntax of the email address is checked, then it verifies that there is at least one valid MX server accepting email for the domain. Using Net::DNS and IO::Socket a list of MX records (or, falling back on a hosts A record) are checked to make sure at least one SMTP server is accepting connections. ERRORS
Here are a list of return codes and what they mean: 0 The email address appears to be valid. 1 No email address was supplied. 2 There is a syntaxical error in the email address. 3 There are no DNS entries for the host in question (no MX records or A records). 4 There are no live SMTP servers accepting connections for this email address. EXAMPLES
This example shows obtaining an email address from a form field and verifying it. use CGI qw/:standard/; use Mail::Verify; my $q = new CGI; [...] my $email = $q->param("emailaddr"); my $email_ck = Mail::Verify::CheckAddress( $email ); if( $email_ck ) { print '<h1>Form input error: Invalid email address.</h1>'; } [...] perl v5.8.8 2002-06-09 Mail::Verify(3pm)

Check Out this Related Man Page

Mail::SpamAssassin::Plugin::SpamCop(3)			User Contributed Perl Documentation		    Mail::SpamAssassin::Plugin::SpamCop(3)

Mail::SpamAssassin::Plugin::SpamCop - perform SpamCop reporting of messages SYNOPSIS
loadplugin Mail::SpamAssassin::Plugin::SpamCop DESCRIPTION
SpamCop is a service for reporting spam. SpamCop determines the origin of unwanted email and reports it to the relevant Internet service providers. By reporting spam, you have a positive impact on the problem. Reporting unsolicited email also helps feed spam filtering systems, including, but not limited to, the SpamCop blacklist used in SpamAssassin as a DNSBL. Note that spam reports sent by this plugin to SpamCop each include the entire spam message. See for more information about SpamCop. USER OPTIONS
spamcop_from_address (default: none) This address is used during manual reports to SpamCop as the From: address. You can use your normal email address. If this is not set, a guess will be used as the From: address in SpamCop reports. spamcop_to_address (default: generic reporting address) Your customized SpamCop report submission address. You need to obtain this address by registering at "". If this is not set, SpamCop reports will go to a generic reporting address for SpamAssassin users and your reports will probably have less weight in the SpamCop system. spamcop_max_report_size (default: 50) Messages larger than this size (in kilobytes) will be truncated in report messages sent to SpamCop. The default setting is the maximum size that SpamCop will accept at the time of release. perl v5.16.3 2011-06-06 Mail::SpamAssassin::Plugin::SpamCop(3)

14 More Discussions You Might Find Interesting

1. Cybersecurity

how to hide the IP in the email header?

Hi everyone, I am a new comer in this forum. When I try to send email in my Linux machine with command "mail" or "sendmail", I always find it include the IP address of my machine in the email header. Does anybody know how to eliminate this IP address or replace it with a fake one in the email... (20 Replies)
Discussion started by: eddie
20 Replies

2. News, Links, Events and Announcements

What about the idea?

I remember there was a topic about this idea long time ago. What happened to it? (13 Replies)
Discussion started by: HOUSCOUS
13 Replies

3. UNIX for Dummies Questions & Answers

Unix email problem please help

Please Help Urgently Currently on our Unix mail system we experiencing the follow: When we send new mail and when replying on email received we get the following error: Your message did not reach some or all of the intended recipients. Subject: FW: Backups Sent: 2003/06/03... (11 Replies)
Discussion started by: esh
11 Replies

4. HP-UX

scripts problem

Hi, the only experience I have with Unix is on C360 workstations using 10.20 and Omniback II to restore email with HP Openmail. I have four brand new machines that I am installing the OS and software on, however, their are scripts that were written specifically for our tape process that I have... (13 Replies)
Discussion started by: Asheley Ryan
13 Replies

5. UNIX for Advanced & Expert Users

MX redirecting

I in no means consider myself a expert in unix however my question is a little more complex. I am running a mac os 10 server and all web settings and email settings have been set up using the unix terminal. I am in the process or redirecting my mxrecords to a spam filtering company but i am... (11 Replies)
Discussion started by: nbredthauer
11 Replies

6. HP-UX

Verify Hardware installed HP-UX11

Hi - Basic question from newbie I need to find out how to verify hardware installed on HPUX server. Mid-range server - as in i need to prove to customer that a specific cpu is installed, so much memory is installed, etc. PLEASE HELP. TA (16 Replies)
Discussion started by: hoffies
16 Replies

7. Shell Programming and Scripting

assign colon delimited strings to variables

Man it has been too long since I have had to do this type of stuff... OK I have a file with lines in it looking like this: (most lines) (but some are like this) I need to loop through and assign vars to the values: var Fname =... (29 Replies)
Discussion started by: NewSolarisAdmin
29 Replies

8. Solaris

Solaris: email to user

Hi, I would like to run cron job daily at 8:00 P.M in order to check the filesysem sizes , if if finds any filesystem space reaches to 90% it should me an email address to my outlook ( ) . need your suggestion or direction how to achieve this. Regards (16 Replies)
Discussion started by: maooah
16 Replies

9. UNIX for Advanced & Expert Users

Zip an excel file and email using script.

Hi All, Currently i am using below script to attach excel and email from a Unix script. uuencode ASC.xls|mailx -m -s "ABCD_subject`TZ=CST+24 date +%d-%b-%y`" Can anyone give me or help me in zipping excel and sending that email as the excel is very heavy. Thanks, (14 Replies)
Discussion started by: Nithin
14 Replies

10. Shell Programming and Scripting

awk: Print fields between two delimiters on separate lines and send to variables

I have email headers that look like the following. In the end I would like to accomplish sending each email address to its own variable, such as:'''''' etc... I know the sed to get rid of... (11 Replies)
Discussion started by: tay9000
11 Replies

11. Solaris

Sent an email attachment, but the attachment is empty

I'm trying to send a .zip file from my unix box to my work email (email client outlook) The file name that I'm trying to sent is and this is how I do it: uuencode | mailx -s "testing" When I open the .zip, the zip is empty. Looking around the we, I... (17 Replies)
Discussion started by: amb1s1
17 Replies

12. Forum Support Area for Unregistered Users & Account Problems

Problem using my account

I am user kristinu and have changed my email address to (removed email address) but it has not taken effect and cannot post anything (11 Replies)
Discussion started by: kristinu
11 Replies

13. Forum Support Area for Unregistered Users & Account Problems

I didnt get the activation email !!

I tried to register twice but without success ,I used the Hotmail email on both of them. Im sure I typed the correct email, because I used " copy and paste" and I did the "re-sent the activation" option (10 Replies)
Discussion started by: BaxxterHp
10 Replies

14. Shell Programming and Scripting

False alerts

Hi I have written a script to send email alerts when load of my linux server reaches max point I keep getting false emails thought the load is normal , looks like same email is generated again and again - called from cron tab checked if the tempfile is present , no it is not , cleaned... (22 Replies)
Discussion started by: anil529
22 Replies

Featured Tech Videos