Re: lost connection while sending end of data

2018-04-20 Thread Wietse Venema
Christos Chatzaras: > I use dovecot lmtp, dovecot quota plugin and postfix. > > When I send e-mail to 2 recipients (or more) at the same time and if one of > them is over quota (or under quota and the message I send is bigger than his > free space) mailq shows: > > -Queue ID- --Size--

Re: automatic email account configuration, postfix pipelining restriction

2018-04-20 Thread Wietse Venema
David Mehler: > Hi, > > It's Thunderbird 52.7. Is there a workaround to make this work? Yes, do nothing. In particular, do not use the Postfix reject_unauth_pipelining feature, because that would trigger a REJECT response. Wietse > On 4/20/18, Viktor Dukhovni

Re: automatic email account configuration, postfix pipelining restriction

2018-04-20 Thread David Mehler
Hi, It's Thunderbird 52.7. Is there a workaround to make this work? Thanks. Dave. On 4/20/18, Viktor Dukhovni wrote: > > >> On Apr 20, 2018, at 4:52 PM, David Mehler wrote: >> >> I'm atempting to configure email autoconfig and autodiscover

Re: automatic email account configuration, postfix pipelining restriction

2018-04-20 Thread Viktor Dukhovni
> On Apr 20, 2018, at 4:52 PM, David Mehler wrote: > > I'm atempting to configure email autoconfig and autodiscover services > for Mozilla and Microsoft clients. I'm using Postfix 3.3. At first I > thought I was dealing with either an Apache or Dovecot issue, now I'm >

Re: Postfix, milters and quarantine actions

2018-04-20 Thread Viktor Dukhovni
> On Apr 20, 2018, at 5:40 PM, J Doe wrote: > > Hello, > > I had some questions regarding milters in general, with the questions > initially focused on the OpenDKIM milter (version 2.10.3), on Postfix 3.1.0 Look for the word "quarantine" in

lost connection while sending end of data

2018-04-20 Thread Christos Chatzaras
I use dovecot lmtp, dovecot quota plugin and postfix. When I send e-mail to 2 recipients (or more) at the same time and if one of them is over quota (or under quota and the message I send is bigger than his free space) mailq shows: -Queue ID- --Size-- Arrival Time

Postfix, milters and quarantine actions

2018-04-20 Thread J Doe
Hello, I had some questions regarding milters in general, with the questions initially focused on the OpenDKIM milter (version 2.10.3), on Postfix 3.1.0 In man 5 opendkim.conf, under the CaptureUnknownErrors parameter, it specifies: When set, and on systems where MTA quarantine is

automatic email account configuration, postfix pipelining restriction

2018-04-20 Thread David Mehler
Hello, I'm atempting to configure email autoconfig and autodiscover services for Mozilla and Microsoft clients. I'm using Postfix 3.3. At first I thought I was dealing with either an Apache or Dovecot issue, now I'm thinking it's an error with my Postfix configuration. Whenever I atempt a

Re: Read Only account

2018-04-20 Thread Viktor Dukhovni
> On Apr 20, 2018, at 3:40 PM, @lbutlr wrote: > > How would I configure a user so that they could only read mail and not send > any mail (even to local users). If you accept mail from strangers on port 25, and the user can reach port 25 on your inbound MX host, then you

Re: Read Only account

2018-04-20 Thread /dev/rob0
On Fri, Apr 20, 2018 at 03:53:17PM -0400, Kevin A. McGrail wrote: > On 4/20/2018 3:40 PM, @lbutlr wrote: > > How would I configure a user so that they could only read mail > > and not send any mail (even to local users). > > > Different auth for POP or IMAP vs SMTP? Or in the SASL backend, have

Re: Read Only account

2018-04-20 Thread Kevin A. McGrail
On 4/20/2018 3:40 PM, @lbutlr wrote: > How would I configure a user so that they could only read mail and not send > any mail (even to local users). > Different auth for POP or IMAP vs SMTP?

Read Only account

