6 msgOne domain, one user account - aliases
6 msgDisable from=<>
4 msgPostfix and Locale
5 msgamavis documentation
3 msgA little bit confusing...
5 msgemail filtering
3 msgPostfix, dns, and hosts.allow
3 msgThis is new
10 msgUsing a Specific SMTP instead of DNS for Intern...

Re: Issue on postrix
\ j debert (14 Nov 2007)
. \ mouss (14 Nov 2007)

2 msgCaching/connection pooling?
4 msgdkim-filter wildcards
4 msgHow to avoid dictionary attacks, from internal ...
5 msgQuestion for WV? [Fwd: Re: [dkim-milter-beta] d...
3 msgSpam simulation
20 msgBlackberry or iphone ?
3 msgsmtp auth session cache Q
1 msgRE: ETRN / fast flush - how many domains is 'to...
5 msgdifference between amavis and amavis-new
6 msgETRN forward?
Subject:Re: Issue on postrix
Group:Postfix-users
From:j debert
Date:14 Nov 2007


 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[cc'd to list. Please reply to list.]

Babu M wrote:
> Sir below is advised by u. Please let me know how to redirect mails from
> MAILER-DAEMON to 1 <mailto:1> & 2
> <mailto:2>.
> thank u.
>
> Bissio wrote:
>> Thanks for answers,
>
>> My problem still exists... I need to block every message thaat comes
>> from MAILER-DAEMON@somesomains or postmaster@somedomains to some of my
>> accounts and for this i use: smtpd_restriction_classes and it works
>> fine, but if the filed Return-Path is empty, the messages are delivered.
>> Is there a way to block these messages for these accounts?
>
> Do not block the messages. It is considered bad manners and certainly will
> not make anyone your friend.
>
> Accept the messages and route them to /dev/null. Doing that means you will
> miss messages you should see, Guaranteed!
>
> How about routing such messages to some other account instead?
>
> It might be helpful to explain why you do not want to receive messages from
> mailer daemons and postmasters.
>
> --
> jd
> jdeb... <mailto:jdeb...>
>

You can forward incoming mail (from outside world) using on header checks:

/etc/postfix/header_checks:

/^From: MAILER-DAEMON@/
REDIRECT somebody

/^From: postmaster@/
REDIRECT somebody-else

.
.
.



/etc/postfix/main.cf:

header_checks = regexp:/etc/postfix/header_checks



Read:
http://www.postfix.org/CONTENT_INSPECTION_README.html
http://www.postfix.org/BUILTIN_FILTER_README.html

Read this thread, also:
"How to drop any (external) mail to root,administrator,webmaster and
so on?" 12 Nov 2007

==
jd
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFHOh8fhpL3F+HeDrIRAqGdAJ9BQpXztcb6Mb1k+kn93fsWvqduuQCfe2al
4RF1ggD6vfbzOmiizqjyh2g=
=JCV0
-----END PGP SIGNATURE-----



© 2004-2008 readlist.com