Re: Execute linux commands after receive a mail...

2017-03-17 Thread Sean Greenslade
On Thu, Mar 16, 2017 at 05:48:49PM -0700, li...@lazygranch.com wrote: > I had no idea you could receive email on any port. I wonder how many > ISPs allow this. Sure, you can run any service on any port. The default ports (e.g. 25 for SMTP) are simply there to make interoperability easy. Most ISPs

Re: Problems with lmtp

2017-03-17 Thread chaouche yacine
On Thursday, March 16, 2017 4:09 PM, Viktor Dukhovni wrote: >> The problem is then getting dovecot to understand what to do with that >> fully qualified user once it gets it. For my case, since the 'user' that >> postfix is mapping to is the same as the local Unix user I want it delivered >> to,

Re: Problems with lmtp

2017-03-17 Thread Thomas Leuxner
* chaouche yacine 2017.03.17 10:25: > > Or similar, yes. I have: > > > >userdb { > >args = uid=500 gid=500 home=/var/spool/virtual > > mail=maildir:/var/spool/virtual/%n > >driver = static > >} > > > Sorry for asking this on a postfix list but Viktor it seems all your users >

Re: Execute linux commands after receive a mail...

2017-03-17 Thread Ron Wheeler
What would be the human reaction to a 15 second latency (nothing to regular e-mail service) on a light switch - hit it again and again until the first message arrives. Fun to imagine lights suddenly turning on and off in rapid succession as delayed e-mail starts to get delivered a few seconds a

Re: How to get mail relay to work

2017-03-17 Thread paul.greene.va
Maybe you're in an environment where you get to decide which equipment, applications, whatever you want to use, but for some of us, this was already decided long before we got there. We are using postfix for a mail server, that's a given. I already admitted I'm very new to running a mail server

Re: How to get mail relay to work

2017-03-17 Thread Larry Stone
Your original post did not indicate a problem you are having. The only question you asked was "Besides /etc/postfix/main.cf, is there any other files that need to be edited to enable this mail relaying?”. Was this an oblique way of saying “it’s not working, what else do I need to change” or are

Possibly o.t. Postfixadmin 3.x unable to log in

2017-03-17 Thread David Mehler
Hello, Not sure if this is the right place for this question. I have no previous experience with Postfixadmin for domain and user management with postfix as I usually do my configuration file editing manually. I've got a project where i'm needing to run it. I've got a postfix 2.11 and Postfixadm

Re: How to get mail relay to work

2017-03-17 Thread Wietse Venema
paul.greene.va: > Hello All, > > Apologies in advance - I'm brand new to postfix; hopefully this question > won't be too newbish. > > I've been given a task to get a freshly installed postfix server to > forward mail from an application - i.e. when changes are made to an > application, the app

Re: Problems with lmtp

2017-03-17 Thread chaouche yacine
Thank you Thomas, so if I understand correctly in Viktor's config dovecot is only used by postfix as a backend to query for valid virtual email addresses ?

Re: How to get mail relay to work

2017-03-17 Thread paul.greene.va
Thank you for responding. Problem turned out to be upstream; nothing wrong with postfix. On 3/17/2017 8:50 AM, Larry Stone wrote: Your original post did not indicate a problem you are having. The only question you asked was "Besides /etc/postfix/main.cf, is there any other files that need to

Re: Possibly o.t. Postfixadmin 3.x unable to log in

2017-03-17 Thread Noel Jones
On 3/17/2017 8:32 AM, David Mehler wrote: > Hello, > > Not sure if this is the right place for this question. > You can get support for postfixadmin from their wiki and user forum.

Re: Problems with lmtp

2017-03-17 Thread Viktor Dukhovni
> On Mar 17, 2017, at 9:52 AM, chaouche yacine wrote: > > Thank you Thomas, so if I understand correctly in Viktor's config dovecot is > only used by postfix as a backend to query for valid virtual email addresses ? Dovecot is used as an IMAP server. Postfix does maildir delivery. --

policyd-spf and temperrors

2017-03-17 Thread James B. Byrne
OS=CentOS-6.8 (Linux) postconf -d | grep mail_version # version mail_version = 2.11.1 milter_macro_v = $mail_name $mail_version We are currently experiencing an outage at a remote site that happens to provide two of our four DNS services. We have also recently, I am tempted to write co-incident

