Re: New to PF, IO bound query

2008-08-30 Thread mouss
Eddie b wrote: Hello, Well firstly, I hope my postfix experience is going to better than the pathetic ancient mailing list server that took 3 attempts with gmail in subscriber confirmations... Anyways... I am looking at replacing our outdated Qmail/ Vpopmail system, I've read the docs and it see

Re: Daemon To Execute Commands

2008-08-30 Thread mouss
Alan Hicks wrote: On Sat, 30 Aug 2008 00:57:51 +0200 "Marcel Grandemange" <[EMAIL PROTECTED]> wrote: Im looking for a programme that can run in daemon mode and watch one of my mbox male files. male??? :) The idea I have is I would like to have the ability to send a email to one of my addre

Re: Reject Based On Senders Email Address

2008-08-30 Thread Magnus Bäck
On Friday, August 29, 2008 at 20:13 CEST, [EMAIL PROTECTED] wrote: > Thank you, but the lest time I tried using check_sender_access I ran > into trouble. How so? > Would it be possible to force domain verification on a per domain > basis, where the domain I want verified would be contained

Re: Reject Based On Senders Email Address

2008-08-30 Thread Magnus Bäck
On Friday, August 29, 2008 at 20:15 CEST, [EMAIL PROTECTED] wrote: > > Do not start new topics by replying to old messages in old and > > unrelated threads. Do use the "compose new message" feature of > > your MUA. > > By the way, how did you catch this? Decent MUAs display the threads as t

[OT] Replacing Postfix servers

2008-08-30 Thread Stefan Jakobs
Hello list, In the moment our mailtraffic is handled by four mailgateways which are reachable through one round-robin dns-mx record. Each gateway runs postfix, amavisd, spamassassin and clamav. The four gateways handle 2.8 millions connections a day. My employee likes to replace the gateways wi

Re: [OT] Replacing Postfix servers

2008-08-30 Thread Per Jessen
Stefan Jakobs wrote: > 3) Keep the actual server organisation: 4 servers with postfix, > amavisd, spamassassin, clamav. > Advantage: Known configuration, easy to extend > Disadvantage: problem with loadbalancing This is the option I would choose. What is the load-balancing problems you're having

Question about log messages and connection caching

2008-08-30 Thread Per Jessen
I'm using postfix 2.5.4. When I read the following in the log: postfix1/smtp[18518]: 4AD0517085: to=<[EMAIL PROTECTED]>, relay=myserver[myipaddr]:25, conn_use=4, delay=7.8, delays=7.6/0/0.03/0.08, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as F3241EDAA) I tend to think that _one_ email has bee

Re: Question about log messages and connection caching

2008-08-30 Thread Ralf Hildebrandt
* Per Jessen <[EMAIL PROTECTED]>: > I'm using postfix 2.5.4. > > When I read the following in the log: > > postfix1/smtp[18518]: 4AD0517085: to=<[EMAIL PROTECTED]>, > relay=myserver[myipaddr]:25, conn_use=4, delay=7.8, > delays=7.6/0/0.03/0.08, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as > F3

Re: Question about log messages and connection caching

2008-08-30 Thread Per Jessen
Ralf Hildebrandt wrote: > * Per Jessen <[EMAIL PROTECTED]>: >> I'm using postfix 2.5.4. >> >> When I read the following in the log: >> >> postfix1/smtp[18518]: 4AD0517085: to=<[EMAIL PROTECTED]>, >> relay=myserver[myipaddr]:25, conn_use=4, delay=7.8, >> delays=7.6/0/0.03/0.08, dsn=2.0.0, status=

Re: Creating a dummy filter

2008-08-30 Thread Stefan Palme
On Fri, 2008-08-29 at 09:39 -1000, Camron W. Fox wrote: > Noel Jones wrote: > > Camron W. Fox wrote: > >> Alle, > >> > >> We would like to filter all internal email so that it bypasses > >> SpamAssassin. We have set up per_client_filters using: > >> > >> smtpd_client_restrictions = > >> ch

Re: Question about log messages and connection caching

