Re: Sender dependent command_filter

2017-01-24 Thread Christian Rößner
> Am 24.01.2017 um 17:38 schrieb Wietse Venema : > > Christian Ro??ner: >> >>> Am 24.01.2017 um 12:48 schrieb Wietse Venema : >>> >>> Maybe you can start with a "null" proxy and smtpd_proxy_filter, >>> and add some modifications to the SMTP command

Re: load balanced emails servers pair

2017-01-24 Thread Eero Volotinen
how about mounting ceph or glusterfs disk to message store? eero 25.1.2017 5.18 ap. "Patrick Domack" kirjoitti: > This would not be a good thing to do, as deleted email will magically > reappear. > > Using unison to sync it worked for me, over 10years ago. But these

Re: load balanced emails servers pair

2017-01-24 Thread Patrick Domack
This would not be a good thing to do, as deleted email will magically reappear. Using unison to sync it worked for me, over 10years ago. But these days, just use dsync part of dovecot, and your life will be happy. Quoting Patrick Chemla : Hi Wietse, Of

Re: using nginx proxy with postfix & IMAP - SMTP proxy in-front of postfix, or after it ?

2017-01-24 Thread eval
Hi, On 01/24/2017 04:39 PM, Wietse Venema wrote: > I understand that nginx uses the XCLIENT protocol to send client > IP address information to Postfix. This is supported in smtpd(8) > but it not in postscreen(8), because XCLIENT requires SMTP, and > postscreen(8) normally does not receive SMTP

Re: centos 7

2017-01-24 Thread Steve Jenkins
On Mon, Jan 23, 2017 at 11:47 AM Vernon Fort wrote: > What’s the best way to get the latest version of postfix on centos 7? > Google "centos postfix build" and click on the first link, which is my walk-thru for upgrading Postfix on CentOS, including CentOS 7. I've

Re: using nginx proxy with postfix & IMAP - SMTP proxy in-front of postfix, or after it ?

2017-01-24 Thread Wietse Venema
eval: > I have Postfix/postscreen 3.1.4 + AV/AS/etc. running on a hosted > VM. > > It acts as a front-end, delivering to another postfix instance > that's on my LAN; the comm's over a VPN link. > > The local postfix instance delivers via LMTP to an IMAP store, > currently on the same box. It also

using nginx proxy with postfix & IMAP - SMTP proxy in-front of postfix, or after it ?

2017-01-24 Thread eval
I have Postfix/postscreen 3.1.4 + AV/AS/etc. running on a hosted VM. It acts as a front-end, delivering to another postfix instance that's on my LAN; the comm's over a VPN link. The local postfix instance delivers via LMTP to an IMAP store, currently on the same box. It also provides port 587

Re: [Solved] Postfix can't send from localhost

2017-01-24 Thread bithead
It turns out the previous admin neglected to include a section in master.cf to indicate the relay port that was specified in the dkimproxy_in.conf file. Adding that section cured the problem. Apparently the old system running on lenny somehow tolerates the omission without causing any problems.

Re: Postfix can't send from localhost

2017-01-24 Thread bithead
Very good, then. Thanks! -- View this message in context: http://postfix.1071664.n5.nabble.com/Postfix-can-t-send-from-localhost-tp88417p88458.html Sent from the Postfix Users mailing list archive at Nabble.com.

Re: centos 7

2017-01-24 Thread Peter
On 25/01/17 03:06, Vernon Fort wrote: >> There's also detailed instructions on how to install the postfix packages at: >> http://ghettoforge.org/index.php/Postfix3 > > I also found this - https://oostergo.net/ - which appears to be a bit more > updated. How so? They're both at 3.1.4, the

Re: Postfix can't send from localhost

2017-01-24 Thread Noel Jones
On 1/24/2017 1:03 PM, bithead wrote: > Scott - can you (or anyone else) shed some light on why there would be a DKIM > content filter on the pickup process? Nothing I've read about DKIM so far > has ever shown an example of why one might do that. As previously > indicated, I've inherited this

Re: Postfix can't send from localhost

2017-01-24 Thread bithead
Scott - can you (or anyone else) shed some light on why there would be a DKIM content filter on the pickup process? Nothing I've read about DKIM so far has ever shown an example of why one might do that. As previously indicated, I've inherited this server, so am trying to back-learn the previous

Re: postfix rsyslog not logging

2017-01-24 Thread Wietse Venema
Benning, Markus: > If /dev/log would not be hardcoded in syslog.h it would be possible to > make the socket configurable in postfix and output directly to the > rsyslog process. Postfix does not write to the logging socket. The library does. Wietse

Reject code for overquota and non-existent virtual users

2017-01-24 Thread davide marchi
Hi, my problem is that postfix respond with the same reject code for over-quota user and non-existent user (reject code 5.5.0 in both cases) ; is right for non-existent user but for over-quota is 5.5.2. my psotconf -n address_verify_map = alias_database = hash:/etc/aliases alias_maps =

Re: return 4XX error when the postfix can't connect to LDAP server.

2017-01-24 Thread Wietse Venema
Hiroyuki Sato: > I set up NSS(nslcd) and PAM config for LDAP on CentOS6. > And I got the following error when the postfix server can't connect to > LDAP server. > During this message, a user(in LDAP) lookup fail. Postfix gets the information from THE SYSTEM LIBRARY FUNCTION getpwnam_r(). * If

Re: Stopping spam.

2017-01-24 Thread Ralf Hildebrandt
* Mark Van Crombrugge : > At this point I receive the above e-mail. > > In the e-mail details below, I can find that the message is sent by > ironp...@ucr.ac.cr but even adding this e-mail address to the Postfix > blacklist has no effect. Why not block the

Re: Stopping spam.

