Re: Empty From when generating bounce

2010-12-07 Thread Erwan David
On Tue, Dec 07, 2010 at 08:39:24AM CET, Trigve Siver said: > Hi, > I'm having some problem with bounces. When someone send mail to my mail > server > and sender is not existent, postfix generate bounce. Bounce has empty > envelope > "From" set (from=<>) . I'm using relayhost and when sending b

Re: Should I have postgrey listen on a socket?

2010-12-07 Thread lst_hoe02
Zitat von Stan Hoeppner : Noel Jones put forth on 12/6/2010 11:10 AM: If you decide that greylisting is right for you, postgrey is a popular choice -- it's flexible and reliable. ... See google for benefits and risks of using greylisting if you're not familiar with it. Interestingly, just

Re: Empty From when generating bounce

2010-12-07 Thread Trigve Siver
> From: Erwan David > To: postfix-users@postfix.org > Sent: Tue, December 7, 2010 9:05:43 AM > Subject: Re: Empty From when generating bounce > > On Tue, Dec 07, 2010 at 08:39:24AM CET, Trigve Siver said: > > Hi, > > I'm having some problem with bounces. When someone send mail to my mail >se

Re: Empty From when generating bounce

2010-12-07 Thread Michael Tokarev
07.12.2010 11:21, Trigve Siver wrote: [] > yes I know but I'm not in charge of realyhost and they (who are in charge) > told > me that they don't accept empty From. Could I somehow change From to some > kind > of "black hole" which will discard all the mails? Postfix tries hard to conform to e

Re: Empty From when generating bounce

2010-12-07 Thread Trigve Siver
> From: Michael Tokarev > To: Trigve Siver > Cc: postfix-users@postfix.org > Sent: Tue, December 7, 2010 10:08:04 AM > Subject: Re: Empty From when generating bounce > > 07.12.2010 11:21, Trigve Siver wrote: > [] > > yes I know but I'm not in charge of realyhost and they (who are in charge) >

R: R: R: MX Backup

2010-12-07 Thread Bissio2000
* Bissio2000 : > According to the standard configuration explained at > http://www.postfix.org/STANDARD_CONFIGURATION_README.html about setting up a > primary and secondary mx, I don't understand how the mx backup returns back > all messages when the primary server come up from down state; I mean

[Resolved] Upgrade version 2.5.5 to 2.7.1

2010-12-07 Thread Bruno Costacurta
.. I intend to upgrade Postfix version 2.5.5 to 2.7.1. Are there incompatibilities or specific path for upgrade ? Or any manual re-configuration to be done ? .. This server is a Debian Lenny and upgrade will be done via the Debian lenny-backports repository usage wich included Postfix v2.7.1.

Re: Empty From when generating bounce

2010-12-07 Thread Ralf Hildebrandt
* Trigve Siver : > Could some post the except from standard where this is defined to be able to > argue with relayhost provider, please? This is all best summed up by section 5.2.9 of RFC1123, which says: The syntax shown in RFC-821 for the MAIL FROM: command omits the case of an empty path: "M

Re: Empty From when generating bounce

2010-12-07 Thread Trigve Siver
> From: Ralf Hildebrandt > To: postfix-users@postfix.org > Sent: Tue, December 7, 2010 10:37:20 AM > Subject: Re: Empty From when generating bounce > > This is all best summed up by section 5.2.9 of RFC1123, which says: > > The syntax shown in RFC-821 for the MAIL FROM: command omits the cas

Re: Empty From when generating bounce

2010-12-07 Thread Ralf Hildebrandt
* Trigve Siver : > "... Since in most cases it is not appropriate to respond to an automatic > response, and the responder is not interested in delivery status messages, > a > MAIL FROM address of <> MAY be used for this purpose. A MAIL FROM address > which is specifically chosen for

Re: R: R: R: MX Backup

2010-12-07 Thread Simone Caruso
On 07/12/2010 10:25, Bissio2000 wrote: Thanks... it works fine without any field into trasnport map (even if every tutorial on line says to use transport map:) So I'm wondering if I could use all domain name listed into postfix_virtual_domains instead into relay_domains because so i could use o

I: R: R: R: MX Backup

