Ubuntu Servers :: Filter Out Emails On Postfix Server By GeoIP Data?

Dec 2, 2010

I've been looking for a way to filter out emails on my postfix server by GeoIP data. I couldn't find anything that fitted the bill so wrote my own in Python as a postfix policy. Thought I'd post it here to see if it's of any use to anyone else. I've attached a tar of the files as the Python formatting will get mucked up by the forum code. Comments/improvements are welcome (be kind ) First file is : policyd-geoip which is owned by root:root and placed in /usr/bin with 755 perms

[Code]...

View 3 Replies


ADVERTISEMENT

Ubuntu Servers :: Recover Emails Ubuntu Server Dovecot Postfix

Apr 27, 2010

I tried searching the posts and have come up empty handed. I need to find an email I sent to myself (actually a forward of several other emails) that did not get delivered. Otherwise I need the original emails themselves. I have been using pop with dovecot on my ubuntu server Jaunty machine. I searched the mail logs and found that the reason the message might not have been delivered could be because my permissions were not set to administrator for that user. I changed the permissions and still nothing came back.

I deleted the client mail account on the machine I used that had the messages but I was hoping they might still be somewhere on the server. Any ideas?

View 2 Replies View Related

Server :: Perl Program To Filter Emails For Specific Rules

Feb 4, 2010

Please what will it take me to write a perl full functioning program to filter emails for specific rules? Will that be possible? The actual thing am trying to get is to write a perl program and attach to a mail server so that, when the mails come in, the perl script get call and then the perl program will let another external program that is not on the server run and check or filter the mails.

View 8 Replies View Related

Ubuntu Servers :: Postfix Not Sending Emails?

Jan 18, 2010

I have a static IP from local ISP and my computer is configured with 192.168.1.2 (LAN IP).

I have installed ubuntu server 9.04 and want to send emails from my server for which I've configured postfix. But I dont know what to do next.

My questions are:

1. Do i need to install DNS server for using postfix? If not, what should I install to send emails from this server?

2. Do I need to forward any particular port in my router?

3. If I dont have a fully qualified domain, what are the configurations I need to do to send emails?

View 1 Replies View Related

Ubuntu Servers :: Postfix Config To Catch ALL Emails?

Jul 20, 2010

We have a number of servers at work, some production and some non-production. We run some java applications on these servers. At present these java applications send emails via an SMTP connection to our live email servers.

In production all is well, the java apps send emails to customers. However, in the non-production environments all emails must not be sent out. Instead they must end up in some kind of generic inbox.

We don't want to mess with the production setup at all and it isn't an option to lose the non-prod emails altogether. So on non-prod we can reference another SMTP server and send all emails there. So far I've set up a postfix, dovecot, squirrelmail email server which appears to work.

how do I config my new email server so that any emails sent from our non-prod server to fred@hotmail.com, bill@yahoo.com, jenny@gmail.com etc all end up in one inbox?

View 5 Replies View Related

Ubuntu Servers :: Sign Emails With OpenDkim - Postfix - 10.04 64x

Sep 30, 2010

Sign emails with OpenDkim + Postfix + Ubuntu 10.04 64x. How-to implement a domain key signature using Postfix Ubuntu based email server. Implementing a domain key will help your outgoing email not being marked as SPAM by the receiving servers that implement DKIM signatures verification., i.e. Yahoo, Gmail, etc.

View 9 Replies View Related

Ubuntu Servers :: Postfix - Bogus Emails From Unknown Users Sent?

Dec 2, 2010

I've been banging my head against the screen on this strange problem. Somehow my server sends out spam mails to a lot of aol mail addressess. The mail.log file looks like:

Code:
Dec 2 16:10:55 Ubuntu-904-jaunty-64-minimal postfix/qmgr[7685]: E95C2B48DB4: from=<HappyShopping@somedomain.nl>, size=1912, nrcpt=1 (queue active)
Dec 2 16:10:55 Ubuntu-904-jaunty-64-minimal postfix/qmgr[7685]: 5D4E0B48DB5: from=<HappyShopping@somedomain.nl>, size=1904, nrcpt=1 (queue active)
Dec 2 16:10:55 Ubuntu-904-jaunty-64-minimal postfix/qmgr[7685]: 8F540B48D04: from=<NewYearSale@somedomain.nl>, size=1894, nrcpt=1 (queue active)