Re: policyd-spf and temperrors

2017-03-17 Thread Viktor Dukhovni
> On Mar 17, 2017, at 11:31 AM, James B. Byrne wrote: > > mohawkglobalta.com. 1476IN TXT "v=spf1 > include:spf.protection.outlook.com ip4:208.33.203.70/31 -all" Don't forget the lookups needed to process the "include:" clause, and the fact that DNS observations vary with time

Re: policyd-spf and temperrors

2017-03-17 Thread James B. Byrne
On Fri, March 17, 2017 11:41, Viktor Dukhovni wrote: > >> On Mar 17, 2017, at 11:31 AM, James B. Byrne >> wrote: >> >> mohawkglobalta.com. 1476IN TXT "v=spf1 >> include:spf.protection.outlook.com ip4:208.33.203.70/31 -all" > > Don't forget the lookups needed to process the "inclu

Re: policyd-spf and temperrors

2017-03-17 Thread Viktor Dukhovni
> On Mar 17, 2017, at 12:08 PM, James B. Byrne wrote: > > Mar 17 11:39:47 inet08 policyd-spf[13505]: Temperror; identity=helo; > client-ip=69.89.30.42; helo=gproxy3-pub.mail.unifiedlayer.com; > envelope-from=p...@thecargosolutionscanada.com; > receiver=b...@harte-lyne.ca > . . . > Mar 17 11:42:5

Re: Problems with lmtp

2017-03-17 Thread Thomas Leuxner
* chaouche yacine 2017.03.17 14:52: > Thank you Thomas, so if I understand correctly in Viktor's config dovecot is > only used by postfix as a backend to query for valid virtual email addresses ? Hi Yassine, one of the benefits of using Dovecot's MDAs besides Sieve, is that they update the me

Re: policyd-spf and temperrors

2017-03-17 Thread James B. Byrne
I have just noticed this error. I suspect this points to the root of our problems. What does it mean? Mar 17 12:16:58 inet08 postfix-p25/smtpd[14495]: connect from russian-caravan.cloud9.net[168.100.1.4] Mar 17 12:16:59 inet08 postfix-p25/smtpd[14529]: warning: problem talking to server private

Re: policyd-spf and temperrors

2017-03-17 Thread Thomas Leuxner
* James B. Byrne 2017.03.17 17:20: > Mar 17 12:16:58 inet08 postfix-p25/smtpd[14495]: connect from > russian-caravan.cloud9.net[168.100.1.4] > Mar 17 12:16:59 inet08 postfix-p25/smtpd[14529]: warning: problem > talking to server private/policyd-spf: Connection timed out It means Postfix is unabl

Re: policyd-spf and temperrors

2017-03-17 Thread James B. Byrne
I have also seen this: Mar 17 12:31:22 inet08 postfix/spawn[14598]: warning: command /usr/libexec/postfix/policyd-spf exit status 1 However, these message only began to appear yesterday evening. This is the first occurrence found in logs going back to February 12: var/log/maillog:Mar 16 17:15:

Re: policyd-spf and temperrors

