Hi all,
I went through a lot of the docs on the postfix.org site and around Google, but I just can't find what I would like to do. To my mind, it's quite simple, but my search proves otherwise. Maybe I just missed something.
To start with, I have managed most of services available as a sysadmin, but never touched mail-related services (SMTP/POP/IMAP) other than as a user.
What is important for me is:
. listen to smtp.domain.com:25
. being MX for my.domain.com
. accept only mail for my.domain.com
. accept relay for my public IP range.
. listen to smtp.domain.com:995
. TLS/SASL auth_only relay for users
. all incoming mail is relayed to smtp.domain.com:25
I have played with examples for TLS/SASL, but I would like to separate in/out to different port. Maybe my vision is wrong about this.
Can this be done in a single instance of postfix?
Is SMTP able to understand to respond to ServerName instead of IP address? For now, both in.smtp and out.smtp are on the same server.
Thanks very much for any advice.
I went through a lot of the docs on the postfix.org site and around Google, but I just can't find what I would like to do. To my mind, it's quite simple, but my search proves otherwise. Maybe I just missed something.
To start with, I have managed most of services available as a sysadmin, but never touched mail-related services (SMTP/POP/IMAP) other than as a user.
What is important for me is:
. listen to smtp.domain.com:25
. being MX for my.domain.com
. accept only mail for my.domain.com
. accept relay for my public IP range.
. listen to smtp.domain.com:995
. TLS/SASL auth_only relay for users
. all incoming mail is relayed to smtp.domain.com:25
I have played with examples for TLS/SASL, but I would like to separate in/out to different port. Maybe my vision is wrong about this.
Can this be done in a single instance of postfix?
Is SMTP able to understand to respond to ServerName instead of IP address? For now, both in.smtp and out.smtp are on the same server.
Thanks very much for any advice.