[Code]...

View 7 Replies View Related

General :: Prevent Postfix From 'retrying' Emails To Yahoo - Mail Servers?

Jun 12, 2011

I have a problem with my VPS not being able to send any emails to Yahoo! addresses. Each time someone with a mail account tries to send something to a Yahoo! address, the email stays stuck in the mail queue and a 'delayed mail (still trying)' message is sent back to the user. I understand that Yahoo! has a tendency to block mail servers on a whim, but what I'd like to know is, how can I prevent Postfix from specifically retrying to send emails to Yahoo! mail servers? I don't want to stop retries to other mail servers.

View 1 Replies View Related

Server :: Email Content Filter Rules For Either Postfix

Feb 3, 2010

I want a mail server that can work just like MDaemon. The reason is, I want to have an email content filter rule that does some thing like this.

1. If the To Header contains "support@thisdomain" then run a program.
What this means is that, there is a program here in the office, and if some one sends an email to the support address, with an attachment of .exe and that person is a customer, then the program should be run. The only thing I need here is if there is a rule or script that can filter email header and run a program.

2. If the Exit Code from a previous 'Run program' rule is in the range of 1 to 100 and if the To Header contains "support@thisdomain" then send note1 "to<email address>" from <$SENDER$" "SUBJECT <AM ...>
and delete this message.

3. If the EXIT CODE from a previous 'Run program' rule is =0 and if the TO HEADER contains "support@thisdomain" then send note1 "to<email address>" from <$SENDER$" "SUBJECT <AM ...>
and delete this message.

View 7 Replies View Related

Server :: Postfix Filter Outgoing Mail By Sender Domain ?

Jun 17, 2010

Im trying to get postfix to filter my outgoing mail and basically drop everything that is not in my hash table.

So far I managed to get this going

Code:

Code:

Unfortunately those rules also apply to incoming messages. My goal is to disallow users on my host to change their "MAIL FROM" to anything they like and restrict them to domains I specify. I'm aware that the local part still is variable and a user of domain "foo.com" could use a email of domain "bar.com", but still some of my troubles would be solved if I get this running.

View 2 Replies View Related

Server :: Postfix Cannot Receive Emails

Jul 30, 2010

I have lenny with postfix, countier-imap, squirrelmail installed i can send emails but i can not receive any emails.

View 6 Replies View Related

Server :: Postfix Does Not Send Emails?

Feb 8, 2011

I'm stuck with postfix. It cannot send emails and I cannot find out why! smtpPort 25/tcp is open. I can telnet localhost with 25, but not the localhosts IP(192.168.1.15). Sendmail is OFF. Here is the main.cf file!

# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default

[code]..

View 4 Replies View Related

Ubuntu :: Using The Postfix SMTP Server For Sending Emails?

Dec 13, 2010

I am using the Postfix SMTP server for sending emails. However I just did a default installation and subsequently someone is sending spam using my SMTP server. I would like some help on securing my Postfix server and to block these mischievous emails being sent from my server.

View 2 Replies View Related

Server :: Postfix Can Send But Cannot Receive Emails?

Apr 25, 2009

I have configured Postfix on a Ubuntu 8.04 box using this tutorial:I can send emails but I cannot receive any email because of a "bad recipient address syntax:"The log from /var/log/mail.info says this:

Code:
Apr 25 14:46:06 360romania postfix/pickup[31716]: 74A682190661: uid=0 from=<root>
Apr 25 14:46:06 360romania postfix/cleanup[32402]: 74A682190661: message-

[code]...

View 9 Replies View Related

Server :: Read Content Of Emails In Postfix?

Mar 2, 2010

Is there any way can read content of email in queue? Or emails sent in few last seconds?

