Re: how to flush frozen email from queue

2011-04-22 Thread Dennis Guhl
On Thu, Apr 21, 2011 at 11:18:26AM -0500, li...@vfemail.net wrote: > Quoting "Dennis Guhl" : [..] > >>So, where should I look to find the sendmail of postfix? Or how can > >>I find postfix's sendmail without recompiling postfix again? > > > ># postconf | grep sendmail_path [..] > [root@mx ~]# p

Re: how to flush frozen email from queue

2011-04-22 Thread ??? ??????
li...@vfemail.net wrote: > I am just trying to fix something with minimal impact on that sistem. > Sorry if this has already been suggested. # yum install system-switch-mail # system-switch-mail Select Postfix. Then stop and uninstall all other MTAs. HTH, Mikael

Howto duplicate mails ?

2011-04-22 Thread David Touzeau
dear We need to test a new server in "middle production mode" (especially anti-spam content filtering, av softwares). In this case, to not disturb the production architecture, we need the Postfix production server duplicates received mails to this test server but continue delivering messages to

Re: Howto duplicate mails ?

2011-04-22 Thread Wietse Venema
David Touzeau: > dear > > We need to test a new server in "middle production mode" (especially > anti-spam content filtering, av softwares). > > > In this case, to not disturb the production architecture, we need the > Postfix production server duplicates received mails to this test server > but

Re: how to flush frozen email from queue

2011-04-22 Thread linux
Quoting "Randy Ramsdell" : /dev/rob0 wrote: As you can see, sendmail does not appear ... How can I fix it? This could be ugly. Installation from source, even correctly done, interferes with OS features like this "alternatives" thing. It is well worth your while to spend some time learnin

Re: Howto duplicate mails ?

2011-04-22 Thread David Touzeau
Le vendredi 22 avril 2011 à 07:25 -0400, Wietse Venema a écrit : > David Touzeau: > > dear > > > > We need to test a new server in "middle production mode" (especially > > anti-spam content filtering, av softwares). > > > > > > In this case, to not disturb the production architecture, we need th

Re: Howto duplicate mails ?

2011-04-22 Thread Wietse Venema
David Touzeau: > Le vendredi 22 avril 2011 ? 07:25 -0400, Wietse Venema a ?crit : > > David Touzeau: > > > dear > > > > > > We need to test a new server in "middle production mode" (especially > > > anti-spam content filtering, av softwares). > > > > > > > > > In this case, to not disturb the pr

Re: Howto duplicate mails ?

