Re: bounce delivery report

2008-08-26 Thread Patrick Ben Koetter
* Stefan Palme <[EMAIL PROTECTED]>: > Hi all, > > when postfix creates a bounce message, a "Delivery report" will be > attached describing the problem. > > Is it possible to modify the format of this delivery report, > e.g. adding a line to it?

bounce delivery report

2008-08-26 Thread Stefan Palme
Hi all, when postfix creates a bounce message, a "Delivery report" will be attached describing the problem. Is it possible to modify the format of this delivery report, e.g. adding a line to it? Regards -stefan-

Re: Triple retry?

2008-08-26 Thread Erwan David
On Wed, Aug 27, 2008 at 08:11:16AM CEST, Erwan David <[EMAIL PROTECTED]> said: > > Maybe because postfix tries 3 different MXs when it receives the 4xx > errors ? Sorry, I was trapped by the long lines in editors, I wanted to put the emphasis on the different IP addresses (81.88.40. 24, 23 or 26)

Re: Triple retry?

2008-08-26 Thread Erwan David
On Wed, Aug 27, 2008 at 08:04:27AM CEST, Ralf Hildebrandt <[EMAIL PROTECTED]> said: > A mail was greylisted. No big deal, let's flush the queue and grep the > log: > > # postfix flush && tail -f /var/log/mail.log|grep timmer > > Aug 27 08:00:09 mail-ausfall postfix/smtp[3983]: 3D7143DB09: host

Triple retry?

2008-08-26 Thread Ralf Hildebrandt
A mail was greylisted. No big deal, let's flush the queue and grep the log: # postfix flush && tail -f /var/log/mail.log|grep timmer Aug 27 08:00:09 mail-ausfall postfix/smtp[3983]: 3D7143DB09: host smtp.kontent.com[81.88.40.24] said: 450 4.7.1 <[EMAIL PROTECTED]>: Recipient address rejected: Y

Re: Sizing question (how much RAM does a process actually use?)

2008-08-26 Thread Adam Tauno Williams
On Tue, 2008-08-26 at 17:21 -0400, Wietse Venema wrote: > Ralf Hildebrandt: > > Simple question: How much RAM does a process actually use? > > But how to find out? There's copy on write, shared libraries, shared > > memory, and whatever. > With Linux, parse /proc/pid/map for each process. This give

Re: Sizing question (how much RAM does a process actually use?)

2008-08-26 Thread Wietse Venema
Wietse Venema: > Ralf Hildebrandt: > > Simple question: How much RAM does a process actually use? > > But how to find out? There's copy on write, shared libraries, shared > > memory, and whatever. > > With Linux, parse /proc/pid/map for each process. This gives you > the memory mapping. Writable

Re: Virtual domains relay problem

2008-08-26 Thread Pawel Wasylyszyn
OK, thanks very much mouss ! Problem was right here: less master.cf: smtp inet n - - - - smtpd -v #smtp-amavis unix- - y - 2 smtp # -o smtp_data_done_timeout=1200 # -o disable_dns_lookups=yes #127.0.0.1:10025 inetn

Re: Sizing question (how much RAM does a process actually use?)

2008-08-26 Thread Wietse Venema
Ralf Hildebrandt: > Simple question: How much RAM does a process actually use? > But how to find out? There's copy on write, shared libraries, shared > memory, and whatever. With Linux, parse /proc/pid/map for each process. This gives you the memory mapping. Writable mappings are non-shared and c

Re: Postfix header_checks and Lsoft listserv

2008-08-26 Thread Wietse Venema
Jim McIver: > My header_checks file contains: > # Disallow sender-specified routing. This is a must if you relay mail > #for other domains. > /[EMAIL PROTECTED]@]/ 550 Sender-specified routing rejected > > # Postmaster is OK, that way they can talk to us about how > # to fix their pr

Re: Postfix header_checks and Lsoft listserv

2008-08-26 Thread mouss
MrC wrote: Jim McIver wrote: My header_checks file contains: # Disallow sender-specified routing. This is a must if you relay mail #for other domains. /[EMAIL PROTECTED]@]/ 550 Sender-specified routing rejected This seems prone to many false positives. Many headers have such pa

