Re: change hostname based on relay

2010-03-16 Thread ram
On Mon, 2010-03-15 at 10:10 -0400, Manuel Mely wrote: > Hi, > > Is there a way to change my hostname based on the relay i'm using? > > For example, i have postfix servers in an ha config that relays to three > differents mail service providers, this providers restricts me in what > helo i have >

Re: change hostname based on relay

2010-03-16 Thread Stan Hoeppner
Manuel Mely put forth on 3/15/2010 9:10 AM: > Hi, > > Is there a way to change my hostname based on the relay i'm using? > > For example, i have postfix servers in an ha config that relays to three > differents mail service providers, this providers restricts me in what > helo i have > to use; so

Two virtual domains

2010-03-16 Thread Oleksii Krykun
I have two virtual domains, e.g. domain1 and domain2 And I have us...@domain1, us...@domain1 and us...@domain2, us...@domain2. Now I need to receive all mail to us...@domain2 into us...@domain1 mailbox, us...@domain2 ->us...@domain1 and us...@domain1->us...@domain2, us...@domain1->us...@domain2. I

Re: Two virtual domains

2010-03-16 Thread Ansgar Wiechers
On 2010-03-16 Oleksii Krykun wrote: > I have two virtual domains, e.g. domain1 and domain2 > And I have us...@domain1, us...@domain1 and us...@domain2, us...@domain2. > Now I need to receive all mail to us...@domain2 into us...@domain1 mailbox, > us...@domain2 ->us...@domain1 > and > us...@domain1-

Configuring a separate transport for NDRs

2010-03-16 Thread Aaron Roberts
Hi all, Can anyone suggest a way to force all NDRs generated by the bounce daemon to be delivered by a particular transport? Thanks in advance, Aaron

Re: Two virtual domains

2010-03-16 Thread Oleksii Krykun
2010/3/16 Ansgar Wiechers > > On 2010-03-16 Oleksii Krykun wrote: > > I have two virtual domains, e.g. domain1 and domain2 > > And I have us...@domain1, us...@domain1 and us...@domain2, us...@domain2. > > Now I need to receive all mail to us...@domain2 into us...@domain1 mailbox, > > us...@domain2

Re: Configuring a separate transport for NDRs

2010-03-16 Thread Wietse Venema
Aaron Roberts: > Hi all, > Can anyone suggest a way to force all NDRs generated by > the bounce daemon to be delivered by a particular transport? You need to solve the right problem. Eliminate the reason why those bounce messages are sent. Wietse

RE: Configuring a separate transport for NDRs

2010-03-16 Thread Aaron Roberts
>Aaron Roberts: >> Hi all, >> Can anyone suggest a way to force all NDRs generated by >> the bounce daemon to be delivered by a particular transport? > > > Wietse Venema: >You need to solve the right problem. Eliminate the reason why those >bounce messages are sent. > Yes. Unfortunately,

Re: change hostname based on relay

2010-03-16 Thread Manuel Mely
On Tue, Mar 16, 2010 at 5:01 AM, Stan Hoeppner wrote: > Manuel Mely put forth on 3/15/2010 9:10 AM: >> Hi, >> >> Is there a way to change my hostname based on the relay i'm using? >> >> For example, i have postfix servers in an ha config that relays to three >> differents mail service providers, t

Re: Two virtual domains

2010-03-16 Thread Noel Jones
On 3/16/2010 6:48 AM, Oleksii Krykun wrote: 2010/3/16 Ansgar Wiechers All works fine. But if I send message to non-existent mailbox (e.g. us...@domain1) I receive true NDR but get following warning: Mar 16 10:43:07 mail postfix/cleanup[28954]: warning: F41F4B82A: unreasonable virtual_alias_maps

Re: Two virtual domains

2010-03-16 Thread Oleksii Krykun
2010/3/16 Noel Jones : > On 3/16/2010 6:48 AM, Oleksii Krykun wrote: >> >> 2010/3/16 Ansgar Wiechers All works fine. But if I send message to non-existent mailbox (e.g. us...@domain1) I receive true NDR but get following warning: Mar 16 10:43:07 mail postfix/cleanup[28954]:

Re: change hostname based on relay

