1

Topic: Back-end custom filters?

==== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Ubuntu Server
- Related log if you're reporting an issue:
====

I can see that iRedMail does a good job of keeping hijackers out, but I'd rather have iRedMail quietly block these attempts. I'm talking about these:

This is the mail system at host (host).

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                   The mail system

<greglee76@hotmail.com>: host mx3.hotmail.com[65.54.188.72] said: 550 Requested
    action not taken: mailbox unavailable (in reply to RCPT TO command)

These mean someone (a bot probably, because these happen in groups at the same time) tried to hijack my mail server to send spam, and couldn't because I assume relaying isn't allowed and they don't have the credentials to log in.

How can I make my mail server NOT let me know about these? It's kind of annoying because I have my phone set up to check my mail and I don't want to be bothered with this on my phone. K-9 mail can mark something as spam, but apparently does absolutely nothing about it, so I'd rather take care of this on the back end.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Back-end custom filters?

*) Your server are sending spam to other servers, you should check it out and stop it.
*) You can use sieve filter to silent these notifications. for example, discard, move to another IMAP folder, mark as read, etc.

3

Re: Back-end custom filters?

ZhangHuangbin wrote:

*) Your server are sending spam to other servers, you should check it out and stop it.
*) You can use sieve filter to silent these notifications. for example, discard, move to another IMAP folder, mark as read, etc.

What's the best way to stop my server from sending spam?

4

Re: Back-end custom filters?

audiodef wrote:

What's the best way to stop my server from sending spam?

You have to figure out which account spammer used to send spam first, ask this user to reset password, or reset for this user. If spam stops, then it's caused by cracked password.

If it doesn't help, figure out how spammer send email.

5

Re: Back-end custom filters?

ZhangHuangbin wrote:
audiodef wrote:

What's the best way to stop my server from sending spam?

You have to figure out which account spammer used to send spam first, ask this user to reset password, or reset for this user. If spam stops, then it's caused by cracked password.

If it doesn't help, figure out how spammer send email.

Thanks! I'm going to change the password on that account. If that's not the problem, how would I figure out how the spammer sent mail?

6

Re: Back-end custom filters?

audiodef wrote:

how would I figure out how the spammer sent mail?

Please check Postfix log file.