2017-01-24 Thread Noel Jones
On 1/24/2017 9:32 AM, Mark Van Crombrugge wrote: > Hi, > > > > We use Postfix - Dovecot – Sympa – spamassassin – clamav on an > Ubuntu 14.04 server. > > Last week we sent out a message to a Sympa mailing list and one of > the e-mail addresses was in Costa-Rica. (@ucr.ac.cr) > > Since then we

Re: postfix rsyslog not logging

2017-01-24 Thread Benning, Markus
If /dev/log would not be hardcoded in syslog.h it would be possible to make the socket configurable in postfix and output directly to the rsyslog process. :-( On 2017-01-23 15:04, wie...@porcupine.org wrote: And the logging daemon uses more CPU than Postfix. We're back 20 years ago. --

Re: Stopping spam.

2017-01-24 Thread Ben Greenfield
I think you have a bounce loop with mailman? bouncing each bounce message from ironport. I would make sure the mailman queue is empty. Ben > On Jan 24, 2017, at 10:38 AM, Noel Jones wrote: > > On 1/24/2017 9:32 AM, Mark Van Crombrugge wrote: >> Hi, >> >> >> >> We

Stopping spam.

2017-01-24 Thread Mark Van Crombrugge
Hi, We use Postfix - Dovecot – Sympa – spamassassin – clamav on an Ubuntu 14.04 server. Last week we sent out a message to a Sympa mailing list and one of the e-mail addresses was in Costa-Rica. (@ucr.ac.cr) Since then we keep receiving an e-mail from their Cisco Iron Port system about

RE: centos 7

2017-01-24 Thread Vernon Fort
On 24/01/17 10:57, Brad Chandler wrote: >> Take a look at the gf-plus repository on Ghettoforge. >> http://ghettoforge.org/index.php/Usage >There's also detailed instructions on how to install the postfix packages at: >http://ghettoforge.org/index.php/Postfix3 I also found this -

Re: Sender dependent command_filter

2017-01-24 Thread Christian Rößner
> Am 24.01.2017 um 12:48 schrieb Wietse Venema : > > Maybe you can start with a "null" proxy and smtpd_proxy_filter, > and add some modifications to the SMTP command stream based > on sender. Not sure, if I totally understand. Null-Porxy meaning postfix process with

Re: centos 7

2017-01-24 Thread Peter
On 24/01/17 10:57, Brad Chandler wrote: > Take a look at the gf-plus repository on Ghettoforge. > http://ghettoforge.org/index.php/Usage There's also detailed instructions on how to install the postfix packages at: http://ghettoforge.org/index.php/Postfix3 Peter

Re: load balanced emails servers pair

2017-01-24 Thread Patrick Chemla
Hi Wietse, Of course I thought about such NAS solution, but I wanted to check if there is a way with 2 separate disks, with a kind of that could be aware of emails files changes. Actually, the mail server run onto a VM, on a big server. I have another big server with same emails VM, and I

Re: return 4XX error when the postfix can't connect to LDAP server.

2017-01-24 Thread Hiroyuki Sato
Hello, Wietse Thank you for replying. You mean that the Postfix server should not stop connection to LDAP server? Even it is OS issue, can I change unknown user status? I set up NSS(nslcd) and PAM config for LDAP on CentOS6. And I got the following error when the postfix server can't connect to

Re: Sender dependent command_filter

2017-01-24 Thread Wietse Venema
Maybe you can start with a "null" proxy and smtpd_proxy_filter, and add some modifications to the SMTP command stream based on sender. Wietse

Re: load balanced emails servers pair

2017-01-24 Thread Wietse Venema
Patrick Chemla: > Hi, > > I have a running Fedora 24 emails server using postfix 3.1.3, with courier. > > I wonder how to build a pair of MTAs to secure emails at all time, > having 2 servers receiving the emails, and users could connect to either > server to get emails, maybe on a load

Re: How to modify subject line for all mail not whitelisted at dnswl.org?

2017-01-24 Thread Wietse Venema
mar...@black-sheep-research.com: > Any suggestion please? Use an external content filter (Postfix is not a content-management system). See http://www.postfix.org/FILTER_README.html http://www.postfix.org/MILTER_README.html http://www.postfix.org/SMTPD_PROXY_FILTER.html Wietse

Re: return 4XX error when the postfix can't connect to LDAP server.

2017-01-24 Thread Wietse Venema
Hiroyuki Sato: > Hello, members. > > Is it possible to return 4XX value of the > unknown_local_recipient_reject_code, > when the mail server can't connect to LDAP server? How does POSTFIX call the LDAP server? If it is done via PAM_LDAP, please file a bug with your OS vendor that PAM_LDAP

load balanced emails servers pair

2017-01-24 Thread Patrick Chemla
Hi, I have a running Fedora 24 emails server using postfix 3.1.3, with courier. I wonder how to build a pair of MTAs to secure emails at all time, having 2 servers receiving the emails, and users could connect to either server to get emails, maybe on a load balanced way. Problems are with

Re: How to modify subject line for all mail not whitelisted at dnswl.org?

2017-01-24 Thread martin
Any suggestion please? On 19 Jan 2017, 09:16 +, Martin Brampton , wrote: > This is somewhat related to: > > On 19/01/2017 08:53, Petr Bena wrote: Re: How to effectively block > communication to all domains except whitelisted? > > Since the start of this year,

return 4XX error when the postfix can't connect to LDAP server.

2017-01-24 Thread Hiroyuki Sato
Hello, members. Is it possible to return 4XX value of the unknown_local_recipient_reject_code, when the mail server can't connect to LDAP server? I have a postfix mail server. And It stores user information in the LDAP server(Via PAM). When the mail server disconnects to LDAP, currently the