Re: Postfix stable release 3.1.1 and legacy releases 3.0.5, 2.11.8, and 2.10.10

2016-05-16 Thread Wietse Venema
Peter: > The links for latest postfix stable still point to 3.1.0 at > ftp://ftp.porcupine.org/mirrors/postfix-release/index.html Thanks for the report. Fixed on "Wietse's own site", soon on the mirrors. Wietse > The 3.1.1 files are available in the "official" directory, though. > > >

Bug or misunderstanding: virtual_alias_maps + regexp:table + multiple dots in local-part

2016-05-16 Thread cac2s
*# cat /etc/debian_version * 8.4 * # postconf mail_version *mail_version = 2.11.3 *# postconf receive_override_options* receive_override_options = *# postconf virtual_alias_maps * virtual_alias_maps = regexp:/etc/postfix/virtual/sub_mailboxes.regexp.cf proxy:ldap:/etc/postfix/virtual/traps.ldap

Re: Bug or misunderstanding: virtual_alias_maps + regexp:table + multiple dots in local-part

2016-05-16 Thread @lbutlr
On Mon May 16 2016 04:24:15 cac2ssaid: > > In the rfc2822 (3.4.1. Addr-spec specification) there is nothing about > limiting the number of dot-symbols in the middle of the local-part... You can not use consecutive periods in the local portion. It also cannot start nor end with a period.

Exclude a sub domain from LDAP?

2016-05-16 Thread Gomes, Rich
I have postfix performing LDAP verification and it is working out great. Except... I am running into an issue with a subdomain that should be excluded from the LDAP verification. It is a sub-domain of one of the domains I am doing lookups on. Is there a way to exclude this specific domain from LD

Telnet auth

2016-05-16 Thread Catalin Badirca
Hi, I am breaking my head trying to solve the following thing. I have a Postfix server that accepts mail from $mydomain and delivers for standard $mydestination. I also have smtp_relay_redtriction to allow sasl and reject other destinations than $mydomain. Standard until now. The thing is: if

Re: Telnet auth

2016-05-16 Thread /dev/rob0
On Mon, May 16, 2016 at 07:25:54PM +0300, Catalin Badirca wrote: > I am breaking my head trying to solve the following thing. I have a > Postfix server that accepts mail from $mydomain and delivers for "From $mydomain" probably has nothing to do with it. > standard $mydestination. I also have s

postfix ignoring access file?

2016-05-16 Thread Gomes, Rich
I have encountered another issue with my postfix config. I was hoping this would be a common issue but I haven't been able to find anything on it. My postfix servers are configured to read the access file when connections are made but I have found that machines not in the access file or even thos

Re: Exclude a sub domain from LDAP?

2016-05-16 Thread Wietse Venema
Gomes, Rich: > I have postfix performing LDAP verification and it is working out great. > Except... I am running into an issue with a subdomain that should > be excluded from the LDAP verification. What is LDAP verification? > It is a sub-domain of one of the domains I am doing lookups on. > > I

RE: Exclude a sub domain from LDAP?

2016-05-16 Thread Gomes, Rich
I think the issue is that I am already doing lookups on the parent domain. Is there a way to exclude specific subdomains? -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Wietse Venema Sent: Monday, May 16, 2016 1:40 PM To:

Re: postfix ignoring access file?

2016-05-16 Thread Wietse Venema
Gomes, Rich: > I have encountered another issue with my postfix config. I was hoping this > would be a common issue but I haven't been able to find anything on it. > My postfix servers are configured to read the access file when connections > are made but I have found that machines not in the acc

Re: How to deliver mail to 1 user only from a list of senders?

2016-05-16 Thread Bill Cole
On 9 May 2016, at 15:43, Mike Schleif wrote: Postfix: 2.10.1 One email address should receive email only from a known, finite list of senders. All other senders' messages should be quarantined; but, this may not be a deal breaker. Yes, we use amavisd and it does a good job with spam and v

Re: Exclude a sub domain from LDAP?

2016-05-16 Thread Wietse Venema
The Postfix LDAP client requires an exact domain name match if you follow my instructions below. There is no subdomain logic. Wietse Gomes, Rich: > I think the issue is that I am already doing lookups on the parent domain. > Is there a way to exclude specific subdomains? Wietse: > Accord

Re: postfix ignoring access file?

2016-05-16 Thread /dev/rob0
On Mon, May 16, 2016 at 05:39:12PM +, Gomes, Rich wrote: > My postfix servers are configured to read the access file when > connections are made but I have found that machines not in the > access file or even those which have REJECT as an action are > allowed to send mail. > > I have specif

RE: Exclude a sub domain from LDAP?

2016-05-16 Thread Gomes, Rich
I am calling the LDAP config this way in my main.cf file relay_recipient_maps = ldap:/etc/postfix/ldap_relay_recipients.cf, ldap:/etc/postfix/ldap_groups_recipients.cf recipients file looks something like this: # Directory settings domain = mycompany.com, sales.mycompany.com, someotherdomain.co

RE: postfix ignoring access file?

2016-05-16 Thread Gomes, Rich
I added this to my main.cf file: smtpd_client_restrictions = hash:/etc/postfix/access And it "works" in the sense that if I give an IP a directive of OK or REJECT, it works accordingly. However, if I comment out an IP in the access file, it still accepts the email? I tried commenting out the m

Re: Exclude a sub domain from LDAP?