Re: Virtual domains relay problem

2008-08-26 Thread mouss
Pawel Wasylyszyn wrote: Hi, Here it goes: [EMAIL PROTECTED]:/etc/postfix# postmap -q freshmail.pl mysql:/etc/postfix/mysql_virtual_domains_maps.cf freshmail.pl [EMAIL PROTECTED]:/etc/postfix# postmap -q [EMAIL PROTECTED] mysql:/etc/postfix/mysql_virtual_alias_maps.cf [EMAIL PROTECTED] /\ (I'm n

Re: Postfix header_checks and Lsoft listserv

2008-08-26 Thread Noel Jones
Jim McIver wrote: I have postfix 2.1.5 on Freebsd 4.10 and am passing info through vams virus scanner. Far as I can tell everything is working ok(has been for couple of years) with the exception of email from the Washington State Police's(wsp) new listserv. WSP is using Lsoft on Windows 2003

Re: Postfix header_checks and Lsoft listserv

2008-08-26 Thread MrC
Jim McIver wrote: > My header_checks file contains: > # Disallow sender-specified routing. This is a must if you relay mail > #for other domains. > /[EMAIL PROTECTED]@]/ 550 Sender-specified routing rejected > This seems prone to many false positives. Many headers have such pattern

Re: Virtual domains relay problem

2008-08-26 Thread Pawel Wasylyszyn
Hi, Here it goes: [EMAIL PROTECTED]:/etc/postfix# postmap -q freshmail.pl mysql:/etc/postfix/mysql_virtual_domains_maps.cf freshmail.pl [EMAIL PROTECTED]:/etc/postfix# postmap -q [EMAIL PROTECTED] mysql:/etc/postfix/mysql_virtual_alias_maps.cf [EMAIL PROTECTED] /\ (I'm not sure if I should leave

Re: Postfix header_checks and Lsoft listserv

2008-08-26 Thread Ralf Hildebrandt
* Jim McIver <[EMAIL PROTECTED]>: > "Aug 26 00:00:05 mail postfix/smtpd[94745]: 178F8585: > client=wspvmolylist1.wsp.wa.gov[167.72.2.45] > Aug 26 00:00:05 mail postfix/cleanup[95166]: warning: unknown command in > header_checks map: 550 Sender-specified routing rejected Show your header_checks

Postfix header_checks and Lsoft listserv

2008-08-26 Thread Jim McIver
I have postfix 2.1.5 on Freebsd 4.10 and am passing info through vams virus scanner. Far as I can tell everything is working ok(has been for couple of years) with the exception of email from the Washington State Police's(wsp) new listserv. WSP is using Lsoft on Windows 2003 and the guy sayes w

Re: Virtual domains relay problem

2008-08-26 Thread Brian Evans - Postfix List
Brian Evans wrote: >> >> [EMAIL PROTECTED]:~# cat /etc/postfix/mysql_virtual_domains_maps.cf >> >> user = postfix >> password = xxx >> hosts = y >> dbname = postfix >> table = domain >> select_field = domain >> where_field = domain > > user = post

Re: Virtual domains relay problem

2008-08-26 Thread Brian Evans
Pawel Wasylyszyn wrote: > Hello, > > I have a problem with virtual domains - when I'm trying to send an > e-mail from any host outside the localhost to user in virtual domain, > I get 'relay access denied'. > However, when I'm trying to send it from localhost, everything's OK. > MX is set to my Pos

Sizing question (how much RAM does a process actually use?)

2008-08-26 Thread Ralf Hildebrandt
Simple question: How much RAM does a process actually use? But how to find out? There's copy on write, shared libraries, shared memory, and whatever. How do I actually SEE how much memory my cleanup, smtpd and smtp processes use (all processes, actually), so I can properly size my default_process_

Virtual domains relay problem

2008-08-26 Thread Pawel Wasylyszyn
Hello, I have a problem with virtual domains - when I'm trying to send an e-mail from any host outside the localhost to user in virtual domain, I get 'relay access denied'. However, when I'm trying to send it from localhost, everything's OK. MX is set to my Postfix machine, entries in MySQL are OK

RE: SPF Checking

