Dear List, I recently spent some time out of the USA, and found myself in a hotel that blocked port 25 which prevented my laptop's ability to connect to my office mail server. I did a scan on the internet and made the observation that this was a common problem. I had port 22 available so I was able to get my office server set up to accept mail on 25 and 587 without difficulty. The command "telnet mail.server.com 587" to my office mail server connects without difficulty. However, I have not been able to get sendmail on my laptop to connect to sendmail on my mail server at home using port 587. I have added the following to sendmail.mc on my laptop without success : define(`RELAY_MAILER_ARGS', `TCP $h 587') define(`ESMTP_MAILER_ARGS', `TCP $h 587') I finally made it back home, but have decided to change my configuration to use 587 by default so that this problem will be avoided, but I have been unable to get my laptop to connect. Anyone having ideas would be appreciated. Greg Ennis
Gregory P. Ennis wrote:> Dear List, > > I recently spent some time out of the USA, and found myself in a hotel > that blocked port 25 which prevented my laptop's ability to connect to > my office mail server. I did a scan on the internet and made the > observation that this was a common problem. I had port 22 available so > I was able to get my office server set up to accept mail on 25 and 587 > without difficulty. The command "telnet mail.server.com 587" to my > office mail server connects without difficulty. > > However, I have not been able to get sendmail on my laptop to connect to > sendmail on my mail server at home using port 587. > > I have added the following to sendmail.mc on my laptop without success : > > define(`RELAY_MAILER_ARGS', `TCP $h 587') > define(`ESMTP_MAILER_ARGS', `TCP $h 587') > > I finally made it back home, but have decided to change my configuration > to use 587 by default so that this problem will be avoided, but I have > been unable to get my laptop to connect. > > Anyone having ideas would be appreciated.Usually you would block 587 inbound on your own office firewall and use that to distinguish between locally-submitted mail and internet-received. You definitely don't want to permit relaying from un-authenticated internet sources. If you need access to other office resources, one approach would be to set up openvpn on an office server and the laptop so you have an encrypted connection through the firewall. Another would be to set up sendmail to require authentication on port 587 and also set up your laptop to send authentication. -- Les Mikesell lesmikesell at gmail.com
Install dovecot on the server. Use firewall rules to block out all networks for 993 BUT the network of your laptop (whatever ISP your on). Use thunderbird (or whatever) to read you email. I do that with all our mobiles/laptops. Jobst On Sun, Mar 21, 2010 at 03:55:47PM -0500, Gregory P. Ennis (PoMec at PoMec.Net) wrote:> Dear List, > > I recently spent some time out of the USA, and found myself in a hotel > that blocked port 25 which prevented my laptop's ability to connect to > my office mail server. I did a scan on the internet and made the > observation that this was a common problem. I had port 22 available so > I was able to get my office server set up to accept mail on 25 and 587 > without difficulty. The command "telnet mail.server.com 587" to my > office mail server connects without difficulty. > > However, I have not been able to get sendmail on my laptop to connect to > sendmail on my mail server at home using port 587. > > I have added the following to sendmail.mc on my laptop without success : > > define(`RELAY_MAILER_ARGS', `TCP $h 587') > define(`ESMTP_MAILER_ARGS', `TCP $h 587') > > I finally made it back home, but have decided to change my configuration > to use 587 by default so that this problem will be avoided, but I have > been unable to get my laptop to connect. > > Anyone having ideas would be appreciated. > > Greg Ennis > > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos-- Bowman: Open the pod bay doors, HAL. | |0| | Jobst Schmalenbach, jobst at barrett.com.au, General Manager | | |0| Barrett Consulting Group P/L & The Meditation Room P/L |0|0|0| +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
On Sun, 2010-03-21 at 15:55 -0500, Gregory P. Ennis wrote:> Dear List, > > I recently spent some time out of the USA, and found myself in a hotel > that blocked port 25 which prevented my laptop's ability to connect to > my office mail server. I did a scan on the internet and made the > observation that this was a common problem. I had port 22 available so > I was able to get my office server set up to accept mail on 25 and 587 > without difficulty. The command "telnet mail.server.com 587" to my > office mail server connects without difficulty. > > However, I have not been able to get sendmail on my laptop to connect to > sendmail on my mail server at home using port 587. > > I have added the following to sendmail.mc on my laptop without success : > > define(`RELAY_MAILER_ARGS', `TCP $h 587') > define(`ESMTP_MAILER_ARGS', `TCP $h 587') > > I finally made it back home, but have decided to change my configuration > to use 587 by default so that this problem will be avoided, but I have > been unable to get my laptop to connect. > > Anyone having ideas would be appreciated. > > Greg Ennis >Everyone, Thank you for your assistance; the best solution seemed to be the use of openvpn, or changing to thunderbird instead of evolution. I never found a method to make sendmail send mail out on 587. However, I did find an easy solution for evolution to use smtp on port 587. I will record it here so that anyone looking for this in the future will have the right methodology. All I had to do was to place the port number after the server name in the "Sending E-Mail" tab of the "Preference -> Mail Account module in the form of : mail.domain.net:587 It was easy to set sendmail up to use port 587 with the entries : DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl DAEMON_OPTIONS(`Port=submission, Name=MSA, M=Ea')dnl Please note both entries are required for sendmail to use port 25 and port 587. Thanks again for everyone's help!!! Greg