CentOS 5 :: Procmail As Mail Delivery Agent?

Aug 12, 2009

Recently we are receiving lots of spam email specially ( Viagra). I want to use spamassassen to filter the spams so I need to configure procmail as local mail delivery agent.At the moment I am using prosfix for mail delivery agent and our server is Centos 5. I did google it but couldn't find a good instruction.

View 3 Replies


ADVERTISEMENT

General :: Procmail Recipe That Will Execute A Script Without Affecting Delivery?

Sep 18, 2010

How do I write a procmail recipe that executes a shell script without affecting delivery?(in this case, something that sends me a DM via Twitter) I don't want to affect further processing of the message - it should continue on its way and the output of the script should be ignored.

View 1 Replies View Related

Debian Configuration :: Getting Lot Of Mail Delivery Failed - Exim 4.72

Jun 15, 2011

I run a mailserver and this is bothering me quite abit. Being going on for about a month now. Running exim4 and dovecot with exim4u. This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

dsghjytyt@yahoo.com
retry time not reached for any host after a long failure period

This is a copy of the message, including all the headers.
Return-path: <andreas@servar.net>
Received: from ip-81-210-201-120.unitymediagroup.de ([81.210.201.120] helo=holly5)
by gwdebian.net with esmtpa (Exim 4.72)
(envelope-from <andreas@servar.net>)
id 1QWpUO-0000yy-ML
for dsghjytyt@yahoo.com; Wed, 15 Jun 2011 14:46:32 +0200
MIME-Version: 1.0
Date: Wed, 15 Jun 2011 14:44:16 +0200
X-Priority: 3 (Normal)
Content-Type: text/plain;
charset="iso-8859-1"
Subject: =?iso-8859-1?Q?lizzie_VIAGRA_=C2=AE_-61%_discount?=
Content-Transfer-Encoding: quoted-printable
From: andreas@servar.net
Reply-To: "RE: Your Recent Job" <Posting>
To: dsghjytyt@yahoo.com
X-Mailer: Microsoft Outlook Express 6.00.2900.2180
Message-ID: <CHILKAT-MID-3b7cf1d5-b3e7-3d78-5c1d-713c0e381cb9@holly5>
X-Antivirus: avast! (VPS 110615-0, 15.06.2011), Outbound message
X-Antivirus-Status: Clean
X-Scanned-By: unscanned primary on gwdebian.net (109.108.198.243); Wed, 15 Jun 2011 14:46:32 +0200
Then alot of random text

I run OSX on my everyday computer so this is not me sending out stuff since the above mail says Microsoft Outlook express has sent it (?) Running a Debian Squeeze server. And I really dont get any other spam due to exim4u setup and spamassasin.

View 14 Replies View Related

Server :: Mail Delivery - Email Went Out Fine But Did Not Come Back In

Aug 31, 2010

I am setting up an FC7 box to replace a currently dying server and I'm having an issue with the mail setup. I am using sendmail and dovecot and system users for credentials. I won't include all of their configurations, because that would get long, but I can copy and paste any sections if they are needed.

The problem is all mail is being delivered to the root mailbox in /var/spool/mail/. I setup a laptop on a local network with the server to test things. And just brought up Evolution with one of my test accounts. I was able to authenticate and tried to send a test email to myself. The email went out fine but did not come back in.

View 3 Replies View Related

Server :: Postfix Mail Delivery Path Modification?

May 24, 2010

I'm running postfix with virtual domains and want to modify the delivery path. Right now, I have one path for each user that's found with a database lookup.Before mail hits Postfix, it will have an x-spam-header: yes/no/uncertain field. When mail with x-spam-header: yes the lookup for the path would return /var/mail/domain/username/.Inbox/.spam.

What I think I'd like to do is parse the x-spam-header value in postfix, populate a variable, then use the variable to modify the path lookup in the database. header_checks has a FILTER option, but that's just beyond my skillset at the moment.Or, maybe I'm better off modifying the path with a procmail recipe? Currently, my mailbox_command = procmail -a "$EXTENSTION"

View 6 Replies View Related

Software :: Setting Up Mail For Delivery To Server From Client?

Aug 20, 2009

I got a system with RHEL 5.3 Server with dovecot, sendmail, and thunderbird. I have found tons of stuff online about configuring a mail server, but little of it tells me how to get mail from a client to the server. I've tried to work with Postfix, Pine, Sendmail, Thunderbird, and the list goes on. I'm probably so confused now that I'm not even going to convey this properly, but let me try...... I got a system called wks90 which I decided would be my mail server. I installed dovecot, sendmail, and thunderbird. Then did some basic configuration via stuff I found online. Now the test, from the command line I use the simple "mail" command which succeeds. I bring up thunderbird and eureka!!! there is a message in /var/spool/mail/george.

