addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwchatcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrosseditemptyheartfacebookfolderfullheartglobegmailgoogleimagesinstagramlinklocation-pinmagnifying-glassmailminusmoremuplabelShape 3 + Rectangle 1outlookpersonplusprice-ribbonImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruseryahoo

Re: [linux-392] Ports

From: Dan
Sent on: Wednesday, June 11, 2008 12:07 PM
You really just need to pick an open port and use it. The servers you 
are sending mail too will be able to resolve the ports correctly

Michele wrote:
>
> The server I���m dealing with is a remote server that I rent from a 
> hosting provider.
>
>  
>
> My hosting provider blocks port 25 for general security reasons.  I 
> wasn���t able to host email on my server without a work-a-round.
>
>  
>
>  
>
>  
>
> --------------------­--------------------­--------------------­------------
>
> *From:* [address removed] [mailto:[address removed]] *On Behalf 
> Of *Clyde Goffe
> *Sent:* Wednesday, June 11,[masked]:12 AM
> *To:* [address removed]
> *Subject:* Re: [linux-392] Ports
>
>  
>
> Hey Michele,
>
> Assuming that optonline is your ISP(judging from your email address), 
> you can pay an extra 10 bucks a month for optimum boost and they'll 
> open port 80 and 25 for you, as well as give you a boost in 
> bandwidth.  Then no need to change your smtp port. 
>
> You may want to also consider using another service to host your email 
> like Google Apps and use a utility to pop emails off of that provider 
> and distribute it to your local mail server. 
>
> I'm guessing that reverse lookup on your IP won't resolve to your 
> domain name which can cause issues when relaying to remote mail 
> servers so you should probably look into using a smart host to relay 
> emails.
>
> Clyde
>
> On Wed, Jun 11, 2008 at 10:58 AM, chris <[address removed] 
> <mailto:[address removed]>> wrote:
>
> You should actually generate a new submit.cf <http://submit.cf&...;­ from 
> submit.mc <http://submit.mc&...;­ using m4 (sendmail cf files should be 
> generated using m4 macros).  It should be set to localhost now, which 
> means a program sending mail will connect to port 25 on localhost.  
> Then the daemon will check it's own spool, look up the MX record and 
> send off the mail.  You could even use an SMTP client to send mail 
> using another host, ssmtp and sendEmail are a few I've used when I 
> didn't want to get into the sendmail config.
>
> I'm surprised anything is working after changing /etc/services, I 
> guess if all your mail progs are using resolving the port through 
> /etc/services it might work on your machine.  If this machine is also 
> a mail server, you will never receive mail like this, how is a host on 
> the net going to know where your SMTP port is?
>
>
>
> */Michele <[address removed] <mailto:[address removed]>>/* 
> wrote:
>
>     I looked at /etc/mail/sendmail.c­f <http://sendmail.c...;­.
>
>     All it says is smtp:
>     O DaemonPortOptions=Po­rt=smtp,Addr=[masked­] <http://127.0.0.1&...;­,
>     Name=MTA
>
>     On my network smtp was set to 25, which is not a viable port. So,
>     I made
>     stmp 26, because 25 is a blocked port.
>
>     I don't want smtp to be port 25. I really want it to be 26. So, I
>     modified
>     /etc/services.
>
>     -----Original Message-----
>     From: [address removed] <mailto:[address removed]>
>     [mailto:[address removed] <mailto:[address removed]>] On
>     Behalf Of David
>     Rosenstrauch
>     Sent: Tuesday, June 10,[masked]:56 AM
>     To: [address removed] <mailto:[address removed]>
>     Subject: Re: [linux-392] Ports
>
>     Like I wrote, you should put /etc/services back the way it was,
>     and then
>     do it the correct way: figure out which smtp daemon you're running,
>     update the port number in that daemon's config, and then restart the
>     daemon (no reboot required).
>
>     DR
>
>     Michele wrote:
>     > I changed the smtp port from 25, because it was blocked on the
>     network, to
>     > 26, rebooted and it works.
>     >
>     > So, what did I do wrong?
>     >
>     > -----Original Message-----
>     > From: [address removed] <mailto:[address removed]>
>     [mailto:[address removed] <mailto:[address removed]>] On
>     Behalf Of
>     David
>     > Rosenstrauch
>     > Sent: Tuesday, June 10,[masked]:02 AM
>     > To: [address removed] <mailto:[address removed]>
>     > Subject: Re: [linux-392] Ports
>     >
>     > That's actually *not* the right place to make such a change. That
>     file
>     > is a reference file that several apps use to translate from a port
>     > number into a user-readable string of which app is using that port
>     > number. Changing it will *not* result in a daemon starting to
>     listen on
>     > another port.
>     >
>     > If you want to change a daemon's port, you need to change the config
>     > file for that daemon, and then restart the daemon.
>     >
>     > DR
>
>
>
>
>     --
>
>     Please Note: If you hit "REPLY", your message will be sent to
>     everyone on
>     this mailing list ([address removed] <mailto:[address removed]>)
>
>     http://linux.meet...­
>
>     This message was sent by David Rosenstrauch ([address removed]
>     <mailto:[address removed]>) from The New
>
>
>     York GNU/Linux Meetup Group.
>
>     To learn more about David Rosenstrauch, visit his/her member profile:
>     http://linux.meet...­
>     To unsubscribe or to update your mailing list settings, click here:
>     http://www.meetup...­
>
>     Meetup Support: [address removed] <mailto:[address removed]>
>     632 Broadway New York NY 10012 USA
>
>
>
>     --
>     Please Note: If you hit "REPLY", your message will be sent to
>     everyone on this mailing list ([address removed]
>     <mailto:[address removed]>)
>
>     http://linux.meet...­
>
>     This message was sent by Michele ([address removed]
>     <mailto:[address removed]>) from The New York GNU/Linux
>     Meetup Group.
>     To learn more about Michele, visit his/her member profile:
>     http://linux.meet...­
>
>     To unsubscribe or to update your mailing list settings, click
>     here: http://www.meetup...­
>
>
>
>     Meetup Support: [address removed] <mailto:[address removed]>
>     632 Broadway New York NY 10012 USA
>
>  
>
>
>
>
> --
> Please Note: If you hit "*REPLY*", your message will be sent to 
> *everyone* on this mailing list ([address removed] 
> <mailto:[address removed]>)
>
> This message was sent by chris ([address removed] 
> <mailto:[address removed]>) from The New York GNU/Linux Meetup 
> Group <http://linux.meet...;­.
> To learn more about chris, visit his/her member profile 
> <http://linux.meet...;­
>
>
> To unsubscribe or to update your mailing list settings, click here 
> <http://www.meetup...;­
>
> Meetup Support: [address removed] <mailto:[address removed]>
> 632 Broadway, New York, NY 10012 USA
>
>
>
>
>
>
> --
> Please Note: If you hit "**REPLY**", your message will be sent to 
> **everyone** on this mailing list ([address removed] 
> <mailto:[address removed]>)
> This message was sent by Clyde Goffe ([address removed]) from The 
> New York GNU/Linux Meetup Group <http://linux.meet...;­.
> To learn more about Clyde Goffe, visit his/her member profile 
> <http://linux.meet...;­
> To unsubscribe or to update your mailing list settings, click here 
> <http://www.meetup...;­
>
> Meetup Support: [address removed]
> 632 Broadway, New York, NY 10012 USA
>
>
>
>
>
> --
> Please Note: If you hit "*REPLY*", your message will be sent to 
> *everyone* on this mailing list ([address removed] 
> <mailto:[address removed]>)
> This message was sent by Michele ([address removed]) from The 
> New York GNU/Linux Meetup Group <http://linux.meet...;­.
> To learn more about Michele, visit his/her member profile 
> <http://linux.meet...;­
> To unsubscribe or to update your mailing list settings, click here 
> <http://www.meetup...;­
>
> Meetup Support: [address removed]
> 632 Broadway, New York, NY 10012 USA 

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy