10-23-2015
How to prevent emails as spam?
If an email is sent from our application server(running on AIX) to an id that is outside of the organization like gmail etc, and if gmail should not treat the mail as spam, what has to be done from unix level?
9 More Discussions You Might Find Interesting
1. Programming
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
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
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
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
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
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
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
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
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
LEARN ABOUT DEBIAN
mailfilter
MAILFILTER(1) User Manuals MAILFILTER(1)
NAME
mailfilter - Filters e-mail, gets rid of spam
SYNOPSIS
mailfilter [OPTION]...
DESCRIPTION
Mailfilter is a very flexible utility to get rid of unwanted spam mails, before having to go through the trouble of downloading them into
the local computer. It offers support for one or many POP accounts and is especially useful for dialup connections via modem, ISDN, etc.
Mailfilter connects to any POP mail box and compares part of its content to a set of user defined filter rules. That way the spam gets
deleted directly on the mail server.
With Mailfilter you can define your own filters (rules) to determine which e-mails should be delivered and which are considered waste.
Rules are Regular Expressions, so you can make use of familiar options from other mail delivery programs such as procmail(1) for example.
RETURN VALUE
The mailfilter program normally returns 0 but -1 if an error occurs. However, if it has been invoked with the return-value command line
switch, it gives back a positive integer in case there are messages on the POP server. Empty POP accounts would then result in a return
value of 0. Using the switch, mailfilter can be embedded into a shell script more easily.
CONFIGURATION
The behaviour of Mailfilter is controlled by command-line options and a configuration file. The program will not start without it. Example
configurations can be looked up in the mailfilterex(5) man page, in the INSTALL document or inside the doc/ directory of the Mailfilter
distribution.
By default Mailfilter tries to read $HOME/.mailfilterrc to get all its settings from. This is the place where all changes should be made,
unless it is explicitly specified otherwise. A comprehensive list of all supported options and keywords can be found in the mailfilterrc(5)
man page.
OPTIONS
-h, --help
Display help information
-L, --logfile=FILE
Specify logfile location
-M, --mailfilterrc=FILE
Specify rcfile location
-r, --return-value
Enable additional return values
-t, --test
Simulate deletes
-i, --ignore-time-stamps
Ignore invalid Message-ID time stamps (Do not use unless you know better!)
-v, --verbose=LEVEL
Specify level of verbosity
-V, --version
Display version information
SEE ALSO
mailfilterrc(5), mailfilterex(5), procmail(1), regex(7)
COPYRIGHT
Copyright (C) 2000-2012 Andreas Bauer <baueran@gmail.com>
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
Mailfilter January 2009 MAILFILTER(1)