2018-04-20 Thread @lbutlr
How would I configure a user so that they could only read mail and not send any mail (even to local users).

Re: Mails stuck in queue until inflow stops

2018-04-20 Thread Stephen Satchell
On 04/20/2018 11:12 AM, Bastian Blank wrote: If your application eats up all the memory, then you won't get any useful message rate outgoing. And worse, if you overflow DRAM, you now add swap load to the disk, which further slows things down. One MUST avoid going into swap if possible, or

Re: Mails stuck in queue until inflow stops

2018-04-20 Thread Viktor Dukhovni
> On Apr 20, 2018, at 2:12 PM, Bastian Blank > wrote: > >> bounce_queue_lifetime = 5d > > I thought this is a system that should move mails as fast as possible > outgoing. Why would it ever handle bounces? The application may want to collect

Re: Mails stuck in queue until inflow stops

2018-04-20 Thread Bastian Blank
On Fri, Apr 20, 2018 at 06:42:03PM +0530, Ram wrote: > Is there a contention on the queue manager when the inflow is too quick ? Well, show some evidence. > bounce_queue_lifetime = 5d I thought this is a system that should move mails as fast as possible outgoing. Why would it ever handle

Re: integrating p0f with postfix

2018-04-20 Thread Wietse Venema
David Mehler: > Hello, > > I was hoping to avoid something so heavy weight, are there any other options? As of Postfix 3.2, the policy delegation protocol will send the server and client port and address. You can use this to query the p0f cache. http://www.postfix.org/SMTP_POLICY_README.html

Re: Mails stuck in queue until inflow stops

2018-04-20 Thread Viktor Dukhovni
> On Apr 20, 2018, at 9:12 AM, Ram wrote: > > I have a very busy postfix server that acts as a relay. It gets mails from an > application and then forwards the mails to the delivery servers on local LAN > > The application can send mails at rate of upto 600 mails per

Re: undisclosed-recipients

2018-04-20 Thread Noel Jones
On 4/20/2018 3:30 AM, Karel wrote: > Hello, > > is it legitimate to use "To: undisclosed-recipients", or is to only > (mainly) used by spammers ? It is legit. I don't see many spammers using this anymore, probably because of the incorrect perception that it indicates spam. It is no different

Re: integrating p0f with postfix

2018-04-20 Thread David Mehler
Hello, I was hoping to avoid something so heavy weight, are there any other options? Thanks. Dave. On 4/20/18, Matus UHLAR - fantomas wrote: > On 19.04.18 22:25, David Mehler wrote: >>Does anyone have p0f going with postfix? I'm wanting to add a header >>for email

Re: user unknown in virtual mailbox table

2018-04-20 Thread Alfredo De Luca
Hi all. I had a run with postmap and these are the founding so we have mydomain1.com which is the original domain.and mydomain2.com which is the actual domanin of our company. So when I do the following - postmap -q arel...@mydomain1.comregexp:./domain_rewriting ldap:./

Re: Mails stuck in queue until inflow stops

2018-04-20 Thread Durga Prasad Malyala
Hi, We achieved considerable improvement in delivery speed and thereby negligible queues by shifting the mail spool to a faster disk. Rgds/DP Sent from my iPhone. Pls excuse brevity and typos if any. > On 20-Apr-2018, at 8:10 PM, Stephen Satchell wrote: > >> On

Re: Mails stuck in queue until inflow stops

2018-04-20 Thread Stephen Satchell
On 04/20/2018 06:44 AM, Wietse Venema wrote: No, there is contention for the file system. If you disabled in_flow_delay, turn it back on, please. This allows the queue manager to push back, though it works only for clients that make few parallel connections. Looking at master.cf, there is the

Re: Mails stuck in queue until inflow stops

2018-04-20 Thread Wietse Venema
Ram: > > > On 04/20/2018 07:14 PM, Wietse Venema wrote: > > Ram: > >> I have a very busy postfix server that acts as a relay. It gets mails > >> from an application and then forwards the mails to the delivery servers > >> on local LAN > >> > >> The application can send mails at rate of? upto 600

