Re: All email forward a copy to testing server

2010-04-14 Thread Patric Falinder
Patric Falinder skrev 2010-04-15 08:21: > Mark Martinec skrev 2010-04-13 14:17: >> Patric, >> >>> I looked in to it a little more and it looks like Maia re-writes the >>> new.sub.domain.com to sub.domain.com. >>> I get: >>> >>> /usr/sbin/amavisd-new[22834]: (22834-04) Checking: [62.127.194.20] >>>

Re: All email forward a copy to testing server

2010-04-14 Thread Patric Falinder
Mark Martinec skrev 2010-04-13 14:17: > Patric, > >> I looked in to it a little more and it looks like Maia re-writes the >> new.sub.domain.com to sub.domain.com. >> I get: >> >> /usr/sbin/amavisd-new[22834]: (22834-04) Checking: [62.127.194.20] >> -> >> , >> >> When I guess it should be: >> >> /

Append a custom head via a filter, partially OT

2010-04-14 Thread Gary Smith
We use a filter to break out and run our spamassassin and other checks. In bash shell that process, we have a need to insert a custom unique header per email for compliance. Is there a simple way of doing this without having to go into any special mime processing of the message? Gary Smith

Re: Postfix LDAP "Temporary lookup failure"

2010-04-14 Thread Wietse Venema
Victor Duchovni: > On Wed, Apr 14, 2010 at 12:54:47PM -0400, Wietse Venema wrote: > > > > I am a bit reluctant at this time to assume that untyped data coming in > > > that looks like UTF-8, really is UTF-8. Even if the LDAP lookup returns > > > plausibly useful results, will the UTF-8 envelope su

Re: errors from postfix

2010-04-14 Thread Victor Duchovni
On Wed, Apr 14, 2010 at 03:29:16PM -0700, John Schmitt wrote: > Should I file a bug? If so, against which software? That depends on whether what you are trying to do makes sense in the first place. What are you trying to do? So far you've explained various symptoms, but not the big picture. If

Re: errors from postfix

2010-04-14 Thread Wietse Venema
John Schmitt: > On Wed, Apr 14, 2010 at 07:17:14AM -0400, Wietse Venema wrote: > > John Schmitt: > > > I want to thank you and Viktor for replying. > > > > > > On Thu, Apr 08, 2010 at 07:18:38PM -0400, Wietse Venema wrote: > > > > John Schmitt: > > > [...] > > > > > Transcript of session follows.

Re: errors from postfix

2010-04-14 Thread John Schmitt
On Wed, Apr 14, 2010 at 07:17:14AM -0400, Wietse Venema wrote: > John Schmitt: > > I want to thank you and Viktor for replying. > > > > On Thu, Apr 08, 2010 at 07:18:38PM -0400, Wietse Venema wrote: > > > John Schmitt: > > [...] > > > > Transcript of session follows. > > > > > > > > Out: 220 mym

Re: lost connection with yahoo servers

2010-04-14 Thread mouss
Voytek Eymont a écrit : > On Wed, April 14, 2010 9:00 am, mouss wrote: >> Voytek Eymont a écrit : > >>> Apr 13 20:35:27 postfix/qmgr[3973]: 777DAB446E8: >>> from=, size=7709303, nrcpt=13 (queue active) >> so you're sending mail to yahoo with a google sender address? you must be >> very optimistic.

Re: log analyzing: is target host attempting to verify sender

2010-04-14 Thread mouss
Voytek Eymont a écrit : > On Wed, April 14, 2010 12:19 am, lst_ho...@kwsoft.de wrote: >> Zitat von Voytek Eymont : > >> Sending mail with a invalid envelope from address is not a option >> (anymore). Everyone how cares about reliable delivery must use a valid >> mail-from, anything other is crap a

Re: Mail to wildcard MX records doesn't work from Yahoo Mail, but fine from other addresses

2010-04-14 Thread Bob Eastbrook
Summary: Thanks for all of the responses. I originally thought this was a Postfix issue, but now I see that I was doing something invalid in DNS. I'm surprised that my otherwise excellent nameserver provider allowed me to do this.

Re: Routing messages according IPs

2010-04-14 Thread Wietse Venema
Eric Abreu: > Hello > I'm routing messages from my MDA to MTA-1, when the destination domain > name matches some criteria; and to MTA-2, when destination domain > matches another criteria. And everything works well. > I wonder if I can do this, routing messages based on destination IP > instead.

Re: catch-all not working with postfix dovecot lda

2010-04-14 Thread fakessh
On Wed, 14 Apr 2010 13:50:34 -0500, Noel Jones wrote: > On 4/14/2010 1:45 PM, fakessh wrote: >> On Wed, 14 Apr 2010 14:12:25 -0400, Charles Marcus >> wrote: I changed the entries @fakessh to r...@localhost in /etc/postfix/virtual postmap then a file to the postfix restart. all without suc

