Alias problem

2010-12-16 Thread Boštjan Müller
Hi, I have a problem with aliases, and would like to make it work. I have the following situation I have two servers one postfix v 2.0.18 and on the other (new one) v 2.6.5. The problem is that I have migrated some users to the new server and set up transport maps for them on the old server. Th

Re: Load issues with Postfix on FreeBSD

2010-12-16 Thread Scott Lambert
On Thu, Dec 16, 2010 at 05:05:13PM -0500, Wietse Venema wrote: > Scott Lambert: > > > OK, before less-informed people start to spread urban legends, I did > > > all the measurements with the default nsswitch.conf file (see below) > > > which contains the exact same entries that were making your sys

Re: Load issues with Postfix on FreeBSD

2010-12-16 Thread Sahil Tandon
On Thu, 2010-12-16 at 17:05:13 -0500, Wietse Venema wrote: > Scott Lambert: > > > OK, before less-informed people start to spread urban legends, I did > > > all the measurements with the default nsswitch.conf file (see below) > > > which contains the exact same entries that were making your system

Re: using yahoo smtp with several accounts

2010-12-16 Thread Victor Duchovni
On Wed, Dec 15, 2010 at 02:42:00PM +, Roger Dura?ona Vargas wrote: > I have set up sasl and a saslpass file with the first account: > smtp.correo.yahoo.es u...@yahoo.es:pass This is wrong. The lookup key needs to be the sender address, and you need to enable sender-specific SASL lookups, see

Re: .Forward file piping forwarded mail (abort sendmail)

2010-12-16 Thread Eero Volotinen
2010/12/17 selcukyazar : > > > Hi > > Anybody have idea about    | if [ grep '[][{!-]Spam[][?}].*'| nawk '{print > $1}' == 1 ] ...    command works in .forward file ? try procmail or maildrop ? -- Eero

.Forward file piping forwarded mail (abort sendmail)

2010-12-16 Thread selcukyazar
Hi Anybody have idea about| if [ grep '[][{!-]Spam[][?}].*'| nawk '{print $1}' == 1 ] ...command works in .forward file ? thanks. /s selcukyazar wrote: > > Hi > > my .forward manupulation works. > > "| sed -e 's/Subject:/Subject:FW: /g' -e '/'Received:\.\*'/{N;d}'| > /usr/sbin/s

Re: PATCH: using yahoo smtp with several accounts

2010-12-16 Thread Wietse Venema
Wietse Venema: > Noel Jones: > > You need to read and follow these directions: > > http://www.postfix.org/SOHO_README.html#client_sasl_sender > > Roger Dura_ona Vargas: > > Seems that those directins dotn apply when we are talking about yahoo. I > > got the same result, any additional account gets

Re: Load issues with Postfix on FreeBSD

2010-12-16 Thread Wietse Venema
Scott Lambert: > > OK, before less-informed people start to spread urban legends, I did > > all the measurements with the default nsswitch.conf file (see below) > > which contains the exact same entries that were making your system > > crawl. > > > > So, while Postfix is now performing better for y

PATCH: using yahoo smtp with several accounts

2010-12-16 Thread Wietse Venema
Noel Jones: > You need to read and follow these directions: > http://www.postfix.org/SOHO_README.html#client_sasl_sender Roger Dura?ona Vargas: > Seems that those directins dotn apply when we are talking about yahoo. I > got the same result, any additional account gets the 553 error when > sending

Re: Load issues with Postfix on FreeBSD

2010-12-16 Thread Scott Lambert
On Thu, Dec 16, 2010 at 03:00:39PM -0500, Wietse Venema wrote: > Dave Brodin: > > Many thanks to Scott Lambert for what I believe to be the solution > > to my load problem. It was nsswitch.conf which still had all its > > default settings when I began this troubleshooting. I had changed > > all t

Re: using yahoo smtp with several accounts

2010-12-16 Thread Roger Durañona Vargas
Noel Jones escribió: > On 12/15/2010 8:42 AM, Roger Durañona Vargas wrote: >> Alfonso Alejandro Reyes Jimenez escribió: >>> Hi, I'm not an expert on postfix but I think you have an issue with >>> your authentication. >>> >>> Are you sure you are not sending emails with the same username and >>> pas

Re: Load issues with Postfix on FreeBSD

2010-12-16 Thread Dave Brodin
On 12/16/2010 3:00 PM, Wietse Venema wrote: Dave Brodin: [ Charset ISO-8859-1 unsupported, converting... ] Many thanks to Scott Lambert for what I believe to be the solution to my load problem. It was nsswitch.conf which still had all its default settings when I began this troubleshooting. I h

Re: Load issues with Postfix on FreeBSD

2010-12-16 Thread Wietse Venema
Dave Brodin: [ Charset ISO-8859-1 unsupported, converting... ] > Many thanks to Scott Lambert for what I believe to be the solution to my > load problem. It was nsswitch.conf which still had all its default > settings when I began this troubleshooting. I had changed all the > entries from nis

Re: Load issues with Postfix on FreeBSD

2010-12-16 Thread Dave Brodin
Many thanks to Scott Lambert for what I believe to be the solution to my load problem. It was nsswitch.conf which still had all its default settings when I began this troubleshooting. I had changed all the entries from nis to files when he mentioned it a few days ago. But he then suggested c

Re: How can content filter tell if upstream client authenticated?

2010-12-16 Thread Wietse Venema
Jack Bates: > How can a Postfix "content filter" tell whether the upstream client > authenticated or not? > > I'm working on a content filter which should behave differently, > depending on whether the upstream client authenticated to Postfix or not Set "smtpd_sasl_authenticated_header = yes" if

