10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
I am very new to Unix. I have a test server running FreeBSD 10.1 and SendMail 8.14.9.
I need to filter incoming emails based on the sender's email address or domain and forward them to another address on a different domain as well as to the original recipient. Can I achieve this with... (1 Reply)
Discussion started by: simplemind
1 Replies
2. UNIX for Advanced & Expert Users
I wanted to copy (not forward but copy) all incoming email to another address of mine. It worked, but now I encountered an infinite loop problem: When the second address doesn't like the content and bounces the message back, the bounce message will be sent back and forth.
So, what I have in... (1 Reply)
Discussion started by: distill
1 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I am running a email server on Centos 5.3 (dovecot, postfix, with emails for a few domains) and I am wondering whether I am using procmail or not.
I know procmail is installed because
procmail -version
returns:
Locking strategies: dotlocking, fcntl()
Default rcfile: ... (0 Replies)
Discussion started by: JCR
0 Replies
4. UNIX for Dummies Questions & Answers
Hello, this is my first visit to your forum and I've searched previous threads for my answer but have not been able to find one. Apologies if there is one that I didn't discover.
Is there a way of bouncing or deleting spam that contains non-existent addresses in TO: field but is delivered due... (1 Reply)
Discussion started by: WendyTinley
1 Replies
5. UNIX for Dummies Questions & Answers
Hello,
On a remote server with Centos 5.0, I am running procmail
At /var/mail/vhosts/, I can find all the accounts and I was thinking of saving those files on my local machine using ftp.
The structure is right and the files containing the emails (most of them stored in the cur folders) appear... (1 Reply)
Discussion started by: JCR
1 Replies
6. Shell Programming and Scripting
Hi,
I need to write a procmail script such that:
- incoming email is scanned to see if it is spam
- if spam deliver to spam folder
- otherwise deliver to inbox and send a copy to another address.
So far I have:
:0
* ^Subject:.*SPULK
DUMB
I can make a new recipe on to forward mail... (0 Replies)
Discussion started by: mojoman
0 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I was wondering if my code is correct on a procmail recipe I am trying to use. I am trying to set up custom filter for for my email address. What needs to happen is any email NOT addressed to me in the to: or cc: field is deleted.
For the time being it is set it up to go to another... (0 Replies)
Discussion started by: Hexabah
0 Replies
8. Email Antispam Techniques and Email Filtering
I can tell this is not a recently active formum, but here goes, "why doesn't this procmail rule block
messages with víagra or v1agra appearing in
the subject header
:0
* ^Subject:.*(víagra¦v1agra¦pénis¦prescripti0n¦Medicati0n¦M0rtgage¦Xanaxz)
{
LOG="(THE 7 DIRTY WORDS) "
:0
... (4 Replies)
Discussion started by: jones
4 Replies
9. UNIX for Dummies Questions & Answers
Hello,
I want to make a filter with procmail, using the day of the week ant the hour to filter the message.
If the day is Tuesday, the message is redirected to one address. On the other days, the message goes to another address. The messages will be redirected at 8 am to 17 pm.
I tried... (1 Reply)
Discussion started by: luiz_fer10
1 Replies
10. UNIX for Dummies Questions & Answers
Hello,
Somebody knows a good procmail tutorial in the net?
Thanks!:) (1 Reply)
Discussion started by: luiz_fer10
1 Replies
mail_intro(7) Miscellaneous Information Manual mail_intro(7)
NAME
mail_intro - Introductory information on the Tru64 UNIX mail system
DESCRIPTION
The Tru64 UNIX mail system enables you to exchange mail with other users on your system, as well as with other systems connected to your
local network and with users on other networks (provided your system and network are connected to other networks).
Mail System Concepts
Mail systems consist of the following components: User agent - The user agent provides the interface through which you interact with the
mail system. Generally, the user interface enables you to create, send, receive, read, save, and manage your mail messages.
Tru64 UNIX provides the following user agents: CDE's Mailer - For further information, see the Common Desktop Environment: User's
Guide . Mail or mailx - For further information, see the Command and Shell User's Guide . The Rand Message Handling program (MH) -
For further information, see the mh(1) and xmh(1X) reference pages. Transport agent - The transport agent provides an interface
between the user agents and the delivery agents. The sendmail command is a transfer agent. Delivery agent - The delivery agent
provides the mechanism for delivering the mail messages to end users, systems, and networks. The binmail and deliver commands are
delivery agents for standard mail and IMAP mail, respectively.
In Tru64 UNIX, the sendmail program acts as both the transport and delivery agent. It does so by implementing the Simple Mail Transfer Pro-
tocol (SMTP), which is the specification for the Internet's delivery agent.
Initially standards did not exist for mail addresses and computer networks. Many different address formats and network protocols exist.
Mail programs must interact with different network protocols, as well as recognize and reformat different mail address formats. Fortu-
nately, these difficulties were recognized and standards, such as the Standard for the Format of ARPA Internet Text Messages (RFC 822) and
The Domain Naming Convention for Internet User Applications (RFC 819), emerged. A mail program still must recognize addresses in various
formats and communicate with different network protocols. The sendmail program addresses these issues through the use of the sendmail.cf
configuration file.
The Sendmail Configuration File
The sendmail.cf configuration file provides the sendmail program with the information to perform the following tasks: Choose delivery
agents Use address rewriting rules Define mail header information Perform some routing
When it starts, the sendmail program reads the sendmail.cf configuration file. The information in the sendmail.cf configuration file
enables sendmail to rewrite the addresses of mail it receives into the address form expected by the mail delivery agent. It also enables
sendmail to set parameters and arguments to the mail delivery program.
The configuration file contains information that is used for the following functions: Define message precedence for mail delivery Define
administrative IDs to override the sender's address Define message headings Define the mail program to use Set options used by the sendmail
command
The default Tru64 UNIX configuration file (located in /var/adm/sendmail/sendmail.cf) is adequate for most standalone systems. However, if
you plan to connect your system to a network, you will have to modify the sendmail.cf file.
Tru64 UNIX provides the mailconfig and mailsetup utilities, which you can use to create mail configuration files. If you prefer to manipu-
late the configuration file manually, you should use the m4 macros provided for this purpose. (See the sendmail.m4 reference page.)
For more information on configuring mail, see the Network Administration manual.
RELATED INFORMATION
Commands: binmail(1), mailconfig(8), mailsetup(8), mailx(1), sendmail(8), sendmail.m4(8)
Files: sendmail.cf(4)
Network Administration
Standard for the Format of ARPA Internet Text Messages (RFC 822)
The Domain Naming Convention for Internet User Applications (RFC 819)
UNIX System Administration Handbook, Englewood Cliffs, N.J.: Prentice Hall, Inc., 1989. delim off
mail_intro(7)