View 1 Replies View Related

Ubuntu Security :: Add Smtp Authentication To Postfix Installation Used As Spam Filter For Exhange Server

Feb 26, 2010

I followed this How To (https://help.ubuntu.com/community/Postfix) in order to add smtp authentication to my Postfix installation used as spam filter for my exhange server, and it'seem all ok; the only thing that I don't understand is where I list all the users (with passwords) that I authorize to send mail through my server...

View 3 Replies View Related

Server :: POSTFIX Server New Domain Emails Stuck In Queue

Apr 20, 2010

I am newbie to postfix. I added a new domain to my postfix server in the main.cf under mydestinations variable and the relay_domains file. Also, added this domain to my backend exchange server. When I send a test message from the new domain, my messages from that domain appear to be stuck in the "queue active". What does it mean when you are stuck in this queue? Does this mean that my backend email server (exchange 2003) isn't allowing messages from this new domain OR that the POSTFIX server still needs configuring.

View 2 Replies View Related

Server :: Configure Postfix To Send Emails From One Email

Feb 8, 2011

I'm experimenting with with mail-servers now and I'm trying to configure postfix to send emails from one email(pop3 is gmail) to any email outside the local network. Server is Ubuntu 10.10 with the last updates.

View 1 Replies View Related

Server :: Postfix Holding Emails After Installing MailScanner?

Mar 18, 2011

I have recently installrf MailScanner on my CentOS 5.5 and followed this instruction [URL] However, my postfix doesn't seems to be working after the installation. All the emails sent (using squirrel) mails are being held at /var/spool/postfix/hold

View 1 Replies View Related

Server :: Postfix Is For Sending/receiving Internal Emails Only?

Jan 21, 2010

One of our postfix servers is for sending/receiving internal emails only. When a user entered a wrong recipient address, it will take almost an hour for the user to get the "Recipient address rejected" email. What can be done to let the user get the "Recipient address rejected" email quickier.

View 7 Replies View Related

Server :: Replacement Postfix - Getting Intermittant Loss Of Sent Emails

Mar 10, 2011

I'm building a replacement postfix email server and I'm getting intermittant loss of sent emails; where: sometimes mail ends up at the recipient (a hotmail address) and sometimes not. Having an offsite relay (or posting directly to the internet) doesnt help either. (Although using hotmail itself as a relay always works despite logged complaints about unchecked ssl certs) Most dissapointingly the log files for the smtp transations are the same for successfully received emails as for the "lost" emails.

[Code]....

View 2 Replies View Related

Software :: Postfix Server Rejecting Emails Sent From Outside Host

Jul 29, 2011

I've recently followed a guide I found online [1] and installed Postfix and Courier on my server machine. I can send emails from the server to any email address but unfortunately I can only receive emails sent from the server - it's only accepting emails sent locally from the host.

View 3 Replies View Related

Ubuntu Servers :: Install The GeoIP Plugin For AWStats?

Apr 4, 2010

I'm trying to install the GeoIP plugin for AWStats. I've installed the packages geoip-database, libgeoip1, and libgeo-ip-perl. geoip-database installs the database file at /usr/share/GeoIP/GeoIP.dat, so that's the path I'm using in my AWStats config file. When I try to run AWStats on my logs, it hangs without generating any files. No debug messages about this are printed when I enable them. I've also tried installing libgeo-ipfree-perl and uncommenting the geoipfree line in my conf file, but that didn't work either.

Possibly useful detail: I previously tried installing the GeoIP C library and Perl module manually, which didn't work, and then I tried installing the Pure Perl module manually, which also didn't work. I simply deleted them all, which I'm not sure was a good idea. I don't know anything about this stuff.

View 2 Replies View Related

Server :: Get Postfix To Deliver Valid Emails To Maildir And Relay Remaining?

Jan 20, 2010

I got a weird postfix setup question? This is a separate server to the one I posted about earlier today.

I need to setup a postfix server which will accept emails for local know address (full addresses) and deliver them straight to the users maildir.

Any unknown addresses (however for the same domain), needs to be relayed to another server.

This is a bit of a special setup as there is no fixed Internet connection to the server. So the plan is that local email get delivered straight away whilst emails to the same @domain, but that doesn't exist in the user tables get put in the hold queue and is later relayed to server number 2 when a connection is available.

I am using mysql to retrieve all my settings into postfix.

View 3 Replies View Related

Server :: Setup Postfix Header_check Subject That Discard All Emails That Have More Than 6 Words In It?

Sep 8, 2010

How would one setup a header_check that would discard all emails that have more than 6 words in it? Such as, if there are more than 6 spaces in the entire message it would be deleted? I cannot find this out but it would reduce my spam intake by 50+ a day.

View 2 Replies View Related

OpenSUSE Network :: Mail Server Configuration - Postfix To Send Incoming Emails To A Php Script Or Perl

Aug 13, 2010

I have a server with a domain running and im trying to resolve the mail server but i can't see where to start. I use OpenSuse 11.2. Basically, for starting, i want postfix to send incoming emails to a php script or perl. for outgoing emails i guess that i could use php mail function and i will see what else to have. I configured the dns. I do a dig.mydomain.tld MX and i get the following:

mydomain.tld3600INMX0 mail.mydomain.tld
mail.mydomain.tld 3600INAmyNumericalIp

So now my system is receiving MX content but i dont know what to do.

View 9 Replies View Related

Ubuntu :: Need Scanning Of Incoming Emails & Spam Filter

Jun 22, 2011

I want to read my emails locally using Evolution & Thunderbird or some other mail client. I have bought a new domain and would want incoming emails sent to this domain ids to be scanned by a virus scanner & spam filter.I have read that MailScanner + SpamAssasin is a good combination/option. Are there any others for my requirement.I am not a Linux/Ubuntu expert - so a detailed step by step tutorial to set this up is what i am looking for.I am using Ubuntu 10.04 home user.

View 2 Replies View Related

Ubuntu Servers :: Postfix Make Install - Error - Postfix: Fatal: Chdir(/usr/libexec/postfix): No Such File Or Directory

Mar 11, 2010

Here is what i do: make clean make makefiles CCARGS='-DEF_CONFIG_DIR="/opt/product/postfix-2.6.5/etc"

-DEF_COMMAND_DIR="/opt/product/postfix-2.6.5"
-DEF_DAEMON_DIR="/opt/product/postfix-2.6.5/libexec"
-DEF_MAILQ_PATH="/opt/product/postfix-2.6.5/bin/mailq"
-DEF_DATA_DIR="/opt/product/postfix-2.6.5/lib"
-DEF_NEWALIAS_DIR="/opt/product/postfix-2.6.5/bin/newaliases"
[Code]...

make install then i got this error: postfix: fatal: chdir(/usr/libexec/postfix): No such file or directory make: *** [install] Error 1 I don't understand why it's checking the usr/libexec folder for the daemons although I've set the folder to /opt/product/postfix-2.6.5/libexec in the makefile. Here is also the cat of my makedefs.out:

[Code]....

View 1 Replies View Related

Ubuntu Servers :: 10.04.1 Server Not Sending Out Emails

Oct 12, 2010

I have wordpress installed on my VPS, which is running 10.04.1 LTS. I appear to be having an issue whereby the server isn't sending out emails to new users, nor to myself when I get comments on the blog.I'm at a dead end for where to look next, because the settings are exactly the same as they were with my previous VPS (and they were always pretty generic), but yet it doesn't work.

View 5 Replies View Related

Ubuntu Servers :: Delete Emails On Server Via Terminal?

Jun 13, 2011

We have a load of undeliverable emails backed up on the server. The problem we have is that the server we purchased from a well known host is rubbish. It does not matter how many times we use outlook to get the emails off the server, it just keeps timing out.Question I want to ask is:1) How can I view the number of emails on the server via the terminal2) How do I then delete these directly off the server via the terminal

View 1 Replies View Related







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