Questions about reject_unknown_sender_domain

2015-07-24 Thread Michael Peter
Hi, reject_unknown_sender_domain Reject the request when Postfix is not final destination for the sender address, i am confused that is the meaning "when postfix is not final destination for the sender address" ? so for example if the sender address is send...@example.com. and the receipt addres

Problems with incoming mails from outlook.com

2015-07-24 Thread Moritz Schmitt
Hey, My server serving.schmi.tt is experiencing problems with mails coming in from outlook.com. This is what I found in my logs (many times actually): - Jul 24 09:28:16 serving postfix/smtpd[4577]: initializing the server-side TLS engine Jul 24 09:28:16 serving postfix/smtpd[4577]: connect f

Re: Migrating From Postfix 2.5.5 to Postfix 2.11

2015-07-24 Thread Peter
On 07/24/2015 11:53 AM, Ivan Avery Frey wrote: > Due to special circumstances where I'm working, I will need to copy the > queues. You mention that it takes some care to get right. Would these be > the timestamps on the files? Because cp now has a -a (archive) option. cp has had -a for as long as

Mail from PHP agent on hold

2015-07-24 Thread Peter
HI guys, Till today I was always using one the following method to hold emails in order to investigate issues with them: smtpd_sender_restrictions = static:HOLD smtp_helo_restrictions = static:HOLD smtp_data_restrictions = static:HOLD Today, I also wanted to hold some emails that are being sent

max connection for inbound/outbound smtp

2015-07-24 Thread Michael Peter
Hi, master.cf smtp inet n - - - 100 smtpd I understand that the default concurrent simultaneous incoming smtp connections is 100? but what about outgoing smtp connections to remote smtpd servers? how many connections postfix can establish for outgoing emails t

Re: Problems with incoming mails from outlook.com

2015-07-24 Thread Moritz Schmitt
In reply to my earlier mail: I kept experimenting a bit by using tcpdump. And the output suggested to turn on IPv6 support (inet_protocols = all) in Postfix. Now the messages from outlook.com get delivered but not without problems. Here are the relevant log entries: - Jul 24 12:58:58 serving

Wildcard key and inline-maps

2015-07-24 Thread Dominik Chilla
Hello, I´m trying to use the new inline:{key=value, ...}-map in combination with smtpd_restriction_classes. What I want the map to do is to reject per default (last key is a kind of wildcard?) if no key=value matched. Actually I´ve realized this with PCRE-maps, which results in a lot of files

Re: Mail from PHP agent on hold

2015-07-24 Thread Koko Wijatmoko
On Fri, 24 Jul 2015 13:08:42 +0200 Peter wrote: > HI guys, > > Till today I was always using one the following method to hold emails > in order to investigate issues with them: > smtpd_sender_restrictions = static:HOLD > smtp_helo_restrictions = static:HOLD > smtp_data_restrictions = static:HOL

Re: Mail from PHP agent on hold

2015-07-24 Thread Koko Wijatmoko
On Fri, 24 Jul 2015 13:08:42 +0200 Peter wrote: > which is okay, but when PHP mailer sends an email from localhost I > get: > > Jul 24 12:49:38 server postfix/pickup[16749]: B435A614EF: uid=48 > from= > this is not localhost.. but inject to sendmail command line from uid 48.

Re: Wildcard key and inline-maps

2015-07-24 Thread Wietse Venema
Dominik Chilla: > Hello, > > I?m trying to use the new inline:{key=value, ...}-map in combination > with smtpd_restriction_classes. What I want the map to do is to reject > per default (last key is a kind of wildcard?) if no key=value matched. > Actually I?ve realized this with PCRE-maps, which

Re: max connection for inbound/outbound smtp

2015-07-24 Thread Wietse Venema
Michael Peter: [ Charset ISO-8859-1 converted... ] > Hi, > > master.cf > smtp inet n - - - 100 smtpd > > I understand that the default concurrent simultaneous incoming smtp > connections is 100? There is one connection per "smtpd" process. > but what about out

Re: Problems with incoming mails from outlook.com

2015-07-24 Thread Viktor Dukhovni
[ Bcc'd to a contact Microsoft, who should be able to help get the issue addressed on that end at some point. The problem is a TLS stack at outlook.com that is poorly suited to opportunistic TLS. However, it is possible to work around this in Postfix, mostly by sticking to default settings,

Re: Questions about reject_unknown_sender_domain

2015-07-24 Thread Viktor Dukhovni
On Fri, Jul 24, 2015 at 10:31:10AM +0300, Michael Peter wrote: http://www.postfix.org/postconf.5.html#reject_unknown_sender_domain reject_unknown_sender_domain Reject the request when Postfix is not final destination for the sender address, and the MAIL FROM domain has 1)

Re: Wildcard key and inline-maps

2015-07-24 Thread Viktor Dukhovni
On Fri, Jul 24, 2015 at 01:32:40PM +0200, Dominik Chilla wrote: > I'm trying to use the new inline:{key=value, ...} map in combination with > smtpd_restriction_classes. What I want the map to do is to reject by > default (last key is a kind of wildcard?) if no key=value matched. The "inline" tabl

Re: Problems with incoming mails from outlook.com

2015-07-24 Thread Michael J Wise
> [ Bcc'd to a contact Microsoft, who should be able to help get the > issue addressed on that end at some point. The problem is a TLS > stack at outlook.com that is poorly suited to opportunistic TLS. > However, it is possible to work around this in Postfix, mostly > by sticking to defaul

Re: Wildcard key and inline-maps

2015-07-24 Thread Wietse Venema
Viktor Dukhovni: > On Fri, Jul 24, 2015 at 01:32:40PM +0200, Dominik Chilla wrote: > > > I'm trying to use the new inline:{key=value, ...} map in combination with > > smtpd_restriction_classes. What I want the map to do is to reject by > > default (last key is a kind of wildcard?) if no key=value

Re: Mail from PHP agent on hold

2015-07-24 Thread Peter
Alright, A technical question then; I always thought PHP connects to localhost just as if I did "telnet localhost 25". What is the difference between an external email connecting to the email server and localhost PHP sending emails? Why don't I see "connection from localhost[127.0.0.1] in the lo

Re: Mail from PHP agent on hold

2015-07-24 Thread Wietse Venema
Peter: > Alright, > > A technical question then; I always thought PHP connects to localhost > just as if I did "telnet localhost 25". > What is the difference between an external email connecting to the email > server and localhost PHP sending emails? Why don't I see "connection > from localhost