2010-12-07 Thread Bissio2000
On 07/12/2010 10:25, Bissio2000 wrote: > Thanks... it works fine without any field into trasnport map (even if every > tutorial on line says to use transport map:) > So I'm wondering if I could use all domain name listed into > postfix_virtual_domains instead into relay_domains because so i coul

Re: Empty From when generating bounce

2010-12-07 Thread Wietse Venema
Trigve Siver: > Thanks for reply. > > Could some post the except from standard where this is defined to be able to > argue with relayhost provider, please? RFC 5321 is the current SMTP definition. 6.1. Reliable Delivery and Replies by Email ... If there is a delivery failure after acce

Doubts about some Postfix Configuration Parameters

2010-12-07 Thread Eduardo Júnior
Hi everyone, I'm with some doubts about some postfix configuration parameters, even after reading [1], not clear to me. They are: fast_flush_domains delay_warning_time [1] - http://www.postfix.org/postconf.5.html thanks, -- Eduardo Júnior GNU/Linux user #423272 :wq

Postfix resolving domain - NOT dns

2010-12-07 Thread Michael Holt
Hi list..   I have an issue with postfix resolving a domain - correctly, yet i want it to resolve differently..   The story so far..   Dec  7 00:39:06 newserver postfix/smtpd[13222]: connect from mail-wy0-f176.google.com [74.125.82.176] Dec  7 00:39:06 newserver postfix/smtpd[13222]: 7D53D5C0BB:

Re: Postfix resolving domain - NOT dns

2010-12-07 Thread Wietse Venema
To override the route to the destination: http://www.postfix.org/ADDRESS_REWRITING_README.html#transport and pages linked from there. Wietse

Re: Maildrop filtering

2010-12-07 Thread Ben
Le 05/12/2010 02:51, mouss a écrit : Le 03/12/2010 17:56, Ben a écrit : [snip] All domains are virtual, I managed to pass all mails to maildrop, it works. The problem is that in this configuration, mail are not relayed to other hosts when the user configure mail redirection. A user can tell : ke

Re: Doubts about some Postfix Configuration Parameters

2010-12-07 Thread Ralf Hildebrandt
* Eduardo Júnior : > fast_flush_domains > delay_warning_time What exactly? -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962

Re: Doubts about some Postfix Configuration Parameters

2010-12-07 Thread Arnim Sommer
2010/12/7 Eduardo Júnior : > Hi everyone, > > > I'm with some doubts about some postfix configuration parameters, > even after reading [1], not clear to me. > > > They are: > > fast_flush_domains > delay_warning_time > Perhaps the best way would be if you tell us what (and how) you understand these

Re: Postfix resolving domain - NOT dns

2010-12-07 Thread Michael Holt
Thanks Wietse I have had a good read through this lot.. it looks like the transport_maps  is the only bit that does near to what I need... if i understand it correctly, this is done on a per domain level..  where I have lots all diverting to the other server,..  and its the other server resolving

Re: Postfix resolving domain - NOT dns

2010-12-07 Thread Wietse Venema
Postfix resolves SMTP destinations via DNS, /etc/hosts, or it uses the transport map (which can be an SQL database or a local file). If you cannot use DNS for multiple destinations, then you should route ALL SMTP EMAIL through a smarthost. See: http://www.postfix.org/BASIC_CONFIGURATION_READM

Re: Doubts about some Postfix Configuration Parameters

2010-12-07 Thread Victor Duchovni
On Tue, Dec 07, 2010 at 09:51:17AM -0300, Eduardo J?nior wrote: > I'm with some doubts about some postfix configuration parameters, > even after reading [1], not clear to me. > > They are: > > fast_flush_domains > delay_warning_time You need "fast_flush_domains" if want to support ETRN, and or

Different backend authentications for Postfix

2010-12-07 Thread Jason Voorhees
Hi: For personal reasons I'm planning to migrate a Zimbra installation to a Postfix+Cyrus IMAP based schema. My Zimbra server has two domains: domain1.com and domain2.com. Users from domain1.com authenticate via Active Directory and domain2.com authenticate via Zimbra (using its own OpenLDAP serve

Re: Different backend authentications for Postfix

2010-12-07 Thread Wietse Venema
Jason Voorhees: > Hi: > > For personal reasons I'm planning to migrate a Zimbra installation to > a Postfix+Cyrus IMAP based schema. My Zimbra server has two domains: > domain1.com and domain2.com. Users from domain1.com authenticate via > Active Directory and domain2.com authenticate via Zimbra (

