Re: Fighting Backscatter

2010-10-21 Thread Stan Hoeppner
Brian Evans - Postfix List put forth on 10/20/2010 12:57 PM: > In your opinion, would check_reverse_client_hostname_access (Postfix > 2.6+) work better here? > Many dynamic zombies don't always resolve forward. Operationally it probably won't make a difference as most ISPs who bother to assign rd

virtual users and accepting mail for /^prefix...@.+$/ regex

2010-10-21 Thread Tomasz Chmielewski
I'm trying to configure Postfix to accept mail for addresses matching the /^prefix...@.+$/ regex only. I can do this with: virtual_alias_maps = regexp:/etc/postfix/virtual virtual_maps = regexp:/etc/postfix/virtual mydestination = $myhostname, localhost.$mydomain, localhost, regexp:/etc/postfi

Re: virtual users and accepting mail for /^prefix...@.+$/ regex

2010-10-21 Thread Wietse Venema
Tomasz Chmielewski: > I'm trying to configure Postfix to accept mail for addresses > matching the /^prefix...@.+$/ regex only. /etc/postfix/main.cf: smtpd_recipient_restrictions = ... check_recipient_access pcre:/etc/postfix/access.pcre /etc/postfix/access.pcre: /^prefix-/

Default transport

2010-10-21 Thread Patric Falinder
Hi, I'm wondering if it's smart to set a "default transport" like this "*...@*" to "smtp:[mail.server.com]" so I don't have to specify for every domain that I have on the server, and would just have to specify for those who need a different transport? I have a smtp-server that checks for spa

Re: Source code change for verp always

2010-10-21 Thread Victor Duchovni
On Wed, Oct 20, 2010 at 09:20:42PM +0530, Ramprasad wrote: > On one of my servers (postfix 2.7) I need to do verp in such a way that > I need to add recipient-id to envelope sender > > so if sender is r...@senderdomain.tld -->ram-1...@senderdomain.tld > is the numeric id of the recipient.

Re: Source code change for verp always

2010-10-21 Thread Wietse Venema
Ramprasad: > On one of my servers (postfix 2.7) I need to do verp in such a way that > I need to add recipient-id to envelope sender > > so if sender is r...@senderdomain.tld -->ram-1...@senderdomain.tld > is the numeric id of the recipient. Postfix VERP works in a different way. It puts

Re: Default transport

2010-10-21 Thread Victor Duchovni
On Thu, Oct 21, 2010 at 03:12:09PM +0200, Patric Falinder wrote: > I'm wondering if it's smart to set a "default transport" like this "*...@*" > to > "smtp:[mail.server.com]" so I don't have to specify for every domain that I > have on the server, and would just have to specify for those who ne

Re: Request for help with redesign of Postfix Configuration File ...

