Re: Multi-Instance-Questions

2011-09-28 Thread Thomas Trepper
Ok, I try it again: I have Postfix 2.5 on ubuntu 8.04.4. One physical interface with two public IPs. eth0 -> 10.0.0.1 -> needs relay (with auth) for abc.com, def.com, ghi.com to myIp.dyndns.org eth0 -> 10.0.0.2 -> needs relay (with auth) for * (all) to wp180.webpack.hosteurope.de (runs later on 1

dual email delivery

2011-09-28 Thread Roland de Lepper
Hi, I'm in front of a mailserver migration with Zarafa and Postfix. We want to migrate as smooth as possible, offcourse, and I was thinking about dual email delivery. This means that all incoming email will still go through the old mailserver, record the message in the mysql database and then "rel

Re: postfix and/or amavisd-new duplicating sender_bcc's?

2011-09-28 Thread Troy Piggins
* Wietse Venema wrote : > Troy Piggins: > > I'm using sender_bcc maps to archive/backup sent mail. Config > > extracts below. It does work, but is creating duplicates when mail > > is sent from clients other than localhost. IE if I send mail using > > See http://www.postfix.org/FILTER_README.ht

Re: Multi-Instance-Questions

2011-09-28 Thread /dev/rob0
Please do not top-post your replies. Thank you. Stan: > > Maybe you should back up a few hundred feet and give us the big > > picture of what exactly you're trying to accomplish here. On Tuesday 27 September 2011 04:29:32 Thomas Trepper wrote: > thanks a lot for your eMail und sorry for the incon

reject_unknown_client_hostname: move into the junk folder instead of rejecting the e-mail

2011-09-28 Thread Niccolò Belli
Hi, I'd like to use reject_unknown_client_hostname, unfortunately there are just too much misconfigured servers to whitelist them all :( I do not want to just use reject_unknown_reverse_client_hostname instead, I'd like to mark e-mails which fail reject_unknown_reverse_client_hostname as spam s

Re: reject_unknown_client_hostname: move into the junk folder instead of rejecting the e-mail

2011-09-28 Thread Niccolò Belli
Il 28/09/2011 12:50, Niccolò Belli ha scritto: I'd like to mark e-mails which fail reject_unknown_reverse_client_hostname Sorry, I obviously meant "reject_unknown_client_hostname"

Re: Multi-Instance-Questions

2011-09-28 Thread Wietse Venema
Thomas Trepper: > Ok, I try it again: > > I have Postfix 2.5 on ubuntu 8.04.4. One physical interface with two > public IPs. > > eth0 -> 10.0.0.1 -> needs relay (with auth) for abc.com, def.com, ghi.com > to myIp.dyndns.org > eth0 -> 10.0.0.2 -> needs relay (with auth) for * (all) to > wp180.webp

Re: reject_unknown_client_hostname: move into the junk folder instead of rejecting the e-mail

2011-09-28 Thread Ram
On 09/28/2011 04:20 PM, Niccolò Belli wrote: Hi, I'd like to use reject_unknown_client_hostname, unfortunately there are just too much misconfigured servers to whitelist them all :( I do not want to just use reject_unknown_reverse_client_hostname instead, I'd like to mark e-mails which fail re

Re: reject_unknown_client_hostname: move into the junk folder instead of rejecting the e-mail

2011-09-28 Thread Noel Jones
On 9/28/2011 5:50 AM, Niccolò Belli wrote: > Hi, > I'd like to use reject_unknown_client_hostname, unfortunately there > are just too much misconfigured servers to whitelist them all :( Yes, a common problem. > I do not want to just use reject_unknown_reverse_client_hostname > instead, I'd like t

Re: reject_unknown_client_hostname: move into the junk folder instead of rejecting the e-mail

2011-09-28 Thread /dev/rob0
On Wednesday 28 September 2011 05:50:56 Niccolò Belli wrote: > I'd like to use reject_unknown_client_hostname, unfortunately there > are just too much misconfigured servers to whitelist them all :( I > do not want to just use reject_unknown_reverse_client_hostname You can get away with reject_unkn

Re: reject_unknown_client_hostname: move into the junk folder instead of rejecting the e-mail

2011-09-28 Thread Niccolò Belli
Il 28/09/2011 13:45, Noel Jones ha scritto: You can use a check_client_access table with something like unknown PREPEND X-My-Custom-Header: Unknown client and filter on that. It works, thanks. Probably better to install SpamAssassin. I already use spamass-milter, but how can I achieve it

Re: reject_unknown_client_hostname: move into the junk folder instead of rejecting the e-mail

2011-09-28 Thread Noel Jones
On 9/28/2011 7:35 AM, Niccolò Belli wrote: > Il 28/09/2011 13:45, Noel Jones ha scritto: >> You can use a check_client_access table with something like >> unknown PREPEND X-My-Custom-Header: Unknown client >> >> and filter on that. > > It works, thanks. BTW, you should probably be using reject_u

Re: reject_unknown_client_hostname: move into the junk folder instead of rejecting the e-mail

2011-09-28 Thread Niccolò Belli
Il 28/09/2011 15:02, Noel Jones ha scritto: BTW, you should probably be using reject_unknown_reverse_client_hostname if not already. Yes, I added it instead of reject_unknown_client_hostname. Unfortunately if an user uses a custom sieve script the global one in sieve_global_path = /var/vmail/g

Re: reject_unknown_client_hostname: move into the junk folder instead of rejecting the e-mail

2011-09-28 Thread Duane Hill
2011/9/28 Niccolò Belli : > Il 28/09/2011 15:02, Noel Jones ha scritto: >> >> BTW, you should probably be using >> reject_unknown_reverse_client_hostname if not already. > > Yes, I added it instead of reject_unknown_client_hostname. > Unfortunately if an user uses a custom sieve script the global o

Re: reject_unknown_client_hostname: move into the junk folder instead of rejecting the e-mail

2011-09-28 Thread Niccolò Belli
Il 28/09/2011 15:20, Duane Hill ha scritto: You should look at sieve_before and sieve_after in the Dovecot documentation It works, but I have one last problem. I want it to automatically create the junk folder, so I added mail_plugins = autocreate in protocol imap { } and autocreate = Trash

Re: reject_unknown_client_hostname: move into the junk folder instead of rejecting the e-mail

2011-09-28 Thread Duane Hill
2011/9/28 Niccolò Belli : > Il 28/09/2011 15:20, Duane Hill ha scritto: >> >> You should >> look at sieve_before and sieve_after in the Dovecot documentation > > It works, but I have one last problem. > I want it to automatically create the junk folder, so I added > > mail_plugins = autocreate > >

Re: reject_unknown_client_hostname: move into the junk folder instead of rejecting the e-mail

2011-09-28 Thread Steve Fatula
- Original Message - > From: Niccolò Belli > To: postfix-users@postfix.org > Cc: > Sent: Wednesday, September 28, 2011 9:02 AM > Subject: Re: reject_unknown_client_hostname: move into the junk folder > instead of rejecting the e-mail > > I want it to automatically create the junk folde

Re: reject_unknown_client_hostname: move into the junk folder instead of rejecting the e-mail

2011-09-28 Thread Niccolò Belli
Il 28/09/2011 16:39, Steve Fatula ha scritto: You trying to create a Spam folder, or Trash where mail is thrown out when deleted? Your message indicates trash, which is not junk mail. Just a typo, I'm sorry: I wanted to create a SPAM folder. It seems you have to enable thunderbird's junk filte

Re: Multi-Instance-Questions

2011-09-28 Thread Thomas Trepper
One public ip is an official MX-record and I need postfix to accept eMails for certain domains (usually incoming mail) and relay them to another dyndns-ip postfix installation, which will only accept those domains for local storage. Then I am running a webserver on the same machine where the of

Re: Multi-Instance-Questions

2011-09-28 Thread Wietse Venema
Thomas Trepper: > One public ip is an official MX-record and I need postfix to accept > eMails for certain domains (usually incoming mail) and relay them to > another dyndns-ip postfix installation, which will only accept those > domains for local storage. Then I am running a webserver on the sa

Re: Issue integrating with Cyrus-SASL

2011-09-28 Thread Crazedfred
Any thoughts? From: Crazedfred To: "postfix-users@postfix.org" Sent: Wednesday, September 21, 2011 5:20 AM Subject: Re: Issue integrating with Cyrus-SASL > Crazedfred: > > >? Crazedfred : > > > > What is the result of:find / -name smtpd.conf > > > > > > su

Re: Issue integrating with Cyrus-SASL

2011-09-28 Thread Wietse Venema
Crazedfred: > Any thoughts? What does the smtpd line in master.cf look like? If it looks like this: smtp inet n - - - - smtpd This means that chroot is turned on , and that Postfix won't be able to talk to saslauthd. To turn off chroot change it into thi

Re: postfix and/or amavisd-new duplicating sender_bcc's?

2011-09-28 Thread Jeroen Geilman
On 2011-09-28 11:57, Troy Piggins wrote: * Wietse Venema wrote : Troy Piggins: I'm using sender_bcc maps to archive/backup sent mail. Config extracts below. It does work, but is creating duplicates when mail is sent from clients other than localhost. IE if I send mail using See http://www.p

Re: postfix and/or amavisd-new duplicating sender_bcc's?

2011-09-28 Thread Troy Piggins
* Jeroen Geilman wrote : >* On 2011-09-28 11:57, Troy Piggins wrote: >>* Wietse Venema wrote : >>>* Troy Piggins: >>> I'm using sender_bcc maps to archive/backup sent mail. Config extracts below. It does work, but is creating duplicates when mail is sent from clients other than loc

How to relay ALL mail to relayhost

2011-09-28 Thread Bob Proulx
How can I configure a host to send *all* email to the relayhost? This simple configuration has me stumped. Setting relayhost or using a transport map only handles non-local recipients. But if a recipient has a local login then those are not consulted. After scouring the documentation and trying

Re: How to relay ALL mail to relayhost

2011-09-28 Thread Kurt Buff
On Wed, Sep 28, 2011 at 17:17, Bob Proulx wrote: > How can I configure a host to send *all* email to the relayhost?  This > simple configuration has me stumped.  Setting relayhost or using a > transport map only handles non-local recipients.  But if a recipient > has a local login then those are n

Re: dual email delivery

2011-09-28 Thread Sahil Tandon
On Wed, 2011-09-28 at 10:36:32 +0200, Roland de Lepper wrote: > I was thinking about transport-maps, but this only "relay" the message > to the new server. It will not record the message in Mysql first on > the old server, before it will relay it to the new mailserver. This is somewhat of a FAQ:

Re: How to relay ALL mail to relayhost

2011-09-28 Thread Ralf Hildebrandt
* Bob Proulx : > How can I configure a host to send *all* email to the relayhost? mydestination = relayhost = [the.relay.host] transport_maps = -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D