Re: Different backend authentications for Postfix

2010-12-07 Thread Jason Voorhees
On Tue, Dec 7, 2010 at 12:45 PM, Wietse Venema wrote: > Jason Voorhees: >> Hi: >> >> For personal reasons I'm planning to migrate a Zimbra installation to >> a Postfix+Cyrus IMAP based schema. My Zimbra server has two domains: >> domain1.com and domain2.com. Users from domain1.com authenticate via

Re: Different backend authentications for Postfix

2010-12-07 Thread Victor Duchovni
On Tue, Dec 07, 2010 at 12:45:12PM -0500, Wietse Venema wrote: > Jason Voorhees: > > Hi: > > > > For personal reasons I'm planning to migrate a Zimbra installation to > > a Postfix+Cyrus IMAP based schema. My Zimbra server has two domains: > > domain1.com and domain2.com. Users from domain1.com a

Re: Different backend authentications for Postfix

2010-12-07 Thread Patrick Ben Koetter
* Jason Voorhees : > Hi: > > For personal reasons I'm planning to migrate a Zimbra installation to > a Postfix+Cyrus IMAP based schema. My Zimbra server has two domains: > domain1.com and domain2.com. Users from domain1.com authenticate via > Active Directory and domain2.com authenticate via Zimbr

Re: Different backend authentications for Postfix

2010-12-07 Thread Jason Voorhees
On Tue, Dec 7, 2010 at 1:09 PM, Patrick Ben Koetter wrote: > * Jason Voorhees : >> Hi: >> >> For personal reasons I'm planning to migrate a Zimbra installation to >> a Postfix+Cyrus IMAP based schema. My Zimbra server has two domains: >> domain1.com and domain2.com. Users from domain1.com authent

Re: Different backend authentications for Postfix

2010-12-07 Thread Victor Duchovni
On Tue, Dec 07, 2010 at 01:15:46PM -0500, Jason Voorhees wrote: > > A quick sketch of smtpd.conf: > > > > pwcheck_service: saslauthd auxprop > > auxprop_plugin: ldapdb > > mech_list: PLAIN LOGIN > > ldapdb_uri: ldap://localhost > > ldapdb_id: username > > ldapdb_pw: secret > > ldapdb_mech: DIGEST-

Getting connection timed out error

2010-12-07 Thread Avinash Pawar
Hello, I am getting the following error whenever try to send email to gmail : connect to alt4.gmail-smtp-in.l.google.com[74.125.79.27]: Connection timed out (port 25) And for rediff : connect to mx.rediffmail.rediff.akadns.net[202.137.235.10]: Connection timed out Can you suggest why this is h

Re: Different backend authentications for Postfix

2010-12-07 Thread Jason Voorhees
On Tue, Dec 7, 2010 at 1:23 PM, Victor Duchovni wrote: > On Tue, Dec 07, 2010 at 01:15:46PM -0500, Jason Voorhees wrote: > >> > A quick sketch of smtpd.conf: >> > >> > pwcheck_service: saslauthd auxprop >> > auxprop_plugin: ldapdb >> > mech_list: PLAIN LOGIN >> > ldapdb_uri: ldap://localhost >> >

Re: Getting connection timed out error

2010-12-07 Thread Randy Ramsdell
Avinash Pawar wrote: Hello, I am getting the following error whenever try to send email to gmail : connect to alt4.gmail-smtp-in.l.google.com [74.125.79.27]: Connection timed out (port 25) And for rediff : connect to mx.rediffmail.rediff.akadns.net

Re: Getting connection timed out error

2010-12-07 Thread Avinash Pawar
Hello, What is outage? On Wed, Dec 8, 2010 at 12:31 AM, Randy Ramsdell wrote: > Avinash Pawar wrote: > >> Hello, >> >> I am getting the following error whenever try to send email to gmail : >> >> connect to alt4.gmail-smtp-in.l.google.com < >> http://alt4.gmail-smtp-in.l.google.com>[74.125.79.27

Re: Getting connection timed out error

2010-12-07 Thread Victor Duchovni
On Tue, Dec 07, 2010 at 02:01:18PM -0500, Randy Ramsdell wrote: >> Hello, >> I am getting the following error whenever try to send email to gmail : >> connect to alt4.gmail-smtp-in.l.google.com >> [74.125.79.27]: Connection timed >> out (port 25) >> And fo

