Score:0

Personal Proxy for Postfix SMTP?

in flag

I have my own Postfix instance running on my server to send and receive letters. It is configured to reject connections from "unknown" hosts. It's okay and I would not change this to keep a minimal spam protection.

However, it makes me harder to send letters from the local machine, since I am using Windows client (TheBat) and my machine is above the router that have no hostname and has a dynamic IP also. So when I'm trying to send letters from the local machine, Postfix rejects this.

To fix this I would try to use something like simple Proxy on the port different than 25 that will allow me to send letters via it. This proxy will redirect all incoming letters to Postfix port 25 and it will have a hostname, so Postfix will not reject letters.

Will this model work? I am not sure there is no better solution, because I guess the problem is popular.

Thanks!

Score:1
cn flag

Can you not just give it a IP address range (e.g. 192.168.0.0/24) as the list of known hosts that matches the range handed out via DHCP on your LAN?

Failing that have it accept connections that authenticate with a username/password no matter which host they connect from.

Also mail submission should probably be already running on port 587 rather than port 25

Epsiloncool avatar
in flag
Thanks! I've enabled "submission" in postfix master.cf and changed port to 587 in my email client and now emails going out well.
Epsiloncool avatar
in flag
Making IP address range would not work, since I am far from the server and my IP range could be very different too (it's not a local IP).
cn flag
Then submission with authentication is the right solution, not a proxy
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.