2010-03-16 Thread Manuel Mely
On Tue, Mar 16, 2010 at 4:12 AM, ram wrote: > > On Mon, 2010-03-15 at 10:10 -0400, Manuel Mely wrote: >> Hi, >> >> Is there a way to change my hostname based on the relay i'm using? >> >> For example, i have postfix servers in an ha config that relays to three >> differents mail service providers,

Re: Two virtual domains

2010-03-16 Thread Noel Jones
On 3/16/2010 7:41 AM, Oleksii Krykun wrote: 2010/3/16 Noel Jones: Make the virtual aliases explicit. 8< us...@domain2 us...@domain1 us...@domain2 us...@domain1 us...@domain1 us...@domain2 us...@domain1 us...@domain2 >8 Yes, this is the correct solution. In future both domain

Best practice: Spam-filtering outgoing e-mail

2010-03-16 Thread Vegard Svanberg
Hi, we are trying to mitigate the impact of having infected users, brute force hacked webmail accounts etc. sending (larging amounts of) outbound spam. The best idea we've come up with so far is to perform outbound spam filtering following these rules (it's a bit more complicated than this, but

Re: Two virtual domains

2010-03-16 Thread Ansgar Wiechers
On 2010-03-16 Oleksii Krykun wrote: > 2010/3/16 Ansgar Wiechers >> On 2010-03-16 Oleksii Krykun wrote: >>> I set up two domain aliases: >>> @domain1 @domain2 >>> and >>> @domain2 @domain1 >> >> This makes you a backscatterer, because Postfix will accept all mail >> for both domain1 and domain2 and

Lots of connections from Unknown

2010-03-16 Thread Patric Falinder
I just noticed that I had a lot of these messages in my logs and was just wondering what they were: Mar 16 16:34:02 sexan postfix/smtpd[25331]: connect from unknown[unknown] Mar 16 16:34:02 sexan postfix/smtpd[25331]: lost connection after CONNECT from unknown[unknown] Mar 16 16:34:02 sexan po

Re: Best practice: Spam-filtering outgoing e-mail

2010-03-16 Thread ram
On Tue, 2010-03-16 at 15:40 +0100, Vegard Svanberg wrote: > Hi, > > we are trying to mitigate the impact of having infected users, brute > force hacked webmail accounts etc. sending (larging amounts of) outbound > spam. > > The best idea we've come up with so far is to perform outbound spam > f

Re: Lots of connections from Unknown

2010-03-16 Thread Noel Jones
On 3/16/2010 10:41 AM, Patric Falinder wrote: I just noticed that I had a lot of these messages in my logs and was just wondering what they were: Mar 16 16:34:02 sexan postfix/smtpd[25331]: connect from unknown[unknown] Mar 16 16:34:02 sexan postfix/smtpd[25331]: lost connection after CONNECT fr

Re: Lots of connections from Unknown

2010-03-16 Thread Manuel Mely
On Tue, Mar 16, 2010 at 11:41 AM, Patric Falinder wrote: > I just noticed that I had a lot of these messages in my logs and was just > wondering what they were: > > Mar 16 16:34:02 sexan postfix/smtpd[25331]: connect from unknown[unknown] > Mar 16 16:34:02 sexan postfix/smtpd[25331]: lost connecti

Re: Lots of connections from Unknown

2010-03-16 Thread Wietse Venema
Manuel Mely: > Do you have a monitoring tool in your network? Maybe it's a Nagios testing > your smtp server. > That also happens to me in my loadbalancer, keepalived test smtp port > with a telnet and then disconnects and i have a lot of this message in > my logs too. > > Is there a way to avoid

qmgr watchdog timeout

2010-03-16 Thread Ing. Andrés E. Gallo
Hi there, I am running a fresh install of FreeBSD 8.0, with Postfix 2.8-20100306, amavisd-new, SA like MTA, besides Squid and Bind DNS. It was running as secondary MX, and not sending mails -besides bounces- for a week or so since install without problems. Yesterday, I set it up like gateway for

Re: qmgr watchdog timeout

2010-03-16 Thread Wietse Venema
"Ing. Andr?s E. Gallo": > Hi there, > I am running a fresh install of FreeBSD 8.0, with Postfix 2.8-20100306, > amavisd-new, SA like MTA, besides Squid and Bind DNS. > > It was running as secondary MX, and not sending mails -besides bounces- > for a week or so since install without problems. > >

