Re: Access denied when trying to send from localhost

2017-11-30 Thread Nikolaos Milas
On 1/12/2017 4:09 πμ, Rodrigo Cunha wrote: Change This: mynetworks = 195.251.204.0/24 , 195.251.202.0/23 , 194.177.194.0/23 , 127.0.0.0/8 , 10.201.0.0/16 , [2001:648:2011::]/4

Re: Access denied when trying to send from localhost

2017-11-30 Thread Nikolaos Milas
On 1/12/2017 1:58 πμ, Benny Pedersen wrote: change hash to cidr I have already tried cidr with no luck: smtpd_recipient_restrictions =   check_client_access cidr:/etc/postfix/localhost.cidr   check_recipient_access hash:/etc/postfix/protected_destinations   permit_sasl_authenticated   reject_

Re: host smtp.embarqmail.com[206.152.134.66] refused to talk to me: 421 4.3.4 allocated resources exceeded

2017-11-30 Thread Viktor Dukhovni
> On Nov 30, 2017, at 9:30 PM, Chris wrote: > > Thanks so much for the explanation Viktor. I didn't think it was a > postfix issue but hoped I would get something I could send to the tech > support people to help figure this out. As far as trying another MUA I > get the same error when sending

Re: host smtp.embarqmail.com[206.152.134.66] refused to talk to me: 421 4.3.4 allocated resources exceeded

2017-11-30 Thread Chris
On Thu, 2017-11-30 at 21:21 -0500, Viktor Dukhovni wrote: > > > > > On Nov 30, 2017, at 8:51 PM, Chris wrote: > > > > Nov 30 19:46:02 localhost postfix/pickup[21295]: 98C9410005DF: > > uid=1000 > > from= > > Nov 30 19:46:02 localhost postfix/cleanup[21376]: 98C9410005DF: > > message-id=<2017120

Re: host smtp.embarqmail.com[206.152.134.66] refused to talk to me: 421 4.3.4 allocated resources exceeded

2017-11-30 Thread Viktor Dukhovni
> On Nov 30, 2017, at 8:51 PM, Chris wrote: > > Nov 30 19:46:02 localhost postfix/pickup[21295]: 98C9410005DF: uid=1000 > from= > Nov 30 19:46:02 localhost postfix/cleanup[21376]: 98C9410005DF: > message-id=<20171201014602.98C9410005DF@cpollock.localdomain> > Nov 30 19:46:02 localhost postfix/q

Re: Access denied when trying to send from localhost

2017-11-30 Thread Rodrigo Cunha
back up, ok. Change this line, append "127.0.0.1/8" Change This: mynetworks = 195.251.204.0/24, 195.251.202.0/23, 194.177.194.0/23, 127.0.0.0/8, 10.201.0.0/16, [2001:648:2011::]/48, 83.212.5.24/29, [2001:648:2ffc:1115::]/64, 62.217.124.0/29, [2001:648:2ffc:126::]/64 change that for this mynetwor

Re: host smtp.embarqmail.com[206.152.134.66] refused to talk to me: 421 4.3.4 allocated resources exceeded

2017-11-30 Thread Chris
On Thu, 2017-11-30 at 19:06 -0500, Wietse Venema wrote: > Chris: > > > > Nov 30 16:57:43 localhost postfix/smtp[4075]: F3FFE1000D53: > > to= > k...@centurylink.net>, relay=smtp.centurylink.net[206.152.134.66]:587, > Why are you sending to port 587? > > Wietse I set the port to 25 and sent

Re: host smtp.embarqmail.com[206.152.134.66] refused to talk to me: 421 4.3.4 allocated resources exceeded

2017-11-30 Thread Chris
On Thu, 2017-11-30 at 19:06 -0500, Wietse Venema wrote: > Chris: > > > > Nov 30 16:57:43 localhost postfix/smtp[4075]: F3FFE1000D53: > > to= > k...@centurylink.net>, relay=smtp.centurylink.net[206.152.134.66]:587, > Why are you sending to port 587? > > Wietse That is the port that Centuryl

Re: host smtp.embarqmail.com[206.152.134.66] refused to talk to me: 421 4.3.4 allocated resources exceeded

2017-11-30 Thread Wietse Venema
Chris: > Nov 30 16:57:43 localhost postfix/smtp[4075]: F3FFE1000D53: to= k...@centurylink.net>, relay=smtp.centurylink.net[206.152.134.66]:587, Why are you sending to port 587? Wietse

Re: Access denied when trying to send from localhost

2017-11-30 Thread Viktor Dukhovni
> On Nov 30, 2017, at 6:50 PM, Nikolaos Milas wrote: > > smtpd_recipient_restrictions = > check_client_access hash:/etc/postfix/localhost > check_recipient_access hash:/etc/postfix/protected_destinations > permit_sasl_authenticated > reject_unverified_recipient > reject_unauth_destina