2008-08-30 Thread Ralf Hildebrandt
* Per Jessen <[EMAIL PROTECTED]>: > Aug 30 10:49:24 postfix1/smtp[18518]: > Aug 30 10:49:52 postfix1/smtp[18518]: > Aug 30 10:49:53 postfix1/smtp[18518]: conn_use=2, > Aug 30 10:49:54 postfix1/smtp[18518]: conn_use=4, > Aug 30 10:49:55 postfix1/smtp[18518]: conn_use=6, > Aug 30 10:49:56 postfix1

Re: Question about log messages and connection caching

2008-08-30 Thread Per Jessen
Ralf Hildebrandt wrote: > Odd, it works here: > > # fgrep "postfix/smtp[12851]" /var/log/mail.log| awk '{print $9}' > delay=0.74, > conn_use=2, > conn_use=3, > delay=0.18, > conn_use=4, > conn_use=5, I've got more: fgrep "postfix1/smtp[29938]" /var/log/mail | awk '{print $1" "$2" "$3" "$9}' Au

Re: Question about log messages and connection caching

2008-08-30 Thread Wietse Venema
When Postfix reuses an SMTP connection, it may actually be reused in a different SMTP client process. This maximizes reuse and minimizes the time that a connection sits idle. This is different from Sendmail or Exim, where a connection can be reused only in the process that creates that connection.

Re: Question about log messages and connection caching

2008-08-30 Thread Per Jessen
Wietse Venema wrote: > When Postfix reuses an SMTP connection, it may actually be reused > in a different SMTP client process. This maximizes reuse and > minimizes the time that a connection sits idle. > > This is different from Sendmail or Exim, where a connection can be > reused only in the pro

Re: Question about log messages and connection caching

2008-08-30 Thread Wietse Venema
Per Jessen: > Wietse Venema wrote: > > > When Postfix reuses an SMTP connection, it may actually be reused > > in a different SMTP client process. This maximizes reuse and > > minimizes the time that a connection sits idle. > > > > This is different from Sendmail or Exim, where a connection can b

Re: Fixing a SASL AUTH Problem

2008-08-30 Thread Graham Leggett
Rich Shepard wrote: I just ran testsaslauthd for my wife's account from the server: [EMAIL PROTECTED] ~]# testsaslauthd -u pamela -p 0: OK "Success." You're testing this while running as root - you need to test this running as the system user that ultimately will be used to run postfix.

Re: Question about log messages and connection caching

2008-08-30 Thread Per Jessen
Wietse Venema wrote: >> Whilst on the subject of connection caching, I assume postfix will >> (have >> to) do a RSET between each reuse of a connection? (just a sanity >> check on my part). > > Of course. See http://www.postfix.org/CONNECTION_CACHE_README.html > > Wietse One more question then

Re: New to PF, IO bound query

2008-08-30 Thread mouss
Eddie b wrote: [snip] I know I can configure it the way I want writing perl scripts to split off, using say the first and then second chars of users login name using postfix's internal virtual, but using dovecot gives me greater flexibility dovecot LDA is useful if you want to use its sieve fea

Re: Creating a dummy filter

2008-08-30 Thread mouss
Stefan Palme wrote: On Fri, 2008-08-29 at 09:39 -1000, Camron W. Fox wrote: Noel Jones wrote: Camron W. Fox wrote: Alle, We would like to filter all internal email so that it bypasses SpamAssassin. We have set up per_client_filters using: smtpd_client_restrictions = check_client_ac

Re: Reject Based On Senders Email Address

2008-08-30 Thread mouss
Magnus Bäck wrote: On Friday, August 29, 2008 at 20:15 CEST, [EMAIL PROTECTED] wrote: Do not start new topics by replying to old messages in old and unrelated threads. Do use the "compose new message" feature of your MUA. By the way, how did you catch this? Decent MUAs display the threa

Re: newbie postfix user

2008-08-30 Thread mouss
gishaust wrote: hi everyone, I have been working on putting postfix email server on unbuntu 8.04 server and after a very steep learn curve think I am ready to go online. But I don't know if it is secure so below is what i have done. I need to know if I have missed anything. So does anyone hav

Re: Question about log messages and connection caching