2017-03-17 Thread Thomas Leuxner
* James B. Byrne 2017.03.17 17:44: > Mar 17 12:31:22 inet08 postfix/spawn[14598]: warning: command > /usr/libexec/postfix/policyd-spf exit status 1 It is spawned per mail in my configuration: $ postconf -nf | grep -A1 private/policyd check_policy_service { unix:private/policyd-spf, timeout=

Monitoring Postfix Mail queue with SNMP

2017-03-17 Thread Sean Son
Hello all We would like to monitor Postfix mail queues using SMNP so we can receive alerts whenever the mail queue reaches a certain threshold. What OID and MIB would we have to use to be able to monitor Postfix mail queues? Thank you for all of your help in this post and other posts of mine!

Re: policyd-spf and temperrors

2017-03-17 Thread Viktor Dukhovni
> On Mar 17, 2017, at 12:20 PM, James B. Byrne wrote: > > I have just noticed this error. I suspect this points to the root of > our problems. Not the cause, but a related symptom... > What does it mean? DNS lookups in policyd-spf are sufficient slow to not keep up with demand. You may need

Re: Monitoring Postfix Mail queue with SNMP

2017-03-17 Thread Viktor Dukhovni
> On Mar 17, 2017, at 1:06 PM, Sean Son > wrote: > > Hello all > > We would like to monitor Postfix mail queues using SMNP so we can receive > alerts whenever the mail queue reaches a certain threshold. What OID and MIB > would we have to use to be able to monitor Postfix mail queues? I don

Re: policyd-spf and temperrors

2017-03-17 Thread Wietse Venema
Thomas Leuxner: Checking application/pgp-signature: FAILURE -- Start of PGP signed section. > * James B. Byrne 2017.03.17 17:20: > > > Mar 17 12:16:58 inet08 postfix-p25/smtpd[14495]: connect from > > russian-caravan.cloud9.net[168.100.1.4] > > Mar 17 12:16:59 inet08 postfix-p25/smtpd[14529]: wa

Re: policyd-spf and temperrors

2017-03-17 Thread Noel Jones
On 3/17/2017 1:09 PM, Wietse Venema wrote: > Thomas Leuxner: > > Checking application/pgp-signature: FAILURE > -- Start of PGP signed section. >> * James B. Byrne 2017.03.17 17:20: >> >>> Mar 17 12:16:58 inet08 postfix-p25/smtpd[14495]: connect from >>> russian-caravan.cloud9.net[168.100.1.4] >>>

Re: policyd-spf and temperrors

2017-03-17 Thread Scott Kitterman
On March 17, 2017 12:20:11 PM EDT, "James B. Byrne" wrote: >I have just noticed this error. I suspect this points to the root of >our problems. What does it mean? > > >Mar 17 12:16:58 inet08 postfix-p25/smtpd[14495]: connect from >russian-caravan.cloud9.net[168.100.1.4] >Mar 17 12:16:59 inet0

gmail servers on blacklists?

2017-03-17 Thread David Mehler
Hello, I'm starting to see blocks on my messages to my mail server. For some reason postscreen is not letting any gmail servers send mail, it's blocking them. Has anyone got an idea or have you seen this? Here's my postscreen setup: # postscreen(8) settings ### Before-220 tests postscreen_greet

Re: policyd-spf and temperrors

2017-03-17 Thread James B. Byrne
On Fri, March 17, 2017 16:49, Scott Kitterman wrote: > > > On March 17, 2017 12:20:11 PM EDT, "James B. Byrne" > wrote: >>I have just noticed this error. I suspect this points to the root of >>our problems. What does it mean? >> >> >>Mar 17 12:16:58 inet08 postfix-p25/smtpd[14495]: connect from

Re: gmail servers on blacklists?

2017-03-17 Thread Christian Kivalo
On 2017-03-17 22:12, David Mehler wrote: Hello, I'm starting to see blocks on my messages to my mail server. For some reason postscreen is not letting any gmail servers send mail, it's blocking them. Has anyone got an idea or have you seen this? You could use postwhite https://github.com/stev

Re: policyd-spf and temperrors

2017-03-17 Thread James B. Byrne
On Fri, March 17, 2017 12:57, Thomas Leuxner wrote: > * James B. Byrne 2017.03.17 17:44: > >> Mar 17 12:31:22 inet08 postfix/spawn[14598]: warning: command >> /usr/libexec/postfix/policyd-spf exit status 1 > > It is spawned per mail in my configuration: > > $ postconf -nf | grep -A1 private/polic

Re: gmail servers on blacklists?

2017-03-17 Thread /dev/rob0
On Fri, Mar 17, 2017 at 05:12:07PM -0400, David Mehler wrote: > I'm starting to see blocks on my messages to my mail server. For some > reason postscreen is not letting any gmail servers send mail, it's > blocking them. > > Has anyone got an idea or have you seen this? Typically you would SHOW LO

Re: gmail servers on blacklists?

2017-03-17 Thread David Mehler
Hi, Much thanks. Lost ahbl, and glad to see it go. Thanks. Dave. On 3/17/17, /dev/rob0 wrote: > On Fri, Mar 17, 2017 at 05:12:07PM -0400, David Mehler wrote: >> I'm starting to see blocks on my messages to my mail server. For some >> reason postscreen is not letting any gmail servers send mail

bitdefender

2017-03-17 Thread David Mehler
Hello, I'm running a postfix mail server. One of it's components is antivirus. For that I'm running clamav. I'd like to have a second scanner as backup. Does anyone have any experience with bitdefender? If not any other suggestions? Thanks. Dave.