Topic: [SOLVED] iRedMail+pf = cannot recieve mail
==== Required information ====
- iRedMail version: 0.8.4
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MYSQL
- Linux/BSD distribution name and version: OpenBSD 5.1
- Related log if you're reporting an issue:
====
Hello,
I'm having a somewhat unexpected problem, I have everything working like a charm but if I don't route emails to spamd, if I do enable PF to route traffic to spamd then I never get any email.
What do you think the problem may be?, the machine is behind a firewall but but is set for ports 25,587 and 993.
PF is set to route traffic from ports 25 to port 8025, so I guess my actual question is, shouldn't map also 587 to be routed to port 8025?
With the current configuration of PF I don't get any email:
# pfctl -sr
block drop log all
pass out all flags S/SA
pass in on egress inet proto tcp from any to any port = 25 flags S/SA rdr-to 127.0.0.1 port 8025
pass in on egress proto tcp from <nospamd> to any port = 25 flags S/SA
pass in log on egress proto tcp from <spamd-white> to any port = 25 flags S/SA
pass in on egress proto tcp from any to any port = 80 flags S/SA
pass in on egress proto tcp from any to any port = 443 flags S/SA
pass in on egress proto tcp from any to any port = 587 flags S/SA
pass in on egress proto tcp from any to any port = 143 flags S/SA
pass in on egress proto tcp from any to any port = 993 flags S/SA
pass in on egress proto tcp from any to any port = 110 flags S/SA
pass in on egress proto tcp from any to any port = 995 flags S/SA
pass in on egress proto tcp from any to any port = 22 flags S/SA
pass in on egress proto tcp from any to any port = 25 flags S/SA
Any suggestions and ideas are welcome and sorry if the question is too basic.
Thank you
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.