2016-05-16 Thread Wietse Venema
Gomes, Rich: > I am calling the LDAP config this way in my main.cf file > > relay_recipient_maps = ldap:/etc/postfix/ldap_relay_recipients.cf, > ldap:/etc/postfix/ldap_groups_recipients.cf > > recipients file looks something like this: > > # Directory settings > domain = mycompany.com, sales.my

Re: postfix ignoring access file?

2016-05-16 Thread Wietse Venema
Gomes, Rich: > I added this to my main.cf file: > > smtpd_client_restrictions = hash:/etc/postfix/access > > > And it "works" in the sense that if I give an IP a directive of OK or REJECT, > it works accordingly. > However, if I comment out an IP in the access file, it still accepts the > emai

RE: postfix ignoring access file?

2016-05-16 Thread Gomes, Rich
Hmmm So is there a way to have anything NOT in the access file rejected or will I need some kind of wild card statement that will REJECT everything else? -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Wietse Venema Sent: Mo

RE: Exclude a sub domain from LDAP?

2016-05-16 Thread Gomes, Rich
Thanks I am using 2.6.6 so I will use the second method What should 'whatever' be in this example /etc/postfix/wildcard_relay_recipients: @idaho.sales.mycompany.com whatever And what did you mean by this? So it turns out the problem is not caused by the us

Re: postfix ignoring access file?

2016-05-16 Thread /dev/rob0
On Mon, May 16, 2016 at 07:09:46PM +, Gomes, Rich wrote: > So is there a way to have anything NOT in the access file rejected > or will I need some kind of wild card statement that will REJECT > everything else? That question contains its answer: main.cf : ... smtpd_recipient_restrictions =

RE: postfix ignoring access file?

2016-05-16 Thread Gomes, Rich
Thank you. My goal is for any IPs in the access file to be allowed and any not listed in access to be rejected with Relay Denied Just like using the access file in Sendmail... Thanks, Rich -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org]

Re: Exclude a sub domain from LDAP?

2016-05-16 Thread Wietse Venema
Gomes, Rich: > Thanks > > I am using 2.6.6 so I will use the second method > > What should 'whatever' be in this example > >/etc/postfix/wildcard_relay_recipients: > @idaho.sales.mycompany.com whatever The right-hand side is required, but its contents are ignored. See

Re: postfix ignoring access file?

2016-05-16 Thread Phil Stracchino
On 05/16/16 14:31, Gomes, Rich wrote: > I added this to my main.cf file: > > smtpd_client_restrictions = hash:/etc/postfix/access > > > And it "works" in the sense that if I give an IP a directive of OK or REJECT, > it works accordingly. > However, if I comment out an IP in the access file, it

RE: Exclude a sub domain from LDAP?

2016-05-16 Thread Gomes, Rich
Ok, thanks This seems to be working. I don't understand how it is bypassing LDAP lookups though. -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Wietse Venema Sent: Monday, May 16, 2016 4:43 PM To: Postfix users Subject: Re

RE: postfix ignoring access file?

2016-05-16 Thread Gomes, Rich
Yes : ) -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Phil Stracchino Sent: Monday, May 16, 2016 4:44 PM To: postfix-users@postfix.org Subject: Re: postfix ignoring access file? On 05/16/16 14:31, Gomes, Rich wrote: > I a

RE: postfix ignoring access file?

2016-05-16 Thread Richard
> Date: Monday, May 16, 2016 19:38:56 + > From: "Gomes, Rich" > > Thank you. > > My goal is for any IPs in the access file to be allowed and any not > listed in access to be rejected with Relay Denied Just like using > the access file in Sendmail... > > Thanks, > > Rich I don't believe t

How not to do trivial "To" rewriting for LMTP

2016-05-16 Thread Johannes Bauer
Hi list, I've recently switched around my mail configuration so that Postfix delivers to dovecot using LMTP over TCP (couldn't get Unix socket to work unfortunately, sigh). Anyways, here's the scenario: I have multiple virtual mailboxes, fed from virtual_mailbox_maps. There's one main user and se

Re: How not to do trivial "To" rewriting for LMTP

2016-05-16 Thread Viktor Dukhovni
> On May 16, 2016, at 6:16 PM, Johannes Bauer wrote: > > I have multiple virtual mailboxes, fed from virtual_mailbox_maps. > There's one main user and several aliases to that user. Mail needs to be > dropped off at that user though. Stupid explanation, easily explained: > > j...@mydomain.org

RE: postfix ignoring access file?

2016-05-16 Thread Gomes, Rich
True, but I have always set up Sendmail that way, using the access file like an allow list. I would like postfix to be setup in a similar fashion -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Richard Sent: Monday, May 16,

RE: postfix ignoring access file?

2016-05-16 Thread Richard
> Date: Monday, May 16, 2016 22:44:44 + > From: "Gomes, Rich" < >> From: Richard >> Sent: Monday, May 16, 2016 5:40 PM > >>> Date: Monday, May 16, 2016 19:38:56 + >>> From: "Gomes, Rich" >>> >>> Thank you. >>> >>> My goal is for any IPs in the access file to be allowed and any >>>

"host refused to talk to me" 6 days ago?

2016-05-16 Thread Vicki Brown
I sent a message on May 10. Today I got the "host ... refused to talk to me" bounce message. My mail log shows multiple attempts to deliver, all with a result of host... "refused to talk to me: 554" and status=deferred What can I change to make postfix give up sooner, say, after 3 attempts? It