Re: How can content filter tell if upstream client authenticated?

2010-12-16 Thread Victor Duchovni
On Thu, Dec 16, 2010 at 10:16:08AM -0800, Jack Bates wrote: > How can a Postfix "content filter" tell whether the upstream client > authenticated or not? If the top-most Received header matches "with (SMTP|ESMTPS?A?)", the "ESMTPSA" and "ESMTPA" cases correspond to an authenticated client, with o

How can content filter tell if upstream client authenticated?

2010-12-16 Thread Jack Bates
How can a Postfix "content filter" tell whether the upstream client authenticated or not? I'm working on a content filter which should behave differently, depending on whether the upstream client authenticated to Postfix or not

Re: selective behaviour for reject_sender_login_mismatch ?

2010-12-16 Thread Per Jessen
Victor Duchovni wrote: > On Tue, Dec 14, 2010 at 02:01:31PM +0100, Per Jessen wrote: > >> > The problem is that the SASL user name may well contain >> > white-space, and postmap(1) cannot create indexed tables with keys >> > that contain white-space. You could create the tables with other >> > to

Re: CC all messages relayed through postfix

2010-12-16 Thread Jerrale G
On 12/16/2010 12:20 PM, Jerrale G wrote: Not unethical or compromising private data. If the information can be sniffed unencrypted on the wire it is already compromised. Most email administrators already have access to mail stores where the same data is stored unencrypted. A company's mail se

Re: CC all messages relayed through postfix

2010-12-16 Thread Jerrale G
Not unethical or compromising private data. If the information can be sniffed unencrypted on the wire it is already compromised. Most email administrators already have access to mail stores where the same data is stored unencrypted. A company's mail server and storage is not for personal use

Re: Trouble getting TLS working

2010-12-16 Thread Ted To
On Thu, 16 Dec 2010 10:59:04 -0500 (EST) Wietse Venema wrote: > This is a connection from google: > > Dec 15 19:57:56 kahlo postfix/smtpd[11144]: connect from > mail-gw0-f44.google.com[74.125.83.44] Dec 15 19:57:56 kahlo > postfix/smtpd[11144]: NOQUEUE: reject: RCPT from > mail-gw0-f44.google.co

Re: statistics about use of webmail

2010-12-16 Thread Benny Pedersen
On tor 16 dec 2010 12:06:18 CET, deconya wrote Im using Postfix + Dovecot + openldap + rouncube. If you need more info please comment me. grep 127.0.0.1 /var/log/maillog | grep 143 | sort -u | wc -l | mrtg.sh :-) maybe not perfect, but inspiration is free -- xpoint

Re: Trouble getting TLS working

2010-12-16 Thread Wietse Venema
This is a connection from google: Dec 15 19:57:56 kahlo postfix/smtpd[11144]: connect from mail-gw0-f44.google.com[74.125.83.44] Dec 15 19:57:56 kahlo postfix/smtpd[11144]: NOQUEUE: reject: RCPT from mail-gw0-f44.google.com[74.125.83.44]: 550 5.1.1 : Recipient address rejected: User unknown in

Re: Load issues with Postfix on FreeBSD

2010-12-16 Thread Wietse Venema
Wietse Venema: > Victor Duchovni: > > On Wed, Dec 15, 2010 at 01:37:48PM -0500, Dave Brodin wrote: > > > > > I ran the following command: > > > > > > time /usr/local/bin/smtp-source -s 10 -l 10120 -m 500 -c \ > > > -f t...@bluemarble.net -t dbro...@bluemarble.net localhost:25 > > > > OK, this i

Re: postfix and mailing the same e-mail to hundreds of clients

2010-12-16 Thread Robert Moskowitz
On 12/15/2010 03:24 AM, Razvan Chitu wrote: Hello there, The question here is a fairly simple one: given a simple postfix mail server (primary mx), with local *nix user accounts, I want to know the best way of implementing the following situation: - Someone (a.k.a. the management) sends

Re: statistics about use of webmail

2010-12-16 Thread dhottinger
awstats will show stats from maillog or httpd log format. Not hard to setup, creates pretty graphs. it will show dns names, but im not sure if it will pull user info from logfiles. Quoting Noel Jones : On 12/16/2010 5:06 AM, deconya wrote: Hi guys My boss said me to know the statistics

Re: statistics about use of webmail

2010-12-16 Thread Noel Jones
On 12/16/2010 5:06 AM, deconya wrote: Hi guys My boss said me to know the statistics about use of webmail, exactly which users used webmail during a week. Any of yours know how to make it? Im using Postfix + Dovecot + openldap + rouncube. If you need more info please comment me. Thanks!! Yo

Re: Enforcing line length limit for locally delivered mail

2010-12-16 Thread Wietse Venema
Markus Sch?pflin: > Hello, > > were running a few mailing lists with news gateway using postfix for the > MTA. So the setup is like this: postfix -> mailman -> innd > > Now the problem is that sometimes mails exceeding the 1000 characters line > limit are handed over to postfix, which happily f

statistics about use of webmail

2010-12-16 Thread deconya
Hi guys My boss said me to know the statistics about use of webmail, exactly which users used webmail during a week. Any of yours know how to make it? Im using Postfix + Dovecot + openldap + rouncube. If you need more info please comment me. Thanks!!

Enforcing line length limit for locally delivered mail

2010-12-16 Thread Markus Schöpflin
Hello, were running a few mailing lists with news gateway using postfix for the MTA. So the setup is like this: postfix -> mailman -> innd Now the problem is that sometimes mails exceeding the 1000 characters line limit are handed over to postfix, which happily forwards them to mailman which