2010-10-21 Thread Christopher Koeber
On Thu, Oct 21, 2010 at 7:24 AM, Charles Marcus wrote: > > Do you understand what I meant by ^^^ that? It really does make working > with postfix easier if you comment out 'defaults'... I cut my postconf > -n output in half by doing this. > > Just compare output of postconf -d (gives you the defau

Re: Request for help with redesign of Postfix Configuration File ...

2010-10-21 Thread Victor Duchovni
On Thu, Oct 21, 2010 at 12:49:32PM -0400, Christopher Koeber wrote: > After making the changes where only I was explicitly setting things to what > I needed them to be versus the default the postfix system seems faster, too! This is an optical illusion. Removing default settings simplifies your c

Re: Request for help with redesign of Postfix Configuration File ...

2010-10-21 Thread Christopher Koeber
On Thu, Oct 21, 2010 at 1:06 PM, Victor Duchovni < victor.ducho...@morganstanley.com> wrote: > On Thu, Oct 21, 2010 at 12:49:32PM -0400, Christopher Koeber wrote: > > > After making the changes where only I was explicitly setting things to > what > > I needed them to be versus the default the post

Re: question about notifications

2010-10-21 Thread John Watson
I am close to getting the always_bcc option working. I created an alias in the mysql alias table that has 'autoreply' mapped to '| /path/to/myscript'. I setup always_bcc to send messages to 'autoreply'. In the /var/log/maillog I can see that postfix is attempting to cc the message to my alias but r

Re: question about notifications

2010-10-21 Thread Brian Evans - Postfix List
On 10/21/2010 3:06 PM, John Watson wrote: I am close to getting the always_bcc option working. I created an alias in the mysql alias table that has 'autoreply' mapped to '| /path/to/myscript'. I setup always_bcc to send messages to 'autoreply'. In the /var/log/maillog I can see that postfix is

Re: Request for help with redesign of Postfix Configuration File ...

2010-10-21 Thread Jeroen Geilman
On 10/21/2010 04:02 AM, Christopher Koeber wrote: On Tue, Oct 19, 2010 at 1:26 PM, Jeroen Geilman > wrote: On 10/19/2010 06:12 PM, Ben McGinnes wrote: Not if the students subdomain has different MX details to the main domain, which appears to be the

recipient limit in policy service

2010-10-21 Thread Christian Roessner
Hi, sorry to ask that, but I try to understand a problem that I found by writing a policy server. If I put it into smtpd_resipient_restrictions and a remote MTA connects, sentds its EHLO, MAIL FROM and then a list of RCPT TOs, postfix switches right after the first user to the policy server and

Re: recipient limit in policy service

2010-10-21 Thread Wietse Venema
Christian Roessner: > Hi, > > sorry to ask that, but I try to understand a problem that I found > by writing a policy server. If I put it into smtpd_resipient_restrictions > and a remote MTA connects, sentds its EHLO, MAIL FROM and then a > list of RCPT TOs, postfix switches right after the first

Postfix 2nd instance

2010-10-21 Thread motty.cruz
Hello, I have two instances of Postfix running on FreeBSD 8.1. First instance of Postfix received email from outside world and deliver it to Amavisd-new. After scanning the email Amavisd-new hand it back to 2nd instance of Postfix. Amavisd-new by default banned *.exe files. I have a genuine email

Re: Fighting Backscatter

2010-10-21 Thread Jeroen Geilman
On 10/21/2010 05:16 AM, Steve Jenkins wrote: Jeroen Geilman said: Make sure you understand the difference between smtpd_reject_unknown_helo_hostname and smtpd_reject_unknown_[reverse_]client_hostname. Ok -- here's what I understand them each to be: - reject_unknown_helo_hostname will reje

Re: Postfix 2nd instance

2010-10-21 Thread Noel Jones
On 10/21/2010 4:31 PM, motty.cruz wrote: Hello, I have two instances of Postfix running on FreeBSD 8.1. First instance of Postfix received email from outside world and deliver it to Amavisd-new. After scanning the email Amavisd-new hand it back to 2nd instance of Postfix. Amavisd-new by default b

can withholding mails ( postsuper -h ... ) help with tens of thousands of spam mails hogging mailq

2010-10-21 Thread sunhux G
Question1: -- Title: tens of thousands of spoof/spam mails hog up mailq : will 'postsuper -h' placed in a crontab help ? I have a case where tens of thousands of spam & spoof emails jammed up my Linux SMTP mail queue (not that I don't have an anti-spam policy but many of these m

Re: can withholding mails ( postsuper -h ... ) help with tens of thousands of spam mails hogging mailq

2010-10-21 Thread Noel Jones
On 10/21/2010 8:36 PM, sunhux G wrote: Question1: -- Title: tens of thousands of spoof/spam mails hog up mailq : will 'postsuper -h' placed in a crontab help ? I have a case where tens of thousands of spam & spoof emails jammed up my Linux SMTP mail queue (not that I don't h

Re: can withholding mails ( postsuper -h ... ) help with tens of thousands of spam mails hogging mailq

2010-10-21 Thread Reinaldo de Carvalho
On Thu, Oct 21, 2010 at 10:36 PM, sunhux G wrote: > > Question1: > -- > Title: tens of thousands of spoof/spam mails hog up mailq : >    will 'postsuper -h' placed in a crontab help ? > > I have a case where tens of thousands of spam & spoof emails jammed up my > Linux SMTP mail qu

Re: can withholding mails ( postsuper -h ... ) help with tens of thousands of spam mails hogging mailq

2010-10-21 Thread Matt Hayes
On 10/21/2010 10:52 PM, Reinaldo de Carvalho wrote: 1. You are a backscatter (e.g. accepting email to unknown users). 2. or Some account has been compromissed and used to sent spam. 3. look this queue GUi: http://sourceforge.net/dbimage.php?id=215498 (korreio.sf.net) Nice software, onl

Re: can withholding mails ( postsuper -h ... ) help with tens of thousands of spam mails hogging mailq

2010-10-21 Thread sunhux G
Next question: Does anyone know the equivalent of sendmail's /var/spool/mqueue and .../clientqueue files in postfix? I plan to use a script to extract out the 'witheld' postfix mails, sieve through it & generate out a list of 'witheld' mails to be deleted. Then use a looping Shell script to rea

Re: Request for help with redesign of Postfix Configuration File ...

2010-10-21 Thread Christopher Koeber
On Thu, Oct 21, 2010 at 4:52 PM, Jeroen Geilman wrote: > > No. > > foo.bar MX 10 foo.bar is unnecessary, as any valid A record can receive > mail. > Since foo.bar has to be an A record (you're using it as the MX value) the > MX record is superfluous. > > -- > J. > > I guess I am being overly ca