Problems using STARTTLS off campus

2010-03-16 Thread Rob Tanner
Hi, This is a weird one. From on campus (from any 10.0.0.0/8 address), when I telnet to post 25 of the Postfix server and type in the ehlo start of the handshake, I expect and get the following response: ehlo beowulf 250-neskowin.linfield.edu 250-PIPELINING 250-SIZE 1500 250-VRFY 250-ETRN 25

Re: Problems using STARTTLS off campus

2010-03-16 Thread Brian Evans - Postfix List
On 3/16/2010 3:55 PM, Rob Tanner wrote: > Hi, > ehlo cheshire > 250-neskowin.linfield.edu > 250-PIPELINING > 250-SIZE 1500 > 250-VRFY > 250-ETRN > 250-XXXA Firewall SMTP "fixup" that breaks everything. Commonly seen in Cisco PIX routers/firewalls. Best option is to disable fixup. > 250 8B

Re: Problems using STARTTLS off campus

2010-03-16 Thread Noel Jones
On 3/16/2010 2:55 PM, Rob Tanner wrote: Hi, This is a weird one. From on campus (from any 10.0.0.0/8 address), when I telnet to post 25 of the Postfix server and type in the ehlo start of the handshake, I expect and get the following response: ehlo beowulf 250-neskowin.linfield.edu 250-PIPELINI

Re: qmgr watchdog timeout

2010-03-16 Thread Ing. Andrés E. Gallo
El 16/03/2010 16:46, Wietse Venema escribió: > >> The log showed: >> - >> 197382-Mar 15 19:03:49 fobos amavis[10328]: (10328-01-204) (!!)file(1) >> utility (/usr/local/bin/file) FAILED: timed out >> > Amavis reports that the /usr/local/bin/file command is hanging. > Note th

Re: Problems using STARTTLS off campus

2010-03-16 Thread Wietse Venema
On-campus: ... > 250-STARTTLS ... Off-campus: > 250-XXXA CISCO fixup mode is an amazing technical achievement. It will XXX server words not on a whitelist (and as the "A" at the end demonstrates, it does this close to perfection). It will XXX client commands not on a whitelist, as

Re: qmgr watchdog timeout

2010-03-16 Thread Wietse Venema
Postfix runs fine on FreeBSD 8 (here, since November 2009) as well as any FreeBSD vesion that I have been running since I started work on Postfix in 1997. Your problem is a broken operating system that causes timeouts in Amavis, Postfix, and in other programs. This is the Postfix mailing list. It

Re: qmgr watchdog timeout

2010-03-16 Thread Ing. Andrés E. Gallo
El 16/03/2010 17:23, Wietse Venema escribió: > Postfix runs fine on FreeBSD 8 (here, since November 2009) as well > as any FreeBSD vesion that I have been running since I started work > on Postfix in 1997. > Ok. > Your problem is a broken operating system that causes timeouts in > Amavis, Postfi

Can I Omit Same Values

2010-03-16 Thread Carlos Mennens
I noticed today that many items expressed in main.cf appear to be what "I think" is default value and should not be expressed. I was wondering if this logic is correct: If the following two values are identical, can I simply remove the parameter from 'main.cf'? r...@mail:~# postconf -n | grep "se

Re: Can I Omit Same Values

2010-03-16 Thread Wietse Venema
Carlos Mennens: > I noticed today that many items expressed in main.cf appear to be what > "I think" is default value and should not be expressed. I was > wondering if this logic is correct: > > If the following two values are identical, can I simply remove the > parameter from 'main.cf'? > > r..

Re: Can I Omit Same Values

2010-03-16 Thread Noel Jones
On 3/16/2010 3:49 PM, Carlos Mennens wrote: I noticed today that many items expressed in main.cf appear to be what "I think" is default value and should not be expressed. I was wondering if this logic is correct: If the following two values are identical, can I simply remove the parameter from '

Re: Problems using STARTTLS off campus

2010-03-16 Thread Rob Tanner
Yep. That fixed it. Thanks. On 3/16/10 1:00 PM, "Brian Evans - Postfix List" wrote: > On 3/16/2010 3:55 PM, Rob Tanner wrote: >> Hi, >> ehlo cheshire >> 250-neskowin.linfield.edu >> 250-PIPELINING >> 250-SIZE 1500 >> 250-VRFY >> 250-ETRN >> 250-XXXA > > Firewall SMTP "fixup" that bre