Routing messages according IPs

2010-04-14 Thread Eric Abreu
Hello I'm routing messages from my MDA to MTA-1, when the destination domain name matches some criteria; and to MTA-2, when destination domain matches another criteria. And everything works well. I wonder if I can do this, routing messages based on destination IP instead. Thanks in advance Er

Re: Postfix compile on OS X 10.6

2010-04-14 Thread Jim Wright
On Apr 14, 2010, at 11:04 AM, Bradley Giesbrecht wrote: On Apr 14, 2010, at 6:33 AM, Wietse Venema wrote: What is the output from the following commands on this machine? uname -s uname -r uname -v In case this is useful. From Leopard 10.5 not Snow Leopard 10.6. I had no issues (that

Protection against stolen credentials?

2010-04-14 Thread Ignacio García
Hi there. Some days ago 1 of our postfix servers was abused by bot networks using one of our customer's stolen credentials, inadvertently done by a virus/keylogger probably. In few hours more than 2 spam messages were in our queue. Looking at the logs I realized all those outgoing messages

Re: catch-all not working with postfix dovecot lda

2010-04-14 Thread Noel Jones
On 4/14/2010 1:45 PM, fakessh wrote: On Wed, 14 Apr 2010 14:12:25 -0400, Charles Marcus wrote: On 2010-04-14 1:47 PM, fakessh wrote: correct to this error my log Please do NOT send verbose logs unless requested to do so... Disable verbose logging, and then provide a complete log transactio

Re: catch-all not working with postfix dovecot lda

2010-04-14 Thread fakessh
On Wed, 14 Apr 2010 14:12:25 -0400, Charles Marcus wrote: > On 2010-04-14 1:47 PM, fakessh wrote: >> correct to this error >> my log > > Please do NOT send verbose logs unless requested to do so... > > Disable verbose logging, and then provide a complete log transaction of > ONLY one message exh

Restrict certain mailboxes to a few MTAs

2010-04-14 Thread Jeroen van Aart
I was wondering if there is an easy way for postfix (debian lenny) to restrict a few mailboxes to only allow a specific list of MTAs to be sending email to those recipients. Ideally I would like to have this list in a format like x.x.x.x/xx. Thank you, Jeroen

Re: catch-all not working with postfix dovecot lda

2010-04-14 Thread Charles Marcus
On 2010-04-14 1:47 PM, fakessh wrote: > correct to this error > my log Please do NOT send verbose logs unless requested to do so... Disable verbose logging, and then provide a complete log transaction of ONLY one message exhibiting the problem. -- Best regards, Charles

Re: catch-all not working with postfix dovecot lda

2010-04-14 Thread fakessh
On Wed, 14 Apr 2010 15:07:51 +, d.h...@yournetplus.com wrote: > Quoting fakessh : > >> fakessh a écrit : >>> On Tue, 13 Apr 2010 18:38:28 -0300, Egberto Monteiro >>> wrote: Apr 13 23:31:35 r13151 postfix/trivial-rewrite[5504]: warning: do not >>> list domain fakessh.eu in *BOTH *my

Re: Postfix LDAP "Temporary lookup failure"

2010-04-14 Thread Victor Duchovni
On Wed, Apr 14, 2010 at 12:54:47PM -0400, Wietse Venema wrote: > > I am a bit reluctant at this time to assume that untyped data coming in > > that looks like UTF-8, really is UTF-8. Even if the LDAP lookup returns > > plausibly useful results, will the UTF-8 envelope survive related > > processin

Re: Postfix LDAP "Temporary lookup failure"

2010-04-14 Thread Wietse Venema
Victor Duchovni: > On Sat, Mar 27, 2010 at 08:53:03PM -0400, Wietse Venema wrote: > > > Currently, sites that send valid UTF-8 in MAIL/RCPT commands can > > make meaningful LDAP queries in Postfix. Lots of MTAs are 8-bit > > clean internally, so this can actually work today. > > > > Do we want t

Re: errors from postfix

2010-04-14 Thread Victor Duchovni
On Tue, Apr 13, 2010 at 08:49:42PM -0700, John Schmitt wrote: > A few lines like this: > > Message-ID: <760857006668.qgjlcbdx...@ms49.hinet.net> > From: "B\" > To: lili928...@yahoo.com.tw > > are in the headers of an email message sitting in my yahoo inbox. If the Yahoo inbox serv

Re: Postfix LDAP "Temporary lookup failure"

2010-04-14 Thread Victor Duchovni
On Sat, Mar 27, 2010 at 08:53:03PM -0400, Wietse Venema wrote: > Currently, sites that send valid UTF-8 in MAIL/RCPT commands can > make meaningful LDAP queries in Postfix. Lots of MTAs are 8-bit > clean internally, so this can actually work today. > > Do we want to remove this ability from Post

Re: Avoiding "User unknown in recipient table" during reload

2010-04-14 Thread Noel Jones
On 4/13/2010 7:45 PM, Gary Smith wrote: The script just does: * Copy in new relay_recipients file * postmap relay_recipients * postfix reload Is there a better way to do this? Should I stop postfix completely during this time? Will putting the queue on hold avoid this problem, or do I need to

RE: relay_recipient_maps question

2010-04-14 Thread Gary Smith
> No, there must be a "result" with the address, but postfix > doesn't use that result. The file will look like: > > u...@example.com anything > us...@example.com anything > us...@example.com anything > > "anything" can be any text, such as an administrative comment. That's what I thought. I

Re: relay_recipient_maps question

2010-04-14 Thread Noel Jones
On 4/13/2010 10:01 PM, Stan Hoeppner wrote: Gary Smith put forth on 4/13/2010 7:07 PM: Currently we are using mysql plugin for this and are switching over to static files (or files generated on a schedule from the database). Anyway, looking at the docs, it says that the entry need only been f

Re: Postfix compile on OS X 10.6

2010-04-14 Thread Bradley Giesbrecht
On Apr 14, 2010, at 6:33 AM, Wietse Venema wrote: What is the output from the following commands on this machine? uname -s uname -r uname -v In case this is useful. From Leopard 10.5 not Snow Leopard 10.6. $ ls -l /usr/include/arpa/nameser* lrwxr-xr-x 1 root wheel12 Mar 29

Re: Postfix compile on OS X 10.6

2010-04-14 Thread Victor Duchovni
On Wed, Apr 14, 2010 at 09:33:34AM -0400, Wietse Venema wrote: > What is the output from the following commands on this machine? > > uname -s > uname -r > uname -v $ ls /usr/include/arpa/nameser_compat.h /usr/include/arpa/nameser_compat.h $ uname -s Darwin $ uname -r 10.3.0 $ uname

Re: catch-all not working with postfix dovecot lda

2010-04-14 Thread d . hill
Quoting fakessh : fakessh a écrit : On Tue, 13 Apr 2010 18:38:28 -0300, Egberto Monteiro wrote: Apr 13 23:31:35 r13151 postfix/trivial-rewrite[5504]: warning: do not list domain fakessh.eu in *BOTH *mydestination and virtual_alias_domains this error I do not know how to correct my mai

catch-all not working with postfix dovecot lda

2010-04-14 Thread fakessh
fakessh a écrit : > On Tue, 13 Apr 2010 18:38:28 -0300, Egberto Monteiro > wrote: >> Apr 13 23:31:35 r13151 postfix/trivial-rewrite[5504]: warning: do not > list >> domain fakessh.eu in *BOTH *mydestination and virtual_alias_domains >> >> >> > > this error I do not know how to correct > my mail

RE: Avoiding "User unknown in recipient table" during reload

2010-04-14 Thread ram
On Tue, 2010-04-13 at 17:45 -0700, Gary Smith wrote: > > The script just does: > > > > * Copy in new relay_recipients file > > * postmap relay_recipients > > * postfix reload > > > > Is there a better way to do this? Should I stop postfix completely during > > this time? Will putting the que

Re: Postfix compile on OS X 10.6

2010-04-14 Thread Wietse Venema
Jim Wright: > On Apr 12, 2010, at 11:32 PM, Jim Wright wrote: > > > I'm setting up a new server completely from scratch on Snow Leopard, > > Mac OS X 10.6.3, trying to compile Postfix 2.7. During make, I get > > this: > > > > In file included from dns_lookup.c:152: > > dns.h:23:29: error: nam

Re: Send mail to everyone on one domain

2010-04-14 Thread Eero Volotinen
2010/4/14 Patric Falinder : > Eero Volotinen skrev 2010-04-14 14:24: > ah thanks, I didn't even think of that! > remember to protect that alias from spammers also. -- Eero

Re: Send mail to everyone on one domain

2010-04-14 Thread Patric Falinder
Eero Volotinen skrev 2010-04-14 14:24: > 2010/4/14 Patric Falinder : >> Hi, >> >> Is it possible to send a group-mail in a easy way to every recipient in >> a specific domain? > > Well well.. it depends. if it is you own domain, then just create > alias on postfix and then just send mail to that a

Re: Postfix compile on OS X 10.6

2010-04-14 Thread Jim Wright
On Apr 12, 2010, at 11:32 PM, Jim Wright wrote: I'm setting up a new server completely from scratch on Snow Leopard, Mac OS X 10.6.3, trying to compile Postfix 2.7. During make, I get this: In file included from dns_lookup.c:152: dns.h:23:29: error: nameser8_compat.h: No such file or direc

Re: Send mail to everyone on one domain

2010-04-14 Thread Eero Volotinen
2010/4/14 Patric Falinder : > Hi, > > Is it possible to send a group-mail in a easy way to every recipient in > a specific domain? Well well.. it depends. if it is you own domain, then just create alias on postfix and then just send mail to that alias. -- Eero

Send mail to everyone on one domain

2010-04-14 Thread Patric Falinder
Hi, Is it possible to send a group-mail in a easy way to every recipient in a specific domain? Thanks, Patric

Re: errors from postfix

2010-04-14 Thread Gábor Lénárt
On Tue, Apr 13, 2010 at 08:49:42PM -0700, John Schmitt wrote: > > > Out: 220 mymachine.mydomain.net ESMTP Postfix > > > In: HELO mymachine > > > Out: 250 mymachine.mydomain.net > > > In: MAIL FROM:<> > > > Out: 250 2.1.0 Ok > > > In: RCPT TO:<"???B?\" > > > > Out: 501 5.1.3 Bad recipient

Re: errors from postfix

2010-04-14 Thread Wietse Venema
John Schmitt: > I want to thank you and Viktor for replying. > > On Thu, Apr 08, 2010 at 07:18:38PM -0400, Wietse Venema wrote: > > John Schmitt: > [...] > > > Transcript of session follows. > > > > > > Out: 220 mymachine.mydomain.net ESMTP Postfix > > > In: HELO mymachine > > > Out: 250 myma

RE: Postfix Logfile Statistics

2010-04-14 Thread Kammen van, Marco, Springer SBM NL
>http://jimsun.linxnet.com/postfix_contrib.html This will do just fine! Thanks all for the suggestions.

Re: Postfix Logfile Statistics

2010-04-14 Thread Ralf Hildebrandt
* Kammen van, Marco, Springer SBM NL : > One thing I'm missing (or at least my management is), they want to be > able to see how many messages where sent/received on specific days. > So instaid of a total amount of messages sent/received the current day > or in the entire week/month/year, they wan

RE: Postfix Logfile Statistics

2010-04-14 Thread Martijn de Munnik - Postfix List
On Wed, 14 Apr 2010 11:17:51 +0200, "Kammen van, Marco, Springer SBM NL" wrote: >>>Patric Falinder >>Kammen van, Marco, Springer SBM NL skrev 2010-04-14 10:50: >> Hi All, >> >> >> >> Searched on the web for this but couldn't find anything close to what >> I'm looking for. >> >> Any of you kn

RE: Postfix Logfile Statistics

2010-04-14 Thread Kammen van, Marco, Springer SBM NL
>>Patric Falinder >Kammen van, Marco, Springer SBM NL skrev 2010-04-14 10:50: > Hi All, > > > > Searched on the web for this but couldn't find anything close to what > I'm looking for. > > Any of you know tool that generates web based (graph) statistics based > on information in the postfix l

Re: Postfix Logfile Statistics

2010-04-14 Thread Patric Falinder
Kammen van, Marco, Springer SBM NL skrev 2010-04-14 10:50: > Hi All, > > > > Searched on the web for this but couldn't find anything close to what > I'm looking for. > > Any of you know tool that generates web based (graph) statistics based > on information in the postfix logfile. > > I'm l

Re: Postfix Logfile Statistics

2010-04-14 Thread Ralf Hildebrandt
* Kammen van, Marco, Springer SBM NL : > Hi All, > > > > Searched on the web for this but couldn't find anything close to what > I'm looking for. > > Any of you know tool that generates web based (graph) statistics based > on information in the postfix logfile. > > I'm looking for things li

Postfix Logfile Statistics

2010-04-14 Thread Kammen van, Marco, Springer SBM NL
Hi All, Searched on the web for this but couldn't find anything close to what I'm looking for. Any of you know tool that generates web based (graph) statistics based on information in the postfix logfile. I'm looking for things like amount of messages sent/received daily weekly monthly etc

Re: log analyzing: is target host attempting to verify sender

2010-04-14 Thread Voytek Eymont
On Wed, April 14, 2010 12:19 am, lst_ho...@kwsoft.de wrote: > Zitat von Voytek Eymont : > Sending mail with a invalid envelope from address is not a option > (anymore). Everyone how cares about reliable delivery must use a valid > mail-from, anything other is crap and will be treated as such. An

Re: lost connection with yahoo servers

2010-04-14 Thread Voytek Eymont
On Wed, April 14, 2010 9:00 am, mouss wrote: > Voytek Eymont a écrit : >> Apr 13 20:35:27 postfix/qmgr[3973]: 777DAB446E8: >> from=, size=7709303, nrcpt=13 (queue active) > > so you're sending mail to yahoo with a google sender address? you must be > very optimistic... > > anyway, sending mail to