2008-08-26 Thread Raymond Jette
Thanks for the help. I found the problem in /etc/postfix-policyd-spf-python/policy-spf.conf file. Helo check rejection policy was set To: HELO_reject = SPF_Not_Pass I set this to HELO_reject = Null Thanks again, Ray -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On B

Re: SPF Checking

2008-08-26 Thread Scott Kitterman
On Tue, 26 Aug 2008 12:16:00 -0400 "Raymond Jette" <[EMAIL PROTECTED]> wrote: >Good afternoon, > >I am using Postfix with postfix-policyd-spf-python for SPF. This is >rejecting mail from the HELO verb. According to RFC 4008: > > > > The "HELO" identity derives from either the SMTP HELO or EHLO

Re: SPF Checking

2008-08-26 Thread Brian Evans - Postfix List
Raymond Jette wrote: > > Good afternoon, > > I am using Postfix with postfix-policyd-spf-python for SPF. This is > rejecting mail from the HELO verb. According to RFC 4008: > > > >The "HELO" identity derives from either the SMTP HELO or EHLO command > >(see [RFC2821]). These commands sup

Re: SPF Checking

2008-08-26 Thread mouss
Raymond Jette wrote: Good afternoon, I am using Postfix with postfix-policyd-spf-python for SPF. This is rejecting mail from the HELO verb. According to RFC 4008: [snip] Is there a way to disable SPF checking in the HELO part of a message? if postfix-policyd-spf-* supports X rays, you can try

SPF Checking

2008-08-26 Thread Raymond Jette
Good afternoon, I am using Postfix with postfix-policyd-spf-python for SPF. This is rejecting mail from the HELO verb. According to RFC 4008: The "HELO" identity derives from either the SMTP HELO or EHLO command (see [RFC2821]). These commands supply the SMTP client (sending host)

Re: [OT] Using [EMAIL PROTECTED] [was: best way for website sending emails]

2008-08-26 Thread mouss
Charles Marcus wrote: On 8/26/2008, Robert Schetterer ([EMAIL PROTECTED]) wrote: as far i know blacklist reputation is only related to answering hostmaster@ postmaster@ abuse@ webmaster@ by rfc My understanding is the RFC only requires postmaster and abuse to be valid, NOT webmaster - and I'v

Re: [OT] Using [EMAIL PROTECTED] [was: best way for website sending emails]

2008-08-26 Thread mouss
Roman Medina-Heigl Hernandez wrote: What about creating a REJECT recipient rule for "abuse@", etc, with a message like: "Mailbox disabled due to spam. Please, contact us by: http://xxx/contact.php";. This defeats the purpose of [EMAIL PROTECTED] if I get attacks from your networks, and if you

Re: [OT] Using [EMAIL PROTECTED] [was: best way for website sending emails]

2008-08-26 Thread Jorey Bump
Robert Schetterer wrote, at 08/26/2008 09:04 AM: you may be right but having webmaster an hostmaster does not harm, webmaster is an arbitrary support address you can use however you like, for any of your sites. But there is a convention that hostmaster is for DNS issues, so you might want to

Re: Aliases not working

2008-08-26 Thread Vince Sabio
** At 10:03 -0400 on 08/26/2008, Brian Evans - Postfix List wrote: Vince Sabio wrote: This morning, I added a new entry to the alias table, and ran newaliases without error. I also did a "postfix reload". But the alias is not being recognized; mail sent to the alias (from the localhost) >

Re: Aliases not working

2008-08-26 Thread Brian Evans - Postfix List
Vince Sabio wrote: > I have an 'old' alias file in /etc/aliases (linked to > /etc/mail/aliases) that seems to be working fine; I haven't changed it > in years. Since that time, I have upgraded to postfix 2.5.1. > > This morning, I added a new entry to the alias table, and ran > newaliases without e

Aliases not working

2008-08-26 Thread Vince Sabio
I have an 'old' alias file in /etc/aliases (linked to /etc/mail/aliases) that seems to be working fine; I haven't changed it in years. Since that time, I have upgraded to postfix 2.5.1. This morning, I added a new entry to the alias table, and ran newaliases without error. I also did a "postfi

Re: [OT] Using [EMAIL PROTECTED] [was: best way for website sending emails]