Now here is where I get confused and things fall apart. I go to another system named wks50. I try some similar setup in sendmail trying to point it to wks90 as the server, I assumed dovecot was not needed, made and entry in /etc/aliases, and will use my thunderbird on wks90. So at the wks50 command line I mail -v to george@mydomain.priv. The message seems to work ok, but still goes to wks50's /var/spool/mail. How in the name of sanity do I get the mail to go to /var/spool/mail on wks90? OR somewhere that is centrally located. I tried to mount /var/spool/mail to wks50, but then wks50's mail to root started queueing up and going nowhere.

I guess I got the whole concept of mail wrong somewhere in my thinking. I just want the mail from any client to wind up at one server (wks90) and in a central location on wks90 so that any client like wks50, wks60, and wks70, using thunderbird, can read the mail from that central location. To me this sounds like I need to mount that central location to each client, but how do I then deal with the queuing root mail? Or is sounds like a need something like that old "movemail" command to take it and move it. I have another server that is the HOME server (server1). The physical location of all $HOMEs is here i.e. /home/george.

View 4 Replies View Related

Server :: Mail Delivery Failed: Returning Message To Sender

Nov 11, 2010

send email i got bouncing error .see below error;

554 Your access to this mail system has been rejected due to the sending MTA's poor reputation. If you believe that this failure is in error, please contact the intended recipient via alternate means.

View 1 Replies View Related

Server :: Mail Delivery Failed: Returning Message To Sender?

Feb 9, 2011

i have a domain where i can send emails to any domain ,unfortunately i cant receive email from any domain . am getting the below error ;

T=remote_smtp: retry time not reached for any host after a long failure period

View 2 Replies View Related

Server :: Round Robin / Exim4 / Mail Delivery SMTP?

Apr 30, 2011

Here is the senario...

2 round robin dns servers
x.x.x.1 mydomain.com (hostname)
x.x.x.2 mydomain.com (hostname)

My problem is that when I try and send an email that is part of the domain, it ends up trying to deliver it locally. I realize it is supposed to, but I don't want that for non-users of the server.

I want to be able to deliver certain emails []@mydomain.com remotely. (info@mydomain.com)

exim4 setup "internet site; mail is sent and received directly using SMTP". This works well as long as it is not an email from mydomain.com.

Is there a way to have exim check the users first and then deliver based on local user or not?

Next question. Is having the domain name as the hostname the best way to setup a round robin? (web server)

View 1 Replies View Related

OpenSUSE Network :: Integrate Amavisd Milter Mail Delivery Hangs At 63%

Mar 31, 2011

I am trying to built a mailserver using Sendmail + cyrus + amavisd + TLS authentication. All programs used are the latest versions shipped with OpenSUSE 11.4 I have set-up successfully sendmail+cyrus and I can send e-mail anywhere without a problem using authentication. But when I try to integrate amavisd-milter mail delivery hangs at 63% and the following message appears in /var/log/mail

[code]....

I have also uninstall all involved programs, deleted all conf files and re-installed them but alas without any success. The same configuration was used at least once with almost all previous SuSE/openSUSE versions since 1998.

View 1 Replies View Related

OpenSUSE Install :: Use Xampp And Also Configure Mail Agent In It?

Feb 5, 2010

how to use Xampp and also how to configure mail agent in it

View 9 Replies View Related

Software :: Configure Mail Agent (sendmail Or Fetchmail)

Mar 17, 2010

i'm having a hard time to configure sendmail or fetchmail, so that i can send email from a CentOS 5.3 server, is anyone familiar with that? i have a second email server that i believe that Centos server can authenticate to in order to use as relay but i have no clue how to accomplish that.

View 3 Replies View Related

Server :: Sendmail Rely Agent Unable To Send The Mail

Jun 21, 2011

I try to configure nagios server in my network. In nagios server I need to configure sendmail rely agent. I configured sendmail like given below

Code:

