03-22-2011
Actually, I am reviewing all files received and the files with the word "FLAG" as part of the filename I need to suspend for a time. Normally, the word "FLAG" comes at the end of the file name.
10 More Discussions You Might Find Interesting
1. Solaris
Hi everyone,
I've just bought a sun ultra 60 and am a bit of a unix newbie, so bear with me here! I've just completed a fresh install of Solaris 9 and everything was going well until the machine rebooted. When the system is coming up, it prints the followinf message on-screen:
The X-server... (7 Replies)
Discussion started by: alarmcall
7 Replies
2. UNIX for Dummies Questions & Answers
hey programmers!
1-why won't gcc accept as an argument? i tried the recommendations on the man page of getch(),..etc. nothing worked.
2-why it won't see <iostream> && <fstream> even if i implemented the function as follow
std::cout<<"..etc"<<endl;
3-after i type this code in it gives... (6 Replies)
Discussion started by: mbabeli
6 Replies
3. UNIX for Dummies Questions & Answers
I have a script in a directory -say users/me/test/
It looks like this:
# "bkup" - copies specified files to the user's ~/Backup
# directory after checking for name conflicts.
a=$(date +%T)
cp $1 ~/test/Backup/$1.$a
It copies file.txt from current directory and timestamps the name of it of... (4 Replies)
Discussion started by: coregan
4 Replies
4. UNIX for Dummies Questions & Answers
I'm trying to figure out why this if statement won't work:
if || $zipcount != 6 ]]
then
echo ${myline}
echo "ZIPCODE WARNING! ${zipcode} ${zipcount}"
fi
if ]]
then
echo ${myline}
echo "STATE WARNING!... (3 Replies)
Discussion started by: developncode
3 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
can anybody tell me what's wrong with this code?
# SEARCH replaced by REPLACE
#!/bin/bash
SEARCH="95$$ 0 t"
REPLACE="95$$ 1 t"
for I in `ls *000.inp | cut -c-12`;
do
echo $I
sed 's/$SEARCH/$REPLACE/' ${I}-000.inp > ${I}-100.inp
done
It don't replace the string... (5 Replies)
Discussion started by: f_o_555
5 Replies
6. OS X (Apple)
I typed:
echo "echo hi > at_log.txt" | at now +1minute
to test the at command on my terminal. I got the message:
job 8 at Thu Feb 25 18:42:00 2010
I waited for a minute but nothing happened. I tried listing at_log.txt, but it said there was no such file. Am I doing something... (2 Replies)
Discussion started by: Ultrix
2 Replies
7. UNIX for Dummies Questions & Answers
I just installed a fork of opensolaris, and I really like it.
I would hate going back to Ubuntu, But one issue, I cannot get my Dell Wireless 1450 Wireless USB Adapter working.
On Ubuntu 10.4 I just installed nonfree firmware, but I guess it doesn't work that way on Solaris, any help would be... (5 Replies)
Discussion started by: Stormos
5 Replies
8. BSD
Hi! I'm sure that somebody here installed freeBSD from a download of a virtual disc (.iso). But I made 5 downloads of 5 differents freeBSD installation (and no one has worked).Can somebody tell me where to download and how (if needed) to prepare the cd? (8 Replies)
Discussion started by: maxum
8 Replies
9. UNIX for Dummies Questions & Answers
Hello,
Images won't work on UNIX when I try posting them on my website I'm working on. It doesn't show the image, and it's simply erroring.
Help! Thanks! (5 Replies)
Discussion started by: yazan
5 Replies
10. IP Networking
Hi guys
I'm running on debian on a small embedded system. I have a ppp interface that is connected to the internet (and works). My unit also has wifi access point (which works and I can connect to it).
I want to allow connections to the wifi to be able to use the internet from ppp0... (1 Reply)
Discussion started by: alirezan1
1 Replies
LEARN ABOUT DEBIAN
mail::milter::module::maildomaindnsbl
Mail::Milter::Module::MailDomainDNSBL(3pm) User Contributed Perl Documentation Mail::Milter::Module::MailDomainDNSBL(3pm)
NAME
Mail::Milter::Module::MailDomainDNSBL - milter to accept/reject mail whose sender domain matches a DNSBL
SYNOPSIS
use Mail::Milter::Module::MailDomainDNSBL;
my $milter = new Mail::Milter::Module::MailDomainDNSBL('foo.spamlist.dom');
my $milter2 = &MailDomainDNSBL('foo.spamlist.dom'); # convenience
$milter2->set_message('Mail from %M disallowed');
DESCRIPTION
This milter module rejects any mail from a sender's domain (in the MAIL FROM part of the SMTP transaction, not in the From: header) match-
ing a given DNS Blocking List (DNSBL). It can also function as a whitelisting Chain element; see "accept_match()".
The check used by this module is a simple "A" record lookup, via the standard "gethostbyname" lookup mechanism. This method does not
require the use of Net::DNS and is thus typically very fast.
METHODS
new(DNSBL)
new(DNSBL, MATCHRECORD[, ...])
new(DNSBL, SUBREF)
Creates a MailDomainDNSBL object. DNSBL is the root host hierarchy to use for lookups. Three methods of matching can be used:
If no additional arguments are provided, the match succeeds if there is any address entry present for the DNSBL lookup; the values are
not examined.
If one or more MATCHRECORD values are supplied, they are string representations of IPv4 addresses. If any of these match record values
is the same as any address record returned by the DNSBL lookup, the match succeeds.
If a SUBREF (reference to a subroutine; may be an anonymous inline "sub{}") is supplied, it is called for each of the address records
returned by the DNSBL lookup. The subroutine should return 0 or undef to indicate a failed match, and nonzero to indicate a successful
match. The subroutine receives two arguments: a binary-encoded four byte scalar that should be transformed as needed with
"inet_ntoa()" or "unpack", and the domain name being checked by the DNSBL.
accept_match(FLAG)
If FLAG is 0 (the default), a matching DNSBL will cause the mail to be rejected.
If FLAG is 1, a matching DNSBL will cause this module to return SMFIS_ACCEPT instead. This allows a "MailDomainDNSBL" to be used
inside a "Mail::Milter::Chain" container (in accept_break(1) mode), to function as a whitelist rather than a blacklist.
This method returns a reference to the object itself, allowing this method call to be chained.
ignore_tempfail(FLAG)
If FLAG is 0 (the default), a DNSBL lookup which fails the underlying DNS query will cause the milter to return a temporary failure
result (SMFIS_TEMPFAIL).
If FLAG is 1, a temporary DNS failure will be treated as if the lookup resulted in an empty record set (SMFIS_CONTINUE).
This method returns a reference to the object itself, allowing this method call to be chained.
set_message(MESSAGE)
Sets the message used when rejecting messages. This string may contain the substring %M, which will be replaced by the matching e-mail
address, or %L, which will be replaced by the name of the matching DNSBL.
This method returns a reference to the object itself, allowing this method call to be chained.
AUTHOR
Todd Vierling, <tv@duh.org> <tv@pobox.com>
SEE ALSO
Mail::Milter::Object
perl v5.8.8 2004-02-26 Mail::Milter::Module::MailDomainDNSBL(3pm)