Re: Blocking emails from domain for a single user

2015-04-19 Thread Noel Jones
On 4/19/2015 7:03 PM, Simon wrote: > Hi There, > > We are using postfix 2.7.1 on debian. Is there a simple way to block > emails from a domain or From address only to a certain to address? > So this would match both from and to in the header to then block the > email. e.g. > > From: blockt...@dom

Re: whitelist dest domains for locally submitted email

2015-04-19 Thread Viktor Dukhovni
On Sun, Apr 19, 2015 at 10:05:40PM -0500, David Tilley wrote: > I've been a happy Postfix admin since before Ralf finished his book, but > now I have something I can't quite wrap my brain around. I have a small > local Postfix installation that accepts mail *only* from locally logged > in shell us

whitelist dest domains for locally submitted email

2015-04-19 Thread David Tilley
I've been a happy Postfix admin since before Ralf finished his book, but now I have something I can't quite wrap my brain around. I have a small local Postfix installation that accepts mail *only* from locally logged in shell users (via sendmail(1) for example). It listens only on the loopback,

Re: /var/spool/postfix/defer files?

2015-04-19 Thread Bob Proulx
Wietse Venema wrote: > Bob Proulx: > When the delivery fails and the message is too old, the bounce > daemon returns message FOO to the sender using the content of > defer/FOO as evidence, and if successful, deletes defer/FOO. That is what I would expect too. My server network was fine but a remo

Blocking emails from domain for a single user

2015-04-19 Thread Simon
Hi There, We are using postfix 2.7.1 on debian. Is there a simple way to block emails from a domain or From address only to a certain to address? So this would match both from and to in the header to then block the email. e.g. From: blockt...@domain.com To: cli...@theirdomain.com Only when block

Re: Connection timed out

2015-04-19 Thread Krzs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 I could have written [SOLVED] on this mail header. It was "ONLY" a matter of name resolution not allowed > disable_dns_lookups on YES now i corrected and it's working like a charm ;) Thank you !!! (y) Scroll dow the mail i answered few things :) O

Re: /var/spool/postfix/defer files?

2015-04-19 Thread Wietse Venema
Viktor Dukhovni: > On Sun, Apr 19, 2015 at 04:38:42PM -0400, Wietse Venema wrote: > > > > Is this something I may have misconfigured without knowing it? > > > > This is not configurable. When the queue manager selects message > > FOO for delivery, it deletes defer/FOO. > > It is also possible th

Re: /var/spool/postfix/defer files?

2015-04-19 Thread Viktor Dukhovni
On Sun, Apr 19, 2015 at 04:38:42PM -0400, Wietse Venema wrote: > > Is this something I may have misconfigured without knowing it? > > This is not configurable. When the queue manager selects message > FOO for delivery, it deletes defer/FOO. It is also possible that an unclean shutdown or similar

Re: /var/spool/postfix/defer files?

2015-04-19 Thread Wietse Venema
Bob Proulx: > Wietse Venema wrote: > > Bob Proulx: > > > I am trying to understand what, if anything, cleans out files from the > > > /var/spool/postfix/defer directory? > > > > The queue manager. > > Is this something I may have misconfigured without knowing it? This is not configurable. When t

Re: Connection timed out

2015-04-19 Thread Herbert J. Skuhra
On Sun, Apr 19, 2015 at 09:37:54PM +0200, Krzs wrote: > Hi list ... > my smtp refuses to deliver mail to SOME adressess not all giving me a > connection timed out error . I show you logs in charge: > > > smtp[13847]: 27A6111B: to=, > relay=none, delay=86842, delays=86722/0.01/120/0, dsn=4.4.1, >

Re: Connection timed out

2015-04-19 Thread Jeffrey 'jf' Lim
On Mon, Apr 20, 2015 at 3:53 AM, Richard < inbound-lists-post...@listmail.innovate.net> wrote: > > > Original Message > > Date: Sunday, April 19, 2015 21:37:54 +0200 > > From: Krzs > > > > Hi list ... > > my smtp refuses to deliver mail to SOME adressess not all giving >

Re: /var/spool/postfix/defer files?

2015-04-19 Thread Bob Proulx
Wietse Venema wrote: > Bob Proulx: > > I am trying to understand what, if anything, cleans out files from the > > /var/spool/postfix/defer directory? > > The queue manager. Is this something I may have misconfigured without knowing it? > > Except this means that every one of those messages that

Re: Connection timed out

2015-04-19 Thread Richard
Original Message > Date: Sunday, April 19, 2015 21:37:54 +0200 > From: Krzs > > Hi list ... > my smtp refuses to deliver mail to SOME adressess not all giving > me a connection timed out error . I show you logs in charge: > > smtp[13847]: 27A6111B: to=, > relay=none, d

Connection timed out

2015-04-19 Thread Krzs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi list ... my smtp refuses to deliver mail to SOME adressess not all giving me a connection timed out error . I show you logs in charge: > smtp[13847]: 27A6111B: to=, relay=none, delay=86842, delays=86722/0.01/120/0, dsn=4.4.1, status=deferred (co

Re: /var/spool/postfix/defer files?

2015-04-19 Thread Wietse Venema
Bob Proulx: > I am trying to understand what, if anything, cleans out files from the > /var/spool/postfix/defer directory? The queue manager. > Everything works great. But then due to a network outage at a remote > network a lot of mail to that network is queued. All normal. Working > as it sh

/var/spool/postfix/defer files?

2015-04-19 Thread Bob Proulx
I am trying to understand what, if anything, cleans out files from the /var/spool/postfix/defer directory? Everything works great. But then due to a network outage at a remote network a lot of mail to that network is queued. All normal. Working as it should. Eventually the remote network comes

Re: Postfix redundant server

2015-04-19 Thread nh
Thanks for the information, I need some time to review my configuration (it's my first setup so it's not perfect). -- View this message in context: http://postfix.1071664.n5.nabble.com/Postfix-redundant-server-tp76270p76310.html Sent from the Postfix Users mailing list archive at Nabble.com.

RE: Add subject in logs or into a file ?

2015-04-19 Thread Marius Gologan
If you want to log the Subject during the SMTP delivery (will appear as postfix/smtp log): main.cf: smtp_header_checks = pcre:/etc/postfix/header_smtp.pcre header_smtp.pcre: /^Subject: / info From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On B

Re: Add subject in logs or into a file ?

2015-04-19 Thread Olivier CALVANO
Thanks i test today ;=) 2015-04-19 7:27 GMT+02:00 phil : > On 19/04/2015 3:21 PM, Olivier CALVANO wrote: > >> Hi >> >> Actually, i have a Postfix server and into the logs i have: >> >> Apr 14 20:06:00 mx postfix/smtpd[24600]: 01BF8301079A: >> client=o1.email.xx.com [192.xx