Re: Access denied when trying to send from localhost

2017-11-30 Thread Benny Pedersen
Nikolaos Milas skrev den 2017-12-01 00:50: smtpd_recipient_restrictions =   check_client_access hash:/etc/postfix/localhost What am I doing wrong? change hash to cidr or add permit_mynetworks instead of check_client_access

Access denied when trying to send from localhost

2017-11-30 Thread Nikolaos Milas
Hello, On our mail server (running Postfix 3.2.4) I am also using fetchmail to read mail from some pop server and deliver it to local users. Yet, mail fails to get delivered: ... Dec  1 01:34:39 vmail2 fetchmail[11447]: POP3> RETR 1 Dec  1 01:34:39 vmail2 fetchmail[11447]: POP3< +OK message 1

Re: host smtp.embarqmail.com[206.152.134.66] refused to talk to me: 421 4.3.4 allocated resources exceeded

2017-11-30 Thread Chris
On Thu, 2017-11-30 at 14:20 -0500, Viktor Dukhovni wrote: > > > > > On Nov 30, 2017, at 2:00 PM, Chris wrote: > > > > Nov 30 11:00:05 localhost postfix/smtp[32261]: A3CEA1000BDA: > > to= > c...@embarqmail.com>, relay=smtp.embarqmail.com[206.152.134.66]:587, > > delay=0.93, delays=0.58/0.25/0.11

Re: smtpd_sasl_auth_enable is true but sasl support is not compiled in (postfix-gento)

2017-11-30 Thread Benny Pedersen
James Reynolds skrev den 2017-11-30 22:52: The "AUTH PLAIN" works also. When I telnet into the server the "RCPT" command works, but not with openssl s_client. It's not a big deal. I am just really happy to find out that I can test this now. I think my certificate is ok too, so I don't know wh

Re: smtpd_sasl_auth_enable is true but sasl support is not compiled in (postfix-gento)

2017-11-30 Thread James Reynolds
The "AUTH PLAIN" works also. When I telnet into the server the "RCPT" command works, but not with openssl s_client. It's not a big deal. I am just really happy to find out that I can test this now. I think my certificate is ok too, so I don't know why I get "RENEGOTIATING" and the other info

RE: smtpd_sasl_auth_enable is true but sasl support is not compiled in (postfix-gento)

2017-11-30 Thread Fazzina, Angelo
And, if you wanna get more detailed this is all I do to test accounts. RAN pamtester smtp ssl_test authenticate to test ability to authenticate with account ssl_test (it worked) RAN testsaslauthd -s smtp -u ssl_test -p to test Saslauthd (it worked) RAN python -c

RE: smtpd_sasl_auth_enable is true but sasl support is not compiled in (postfix-gento)

2017-11-30 Thread Fazzina, Angelo
Mine that I use to test openssl s_client -connect massmail.uconn.edu:465 openssl s_client -starttls smtp -connect massmail.uconn.edu:587 telnet is just for port 25 YMMV. -ANGELO FAZZINA UITS Service Manager: Spam and Virus Prevention Mass Mailing G Suite/Gmail ang...@uconn.edu University of

Re: smtpd_sasl_auth_enable is true but sasl support is not compiled in (postfix-gento)

2017-11-30 Thread James Reynolds
I have never heard of using openssl s_client instead of telnet so I tried to figure out how to use it. I could connect to my server with the following. openssl s_client -connect 10.0.1.1:25 -starttls smtp And I can do "HELO" and "MAIL FROM:" but when I try to enter "RCPT TO:" I just g

Re: smtpd_sasl_auth_enable is true but sasl support is not compiled in (postfix-gento)

2017-11-30 Thread Benny Pedersen
Yuri Ferreira skrev den 2017-11-30 17:49: someone help-me ? to get more help: postconf -nf postconf -Mf on pastebin with a link to maillist you should stop using telnet to test ssl, use openssl s_client ... to replace it man openssl if you see AUTH on port 25 yoy maked a mistake, but if

Re: smtpd_sasl_auth_enable is true but sasl support is not compiled in (postfix-gento)

2017-11-30 Thread Noel Jones
On 11/30/2017 10:49 AM, Yuri Ferreira wrote: > *I'm having problems with cyrus-sasl. testsaslauthd is ok, but when I use > telnet localhost 25, I get this:* > > / root # telnet localhost 25 > Trying ::1. > Espace character is '^]'. > 220 postfix.dominio.com.br ESMTP MEU DOMINIO > ehlo postfix

Re: host smtp.embarqmail.com[206.152.134.66] refused to talk to me: 421 4.3.4 allocated resources exceeded

