03-11-2008
Any suggestion from UNIX gurus?
10 More Discussions You Might Find Interesting
1. Linux
Hi all,
I am new to this forum, hoping to find the solution to a problem I've been having for days.
I have a VPS on Linux box. I have setup an ftp account with the Plesk control panel. I am trying to receive an ftp data push from a Unix box but they tell me they keep getting permission... (2 Replies)
Discussion started by: carriehoff
2 Replies
2. Shell Programming and Scripting
I am executing the below script from unix box
If row count is zero the mail should not set to the client
The problem is, if row count is zero the mail is going to the client
(what is wrong in the script)
SET HEAD OFF FEED OFF PAGES 0
Select count(*) as change_count from... (9 Replies)
Discussion started by: pmsuper
9 Replies
3. UNIX for Dummies Questions & Answers
rshstatus=`rsh -n lilo /db/p2/oracle/names9208/restart_names.sh`
if $rshstatus <>0 then
errstatus=1
mailx -s "xirsol8dr" ordba@xxx.com >> $log_dr
else if errstatus=0
echo "status to xirsol8dr successful"
can anyone provide if this is t he correct way to do this or is there a better way? (1 Reply)
Discussion started by: bpm12
1 Replies
4. Shell Programming and Scripting
Hi Friends,
I'm new to Unix. I have a fbackup step like
/bin/nice /etc/fbackup -f /dev/rmt/0m -i / -I /opt/monitrol/tmp/Index.full
2 > /var/adm/error.log
the errors for this step is redirected to a log file. How can I make to trigger mails when error occurs.
Please suggest.
Thanks in... (4 Replies)
Discussion started by: avik.nandi
4 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
First post!
I have just discovered that I can use unix to send mail to a mail address. I normally use entourage for my mail.
This unix mail is very intriguing to me, but something is not working... I tried the search, but could not find the answer...
This works:
(in terminal)... (1 Reply)
Discussion started by: bjorn
1 Replies
6. Shell Programming and Scripting
Hi All,
I have sent a mail to my gmail id using the below command.
echo " " | mailx -s "sub" myid@gmail.com
I didn't get any error notification. But still I didn't receive that mail still..
please help me to learn how to send mail to other provider (Yahoo/gmail) from unix server.... (1 Reply)
Discussion started by: little_wonder
1 Replies
7. Shell Programming and Scripting
Hi folks
I need to write UNIX script (with ldapsearch) to query Active Directory. Input is NT login name and output is Email address.
Attached a screenshot of Sysinternals "AD Explorer". I need to do the same in CLI.
http://i.imgur.com/4s6FB.png
I am absolute LDAP/ldapsearch noob. (0 Replies)
Discussion started by: slashdotweenie
0 Replies
8. Solaris
Hi, I wanted to configure a mail system on my UNIX box.
For that I read a document Sun Internet Mail Server 3.5 Advanced Installation Guide: Contents which is actually quite useful document but I am not sure from where can I bring patch? Is this patch will come in any CD form which I need to run... (1 Reply)
Discussion started by: Dhruvak
1 Replies
9. Shell Programming and Scripting
Hi,
I would like to clean up by unix mail mail box thru some script command.. I do know how to delete from mail box ...
e.g.
$ mail
? d*
? quit
But I need to clean up thru some command which I can use in my script before sending any email..
Thanks in advance! (1 Reply)
Discussion started by: pareshkp
1 Replies
10. Shell Programming and Scripting
Currrently I am not able to send/receive any emails to email id. I believe my mail box is full in server. could you please let me kknow to clear the emails in the unix server. (2 Replies)
Discussion started by: ramkumar15
2 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)