2008-08-30 Thread Wietse Venema
Per Jessen: [ Charset UTF-8 unsupported, converting... ] > Wietse Venema wrote: > > >> Whilst on the subject of connection caching, I assume postfix will > >> (have > >> to) do a RSET between each reuse of a connection? (just a sanity > >> check on my part). > > > > Of course. See http://www.pos

Redundant postfix MX's

2008-08-30 Thread Matthew Crowe
Hi, Running 2 servers, different locations geographically. I'd like to have them both store emails for a domain locally, and transfer them between each other. The virtual_alias_maps/domains are stored in a mysql db thats already being replicated. Mainly I just need a configuration that if

Re: Redundant postfix MX's

2008-08-30 Thread Wietse Venema
Matthew Crowe: [ Charset ISO-8859-1 unsupported, converting... ] > Hi, > > Running 2 servers, different locations geographically. I'd like to have > them both store emails for a domain locally, and transfer them between > each other. The virtual_alias_maps/domains are stored in a mysql db > t

quarantine utility ?

2008-08-30 Thread Pierre Malard
Hi, I have a postfix+amavisd-new+spamassassin+clamav mail server which is configured to store virus mail on a quarantine folder as standard configuration. Ok, it's a good way but I have just a few questions about quarantine strategy : How end-users can manage their quaratined message with

Re: quarantine utility ?

2008-08-30 Thread mouss
Pierre Malard wrote: Hi, I have a postfix+amavisd-new+spamassassin+clamav mail server which is configured to store virus mail on a quarantine folder as standard configuration. Ok, it's a good way but I have just a few questions about quarantine strategy : How end-users can manage their quar

Re: Fixing a SASL AUTH Problem

2008-08-30 Thread Rich Shepard
On Sat, 30 Aug 2008, Graham Leggett wrote: You're testing this while running as root - you need to test this running as the system user that ultimately will be used to run postfix. Graham, Wietse, Noel, mouss: I turned off SASL authorization and returned to the status we had for years. Sinc

Re: [OT] Replacing Postfix servers

2008-08-30 Thread Sahil Tandon
Stefan Jakobs <[EMAIL PROTECTED]> wrote: > 3) Keep the actual server organisation: 4 servers with postfix, > amavisd, spamassassin, clamav. > Advantage: Known configuration, easy to extend > Disadvantage: problem with loadbalancing Would you describe the problem you're having with load balancing

Safe to delete old emails in defer directory?

2008-08-30 Thread Francisco Reyes
I have searched the web for the difference between defer and deferred without any luck. I have several machines with different versions of postfix that have old emails in the defer directory. Are those old emails safe to delete? One machine has files in that directory over a year old and the o

Re: New to PF, IO bound query

2008-08-30 Thread Eddie b
On Sun, Aug 31, 2008 at 2:48 AM, mouss <[EMAIL PROTECTED]> wrote: > > dovecot LDA is useful if you want to use its sieve features. > Yes we are hoping to , so we can move spam to a junk folder for them and so on. > > > select concat('/var/Mail/', %d, '/' , substring(%u, 1, 1), '/', >sub

Re: Safe to delete old emails in defer directory?

2008-08-30 Thread Wietse Venema
Francisco Reyes: > I have searched the web for the difference between defer and deferred > without any luck. When everything fails, read the documentation. If you type "defer" into the search window at http://www.postfix.org/, the defer directory is explained in the first paragraph of the first

Re: New to PF, IO bound query

2008-08-30 Thread mouss
Eddie b wrote: On Sun, Aug 31, 2008 at 2:48 AM, mouss <[EMAIL PROTECTED]> wrote: dovecot LDA is useful if you want to use its sieve features. Yes we are hoping to , so we can move spam to a junk folder for them and so on. select concat('/var/Mail/', %d, '/' , substring(%u, 1, 1), '/',

Re: postfix-policyd-spf

2008-08-30 Thread mouss
LuKreme wrote: On 21-Aug-2008, at 11:26, mouss wrote: Erm... at least that was in postfix22, not sure if it's in 2.5.x That's the third-party spf patch. It's still available in the ports. I don't see it. must be an old ports tree? # cd /usr/ports/mail/postfix; make config