Re: Share postfix config directory

2009-01-15 Thread Thomas Ackermann
Rocco Scappatura schrieb: myhostname = hostname mydomain = hostname If the hostname is not valid, postfix fails to start. It have to be resolved by DNS and the IP must be the IP of one of the interface of the server which run Postfix. So I have to use a name that is resolved in

recipient_delimiter and rejecting certain recipients ...

2009-01-19 Thread Thomas Ackermann
Hello, i use the recipient_delimiter (with a .) quite often. Some of those sub-recipients(?) of accounts are already spammed. I would like to reject Mails to them ... For example: name.post...@$mydomain would be OK, while name.s...@$mydomain should be rejected ... What is the best way to

Re: smtpd_client_restrictions is EMPTY, beside setting in main.cf

2009-01-20 Thread Thomas Ackermann
Ralf Hildebrandt schrieb: postconf -n shows main.cf settings, not master.cf settings Why not use: postconf -e smtpd_client_restrictions=reject_invalid_hostname But as far as i understand, this just sets the variable in main.cf - and there, it is already included! To show this:

Re: smtpd_client_restrictions is EMPTY, beside setting in main.cf

2009-01-20 Thread Thomas Ackermann
Brian Evans - Postfix List schrieb: 'Postconf -d' means show me the DEFAULTS not what is current. Uh.. I already feared a realy stupid mistake on my side :) I used it in this sense, so far - but assumed that this default will be overwritten (and displayed) when actually set in main.cf

More than one host in relayhost = ...?

2009-01-22 Thread Thomas Ackermann
Hello, normally, you can say relayhost = domain and postfix searches the MX record for that domain in DNS to get the list of relayhosts. For domains where no MX record is configured into the DNS, i would need to use more than one relayhost ... Is that possible? The configuration seems not

Re: More than one host in relayhost = ...?

2009-01-22 Thread Thomas Ackermann
Maybe i should better explain the reasons behind this question: We have some domains, where the mail-relay is mapped to several IP-Adresses (and servers) over an DNS entry. That is, we have ONE mailrelay that can be configured as relayhost. So far, so good. BUT, we also have systems without

Re: How to reject mispelled recipient domain

2009-01-22 Thread Thomas Ackermann
Eddy Beliveau schrieb: I know that I can try to find all individual combinations and write them in some reject file to be used in check_recipient_access Is there some way to define a rule based on phonetic or another solution which detect mispelled words ? I would recommend against that idea

Feature request

2009-01-23 Thread Thomas Ackermann
As older postfix installations have a fallback_relay variable and newer installations have a smtp_fallback_relay, i wanted to use postconf to check, which version is supported. Usally, i would expect a program to return with a non-zero exit-code at such a failure: r...@localhost# postconf

To [ and ] or not to [ and ] in relayhost entries ...

2009-01-23 Thread Thomas Ackermann
Hello, i read the documentation about the usage of [ and ] in relayhost entries ... I still not quite sure what happens or not happens when using an IP with or without such signs... relayhost = 1.2.3.4 may use MX records from DNS? What if there is no nameserver configured? Will there be any

Re: smtp_*_restrictions and syntax access-files

2009-01-29 Thread Thomas Ackermann
Victor Duchovni schrieb: I can't honestly recommend anything other than start with the default: I suspect, you are right :) After another check of my logfiles, i reduced my restriction lists to the following: smtpd_client_restrictions = reject_unknown_reverse_client_hostname,