postfix

Postfix / Spamassassin: Undelivered Mail Returned to Sender

I'm having an issue with a newly configured mailserver where spam emails that are spoofed to come from the local domain are actually accepted by the mailserver, the mail isnt delivered as is though, the spamassassin tags it as spam and then send an email "Undelivered Mail Returned to Sender" to the spoofed local user. I know there is a ...

I want to connect the reception of the email and applications

If an email sent on [email protected], I want to put the contents of the email in a database, but how may realize it? I use postfix to MTA. ...

Recommended safeguards to prevent accidentally spamming customers

I'm working on a site in which users can opt-in for email notifications for various events (think Google Alerts). An early version of the site had a problem that accidentally generated hundreds of emails to the same few test users. That bug has since been fixed, but leads to the question: what are some recommendations for ensuring that c...

"Evaluating Postfix Expressions" Program in Ruby

I tried to make a small script to evaluate post-fix expressions in Ruby. def evaluate_post(expression) my_stack = Stack.new expression.each_char do |ch| begin # Get individual characters and try to convert it to integer y = Integer(ch) # If its an integer push it to the stack m...

How to differentiate (when overloading) between prefix and postfix forms of operator++? (C++)

Becuase I've overloaded the operator++ for an iterator class template typename list::iterator& list::iterator::operator++() { //stuff } But when I try to do list::iterator IT; IT++; I get a warning about there being no postifx ++, using prefix form. How can I specifically overload the prefix/postifx forms? ...

How do I painlessly receive mail in linux and feed it to Rails?

I've been googling all night for postfix howto's, but still I couldn't figure out how do I manage to receive email on linux-server (being more specific - Ubuntu). All I need is a catch-all mailbox which gets all emails and feeds them to the ruby script (which then passes it to Rails, of course). I was able to set-up postfix for sending ...

Postfix virtual: parent domain matches subdomains - I don't want it

I have my /etc/postfix/virtual file: sub.domain.com DOMAIN @sub.domain.com user2 domain.com DOMAIN @domain.com user1 The mail for @sub.domain.com still goes to user1 and that's not what I want. Here's my /etc/postfix/my.cnf just in cases: mydomain = domain.com myhostname = mail.domain.com alias_maps = hash:/etc/aliases alias_databas...

Postfix alias for all user names?

Is there something you can put in /etc/aliases that will make postfix send all mail to one user, no matter what the username? ...

Why won't Perl let me chain a postfix loop from a postfix comparison?

This is ok: $foo++ if $condition; And this is ok: $foo++ for (1..10); But this isn't: $foo++ if $condition for (1..10); I find the latter quite readable if things aren't complicated, and it fits on one line! Is there a way to do this or should I move on with my life? ...

i++ less efficient than ++i, how to show this?

I am trying to show by example that the prefix increment is more efficient than the postfix increment. In theory this makes sense: i++ needs to be able to return the unincremented original value and therefore store it, whereas ++i can return the incremented value without storing the previous value. But is there a good example to show t...

How to create a netcat relay on OS X ?

I'm trying to troubleshoot my postfix so I decided to route its traffic to my isp smtp relay trough a netcat relay: nc -l <someport> 0<backpipe | nc <isp-smtp> 26 | tee backpipe And I configured my postfix to connect to localhost:. But to get the netcat relay working it needs a FIFO pipe made with mknod backpipe p and apparently this...

Whats A Good Way To Manage Postfix?

There are a ton of programs listed here under "Run/Configuration/Queue/User management" http://www.postfix.org/addon.html Just curious if anyone has used these and what is recommended. Basically I want to see what is going on with my queue, any problems/bottleneck, etc. A web based thing would be awesome, if not command line would be...

PHP, postfix, sendmail, thunderbird for local dev only

Hey, I'm trying to get php's mail function working on my local dev box in such a way where all mail sent using mail(), regardless of recipient, would stay local and show up in a thunderbird account (pop/imap/etc). I've got php set up to use sendmail and I've got postfix installed. But i'm at a loss where to go next. Any pointers? ...

XmlDocument.SelectSingleNode returns null for root node

I have several xml files whose postfix is not .xml, but .component Now I want to handle them in the c# program, but It seems that the c# cant even find the root element of these xml files var doc = new XmlDocument(); doc.Load(path); // MG: edited to Load based on comment XmlNode root = doc.SelectSingleNode("rootNodename"); It seems th...

Monitor Postfix Server and Ruby response on Ubuntu

I am building a ruby application that grabs emails sent to a server and logs them to a database. Right now I don't have is a way to fully test the (Email -> Ruby -> Database) stack for downtime. I am using services that test the server the ruby is running on for downtime, and i'm using monit to make sure that the ruby daemon doesn't go d...

Which is best Postfix Log analyzer?

Which is best Postfix Log analyzer? We are looking for good log analyzer for postfix. We need to analyze the following How many mails queued ? How many mails not delivered ? Why mails are not delivered ? And is it possible to view the subject for the all mail status instead of message id? I mean to review the status of the single mai...

Is it possible to combine BATV and smarthosting?

Is it possible for a webserver with no special mail configuration to support BATV by having the BATV implemented on the smarthost or SMTP server which the mails are delivered via? Ie - host WWW has a PHP mail form host WWW accepts mail on a dumb local MTA and smarthosts to host MAIL, or host WWW delivers mail directly to host MAIL vi...

Postfix : Only receive emails from specific domains?

How can I setup Postfix so that it will only receive emails from specific domains? ...

How to display ads on outbound email?

I need to be able to display ads on email forwarded through a server (preferably postfix) based on the demographic information of the recipient. Basically a message will arrive for [email protected] and be forwarded to [email protected] with a small advertisement at the bottom. I would like to use postfix because it appears...

What does the postfix "_t" stand for in C?

Possible Duplicate: What does a type followed by _t (underscore-t) represent? While typing in my IDE (Xcode), autocomplete pops up already-defined words when I'm partway thru entering some variable name. I occasionally see names that have '_t' at the end of them. What naming convention is that and what does it mean? Is ther...