2017-11-30 Thread Viktor Dukhovni
> On Nov 30, 2017, at 2:00 PM, Chris wrote: > > Nov 30 11:00:05 localhost postfix/smtp[32261]: A3CEA1000BDA: to= c...@embarqmail.com>, relay=smtp.embarqmail.com[206.152.134.66]:587, > delay=0.93, delays=0.58/0.25/0.11/0, dsn=4.3.4, status=deferred (host > smtp.embarqmail.com[206.152.134.66] ref

host smtp.embarqmail.com[206.152.134.66] refused to talk to me: 421 4.3.4 allocated resources exceeded

2017-11-30 Thread Chris
Postfix 3.1.0-3ubuntu0.2 on Ubuntu 16.04.3 LTS. Postfix is responsible for sending me hourly syslog snippets and output from some other cronjobs. Since September I've been seeing the above pretty much every time it's used to send anything to me. The complete output is: Nov 30 11:00:04 localhost po

RE: smtpd_sasl_auth_enable is true but sasl support is not compiled in (postfix-gento)

2017-11-30 Thread Fazzina, Angelo
Hi, I put STARTTLS on port 587 SSL on port 465 and regular on port 25 Not sure how to do encrypted and unencrypted on port 25 ? -ANGELO FAZZINA UITS Service Manager: Spam and Virus Prevention Mass Mailing G Suite/Gmail ang...@uconn.edu University of Connecticut,  UITS, SSG, Server Sys

smtpd_sasl_auth_enable is true but sasl support is not compiled in (postfix-gento)

2017-11-30 Thread Yuri Ferreira
*I'm having problems with cyrus-sasl. testsaslauthd is ok, but when I use telnet localhost 25, I get this:* / root # telnet localhost 25 Trying ::1. Espace character is '^]'. 220 postfix.dominio.com.br ESMTP MEU DOMINIO ehlo postfix 250-postfix.dominio.com.br 250-PIPELINING 250-SIZE 1024 2

smtpd_sasl_auth_enable is true but sasl support is not compiled in (postfix-gento)

2017-11-30 Thread Yuri Ferreira
*I'm having problems with cyrus-sasl. testsaslauthd is ok, but when I use telnet localhost 25, I get this:* / root # telnet localhost 25 Trying ::1. Espace character is '^]'. 220 postfix.dominio.com.br ESMTP MEU DOMINIO ehlo postfix 250-postfix.dominio.com.br 250-PIPELINING 250-SIZE 1024 2

Re: SV: Good solution for antivirus

2017-11-30 Thread Dominic Raferd
On 30 November 2017 at 16:28, Gary wrote: > > FWIW > ... > > From: fribse2...@yahoo.dk > Ok, it looks like there is a clamav-milter available in the EPEL, that seems > to be the simplest solution. > So I've installed clamav-milter-systemd clamav-scanner-systemd If you use clamav you should add t

Re: SV: Good solution for antivirus

2017-11-30 Thread Gary
FWIW, I've had amavisd-new "stall", for lack of a better description. Some describe it as locking up. I decided to pull it since I can't always get to a PC to get it going again. My problem is not unique as others have posted complaints on serverfault and similar websites. I look forward to your

SV: Good solution for antivirus

2017-11-30 Thread K F
Ok, it looks like there is a clamav-milter available in the EPEL, that seems to be the simplest solution. So I've installed clamav-milter-systemd clamav-scanner-systemd I've corrected the config for clamd: cp /usr/share/doc/clamav-server-0.98.4/clamd.conf /etc/clamd.d/clamd.conf LogSyslog yesDatab

Good solution for antivirus

2017-11-30 Thread K F
Hi All Ok, got the postfix/dovecot solution up and running, and it's performing nicely. It's a definite upgrade from the Windows 2003+SMTP server solution that was there before, performance is not comparable, and management with the postfixadmin is just simply nice. Again, thankyou very much to

R: Re: Filter for incoming mail from External servers

2017-11-30 Thread Matteo Cazzador
Thanks i follow your suggest Inviato da smartphone Sony Xperia™ Enrico Morelli ha scritto >On Wed, 29 Nov 2017 18:05:38 +0100 >Matteo Cazzador wrote: > >> Hi, i need to apply a filter (a script) on every email incoming from >> external to my mail server. >> >> I need to apply this

Re: Filter for incoming mail from External servers

2017-11-30 Thread Enrico Morelli
On Wed, 29 Nov 2017 18:05:38 +0100 Matteo Cazzador wrote: > Hi, i need to apply a filter (a script) on every email incoming from > external to my mail server. > > I need to apply this filter on "from" field. > > Only for incoming mail from external server. > > Some one can help me please. >