Hi all,
I could use an extra pair of eyes to solve a something in my mailserver configuration.
I've set up mail/postfix and mail/dspam in a way which is probably familiar to you. Postfix passes incoming emails to dspam, which scans them, and returns them to postfix on port 10026, whereupon they are delivered.
For outgoing mails on the server, such as from a webmail client or a CMS, I use "localhost 10026", thereby bypassing dspam. No need to scan outgoing mails, right?
One final piece: I'd also like to use port 10026 to send mail from my permanent IP number, but for some reason I can't configure postfix to accept incoming mail from a remote IP. I've added my IP number to the mynetworks parameter in master.cf:
But no luck. Full entry:
I've opened port 10026 in /etc/pf.conf
Nmap indicates it is open:
But if I try telnetting to 10026, I don't get the postfix prompt:
This is what I expect:
I expect the problem is here:
Any ideas?
I could use an extra pair of eyes to solve a something in my mailserver configuration.
I've set up mail/postfix and mail/dspam in a way which is probably familiar to you. Postfix passes incoming emails to dspam, which scans them, and returns them to postfix on port 10026, whereupon they are delivered.
For outgoing mails on the server, such as from a webmail client or a CMS, I use "localhost 10026", thereby bypassing dspam. No need to scan outgoing mails, right?
One final piece: I'd also like to use port 10026 to send mail from my permanent IP number, but for some reason I can't configure postfix to accept incoming mail from a remote IP. I've added my IP number to the mynetworks parameter in master.cf:
But no luck. Full entry:
Code:
localhost:10026 inet n - n - - smtpd
-o content_filter=
-o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
-o smtpd_helo_restrictions=
-o smtpd_client_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=127.0.0.0/8,###.###.###.153/32
I've opened port 10026 in /etc/pf.conf
Code:
pass in on vtnet0 inet proto tcp from any to any port = 10026
Nmap indicates it is open:
Code:
PORT STATE SERVICE
10026/tcp open unknown
Code:
$ telnet ####.### 10026
Trying ##.##.##.##...
Connected to #####.###.
Escape character is '^]'.
This is what I expect:
Code:
Escape character is '^]'.
220 myhostname ESMTP Postfix
Code:
-o mynetworks=127.0.0.0/8,##.###.###.153/32
Any ideas?