Quantcast
Channel: iRedMail
Viewing all articles
Browse latest Browse all 47834

"SPAM FROM LOCAL" notice received as "Undelivered Mail Returned..."

$
0
0

==== Required information ====
- iRedMail version: iRedAdmin-Pro-MySQL-1.6.0.tar.bz2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: CentOS 6.3
- Related log if you're reporting an issue:
====

Hi.
FYI - I've substituted my actual domain with <mydomain> through this post.

"SPAM FROM LOCAL" notices which should get delivered to root@<mydomain> are being bounced by postfix.
I receive a copy via postmaster@<mydomain> in the form of an  "Undelivered Mail Returned to sender" email.
If I send (from a 3rd party server) an email to either postmaster@<mydomain> or root@<mydomain> I receive them not issue.
Any ideas on how I can resolve this?

On line 362/3 of default config of /etc/amavisd/amavisd.conf, I've change to:
$final_banned_destiny     = D_DISCARD;
$final_spam_destiny       = D_DISCARD;

I have default for:
$policy_bank{'MYUSERS'} = {
    originating => 1,
    allow_disclaimers => 1,
    virus_admin_maps => ["root\@$mydomain"],
    spam_admin_maps  => ["root\@$mydomain"],
    warnbadhsender   => 0,
    smtpd_discard_ehlo_keywords => ['8BITMIME'],
    terminate_dsn_on_notify_success => 0,
};

I have a mailbox josh@<mydomain> with an alias for root and postmast on it.

Postfix maillog shows:
to=<root@<mydomain>>, relay=dovecot, delay=0.12, delays=0.05/0.01/0/0.07, dsn=5.1.1, status=bounced (user unknown)


Viewing all articles
Browse latest Browse all 47834

Trending Articles