2008-08-26 Thread Jorey Bump
Charles Marcus wrote, at 08/26/2008 08:57 AM: On 8/26/2008, Robert Schetterer ([EMAIL PROTECTED]) wrote: as far i know blacklist reputation is only related to answering hostmaster@ postmaster@ abuse@ webmaster@ by rfc My understanding is the RFC only requires postmaster and abuse to be valid,

Re: Redirect mail to another test server

2008-08-26 Thread mouss
Christophe Dumonet wrote: Hello, I'm setting up a new postfix install on a TEST linux box. To test with some few accounts, on the operating server, I'm looking for a way to redirect some email adresses to my postfix test box. How to do ? I have try to put in /etc/postfix/virtual a line like : [

Re: [OT] Using [EMAIL PROTECTED] [was: best way for website sending emails]

2008-08-26 Thread Roman Medina-Heigl Hernandez
What about creating a REJECT recipient rule for "abuse@", etc, with a message like: "Mailbox disabled due to spam. Please, contact us by: http://xxx/contact.php";. And then having some kind of ticket system in contact.php requiring at least a Turing test -aka Captcha- to accept the new request? In

Re: [OT] Using [EMAIL PROTECTED] [was: best way for website sending emails]

2008-08-26 Thread Robert Schetterer
Charles Marcus schrieb: On 8/26/2008, Robert Schetterer ([EMAIL PROTECTED]) wrote: as far i know blacklist reputation is only related to answering hostmaster@ postmaster@ abuse@ webmaster@ by rfc My understanding is the RFC only requires postmaster and abuse to be valid, NOT webmaster - and I

Re: [OT] Using [EMAIL PROTECTED] [was: best way for website sending emails]

2008-08-26 Thread Charles Marcus
On 8/26/2008, Robert Schetterer ([EMAIL PROTECTED]) wrote: > as far i know > blacklist reputation > is only related to > answering hostmaster@ > postmaster@ > abuse@ > webmaster@ > by rfc My understanding is the RFC only requires postmaster and abuse to be valid, NOT webmaster - and I've NEVER us

Re: [OT] Using [EMAIL PROTECTED] [was: best way for website sending emails]

2008-08-26 Thread Jorey Bump
Jeff wrote, at 08/25/2008 08:50 PM: On Mon, Aug 25, 2008 at 9:46 AM, Tony Holmes <[EMAIL PROTECTED]> wrote: I want the From address to be set to something like [EMAIL PROTECTED] A mail sent to this address will cause no error, but nobody will read those emails. That is a very very bad idea and

Re: Redirect mail to another test server

2008-08-26 Thread Juan Miscaro
2008/8/26 Christophe Dumonet <[EMAIL PROTECTED]>: > Hello, > I'm setting up a new postfix install on a TEST linux box. > To test with some few accounts, on the operating server, I'm looking for a > way to redirect some email adresses to my postfix test box. > How to do ? I have try to put in /etc/p

Re: Several questions (sasl w/ sha1 passwords, optimizing sql queries et al)

2008-08-26 Thread Michael
> Issues: > 1.- I'm trying to avoid the saslauthd->pam->mysql trick for sasl > authentication. Instead of that, I've configured auxprop + sql plug-in but > it doesn't support encrypted passwords. Any ideas/alternatives? > a) It seems the optimal alternative would be to apply: > http://www.gergely.

Several questions (sasl w/ sha1 passwords, optimizing sql queries et al)

2008-08-26 Thread Roman Medina-Heigl Hernandez
Hello, I'm building a Postfix+Cyrus+Mysql mail-system in Debian 4.0. The aim is to be secure, "hosting-friendly", debian-friendly and have a good performance, which simplifying a bit mean that I'd like: - R1: users' passwords to be encrypted with sha1 - R2: users' credentials in SQL database (mysq

Re: [OT] Using [EMAIL PROTECTED] [was: best way for website sending emails]

2008-08-26 Thread Robert Schetterer
Stefan Palme schrieb: Hi Robert, there is nothing you can do against people writing/reply mails to adresses what ever, so i think this problem is not really total solvable by tec stuff , also there is less what you can do about what people think about your reputation, so you better dont care

Re: [OT] Using [EMAIL PROTECTED] [was: best way for website sending emails]

2008-08-26 Thread Stefan Palme
Hi Robert, > there is nothing you can do against people > writing/reply mails to adresses what ever, so i think > this problem is not really total solvable by > tec stuff , also there is less what you can do about > what people think about your reputation, so you better dont care It's not MY repu

Redirect mail to another test server

2008-08-26 Thread Christophe Dumonet
Hello, I'm setting up a new postfix install on a TEST linux box. To test with some few accounts, on the operating server, I'm looking for a way to redirect some email adresses to my postfix test box. How to do ? I have try to put in /etc/postfix/virtual a line like : [EMAIL PROTECTED] [EMAIL PRO

Re: [OT] Using [EMAIL PROTECTED] [was: best way for website sending emails]

2008-08-26 Thread Robert Schetterer
Stefan Palme schrieb: On Tue, 2008-08-26 at 10:51 +0200, Robert Schetterer wrote: Jeff schrieb: On Mon, Aug 25, 2008 at 9:46 AM, Tony Holmes <[EMAIL PROTECTED]> wrote: I want the From address to be set to something like [EMAIL PROTECTED] A mail sent to this address will cause no error, but nob

Re: [OT] Using [EMAIL PROTECTED] [was: best way for website sending emails]

2008-08-26 Thread Stefan Palme
On Tue, 2008-08-26 at 10:51 +0200, Robert Schetterer wrote: > Jeff schrieb: > > On Mon, Aug 25, 2008 at 9:46 AM, Tony Holmes <[EMAIL PROTECTED]> wrote: > >>> I want the From address to be set to something like [EMAIL PROTECTED] > >>> A mail sent to this address will cause no error, but nobody will

Re: [OT] Using [EMAIL PROTECTED] [was: best way for website sending emails]

2008-08-26 Thread Robert Schetterer
Jeff schrieb: On Mon, Aug 25, 2008 at 9:46 AM, Tony Holmes <[EMAIL PROTECTED]> wrote: I want the From address to be set to something like [EMAIL PROTECTED] A mail sent to this address will cause no error, but nobody will read those emails. That is a very very bad idea and the best way to have y

Re: Suggestions wanted

2008-08-26 Thread mouss
Colin Campbell wrote: Hi, On Tue, 2008-08-26 at 08:41 +0200, mouss wrote: Ulf Zimmermann wrote: Hello, everyone. I thought before I potential reinvent the wheel, I would ask here if someone hasn't done this before: I am looking at doing 3 things in postfix on a relay which is set as the smar

Re: Suggestions wanted

2008-08-26 Thread mouss
Ulf Zimmermann wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:owner-postfix- [EMAIL PROTECTED] On Behalf Of mouss Sent: 08/25/2008 23:42 Cc: postfix-users@postfix.org Subject: Re: Suggestions wanted Ulf Zimmermann wrote: Hello, everyone. I thought before I potential reinvent

RE: Suggestions wanted

2008-08-26 Thread Ulf Zimmermann
So reading a bit more I think I can just use a policy daemon and do: Rule 1 = True, return OK Rule 2 = True, return OK And if it hits rule 3 or 4, return REDIRECT > -Original Message- > From: [EMAIL PROTECTED] [mailto:owner-postfix- > [EMAIL PROTECTED] On Behalf Of Ulf Zimmermann > Sent

RE: Suggestions wanted

2008-08-26 Thread Ulf Zimmermann
> -Original Message- > From: [EMAIL PROTECTED] [mailto:owner-postfix- > [EMAIL PROTECTED] On Behalf Of mouss > Sent: 08/25/2008 23:42 > Cc: postfix-users@postfix.org > Subject: Re: Suggestions wanted > > Ulf Zimmermann wrote: > > Hello, everyone. > > > > I thought before I potential reinve

Re: Suggestions wanted

2008-08-26 Thread Colin Campbell
Hi, On Tue, 2008-08-26 at 08:41 +0200, mouss wrote: > Ulf Zimmermann wrote: > > Hello, everyone. > > > > I thought before I potential reinvent the wheel, I would ask here if > > someone hasn't done this before: > > > > I am looking at doing 3 things in postfix on a relay which is set as the > >