This is a discussion on Relaying remote networks within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; I have postfix working fine but I want to be able to send mail from my mobile phone. My phone ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I have postfix working fine but I want to be able to send mail from my
mobile phone. My phone provider doesn't have an SMTP server so I asked them for the IP range that they assign to mobile phones so that I could configure postfix to relay from that range of addresses too. I'm using Postfix 2.0.18 and main.cf I put the line : mynetworks = 212.129.64.128/27, 10.2.15.64/27 10.2.15.x being the local network and 212.129.64.x being the IP's given to the mobile phones. However, after doing this, the server won't relay for either of these two subnet's. Am I missing something obvious? I'm new to postfix and it worked right from install until I wanted to do this. I use it with OpenWebmail and have been for a year with no problems. TIA, Matt Lemon. |
|
|||
|
Matt Lemon wrote:
> I have postfix working fine but I want to be able to send mail from my > mobile phone. My phone provider doesn't have an SMTP server so I asked them > for the IP range that they assign to mobile phones so that I could configure > postfix to relay from that range of addresses too. > > I'm using Postfix 2.0.18 and main.cf I put the line : > > mynetworks = 212.129.64.128/27, 10.2.15.64/27 > > 10.2.15.x being the local network and 212.129.64.x being the IP's given to > the mobile phones. However, after doing this, the server won't relay for > either of these two subnet's. > > Am I missing something obvious? I'm new to postfix and it worked right from > install until I wanted to do this. I use it with OpenWebmail and have been > for a year with no problems. Try this: smtpd_recipient_restrictions = permit_mynetworks But I definitely wouldn't do it this way! I mean: Keep in mind - every user within that ip range is able to relay mails over your server without further authentication!! What about smtp-auth? Is it supported by your mobile phone? Another possibility could be pop-before-smtp (if pop3 is supported by your mobile phone). |
|
|||
|
"Bioperler" <usenet@ts-cs.de> wrote in message news:38j3tiF5neinqU1@individual.net... > Try this: > smtpd_recipient_restrictions = permit_mynetworks > > But I definitely wouldn't do it this way! I mean: Keep in mind - every > user within that ip range is able to relay mails over your server > without further authentication!! > What about smtp-auth? Is it supported by your mobile phone? Another > possibility could be pop-before-smtp (if pop3 is supported by your > mobile phone). I appreciate the security concerns but the chances of anyone else on the same mobile network trying to use my SMTP server are very slim. Anway, When I add that line to the main.cf file it still refuses to relay. Before I used to get a message saying that relaying was denied but now it just hangs. Matt |
|
|||
|
In article <d01n7a$tqr$1@reader01.news.esat.net>, matthew@jacklemon.com
says... > > "Bioperler" <usenet@ts-cs.de> wrote in message > news:38j3tiF5neinqU1@individual.net... > > Try this: > > smtpd_recipient_restrictions = permit_mynetworks > > > > But I definitely wouldn't do it this way! I mean: Keep in mind - every > > user within that ip range is able to relay mails over your server > > without further authentication!! > > What about smtp-auth? Is it supported by your mobile phone? Another > > possibility could be pop-before-smtp (if pop3 is supported by your > > mobile phone). > > I appreciate the security concerns but the chances of anyone else on the > same mobile network trying to use my SMTP server are very slim. > > Anway, When I add that line to the main.cf file it still refuses to relay. > Before I used to get a message saying that relaying was denied but now it > just hangs. I'd need to see your main.cf file. It's possible you messed up the syntax somewhere (postfix can be picky about that.) The smtpd restrictions line should have already been there I'd have thought... |
![]() |
| Thread Tools | |
| Display Modes | |
|
|