View previous topic :: View next topic |
Author |
Message |
srlinuxx l33t
Joined: 22 Nov 2003 Posts: 627
|
Posted: Wed Jun 30, 2004 2:59 pm Post subject: sendmail sends, but only local and bellsouth work |
|
|
Welp, the subject/topic line states the problem. I've set up sendmail (or attempted to) and it only works partically. As stated it only sends locally and the only isp/domain that'll accept my mail is bellsouth.net. The rest time out. So, I'm not sure where to start trouble shooting this. The headers coming in from bellsouth look good and all seem masq'd fine.
I been reading howtos, the fine manuals and the forums here for going on my third day (and night!). I've checked and checked the config files and my dns record. My subdomain mail1 resolves back to my ip addy and I think reverse lookup is working.
I also can't seem to get sendmail to accept connections from outside the lan. I have a rule for port 25 to be open and accept connections, and netstat shows stmp is listening, but the port still shows closed.
I'm not using ssmtp. I've tried sendmail using procmail and itself with the -Ac switch. The same result - only bellsouth and locally.
I don't suppose anyone has any thoughts on the subject? Just let me know what other info I can provide.
tia,
-s _________________ --You talk the talk, but do you waddle the waddle?
-Gentoo Monthly Screenshots |
|
Back to top |
|
|
DaveArb Guru
Joined: 29 Apr 2004 Posts: 510 Location: Texas, USA
|
Posted: Wed Jun 30, 2004 3:04 pm Post subject: |
|
|
Assumptions: Your ISP is BellSouth, and you are on a dynamically assigned IP.
Guess: BellSouth is one of the growing number of ISPs that block port 25 traffic on their network?
Dave |
|
Back to top |
|
|
davidblewett Apprentice
Joined: 15 Feb 2004 Posts: 274 Location: Indiana
|
Posted: Wed Jun 30, 2004 3:16 pm Post subject: |
|
|
Following his assumption and guess:
Solution: Use Bell South's SMTP server as a relay from yours. This will also avoid some domains potentially marking your email as spam because it's from a dynamic IP pool. _________________ No guilt in life, no fear in death
this is the power of Christ in me
From lifes first cry to final breath
Jesus commands my destiny
-- Newsboys, "In Christ Alone", "Adoration: The Worship Album" |
|
Back to top |
|
|
srlinuxx l33t
Joined: 22 Nov 2003 Posts: 627
|
Posted: Wed Jun 30, 2004 5:28 pm Post subject: |
|
|
Yeah, bellsouth's the isp. I have a static ip tho.
So, I guess that's why they accept my mail I send to me@bellsouth.net, but won't pass others@theirs.com on to other domains? Dang that pisses me off.
I guess that's why qpopper or teapop ain't working either? I can pop what's sent locally, but nothing sent from other domains make it to me - even bellsouth's.
But yeah, I bet you're right about that cuz when I nmap'd bellsouth's ports 25 and 110 last night, it said it was filtered. But filtered ain't the same as blocked I was hoping. I guess it is for /me/!
Dang it all. They and charter are the only broadband games in town too.
Thanks. Least I know I could have made it work. _________________ --You talk the talk, but do you waddle the waddle?
-Gentoo Monthly Screenshots |
|
Back to top |
|
|
DaveArb Guru
Joined: 29 Apr 2004 Posts: 510 Location: Texas, USA
|
|
Back to top |
|
|
srlinuxx l33t
Joined: 22 Nov 2003 Posts: 627
|
Posted: Wed Jun 30, 2004 6:34 pm Post subject: |
|
|
DaveArb wrote: |
I'm confused by your POP3 comments, though. Port 110 blocking would be very rare, and not make much sense. Qpopper is a POP3 server that, to the best of my knowledge, will only serve mail that resides on the local host, so I don't know what blocking port 110 would affect anyway in this regard.
Dave |
I guess I was confused at to its functionality. I'm trying to set up a pop3 server as well. I thought I'd need something to serve mail to friends, ie so they could pop it I guess. sendmail to send mail and pop3 to receive it and let someone pop it? So, I don't need a pop server to let folks connect and download their mail?
So, when someone sends something to me@my.domain, what should be listening to what port to receive it and what do I do to snag it from another machine?
Thanks for the info. I'm gonna read that link you left now. I know it's gonna piss me off further at bellsouth tho. Why they give a static ip if you ain't allowed to do anything with it? (grumbles, growls, mumbles) _________________ --You talk the talk, but do you waddle the waddle?
-Gentoo Monthly Screenshots |
|
Back to top |
|
|
davidblewett Apprentice
Joined: 15 Feb 2004 Posts: 274 Location: Indiana
|
Posted: Wed Jun 30, 2004 6:37 pm Post subject: |
|
|
Just use their smtp server as a relay from yours. It's what I do. I can send mail from my boxes at home, and my smtp server connects to theirs to actually get it to the recipient. I don't have my smtp server listening on the external IP address, so you have to make a SSH connection and do port forwarding to use mine from outside my network. _________________ No guilt in life, no fear in death
this is the power of Christ in me
From lifes first cry to final breath
Jesus commands my destiny
-- Newsboys, "In Christ Alone", "Adoration: The Worship Album" |
|
Back to top |
|
|
srlinuxx l33t
Joined: 22 Nov 2003 Posts: 627
|
Posted: Wed Jun 30, 2004 6:44 pm Post subject: |
|
|
oh shiat! pisses me off. That kinda defeats the purpose of using sendmail I think. Right?
How did you find that? I thought I read their whole site to find where it states I ain't permitted to run a server. Have you ever run across that statement?
Thanks again Dave. _________________ --You talk the talk, but do you waddle the waddle?
-Gentoo Monthly Screenshots |
|
Back to top |
|
|
srlinuxx l33t
Joined: 22 Nov 2003 Posts: 627
|
Posted: Wed Jun 30, 2004 6:51 pm Post subject: |
|
|
davidblewett wrote: | Just use their smtp server as a relay from yours. It's what I do. I can send mail from my boxes at home, and my smtp server connects to theirs to actually get it to the recipient. |
Thanks so much for the suggestion. Yeah, I might do that.
It just kinda takes the wind out of my sails a little tho.
Thanks again. _________________ --You talk the talk, but do you waddle the waddle?
-Gentoo Monthly Screenshots |
|
Back to top |
|
|
DaveArb Guru
Joined: 29 Apr 2004 Posts: 510 Location: Texas, USA
|
Posted: Wed Jun 30, 2004 7:01 pm Post subject: |
|
|
srlinuxx wrote: | I guess I was confused at to its functionality. I'm trying to set up a pop3 server as well. I thought I'd need something to serve mail to friends, ie so they could pop it I guess. sendmail to send mail and pop3 to receive it and let someone pop it? So, I don't need a pop server to let folks connect and download their mail?
So, when someone sends something to me@my.domain, what should be listening to what port to receive it and what do I do to snag it from another machine?
Thanks for the info. I'm gonna read that link you left now. I know it's gonna piss me off further at bellsouth tho. Why they give a static ip if you ain't allowed to do anything with it? (grumbles, growls, mumbles) |
Like I said, I was confused by your comment regarding POP3. Do you mean that you have qpopper running, and other machines cannot access it on port 110?
Mail protocols are sometimes categorized as "push" and "pull". SMTP is a "push" protocol, you use it to send to another server. POP3 and IMAP are "pull" protocols, you use them to get mail from another server.
I actually found that article by a yahoo search on [bellsouth port block]. BellSouth's web site really stinks, I cannot find their AUP (acceptable use policy, that's what governs what you can and cannot do) on the site. I do find a lot of people on-line griping about this static IP service you have, and not being able to host servers. I cannot imagine what legitimate use it could have other than hosting servers.
I'm still surprised at them blocking 110, but if they sell static IPs that cannot be used for hosting servers, I guess I'm less surprised.
Dave
[edit]Yeehaw! _THIS_ was certainly easy to find, the BellSouth AUP: http://home.bellsouth.net/csbellsouth/s/editorial.dll?fromspage=cg/legal/legal_homepage.htm&categoryid=&only=y&bfromind=354&eeid=3761384&_sitecat=348&eetype=article&render=y&ck=
The part that does you in, I believe, is this:
BellSouth wrote: | Unauthorized uses - non-payment
Unless otherwise specified in the BellSouth Internet Service subscriber's pricing plan agreement, sharing of accounts and/or connections on unlimited usage plans with anyone other than immediate family members in the same dwelling is strictly prohibited. Reselling Service without express written consent from BellSouth, or offering any information service using such accounts, such as running an e-mail server, Web server, FTP server, or proxy server is prohibited. Subscribers may not provide public or commercial information over such connections. BellSouth does offer BellSouth Internet for Business services for such purposes. Untimely payment of any and all amounts due may result in account cancellation. |
(italics mine)
That is about the dumbest heading to place a service restriction under I could possibly imagine, but it is pretty clear. Sorry about that... |
|
Back to top |
|
|
srlinuxx l33t
Joined: 22 Nov 2003 Posts: 627
|
Posted: Wed Jun 30, 2004 11:39 pm Post subject: |
|
|
DaveArb wrote: |
Like I said, I was confused by your comment regarding POP3. Do you mean that you have qpopper running, and other machines cannot access it on port 110? |
Yeah, that's what I mean.. I think. The mail I send from yahoo, anywhere I've tried or even bellsouth never make it to me@mydomain (which is tuxmachines.org), tho even my nic@mydomain resolves. It's listening to port 110 which is wide open for all to see. It's like mail never makes it to it.
But yeah, I nmap'd 25 and 110 of bellsouth, and it said 110 was filtered too. But I couldn't understand how they could block something from their own stmp. So, I figured the app was to blame.
Quote: |
Mail protocols are sometimes categorized as "push" and "pull". SMTP is a "push" protocol, you use it to send to another server. POP3 and IMAP are "pull" protocols, you use them to get mail from another server.
|
So, qpopper should do what I want?
Quote: |
I actually found that article by a yahoo search on [bellsouth port block]. BellSouth's web site really stinks, I cannot find their AUP (acceptable use policy, that's what governs what you can and cannot do) on the site. I do find a lot of people on-line griping about this static IP service you have, and not being able to host servers. I cannot imagine what legitimate use it could have other than hosting servers.
I'm still surprised at them blocking 110...
|
I'm sure it's some kinda marketing ploy. I even considered paying them the extra $40 a month to be "allowed" to run a server, but that's ridiculous for a hobbiest. A game player would use more bandwidth than I and bellsouth really touts that.
Quote: | [edit]Yeehaw! _THIS_ was certainly easy to find, the BellSouth AUP:
The part that does you in, I believe, is this:
BellSouth wrote: | Unauthorized uses - non-payment
Unless otherwise specified in the BellSouth Internet Service subscriber's pricing plan agreement, sharing of accounts and/or connections on unlimited usage plans with anyone other than immediate family members in the same dwelling is strictly prohibited. Reselling Service without express written consent from BellSouth, or offering any information service using such accounts, such as running an e-mail server, Web server, FTP server, or proxy server is prohibited. Subscribers may not provide public or commercial information over such connections. BellSouth does offer BellSouth Internet for Business services for such purposes. Untimely payment of any and all amounts due may result in account cancellation. |
(italics mine)
That is about the dumbest heading to place a service restriction under I could possibly imagine, but it is pretty clear. Sorry about that... |
No wonder I never found it, tho I had no doubt it had to be there somewhere. When I say friends, I meant friend. I just wanted it for me, my son, and one outside friend. Not really worth it to pay $40 more for. Thanks for your expert digging skills.
So, I guess my question is qpopper is one app that could do what I wanted?
And chances are it was probably functioning properly but bellsouth had cut me off at the pass again? _________________ --You talk the talk, but do you waddle the waddle?
-Gentoo Monthly Screenshots |
|
Back to top |
|
|
stickboy2642 Tux's lil' helper
Joined: 21 Jan 2004 Posts: 129 Location: MT, USA
|
Posted: Thu Jul 01, 2004 3:06 am Post subject: |
|
|
With regards to forwarding all of your mail from sendmail to your ISP's smtp server, this is almost necessary on any network unless you have your own DNS server set up and your mail server registered in DNS. A lot of servers will try to do a reverse lookup to see if they can resolve the name and domain that you claim you are sending from, and if they can't, they will reject the email. Forwarding all of your mail through Bell South's smtp servers should eliminate this problem, since when the servers do the lookup, it will see their DNS name and will likely accept the messages.
I run postfix and have all my mail forwarding to my ISP, and it works like a champ. I just added
relayhost = 11.22.33.44
in my main.cf file and all mail is sent directly to my ISP and then forwarded on. _________________ <?PHP
if ($desireToSolveProblem > 0){
solve($problem);
}else{
drink($beer);
} ?> |
|
Back to top |
|
|
srlinuxx l33t
Joined: 22 Nov 2003 Posts: 627
|
Posted: Thu Jul 01, 2004 4:34 am Post subject: |
|
|
stickboy2642 wrote: | With regards to forwarding all of your mail from sendmail to your ISP's smtp server, this is almost necessary on any network unless you have your own DNS server set up and your mail server registered in DNS. |
yeah, I got that squared away.
Quote: | A lot of servers will try to do a reverse lookup to see if they can resolve the name and domain that you claim you are sending from, and if they can't, they will reject the email. Forwarding all of your mail through Bell South's smtp servers should eliminate this problem, since when the servers do the lookup, it will see their DNS name and will likely accept the messages.
I run postfix and have all my mail forwarding to my ISP, and it works like a champ. I just added
relayhost = 11.22.33.44
in my main.cf file and all mail is sent directly to my ISP and then forwarded on. |
ok, cool, thanks for the info. I need to put some thought into why I can't receive either (I suspect the same reason). I'm sure sendmail is just as easy to configure so thank for the advice.
what do you use to receive mail? _________________ --You talk the talk, but do you waddle the waddle?
-Gentoo Monthly Screenshots |
|
Back to top |
|
|
stickboy2642 Tux's lil' helper
Joined: 21 Jan 2004 Posts: 129 Location: MT, USA
|
Posted: Thu Jul 01, 2004 3:48 pm Post subject: |
|
|
The thing with POP3 is that the mail still has to make it via port 25 to your Sendmail server, and from there, sendmail delivers it to the appropriate mailbox on your machine. POP3 is used to "fetch" the mail from those mailboxes on your server, so the root of the problem is likely still the Bell South problem of blocking port 25...
Do you have any information in your log about incoming mail that you sent? Is there any information showing a connection attempt from other mailservers? If not, then it is probably because the port is being blocked and mail cannot get through to your sendmail server. If there are log entries, take a look at them to see if they give any clues to the problem. _________________ <?PHP
if ($desireToSolveProblem > 0){
solve($problem);
}else{
drink($beer);
} ?> |
|
Back to top |
|
|
srlinuxx l33t
Joined: 22 Nov 2003 Posts: 627
|
Posted: Thu Jul 01, 2004 7:00 pm Post subject: |
|
|
stickboy2642 wrote: | The thing with POP3 is that the mail still has to make it via port 25 to your Sendmail server, and from there, sendmail delivers it to the appropriate mailbox on your machine. POP3 is used to "fetch" the mail from those mailboxes on your server, so the root of the problem is likely still the Bell South problem of blocking port 25... |
Ohhh, ok.
Quote: |
Do you have any information in your log about incoming mail that you sent? Is there any information showing a connection attempt from other mailservers? |
Nope. Nothing. But I'm having trouble getting sendmail to listen for outside of lan connections I think, I'm not sure. No matter what iptable rule I set, port 25 still shows closed. I have to set to accept new connections, so shouldn't that port be open? But attempts aren't logged as hitting that port as with other attempts to other ports that drop connections. Did that make sense?
Quote: |
If not, then it is probably because the port is being blocked and mail cannot get through to your sendmail server. If there are log entries, take a look at them to see if they give any clues to the problem. |
Nope, no logs on the matter. It's as tho the mail was never sent. Might be cuz of bellsouth filtering port 25, but how would anyone's mail get thru from anywhere?
I kinda suspect sendmail isn't setup just right.
thanks for everything! _________________ --You talk the talk, but do you waddle the waddle?
-Gentoo Monthly Screenshots |
|
Back to top |
|
|
stickboy2642 Tux's lil' helper
Joined: 21 Jan 2004 Posts: 129 Location: MT, USA
|
Posted: Thu Jul 01, 2004 8:08 pm Post subject: |
|
|
My guess is that it is the Bell South problem. They still get mail through due to the fact that their mail server is the only one that is set to accept mail. They don't block port 25 altogether, they only allow connections to their own mail server on that port. Any others are blocked. This would make sense with the fact that you don't have any error messages in your log files at all. Seems to me that if it was either an iptables problem or a mail configuration problem, you would see errors in your log files. However, if mail is never able to get to the server, then there is nothing to log... _________________ <?PHP
if ($desireToSolveProblem > 0){
solve($problem);
}else{
drink($beer);
} ?> |
|
Back to top |
|
|
srlinuxx l33t
Joined: 22 Nov 2003 Posts: 627
|
Posted: Fri Jul 02, 2004 12:03 am Post subject: |
|
|
stickboy2642 wrote: | My guess is that it is the Bell South problem. |
Well, doodie!
Thanks for hanging in there and explaining it to me. I understand now. I guess I'm just outta luck. _________________ --You talk the talk, but do you waddle the waddle?
-Gentoo Monthly Screenshots |
|
Back to top |
|
|
stickboy2642 Tux's lil' helper
Joined: 21 Jan 2004 Posts: 129 Location: MT, USA
|
Posted: Fri Jul 02, 2004 1:24 pm Post subject: |
|
|
If you have access to a mail server somewhere that is not on the Bell South network, one that you have physical or remote access to, you could try sending a message through that and see if it generates any error messages. If it does, then you will know for sure that is the problem.
You could also maybe try talking to Bell South and see if there is any way to get around the problem. Maybe they offer some kind of package that would allow for personal mail servers or something. Just a suggestion, may be worth a shot. _________________ <?PHP
if ($desireToSolveProblem > 0){
solve($problem);
}else{
drink($beer);
} ?> |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|