2011-04-22 Thread David Touzeau
Le vendredi 22 avril 2011 à 09:54 -0400, Wietse Venema a écrit : > David Touzeau: > > Le vendredi 22 avril 2011 ? 07:25 -0400, Wietse Venema a ?crit : > > > David Touzeau: > > > > dear > > > > > > > > We need to test a new server in "middle production mode" (especially > > > > anti-spam content fi

Sender dependent authentication in Postfix

2011-04-22 Thread Dragan Zubac
Hello I have a demand for the following email routing scenario : 1. Email arrives in the following format : >From : sen...@sender.com To : sys...@system.com Message body contains the following pattern : Username : customer_username Password : customer_password --

Re: Sender dependent authentication in Postfix

2011-04-22 Thread Reindl Harald
Am 22.04.2011 16:33, schrieb Dragan Zubac: > 2. Once this kind of email arrives,Postfix should route this email via > remote relay host using SMTP AUTH with credentials from message body of > email it received,like > > SMTP:remote.host.com (AUTH: customer_username,customer_password) no problem

Re: Sender dependent authentication in Postfix

2011-04-22 Thread Dragan Zubac
Hello Just one more question here. Are you referring to From email or To email in your mysql query ? Sincerely On 04/22/11 16:48, Reindl Harald wrote: > Am 22.04.2011 16:33, schrieb Dragan Zubac: > >> 2. Once this kind of email arrives,Postfix should route this email via >> remote relay host usi

postfix false reports of bounced email

2011-04-22 Thread Shields, Rusty (IMS)
Thanks to those who responded to my earlier email. I'll restate my problem and post the output from postfinger below that. Our postfix server has recently started reporting bounces for emails that are being successfully delivered. These are all for email addresses that are all within our domain

Re: postfix false reports of bounced email

2011-04-22 Thread Wietse Venema
Shields, Rusty (IMS): > Apr 14 17:22:57 tilapia postfix/smtp[19383]: 8F27A27954: > to=, relay=mailrelay.imsweb.com[204.132.58.6], > delay=0, status=bounced (host mailrelay.imsweb.com[204.132.58.6] > said: 554 Format restriction violation. Email Session ID: > {4DA765B1-6-6565EC3F-} (in reply to

Re: Sender dependent authentication in Postfix

2011-04-22 Thread Reindl Harald
snce we are speaking abount desnder-dependent %s is the sender %d would be the sender-domain, on other mysql-config places %s and %d stands for rcpt/rcpt-domain BTW: i would love an extra placeholder here beacuse i tried to get "smtp_sender_dependent_authentication" and "transport_maps"

Re: postfix false reports of bounced email

2011-04-22 Thread Noel Jones
On 4/22/2011 10:40 AM, Shields, Rusty (IMS) wrote: Thanks to those who responded to my earlier email. I'll restate my problem and post the output from postfinger below that. Our postfix server has recently started reporting bounces for emails that are being successfully delivered. These are al

Re: postfix false reports of bounced email

2011-04-22 Thread Ralf Hildebrandt
* Noel Jones : > On 4/22/2011 10:40 AM, Shields, Rusty (IMS) wrote: > >Thanks to those who responded to my earlier email. > > > >I'll restate my problem and post the output from postfinger below that. > > > >Our postfix server has recently started reporting bounces for emails that > >are being suc

${user} parameter with pipe to spamc

2011-04-22 Thread Roy McMorran
Greetings, I'm attempting to use the following in master.cf to integrate with SpamAssassin: smtp inet n - n - - smtpd -o content_filter=spamassassin ... spamassassin unix - n n - - pipe flags=R user=nobody argv=/usr/bin/spamc -u ${user} -e /usr/sbin/send

Re: ${user} parameter with pipe to spamc

2011-04-22 Thread Noel Jones
On 4/22/2011 1:31 PM, Roy McMorran wrote: Greetings, I'm attempting to use the following in master.cf to integrate with SpamAssassin: smtp inet n - n - - smtpd -o content_filter=spamassassin ... spamassassin unix - n n - - pipe flags=R user=nobody argv=/usr/bin/spamc -u ${user} -e /usr/sbin/sen

header_checks and multi line headers

2011-04-22 Thread b...@bitrate.net
i'm experimenting with removing certain "internal" received headers, and am having trouble constructing a proper header check to match headers which span multiple lines. cat test_message Delivered-To: f...@example.com Return-Path: Received: from localhost (localhost [127.0.0.1]) by m

Re: header_checks and multi line headers

2011-04-22 Thread Wietse Venema
b...@bitrate.net: > >postmap -q - regexp:./header_checks-ignored < test_message You need to tell postmap that the file contains an email message. Wietse POSTMAP(1) POSTMAP(1) NAME postmap - Postfix lookup table management

Re: header_checks and multi line headers

2011-04-22 Thread Noel Jones
On 4/22/2011 3:21 PM, b...@bitrate.net wrote: i'm experimenting with removing certain "internal" received headers, and am having trouble constructing a proper header check to match headers which span multiple lines. cat test_message Delivered-To: f...@example.com Return-Path: Received: from l

Re: ${user} parameter with pipe to spamc

2011-04-22 Thread Roy McMorran
On 4/22/11 2:54 PM, Noel Jones wrote: On 4/22/2011 1:31 PM, Roy McMorran wrote: Greetings, I'm attempting to use the following in master.cf to integrate with SpamAssassin: smtp inet n - n - - smtpd -o content_filter=spamassassin ... spamassassin unix - n n - - pipe flags=R user=nobody argv=/us

Re: header_checks and multi line headers

2011-04-22 Thread ben thielsen
> b...@bitrate.net: >>> postmap -q - regexp:./header_checks-ignored < test_message > > You need to tell postmap that the file contains an email message. ugh. i knew this too, and was even doing it last night when originally testing. thanks. so - given that oversight, and also switching to pcr

Re: header_checks and multi line headers

2011-04-22 Thread Noel Jones
On 4/22/2011 5:18 PM, ben thielsen wrote: b...@bitrate.net: postmap -q - regexp:./header_checks-ignored< test_message You need to tell postmap that the file contains an email message. ugh. i knew this too, and was even doing it last night when originally testing. thanks. so - given that

Re: header_checks and multi line headers

2011-04-22 Thread ben thielsen
> I copied your test message and expression. It works for me. > > postmap -hq - pcre:./header_checks-ignored< test_message > Received: from localhost (localhost [127.0.0.1]) >by mta.example.com (Postfix) with ESMTP id 76ABF40DF1 >for ; Tue, 19 Apr 2011 22:50:30 -0400 (EDT) IGNOR

Re: header_checks and multi line headers

2011-04-22 Thread ben thielsen
> i've shortened it to a very rudimentary expression and just a single line > match - it appears to be related somehow to the -h argument: > >> cat header_checks-ignored > /^Received/ IGNORE > >> postmap -q - pcre:./header_checks-ignored < test_message > Received: from localhost (localhost [12

Re: header_checks and multi line headers

2011-04-22 Thread Noel Jones
On 4/22/2011 6:41 PM, ben thielsen wrote: there must be something basic i'm overlooking? i'm a fool. Cool! Me too! but I'm working on lowering the percentage. this all works just as it should, when the operator does what he should. Glad you got it working. Peace, -- Noel Jones

How to send Maximum Mails using Postfix

2011-04-22 Thread Johan Pappu
How can I send 10 mails using postfix in 5 minutes.

[OT] Re: How to send Maximum Mails using Postfix

2011-04-22 Thread Mihira Fernando
How can I send 10 mails using postfix in 5 minutes. Get 2 postfix smtp servers and send 1 mail to each of them every minute. :P

Re: [OT] Re: How to send Maximum Mails using Postfix

2011-04-22 Thread Johan Pappu
But I want to send it using one SMTP server On Sat, Apr 23, 2011 at 11:41 AM, Mihira Fernando wrote: > How can I send 10 mails using postfix in 5 minutes. >> > Get 2 postfix smtp servers and send 1 mail to each of them every > minute. :P >

Re: How to send Maximum Mails using Postfix

2011-04-22 Thread Patrick Ben Koetter
* Johan Pappu : > How can I send 10 mails using postfix in 5 minutes. That's about 33 msg/sec. Disc IO and DNS lookup speed limit SMTP. To get the disc performance people use (good) RAID controllers and more than 4 discs (the more spindles the better) running as RAID 10 to put the /var/spool/

Re: How to send Maximum Mails using Postfix

2011-04-22 Thread Patrick Ben Koetter
* Patrick Ben Koetter : > * Johan Pappu : > > How can I send 10 mails using postfix in 5 minutes. > > That's about 33 msg/sec. Sorry, make that 333 msg/sec. I that case it all depends on what you do with the message. Should each message be virus scanned or even be spam scanned? Who will rece

Re: How to send Maximum Mails using Postfix

2011-04-22 Thread Johan Pappu
We do not scan any messages for virus On Sat, Apr 23, 2011 at 12:00 PM, Patrick Ben Koetter wrote: > * Patrick Ben Koetter : > > * Johan Pappu : > > > How can I send 10 mails using postfix in 5 minutes. > > > > That's about 33 msg/sec. > > Sorry, make that 333 msg/sec. > > I that case it all