Re: Should I have postgrey listen on a socket?

2010-12-07 Thread Stan Hoeppner
lst_ho...@kwsoft.de put forth on 12/7/2010 2:18 AM: > Zitat von Stan Hoeppner : > >> Noel Jones put forth on 12/6/2010 11:10 AM: >> >>> If you decide that greylisting is right for you, postgrey is a popular >>> choice -- it's flexible and reliable. >> ... >>> See google for benefits and risks of u

Re: Should I have postgrey listen on a socket?

2010-12-07 Thread lst_hoe02
Zitat von Stan Hoeppner : lst_ho...@kwsoft.de put forth on 12/7/2010 2:18 AM: Zitat von Stan Hoeppner : Noel Jones put forth on 12/6/2010 11:10 AM: If you decide that greylisting is right for you, postgrey is a popular choice -- it's flexible and reliable. ... See google for benefits and

Re: Postfix resolving domain - NOT dns

2010-12-07 Thread mouss
Le 07/12/2010 14:25, Michael Holt a écrit : Hi list.. I have an issue with postfix resolving a domain - correctly, yet i want it to resolve differently.. The story so far.. Dec 7 00:39:06 newserver postfix/smtpd[13222]: connect from mail-wy0-f176.google.com [7

fqrdns.pcre

2010-12-07 Thread Paul Cartwright
On 12/07/2010 02:30 PM, Stan Hoeppner wrote: > Everyone's mileage varies. If you're having good results with Postgrey > you should try the fqrdns.pcre file that I recommended in the thread you > replied to. You'll likely see very quickly why greylisting is redundant > while using that file. I do

Re: verify db with mysql

2010-12-07 Thread Wietse Venema
Wietse Venema: > Thanks for the patch. > > Stefan Jakobs: > > I'am not aware of any dead-lock issues. The sequence pseudo-thread > > will query the database only once with the first key. For every > > next key the sequence pseudo-thread is working with the results > > in the memory. With a very la

Re: fqrdns.pcre

2010-12-07 Thread mouss
Le 07/12/2010 21:56, Paul Cartwright a écrit : On 12/07/2010 02:30 PM, Stan Hoeppner wrote: Everyone's mileage varies. If you're having good results with Postgrey you should try the fqrdns.pcre file that I recommended in the thread you replied to. You'll likely see very quickly why greylisting

Re: Empty From when generating bounce

2010-12-07 Thread Charles Marcus
On 2010-12-07 2:39 AM, Trigve Siver wrote: > Hi, > I'm having some problem with bounces. When someone send mail to my mail > server > and sender is not existent, postfix generate bounce. Bounce has empty > envelope > "From" set (from=<>) . I'm using relayhost and when sending bounce back I've

Re: fqrdns.pcre

2010-12-07 Thread Paul Cartwright
On 12/07/2010 04:02 PM, mouss wrote: > > yes. if it hits, you'll see a reject log. if you're using Stan's file > unmodified, you would see "... Dynamic - Please relay via ISP...". lately I've been getting TONS of emails with all Chinese ( Asian..) characters, coming from email addresses like mkdj

Re: Empty From when generating bounce

2010-12-07 Thread Randy Ramsdell
Trigve Siver wrote: From: Michael Tokarev To: Trigve Siver Cc: postfix-users@postfix.org Sent: Tue, December 7, 2010 10:08:04 AM Subject: Re: Empty From when generating bounce 07.12.2010 11:21, Trigve Siver wrote: [] yes I know but I'm not in charge of realyhost and they (who are in charge

Re: fqrdns.pcre

2010-12-07 Thread Steffan A. Cline
CIDR blocking all of China with an auto whitelist for those that you email directly? Works great on my end, thanks to Stan the Man. Thanks Steffan --- T E L 6 0 2 . 7 9 3 . 0 0 1 4 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline

Re: fqrdns.pcre

2010-12-07 Thread Paul Cartwright
On 12/07/2010 04:48 PM, Steffan A. Cline wrote: > CIDR blocking all of China with an auto whitelist for those that you email > directly? I don't know anyone in China, I know someone who travels there, but he has a Bellsouth address.. so how do you implement CIDR blocking?? well I see where you can

mail.err localhost error

2010-12-07 Thread Paul Cartwright
I keep getting this error, and I have no clue where it comes from. I have no localhost in my fetchmailrc file. here is some of the entries in /var/log/mail.err: Dec 7 16:00:38 paulandcilla fetchmail[16761]: connection to localhost:smtp [::1/25] failed: Connection refused. Dec 7 16:00:40 pauland

Re: Empty From when generating bounce

2010-12-07 Thread Victor Duchovni
On Tue, Dec 07, 2010 at 04:39:53PM -0500, Randy Ramsdell wrote: > Beating a dead horse, but I would use a relay where the admins do not know > the standards. The admins of that server should delegate duties to someone > else. Perhaps the relay is really an MSA for home MUA users and is not desi

Re: mail.err localhost error

2010-12-07 Thread Jeroen Geilman
On 12/7/10 11:16 PM, Paul Cartwright wrote: I keep getting this error, and I have no clue where it comes from. I have no localhost in my fetchmailrc file. here is some of the entries in /var/log/mail.err: Dec 7 16:00:38 paulandcilla fetchmail[16761]: connection to localhost:smtp [::1/25] faile

Re: fqrdns.pcre

2010-12-07 Thread Jeroen Geilman
On 12/7/10 11:10 PM, Paul Cartwright wrote: On 12/07/2010 04:48 PM, Steffan A. Cline wrote: CIDR blocking all of China with an auto whitelist for those that you email directly? I don't know anyone in China, I know someone who travels there, but he has a Bellsouth address.. so how do you impleme

Re: mail.err localhost error

2010-12-07 Thread Paul Cartwright
On 12/07/2010 05:34 PM, Jeroen Geilman wrote: > > Dec 7 16:00:38 paulandcilla fetchmail[16761]: connection to > > localhost:smtp [::1/25] failed: Connection refused. > fetchmail is failing to connect to whatever is running on ipv6 localhost > (0::1 port 25) > > If this is postfix, make sure postfi

Re: fqrdns.pcre

2010-12-07 Thread mouss
Le 07/12/2010 22:19, Paul Cartwright a écrit : On 12/07/2010 04:02 PM, mouss wrote: yes. if it hits, you'll see a reject log. if you're using Stan's file unmodified, you would see "... Dynamic - Please relay via ISP...". lately I've been getting TONS of emails with all Chinese ( Asian..) char

anvil errors

2010-12-07 Thread Jack
Hello All, I am getting the following anvil errors, but thought that I was using anvil to control spamassasin performance. I disabled spamassasin recently and commented out anvil and other settings which were thought to be to support spamassasin. Dec 7 19:46:44 pluto postfix/smtpd[17588]:

Re: anvil errors

2010-12-07 Thread Sahil Tandon
On Tue, 2010-12-07 at 19:49:53 -0500, Jack wrote: > I am getting the following anvil errors, but thought that I was using > anvil to control spamassasin performance. > > I disabled spamassasin recently and commented out anvil and other > settings which were thought to be to support spamassasin.

Re: Should I have postgrey listen on a socket?

2010-12-07 Thread Stan Hoeppner
lst_ho...@kwsoft.de put forth on 12/7/2010 2:20 PM: > Zitat von Stan Hoeppner : > >> lst_ho...@kwsoft.de put forth on 12/7/2010 2:18 AM: >>> Zitat von Stan Hoeppner : >> Postgrey's auto whitelist feature is on by default. In fact, you can't >> disable it. If you could, Postgrey would break, as

Re: fqrdns.pcre

2010-12-07 Thread Stan Hoeppner
Paul Cartwright put forth on 12/7/2010 2:56 PM: > On 12/07/2010 02:30 PM, Stan Hoeppner wrote: >> Everyone's mileage varies. If you're having good results with Postgrey >> you should try the fqrdns.pcre file that I recommended in the thread you >> replied to. You'll likely see very quickly why gr

Re: fqrdns.pcre

2010-12-07 Thread Stan Hoeppner
Paul Cartwright put forth on 12/7/2010 4:10 PM: > On 12/07/2010 04:48 PM, Steffan A. Cline wrote: >> CIDR blocking all of China with an auto whitelist for those that you email >> directly? > I don't know anyone in China, I know someone who travels there, but he > has a Bellsouth address.. > so how