Hello!
Does Postfix detect changes in /etc/resolv.conf to flush its dns caches etc,
please?
Kind regards,
Hans
On Tue, Aug 25, 2015 at 10:24:48AM -0400, Wietse Venema wrote:
Milters receive the message content after Postfix has processed it,
including From: and other headers that were added by Postfix itself.
Milters can be implemented with Python, Perl, and (ugh) C.
Thank you!
I have decided to use t
On Tue, Aug 25, 2015 at 04:20:49PM +0200, Hans Ginzel wrote:
I have in CentOS GNU/Linux local upper-case usernames.
Based on this discussion
http://postfix.1071664.n5.nabble.com/Trying-to-use-uppercase-names-in-Postfix-tt28606.html#a28613
how to achieve the b) solution to use something other
Hello!
Because of the consistency with some AS400 application,
I have in CentOS GNU/Linux local upper-case usernames.
Based on this discusion
http://postfix.1071664.n5.nabble.com/Trying-to-use-uppercase-names-in-Postfix-tt28606.html#a28613
how to achive the b) solution to use something other tha
On Tue, Aug 25, 2015 at 09:51:50AM -0400, Wietse Venema wrote:
Based on the tiny bits of information revealed sofar, I suggest
using non_smtpd_milters.
Thank you.
Had we known that the problem is in local submissions without From:
header, that could have saved a ton of time.
I am sorry, but
On Tue, Aug 25, 2015 at 02:51:45PM +0200, Hans Ginzel wrote:
Where is the problem that smtp_header_checks are not applied, please?
I think it is because of local delivery.
It seems smtp_header_checks are applied only for remote delivery.
How to “enable” them for local delivery, please?
Or how
On Tue, Aug 25, 2015 at 06:24:12AM -0400, Wietse Venema wrote:
Try using smtp_header_checks instead.
Thank you.
I have changed header_checks to smtp_header_checks in main.cf:
service postfix reload
postconf -n header_checks
postconf -n smtp_header_checks
smtp_h
On Tue, Aug 25, 2015 at 11:30:07AM +0200, Christian Kivalo wrote:
Maybe this applies to your problem, from
http://www.postfix.org/header_checks.5.html
Message headers added by the cleanup(8) daemon itself are
excluded from inspection. Examples of such message headers are From:,
To:,
On Tue, Aug 25, 2015 at 11:21:12AM +0200, Christian Kivalo wrote:
On 2015-08-25 10:30, Hans Ginzel wrote:
/^(From:.*)/i
WARN header_checks: $1
is this on one line in the file?
It is on two lines, but the second is indented by tab.
Are you sure your emails contain a line with a ^From
On Tue, Aug 25, 2015 at 09:37:37AM +0200, Christian Kivalo wrote:
Whats the content of your header_checks file?
/^(From:.*)/i
WARN header_checks: $1
And test
postmap -fq "From: Joe User "
pcre:/etc/postfix/header_checks
works:
WARN header_checks: From: Joe User
Howto
Thank you.
On Mon, Aug 24, 2015 at 01:43:08PM -0400, Wietse Venema wrote:
Send an email, and it will log something. For example this was
I have removed timestamp and hostname:
postfix/pickup[20385]: 52D3E801BA: uid=494 from=
postfix/cleanup[23831]: 52D3E801BA:
message-id=<20150824202317.52D3E
Thank you.
Dne 24.08.2015 17:52, Benny Pedersen napsal:
it will be stupid in main.cf anyway
postconf -Mf | grep recieve_override_options
postconf -Mf | grep recieve_override_options
postconf: invalid option -- 'M'
postconf: fatal: usage: postconf …
rpm -q -f `which postconf`
postfix-2.6.6-6.e
Thank you.
Dne 24.08.2015 17:32, wie...@porcupine.org napsal:
Use Postfix logging. If you can't find it, then you need to fix
your logging infrastructure which is not part of Postfix.
As I wrote, logging messages goes to /var/log/maillog.
Perhaps it helps to turn off chroot:
http://www.postf
Thank you.
Dne 24.08.2015 17:40, Viktor Dukhovni napsal:
On Mon, Aug 24, 2015 at 05:20:51PM +0200, Hans Ginzel wrote:
First, make sure logging works:
$ postlog -p warn -t postfix/test "warning: this is a test".
It works. Message is in /var/log/maillog.
find the log message in th
Thank you.
Dne 24.08.2015 16:03, Viktor Dukhovni napsal:
And tested that it is set? (Hint: "postconf -n header_checks").
And made sure that header_checks has no overrides in the relevant
master.cf cleanup entry?
I have reloaded the daemon
service postfix reload
The check is OK:
postco
Dne 24.08.2015 12:45, wie...@porcupine.org napsal:
If it is a few users, use header_checks. If it is many users,
use a Milter (available in Python, Perl, C).
Thank you.
Few users. I added
header_checks = pcre:/etc/postfix/header_checks
to /etc/postfix/main.cf.
I ran
postmap pcre:/etc/
Hello!
How can I, please, rewrite the "From:" header of the local user when
sending e-mail remotely? Not only the e-mail address but also the name.
E.g.
From: Technical user
to
From: Department
I use postfix-2.6.6 on CentOS.
Regards,
Hans
17 matches
Mail list logo