every...@example.com virtual_alias_maps using ldap query

2010-03-16 Thread Ronie Gilberto Henrich
Hi, I am searching for a dynamic mapping solution which allows me to forward emails to every...@example.com to all valid mailboxes in example.com I did not find any dynamic mapping solution for this. I am almost there, the only thing left is to validate that %u = everyone. My current accomplishme

Re: Can't create maps via the proxy service

2010-03-16 Thread mouss
Noel Jones a écrit : > On 3/15/2010 7:58 PM, roger pedrol wrote: >> Hi all, >> >> Maybe not related to postfix but Ubuntu dpkg but trying to install SPF I >> came across this problem: >> >> Configuring postfix (2.5.1-2ubuntu1.2) ... >> >> Running newaliases >> postalias: fatal: can't create maps vi

Re: Best practice: Spam-filtering outgoing e-mail

2010-03-16 Thread mouss
Vegard Svanberg a écrit : > Hi, > > we are trying to mitigate the impact of having infected users, brute > force hacked webmail accounts etc. sending (larging amounts of) outbound > spam. > > The best idea we've come up with so far is to perform outbound spam > filtering following these rules (i

Re: Best practice: Spam-filtering outgoing e-mail

2010-03-16 Thread mouss
ram a écrit : > On Tue, 2010-03-16 at 15:40 +0100, Vegard Svanberg wrote: >> Hi, >> >> we are trying to mitigate the impact of having infected users, brute >> force hacked webmail accounts etc. sending (larging amounts of) outbound >> spam. >> >> The best idea we've come up with so far is to perfo

Sender Access Restrictions and MySQL Table

2010-03-16 Thread Asai
Greetings, I'm using Postfix with MySQL, and am trying to restrict certain users to send and receive from my network only. I have had marginal success with this using a MySQL query. In the MySQL table, these users have 'local_only' in the smtp_access column, all other users have 'Y' in this

Re: every...@example.com virtual_alias_maps using ldap query

2010-03-16 Thread Reinaldo de Carvalho
On Tue, Mar 16, 2010 at 6:54 PM, Ronie Gilberto Henrich wrote: > Hi, > > /etc/postfix/main.cf > > virtual_alias_maps = ldap:everyone > > everyone_server_host = ldaps://localhost > everyone_version = 3 > everyone_search_base = ou=%d,ou=Mail,o=example,c=com > everyone_query_filt

Anvil logs explained

2010-03-16 Thread Erik Logtenberg
Hi, I have a small question about anvil: every now and then it logs three lines about statistics. I don't quite understand what they mean. This is an example: Mar 17 00:30:49 mx postfix/anvil[28510]: statistics: max connection rate 1/60s for (mx.mydomain.eu:smtp:168.100.1.7) at Mar 17 00:27:28 Ma

Delay Warnings are not being sent

2010-03-16 Thread Stephen Carville
I am trying to get delay warnings to be sent to users with no success. I've set the delay_warning_time to one hour. If I send a message to an address know to be having problem it gets queued and I can see there is a warning_message_time: $ sudo postcat -q 834B2800B|grep warning_message_time warn

Re: Delay Warnings are not being sent

2010-03-16 Thread Wietse Venema
Stephen Carville: > I am trying to get delay warnings to be sent to users with no success. How do you know the difference between "not sent" and "not received"? Wietse

Re: every...@example.com virtual_alias_maps using ldap query

2010-03-16 Thread Ronie Gilberto Henrich
Hi Reinaldo, Let me explain better how virtual_alias_maps works in this case: 1) Someone send an email to every...@example.com 2) Query ldap:everyone result has to be us...@example.com, us...@example.com, and so on (all mailboxes in domain example.com) So, the %u value in everyone_query_filter is

Re: Configuring a separate transport for NDRs

2010-03-16 Thread Michael Orlitzky
On 03/16/2010 08:13 AM, Aaron Roberts wrote: Aaron Roberts: Hi all, Can anyone suggest a way to force all NDRs generated by the bounce daemon to be delivered by a particular transport? Wietse Venema: You need to solve the right problem. Eliminate the reason why those bounce me