Re: Mails stuck in queue until inflow stops

2018-04-20 Thread Ram
On 04/20/2018 07:14 PM, Wietse Venema wrote: Ram: I have a very busy postfix server that acts as a relay. It gets mails from an application and then forwards the mails to the delivery servers on local LAN The application can send mails at rate of? upto 600 mails per second Postfix has been

Re: user unknown in virtual mailbox table

2018-04-20 Thread Viktor Dukhovni
> On Apr 20, 2018, at 8:03 AM, @lbutlr wrote: > > The biggest issue between regex (POSIX) and PCRE is that POSIX regex is > greedy. that is, it matches the longest possible left, while PCRE matches the > shortest possible left. That's false (example uses a Bash in-line

Re: Mails stuck in queue until inflow stops

2018-04-20 Thread Wietse Venema
Ram: > I have a very busy postfix server that acts as a relay. It gets mails > from an application and then forwards the mails to the delivery servers > on local LAN > > The application can send mails at rate of? upto 600 mails per second > Postfix has been configured to accept mails all that

Mails stuck in queue until inflow stops

2018-04-20 Thread Ram
I have a very busy postfix server that acts as a relay. It gets mails from an application and then forwards the mails to the delivery servers on local LAN The application can send mails at rate of  upto 600 mails per second Postfix has been configured to accept mails all that quickly, but the

Re: user unknown in virtual mailbox table

2018-04-20 Thread @lbutlr
On 2018-04-20 (05:07 MDT), Wietse Venema wrote: > > Also, be aware that many examples 'on the web' use PCRE which > is subtly different from regexp. The biggest issue between regex (POSIX) and PCRE is that POSIX regex is greedy. that is, it matches the longest possible

Re: integrating p0f with postfix

2018-04-20 Thread Matus UHLAR - fantomas
On 19.04.18 22:25, David Mehler wrote: Does anyone have p0f going with postfix? I'm wanting to add a header for email connecting OS. I think amavis supports p0f, so any way of integrating amavis into postfix should allow this functionality (and many others). -- Matus UHLAR - fantomas,

Re: user unknown in virtual mailbox table

2018-04-20 Thread Wietse Venema
Alfredo De Luca: > Hi all. Any clue/suggestions? > > virtual_mailbox_domains = $config_directory/vdomains.txt > > virtual_mailbox_maps = regexp:$config_directory/domain_rewriting Test your regexp table like this: $ postmap -q u...@example.com regexp:$config_directory/domain_rewriting Or better,

Re: user unknown in virtual mailbox table

2018-04-20 Thread Alfredo De Luca
Hi all. Any clue/suggestions? Cheers On Thu, Apr 19, 2018 at 2:51 PM, Alfredo De Luca wrote: > Hi all. Here is my postfix config.of course with domains and ip > changed. > > I had a look also on the ldap section and given what are the > reccommandation here

Re: undisclosed-recipients

2018-04-20 Thread Doug Hardie
> On 20 April 2018, at 01:30, Karel wrote: > > Hello, > > is it legitimate to use "To: undisclosed-recipients", or is to only > (mainly) used by spammers ? > > Seems to me, if I get an email, I should also know who else was the > email sent to. > Its like having a

undisclosed-recipients

2018-04-20 Thread Karel
Hello, is it legitimate to use "To: undisclosed-recipients", or is to only (mainly) used by spammers ? Seems to me, if I get an email, I should also know who else was the email sent to. Its like having a conference call and you don't know who's participating. If I wanted to block emails without

Re: prevent NDRs for sieve-forwarded emails

2018-04-20 Thread mj
Thanks for your reply. On 04/19/2018 02:51 PM, Matus UHLAR - fantomas wrote: rewriting sender of the forwarded mail in the SRS (https://en.wikipedia.org/wiki/Sender_Rewriting_Scheme) way and delivering all the mail to rewritten sender to someone who is able to fix or remove such forwarding. I