Hi

Quick bit of background. I've started using opensmtp about 5 years ago I think when I wanted to upgrade my servers at a data centre but they had changed the rules , were blocking port 25 outbound and wanted me to use there mail relay. I put opensmtpd on a little arm board in my house listening on 2525 and things worked well enough for me. Then when I moved house I moved opensmptpd to a vps which is where it runs now.

I am in the process of getting rid of my last server and have setup a mail server just for my personal email on my own domain at home but where I live now my home broadband blocks port 25 inbound ! The only reason for the background is so when i paste the smtp.conf you don't think what the hell is he doing. Feel free to think that any way :)
Though my home ip rarely changes it is not static and cannot be.

So I am attempting to use opensmtp as a relay both directions. Inbound comes in on port 25 and out to my home sever on port 250. Outbound come in on 2525

---------------------------------------------------------

listen on venet0:0 port 2525 hostname picmail.*******.co.uk
listen on venet0:0 port 25 hostname picmail.********.co.uk tag RLAY
listen on lo port 10028 tag DKIM

accept from any tagged RLAY for domain "lee****.me.uk" relay via smtp://*****.freemyip.com:250

accept tagged DKIM for any relay
accept from source 82.*.**.91 for any relay via smtp://127.0.0.1:10027
#accept from source *****.freemyip.com for any relay via smtp://127.0.0.1:10027

---------------------------------------------------------

Just working on the outbound part atm accept from source 82.*.**.91 works
accept from source *****.freemyip.com does not  (resolves to above ip, my home ip)

Is there a way I can use a domain name for accept from source as I'd rather not have to login and edit the config when my ip changes ?
--

Kind Regards
Lee


--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to