0

IPTables Rules for Courier & Exim

Gregor Weichbrodt 10 years ago updated 10 years ago 1
Hello,

I did a reboot and somehow my IPTables rules vanished. I'm pretty sure I activated autostart and everything worked fine before. Now, I am struggling to set the correct iptables rules for my mail server in Ajenti V mail. Please – could anybody help me?

dpkg -l | grep courier
ii  courier-authdaemon                 0.63.0-6+b1                   amd64        Courier authentication daemon
ii  courier-authlib                    0.63.0-6+b1                   amd64        Courier authentication library
ii  courier-authlib-userdb             0.63.0-6+b1                   amd64        userdb support for the Courier authentication library
ii  courier-base                       0.68.2-1                      amd64        Courier mail server - base system
ii  courier-imap                       4.10.0-20120615-1             amd64        Courier mail server - IMAP server
ii  courier-imap-ssl                   4.10.0-20120615-1             amd64        Courier mail server - IMAP over SSL
ii  courier-ssl                        0.68.2-1                      amd64        Courier mail server - SSL/TLS Support


BTW: Is there a list of default firewall rules for Ajenti applications, like ftp and mail?

UPDATE:
the restart seemed to broke permissions. Exim4 mainlog states:
login authenticator failed for ([192.168.XX.XX]) [92.225.XX.XX]: 435 Unable to authenticate at present (set_id=XXX@XXX.de): failed to connect to socket /var/run/courier/authdaemon/socket: Permission denied


Gregor
Ok. Tried hard, learned a lot. In the end it was just port 25 that needed to be open.