exim

What's a simple method to dump pipe input to a file? (Linux)

I'm looking for a little shell script that will take anything piped into it, and dump it to a file.. for email debugging purposes. Any ideas? ...

How do I fix "501 Syntactically invalid HELO argument(s)"?

I'm using exim on both the sending and relay hosts, the sending host seems to offer: HELO foo_bar.example.com Response: 501 Syntactically invalid HELO argument(s) ...

Exim sender callout verification but only for my domains

I have exim 4 on my backup MX server. I'd like to configure it so that sender callout address verification is done, but only where the domain part of the sender address is listed in local_domains or relay_to_domains i.e. the mail purports to be from a domain I manage. I want to use this because my primary MX will reject messages which h...

exim configuration - accept all mail

I've just set up exim on my ubuntu computer. At the moment it will only accept email for accounts that exist on that computer but I would like it to accept all email (just because I'm interested). Unfortunately there seem to be a million exim related config files, and I'm not having much success finding anything on google. Is there an i...

How can I programmatically verify if a CYGWIN app is installed in a SH script ?

Here's the situation : I am writing a SH deployment script that will deploy a website with an RSYNC command in CYGWIN. After the installation, I want to send an e-mail to the development team to say that a deployment has been made with some details. I will use "exim" to send the mail from CYGWIN. The thing is that, exim is only optio...

exim "emulating" Outlook configuration via CYGWIN ?

Hello, I would like to send an e-mail using CYGWIN. I have installed exim and want to use the same config as what I have in Outlook at the moment to send the mail (my company SMTP, my own e-mail, etc) without screwing up Outlook in the process. Is that possible ? Note that the SH script that will send the mail MUST be installed o...

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...

exim4 nonstandard ports

I am trying to use exim4 on debian to relay mail, nothing more. I have a stage mail server and a production mail server (both written custom in python to do weird stuff). I also have all these running on a single linode host. production mail is on port 2500, stage mail is running on port 2501. I'd like exim to relay mail based on th...

What is the proper way to send an email *directly* using the SMTP protocol? (bypass MTA on my end)

I need to send emails DIRECLTY to the recipient's mail-server, bypassing any MTA's on my end. I know there are some great reasons to use MTAs like sendmail, etc, so I don't need advice in that direction. I would like to write code that directly connects to the recipient's mailservers. So, am I missing anything here? Suppose the desti...

Handling mail forwarding with php

I have a feature in my app that handles and parses incoming emails. The mails come in through the usual method with exim as a .forward file: | /path/to/php /path/to/mail/handler.php This sends RFC822 formatted text to my handler, which uses a parser to break it down and hand over to the rest of my app. New feature needs to be added ...

Exim Send Frozen Messages Spoof Sender

Hi, I've just changed ISPs and hence SMTP servers. It seems that the old SMTP server accepted empty senders (MAIL FROM:) whereas the new one does not, so I have a load of frozen messages with "no valid sender". Is it possible to send these mails with a manual from address? I've tried -f [email protected] -M with no joy. Thanks, Jamie ...

Can I configure exim to use "freeze" as a cheap way to moderate an email address?

We use exim for our family's MTA, and I want to set up a "protected" email address for my son. I thought a quick-and-dirty approach would be to set up all his incoming and outgoing mail to go to my wife and me (with a rewritten reply-to address) and then be frozen, and we could send an email back to exim to unfreeze it. Basically, I wan...

Catchall Router on Exim does not work

I have setup a catchall router on exim (used as last router): catchall: driver = redirect domains = +local_domains data = ${lookup{*@$domain}lsearch{/etc/aliases}} retry_use_local_part This works perfectly when sending emails locally. However, if I login to my GMail account and send an email to [email protected], then I ge...

How could I stop PHP from returning headers when executed from commandline?

This may be a ridiculous question, but it's been bothering me for a while. I have a mail forwarder piped to a PHP script, it receives perfectly, however I have the following error mailed back to me instantly: A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address...

How can I distribute email deliveries between 2 or more servers?

We provide Email Marketing service through our online Application. We have about 30 customers. And each one has it's own mailling list (5k to 100k emails each). What we really want is to distribute email's delivery between 2 or more servers. I was wondering What kind of aproach/solutions MailChimp , Constant Contact uses to provide a gr...

Why does Exim puts emails on hold if there are frozen messages in the queue?

Moved Why does Exim puts emails on hold if there are frozen messages in the queue? I've a CentOS with CPanel server working as a SMTP server, which currently uses 20 different hostnames and IP addresses to deliver email for an email newsletter service. However, it's extremely slow in sending emails. It's sending like 10 emails pe...

Problem with sending multiple mails per SMTP connection with Zend_Mail and Exim

I have exim mailserver on my dedication server. I'm trying to send about 800 mails at once with zend_mail But only about 200 of them sending I have no php errors in error_log I tried to log if it too slow and exceed max time execution 2010-10-12 15:16:32 - Going to send 795 letters 2010-10-12 15:16:37 - 100 letters done 2010-10-12 15:16...

Exim piping for forwarding to rails controller

Hi, I am using Exim. I am trying to "send" all emails to a rails controller, but unfortunately I have no experience with Piping emails. Any help with the configuration of Exim is welcome. What i want is that Exim should forward all emails that are going to "bounce", because no such user exists, to the script ...