dnl #DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
define(`SMART_HOST', `mail.mydomain.com')dnl
define(`RELAY_MAILER_ARGS', `TCP $h 25')dnl
define(`ESMTP_MAILER_ARGS', `TCP $h 25')dnl

[code].....

View 1 Replies View Related

CentOS 5 Server :: Postfix Random Delivery ?

Apr 13, 2011

I configured a Postfix Server to relay the messages to an Exchange Server. To keep it simple I configured all my users locally and I setup local .forward files in their home folders, specifying their local Exchange address.

Everything seemed to work fine (for years now), until I upgraded postfix in October, 23rd 2010.

Alas, lately I noticed that, since then, even if I just realized it now, sometimes the server seems not to use the .forward file and tries to use the local delivery using cyrus, which does not find a local mail folder (obviously, since I never created them as I didn�t want to) and replies to the sender with a "550-Mailbox unknown" error. Today I enabled the "-v" mode for "local" in master.cf the debugging the problem a bit better, to see what's the problem.

If I was sure about the problem being the postfix version (2.3.3, which is way too old now!), I'd give it a try and substitute it with the latest 2.8.2 (even if the server is a production server and is almost untouchable).

Following the error and my main.cf and master.cf setup files:

View 10 Replies View Related

CentOS 5 Server :: Procmail + Sendmail Configuration On 5.2?

Aug 5, 2009

I have been trying to get procmail working on CentOS 5.2. I don't need anything fancy, just an auto reply for a "noreply@" account. Looking at the sendmail configuration, it appears procmail is the MDA. I have looked at many different tutorials and how-tos, but most are old, and/or the locations/paths and setups are markedly different from the defaults on my system. Can anyone recommend a good CentOS-based tutorial on Procmail w/ recipes? (I have an RHEL book and it's no help either.) Thank you for your time and consideration.

View 1 Replies View Related

CentOS 5 Server :: Procmail: Piping To A Php Script?

Aug 6, 2010

I have my .procmailrc file set up to pipe mail to a simple php script I've written. The only thing the script does at this point is echo back a "hello" message. However, procmail does not execute the script properly.

Here's my script (/home/webs/site.com/scripts/echo.php):

#!/usr/local/bin/php
<?php
echo "hi.";
?>

View 3 Replies View Related

CentOS 5 :: Setup Spamassassin With Postfix And Procmail?

Nov 17, 2010

I have Centos 5.5 and using Postfix, procmail and Dovecot for sending and receiving emails. I have spamassassin installed too but not configured. I am getting lots of spams. I googled a lot to find if there is any configuration but I couldn't find.how to setup spamassassin to filter emails for spams.

View 1 Replies View Related

CentOS 5 Server :: Get Cyrus 2.3.7 IMAP Working With Procmail 3.22

Jun 9, 2009

I'm new to CentOS, having always used Slackware in the past. I'm trying to get Cyrus 2.3.7 IMAP working with Procmail 3.22, and having a slight issue. My current setup in sendmail.mc is as follows:

[code]...

View 1 Replies View Related

CentOS 5 :: Postfix + Procmail - Pop And Imap Ports Blocked By Firewall

Jul 11, 2009

Small server running 5.3 - stock postfix configured to use Maildir. Dovecot configured but both pop and imap ports blocked by firewall. Access to mail is via Squirrelmail via https. Configured to virus scan via ClamAV. Works just fine. Now I want to add procmail filtering. So I create these two files - ~/.forward and ~/.procmailrc in my user home dir: "|exec /usr/bin/procmail -f- || exit 75 #mpeters"

View 1 Replies View Related

Server :: Deploy Centos 5.5 Through Pxe Agent On Multiple Servers?

Apr 14, 2011

We have to install centos 5.5 in approx 60 servers and we want to have a server in which we can create an image of 1 server and deploy it on all other severs through pxe. Mainly all servers will be having raid 5 or raid 1 configured. So the utility should be having the raid support.

View 1 Replies View Related

CentOS 5 :: Installed Acronis Agent But Doesn't Work?

Dec 1, 2009

I'm quite new to Linux and totally new to CentOS. I need it to isntall a Lotus Domino Server, and for security reason i'd like to install the Acronis Linux agent to backup this server with my Win Acronis enterprise server. I have installed a new CentOS server 5.4 on a Vmware virtual machine, then installed the Acronis Linux agent following the instruction here [URL].. The agent seems to work because with the command "/etc/init.d/acronis_agent status" the sistem respond with "Acronis Agenti is running"

But i can't connect to the agent from the server console!

I have disabled the firewall to avoid any connectin problem...

Does anybody use acronis with CentOS?

View 8 Replies View Related

CentOS 5 Server :: Status=deferred - Delivery Temporarily Suspended - Connect To 127.0.0.1[127.0.0.1]: Connection Refused

Apr 6, 2010

For some reason my mail server (Postfix) seems to have stopped delivering mail.

The error in the mail logs is "status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused) against all mails.

I have researched to try and find an answer, most information on this problem seems to point to a malfunction in the Anti Virus and Spam Filtering solution.

I have checked that Amavisd and Clamd are both operating and have restarted Postfix but all to no avail, squirrelmail is not working either.. ie not even producing a login page.

I have not changed anything in the config and am just wondering if anyone has experienced similar and could point me in the right direction of a solution.

View 5 Replies View Related

Server :: Build The Virtual Machines To Exclude The Actual Mail Files And Mail Logs From CentOS?

Oct 12, 2010

I have to administer a few mail servers, a mail log server, 4 nameservers and a web server -all running on Centos 5 server distributions. Now I have a task: to avoid accidental crashes on the production servers while installing updates, my boss asked me to do clones (these clones will all be VMware virtual machines) of the servers (EXCLUDING the actual e-mails and mail log contents) and then to run those clones on VMWare Server. This way, first I will install and test updates on the clones and - if they will be running without crashes - I will apply the updates on the real production servers themselves. I have already installed VMWare Server 2.0 I have a few questions:

- How do I build the virtual machines to exclude the actual mail files and mail logs? Can I use VMware Converter for this purpose, or do I have to use another program?
- How do I actually do this cloning? Is there a tutorial on how to do this?

View 3 Replies View Related

CentOS 5 Server :: Cent OS 5.4. - Send A Mail With Mail In Console

Apr 21, 2010

i'm trying to send a mail with "mail" on my cent os console , but without success. In Suse it's quite simple with "mail": mail -r sendersaddress@domain -s "subject" targetaddress@domain </tmp/filewithcontent

View 6 Replies View Related

CentOS 5 Server :: Postfix And Hosts File - The Mail Server Could Not Deliver Mail

Mar 20, 2011

I've setup my server by following a ton of goods, and it seems to work ok, but I need to start using my server for email in order to receive orders placed via my website. I've followed this guide - [URL] I followed the steps above, and tested the mail server via telnet, and all seemed to be ok. I tried sending an email via Squirrelmail, from cs@thinclientwarehouse.co.uk TO my working email simon@c1systems.co.uk, but the server returned with the following message:

<simon@c1systems.co.uk>: host mail.c1systems.co.uk[95.128.128.129] said: 550-Verification failed for <cs@localhost.thinclientwarehouse.co.uk> 550-The mail server could not deliver mail to cs@localhost.thinclientwarehouse.co.uk. The account or domain may not exist, they may be blacklisted, or missing the proper dns entries. 550 Sender verify failed (in reply to RCPT TO command)

View 14 Replies View Related

CentOS 5 Server :: Building VMWare Virtual Machines From CentOS Mail Servers?

Oct 12, 2010

I have a few mail servers, a mail log server and a web server running on Centos 5. Now I have a task: to avoid accidental crashes on the production servers while installing updates, my boss asked me to do clones (these clones will all be VMware virtual machines) of the servers (EXCLUDING the actual e-mails and log contents) and then to run those clones on VMWare Server. This way, first I will install and test updates on the clones and - if they will be running without crashes - I will apply the updates on the real production servers themselves.

I have already installed VMWare Server 2.0 I have a few questions: How do I build the virtual machines to exclude the actual mail files and mail logs? Can I use VMware Converter for this purpose, or do I have to use another program? How do I actually do this cloning? Is there a tutorial on how to do this?

View 4 Replies View Related

Server :: How To Control The MTA Delivery Rate

Jun 29, 2011

We're building an Email Marketing web site for internal staff who needs to send emails to thousands of customers.but we're wondering if it's possible to control the MTA delivery rate, such as:

1. for @xxxx.com, only allows 5 con-current smtp connections and 100 emails/minutes?

2. how to bind multiple IPs and send emails in round-robin mechanism?

3. how to pause (such as: 10ms) between every delivery?

if you are familiar with Ironport's product, you may already know what we want to achieve.

View 1 Replies View Related

Programming :: Procmail Piping To A PHP Script

Aug 6, 2010

I have my .procmailrc file set up to pipe mail to a simple php script I've written. The only thing the script does at this point is echo back a "hello" message. However, procmail does not execute the script properly.

View 1 Replies View Related

General :: Procmail: Forwarding Just Does Not Work?

Mar 13, 2011

I've spent pretty much the whole night trying to figure out how I can achieve the following: If a certain Keyword, say [key], is in the subject line, then the email is forwarded to a list of people.

My recipe (now) looks like this:

Code:
:0
* ^Subject: .*[key].*
! my-email@gmail.com
The (verbose) procmail logfile gives me this:

[Code]....

Is my recipe wrong in any way? I pretty much copied it from available ones.
It's a university server, so I'm no admin, just a user. How can I figure out whether some setting that the admin made prevents procmail from calling sendmail or whatever?

View 3 Replies View Related

Server :: Communigate Pro With Procmail Integration?

Feb 4, 2010

I want to know if I can you communigate Pro with procmail integration?

I have read and seen that, CommuniGate Pro has some nice features so I want to use it.

Or is there a way I can do email filtering in CommuniGate with out procmail?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved