sender verification

2009-07-07 Thread K bharathan
is it effective if i use sender verification; i understand there is a risk of getting blacklisted the mail server that's doing the SAV; what could be the guidelines for putting this in postfix guidance appreciated

Re: Address Extensions

2009-07-07 Thread Noel Jones
Sahil Tandon wrote: On Tue, 07 Jul 2009, Sahil Tandon wrote: On Tue, 07 Jul 2009, Daniel L. Miller wrote: So...my initial thought was I'd have to create a public Internet name for the fax gateway, and apply some level of security to only accept submissions from Intuit. However, I'm now wo

Re: Address Extensions

2009-07-07 Thread Sahil Tandon
On Tue, 07 Jul 2009, Sahil Tandon wrote: > On Tue, 07 Jul 2009, Daniel L. Miller wrote: > > > So...my initial thought was I'd have to create a public Internet name > > for the fax gateway, and apply some level of security to only accept > > submissions from Intuit. However, I'm now wondering

Re: abort when client disconnects

2009-07-07 Thread Kouhei Sutou
In <20090707143705.gp12...@hn305c2n2.ms.com> "Re: abort when client disconnects" on Tue, 7 Jul 2009 10:37:05 -0400, Victor Duchovni wrote: >> > This will likely be obsoleted by the upcoming "postscreen" feature >> > under development for 2.7. So I don't expect this to be implemented >> > any

Re: Address Extensions

2009-07-07 Thread Sahil Tandon
On Tue, 07 Jul 2009, Daniel L. Miller wrote: > So...my initial thought was I'd have to create a public Internet name > for the fax gateway, and apply some level of security to only accept > submissions from Intuit. However, I'm now wondering if I can accomplish > the same thing by using add

Re: Recommended way to (quickly) get total mail queue size?

2009-07-07 Thread Barney Desmond
2009/7/8 Wietse Venema : > It's a time limit.  After $daemon_timeout (default: 18000s, or 5 > hours) the mailq/postqueue queue listing will be aborted. Alas, that won't save us. For monitoring purposes, you'd be checking queue size every 5 *minutes* or so. And if our customers are anything to go b

Re: Secondary Server

2009-07-07 Thread The Doctor
On Tue, Jul 07, 2009 at 11:20:56PM +0200, Benny Pedersen wrote: > > On Tue, July 7, 2009 07:25, The Doctor wrote: > > On Tue, Jul 07, 2009 at 07:04:57AM +0200, Benny Pedersen wrote: > >> > >> On Tue, July 7, 2009 07:00, The Doctor wrote: > >> > >> > Huh? Why is postfix overriding localhost? > >>

Re: Open Relay (???)

2009-07-07 Thread Victor Duchovni
On Tue, Jul 07, 2009 at 05:24:02PM -0400, Terry Carmen wrote: > > Jul 7 17:54:01 mx postfix/smtpd[31079]: disconnect from > > localhost.localdomain[127.0.0.1] > > > It looks like the mail is coming from a process running on your server > (localhost). No, the OP is just reporting the wrong part

Re: Open Relay (???)

2009-07-07 Thread Terry Carmen
> Jul 7 17:54:01 mx postfix/smtpd[31079]: disconnect from > localhost.localdomain[127.0.0.1] It looks like the mail is coming from a process running on your server (localhost). Do you host any websites, run webmail or have any local users? If you're lucky, the "cleanup" line will contain a mes

Re: Secondary Server

2009-07-07 Thread Benny Pedersen
On Tue, July 7, 2009 07:25, The Doctor wrote: > On Tue, Jul 07, 2009 at 07:04:57AM +0200, Benny Pedersen wrote: >> >> On Tue, July 7, 2009 07:00, The Doctor wrote: >> >> > Huh? Why is postfix overriding localhost? >> >> postconf -n >> >> none have so far as i know a working crystall ball :) >> >>

Address Extensions

2009-07-07 Thread Daniel L. Miller
I'm trying to implement a mail-to-fax gateway, and I thought address extensions might help me. If I'm approaching this wrong please correct me. I've already proven to myself that I can define a fax service in master.cf, add a fax transport mapping, and it works great. However, this uses a ho

Re: Open Relay (???)

2009-07-07 Thread Márcio Luciano Donada
Terry Carmen escreveu: >> Hi People >> Very strange what is happening today, so I see my server seems to be >> accepting connections from outside to send e-mail, the message as shown >> below (pfqueue) >> >> 5x message_arrival_time: Tue Jul 7 05:40:57 2009 >> >> >> 9x create_time: Tue Jul 7 05

Re: Open Relay (???)

2009-07-07 Thread Terry Carmen
> Hi People > Very strange what is happening today, so I see my server seems to be > accepting connections from outside to send e-mail, the message as shown > below (pfqueue) > > 5x message_arrival_time: Tue Jul 7 05:40:57 2009 > > > 9x create_time: Tue Jul 7 05:40:57 2009 > Please post the

Open Relay (???)

2009-07-07 Thread Márcio Luciano Donada
Hi People Very strange what is happening today, so I see my server seems to be accepting connections from outside to send e-mail, the message as shown below (pfqueue) 5x message_arrival_time: Tue Jul 7 05:40:57 2009 9x create_time: Tue Jul 7 05:40:57 2009 9x named_attribute: rewrite_con

Re: Recommended way to (quickly) get total mail queue size?

2009-07-07 Thread Wietse Venema
Bill Anderson: > > > > Slowest: mailq/postqueue -p, because that opens each file. > > > This would also be unwise given that mailq/postqueue -p can return > incomplete results when the number queued files gets large - or more > accurately that there is a limit to the amount of data mailq will

Re: Postfix SMTP Auth and OpenLDAP

2009-07-07 Thread Patrick Ben Koetter
* Terry L. Inzauro : > can you elaborate a little more on the postfix -> dovecot -> ldap setup? is > there a specifc reason why dovecot was used? can courier imap be used? You may use Cyrus SASL with authdaemond. The authdaemond password verification service in Cyrus SASL communicates with Courier

Re: Recommended way to (quickly) get total mail queue size?

2009-07-07 Thread Bill Anderson
Slowest: mailq/postqueue -p, because that opens each file. This would also be unwise given that mailq/postqueue -p can return incomplete results when the number queued files gets large - or more accurately that there is a limit to the amount of data mailq will show and thus it isn't spec

Re: Postfix SMTP Auth and OpenLDAP

2009-07-07 Thread Victoriano Giralt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Terry L. Inzauro wrote: | can you elaborate a little more on the postfix -> dovecot -> ldap setup? | is there a specifc reason why dovecot was used? can | courier imap be used? The reason for Dovecot is that is has a very nice and clean SASL implement

Re: Recommended way to (quickly) get total mail queue size?

2009-07-07 Thread Victor Duchovni
On Tue, Jul 07, 2009 at 10:19:23AM -0700, Stuart Matthews wrote: > I just use: > mailq|grep Requests This does not reduce the I/O cost of reading all those queue files... The OP requested an efficient method for large queues. -- Viktor. Disclaimer: off-list followups get on-list replie

Re: Recommended way to (quickly) get total mail queue size?

2009-07-07 Thread Barney Desmond
2009/7/8 Stuart Matthews : > I just use: > mailq|grep Requests Except that this method was expressly *not* desired because it's so slow... (nb: mailq is a sendmail-compat feature that calls postqueue) I'll be taking home some of these nice improvements, though. :)

Re: Recommended way to (quickly) get total mail queue size?

2009-07-07 Thread Stuart Matthews
I just use: mailq|grep Requests - Stu Michael Durket wrote: > In situations where there are tens of thousands of messages piling up in > the Postfix mail queue, running a 'postqueue -p' command and then > waiting until the last line prints isn't a very timely way to find out the > current queue s

Re: Need to create a mail dead-end or "super" catch-all

2009-07-07 Thread Victor Duchovni
On Tue, Jul 07, 2009 at 12:09:55PM -0400, R.P. Aditya wrote: > > The virtual_alias_domains feature is implemented in trivial-rewrite(8) > > not smtpd(8). > > > > The virtual_alias_maps feature is implemented jointly by smtpd(8) > > (validation) and cleanup(8) (rewriting). > > ah, okay, so I can'

Re: Recommended way to (quickly) get total mail queue size?

2009-07-07 Thread Victor Duchovni
On Tue, Jul 07, 2009 at 11:47:51AM -0400, Wietse Venema wrote: > Michael Durket: > > In situations where there are tens of thousands of messages piling up in > > the Postfix mail queue, running a 'postqueue -p' command and then > > waiting until the last line prints isn't a very timely way to find

Re: Recommended way to (quickly) get total mail queue size?

2009-07-07 Thread Simon Waters
On Tuesday 07 July 2009 16:15:06 Michael Durket wrote: > > So what's the best way to quickly (i.e. less than a few seconds) get the > current queue count out of Postfix? man qshape

Re: Need to create a mail dead-end or "super" catch-all

2009-07-07 Thread R.P. Aditya
On Tue, Jul 07, 2009 at 11:44:17AM -0400, Victor Duchovni wrote: > On Tue, Jul 07, 2009 at 03:24:37PM +, R.P. Aditya wrote: > > > I'm trying to do this on a second smtpd process running on a non-standard > > port: > > > > master.cf > > 2025 inet n - n - -

Re: Recommended way to (quickly) get total mail queue size?

2009-07-07 Thread Trey Briggs
On Tue, Jul 7, 2009 at 10:47 AM, Wietse Venema wrote: > Slower: a suitable incantation of the find command. > Here's that one: #!/bin/sh qdir=`postconf -h queue_directory` incoming=`find $qdir/incoming -type f -print | wc -l | awk '{print $1}'` activeonly=`find $qdir/active -type f -print | wc

Re: Delayed Duplicate Emails

2009-07-07 Thread Wietse Venema
Denver Timothy: > [I apologize if this is the second time sending this. I did not see it > show up the first time.] > > > Hello, > > I am currently experiencing a situation where one user, and only user, > receives a duplicate copy of every message. However, the duplicate > message is not

Re: Recommended way to (quickly) get total mail queue size?

2009-07-07 Thread Wietse Venema
Michael Durket: > In situations where there are tens of thousands of messages piling up in > the Postfix mail queue, running a 'postqueue -p' command and then > waiting until the last line prints isn't a very timely way to find out > the > current queue size (I'm thinking in terms of a periodic m

Re: Need to create a mail dead-end or "super" catch-all

2009-07-07 Thread Victor Duchovni
On Tue, Jul 07, 2009 at 03:24:37PM +, R.P. Aditya wrote: > I'm trying to do this on a second smtpd process running on a non-standard > port: > > master.cf > 2025 inet n - n - - smtpd -o > virtual_alias_maps=static:realmailaddr...@example.com -o > virtual_

Re: Need to create a mail dead-end or "super" catch-all

2009-07-07 Thread R . P . Aditya
Wietse Venema porcupine.org> writes: > Wietse Venema: > > Noel Jones: > > > Don't bash OP too hard. He got bit by the interaction of the > > > default value of virtual_alias_domains = $virtual_alias_maps > > > and a static map in virtual_alias_maps. That made every > > > domain match the virt

Some early postscreen results

2009-07-07 Thread Wietse Venema
Postscreen is the code name for a new daemon that sits in front of Postfix and that does connection-level filtering. The program is is currently available as unsupported, non-production code. Early results for seven days of spam were presented at the 2009 Mailserver conference in Berlin: * An

Re: Postfix SMTP Auth and OpenLDAP

2009-07-07 Thread Terry L. Inzauro
Jose Ildefonso Camargo Tolosa wrote: > Hi! > > On Tue, Jul 7, 2009 at 3:16 PM, Victor Duchovni > > wrote: > > On Mon, Jul 06, 2009 at 09:36:17PM +0200, Patrick Ben Koetter wrote: > > > * Terry L. Inzauro >:

Recommended way to (quickly) get total mail queue size?

2009-07-07 Thread Michael Durket
In situations where there are tens of thousands of messages piling up in the Postfix mail queue, running a 'postqueue -p' command and then waiting until the last line prints isn't a very timely way to find out the current queue size (I'm thinking in terms of a periodic monitor like Nagios for e

Delayed Duplicate Emails

2009-07-07 Thread Denver Timothy
[I apologize if this is the second time sending this. I did not see it show up the first time.] Hello, I am currently experiencing a situation where one user, and only user, receives a duplicate copy of every message. However, the duplicate message is not received until sometime later, fo

Re: Postfix SMTP Auth and OpenLDAP

2009-07-07 Thread Jose Ildefonso Camargo Tolosa
Hi! On Tue, Jul 7, 2009 at 3:16 PM, Victor Duchovni < victor.ducho...@morganstanley.com> wrote: > On Mon, Jul 06, 2009 at 09:36:17PM +0200, Patrick Ben Koetter wrote: > > > * Terry L. Inzauro : > > > What is the recommended and most scalable method for implementing SMTP > Auth > > > against OpenL

Re: abort when client disconnects

2009-07-07 Thread Victor Duchovni
On Tue, Jul 07, 2009 at 05:46:15PM +0900, Kouhei Sutou wrote: > Hi, > > In <20090706172326.gx2...@hn305c2n2.ms.com> > "Re: abort when client disconnects" on Mon, 6 Jul 2009 13:23:26 -0400, > Victor Duchovni wrote: > > > On Mon, Jul 06, 2009 at 12:04:32PM +0900, Kouhei Sutou wrote: > > > >>

Re: Mutt, postfix setup for multiple e-mail accounts

2009-07-07 Thread Victor Duchovni
On Tue, Jul 07, 2009 at 09:43:06AM -0400, Jorey Bump wrote: > Vikas Rawal wrote, at 07/06/2009 07:41 PM: > > On my laptop, I use mutt with postfix for sending e-mails > > FWIW, recent development versions of mutt support SMTP: > > http://www.mutt.org/doc/devel/manual.html#smtp > > I haven't t

Re: Mutt, postfix setup for multiple e-mail accounts

2009-07-07 Thread Jorey Bump
Vikas Rawal wrote, at 07/06/2009 07:41 PM: > On my laptop, I use mutt with postfix for sending e-mails FWIW, recent development versions of mutt support SMTP: http://www.mutt.org/doc/devel/manual.html#smtp I haven't tried it yet, but I plan to. Although I used mutt often, lack of built-in SMTP

Elimination of duplicate mails.

2009-07-07 Thread Aravind M D
Hi All, I have configured always_bcc to send a copy of all the mails which is sending and recieving by my mailserver to a single mailbox.What happening is when i am sending a mail and put a "cc" address to three or four email address, my archive mailbox is recieving the same mail two or thre

Re: private/relay socket: malformed response

2009-07-07 Thread Wietse Venema
Kammen van, Marco, Springer SBM NL: > Jul 7 12:23:04 servername postfix/qmgr[32036]: warning: transport relay > failure -- see a previous warning/fatal/panic logfile record for the > problem description If the above suggestion was not clear enough, then the following one may help: Wietse

private/relay socket: malformed response

2009-07-07 Thread Kammen van, Marco, Springer SBM NL
Hi All, The last couple of days I'm seeing more and more of these errors: Jul 7 12:23:04 servername postfix/master[4219]: warning: process /usr/local/postfix/libexec/smtp pid 13490 exit status 1 Jul 7 12:23:04 servername postfix/qmgr[32036]: warning: private/relay socket: malformed respo

Re: abort when client disconnects

2009-07-07 Thread Kouhei Sutou
Hi, In <20090706172326.gx2...@hn305c2n2.ms.com> "Re: abort when client disconnects" on Mon, 6 Jul 2009 13:23:26 -0400, Victor Duchovni wrote: > On Mon, Jul 06, 2009 at 12:04:32PM +0900, Kouhei Sutou wrote: > >> > He means the ability to stop sleeping as soon as the client disconnects. >> >

reject mail from u...@mydomain.tld if not SASL or mynetworks?

2009-07-07 Thread Tomasz Chmielewski
From time to time, I receive spam from someu...@mydomain.tld, sent from some exotic part of the world. I would like to reject the mail from all @mydomain.tld addresses if it's not: - sent from mynetworks - sent using SASL auth Is it possible? -- Tomasz Chmielewski http://wpkg.org