Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sending local mail to internet bounces
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Sebatical
n00b
n00b


Joined: 07 Feb 2004
Posts: 60
Location: Jacksonville FL

PostPosted: Sat Sep 03, 2005 6:09 pm    Post subject: Sending local mail to internet bounces Reply with quote

I run postfix on my linux box to move mail between user accounts, and I use Pine and mutt as the mail clients (depending on whether they are used by a human or bash respectively).

One of the things I use mutt for is to send SMS notifications to my cell phone when a large process has stopped, such as lengthy emerge.

My local network is a ficticious domain, not a TLD that can be resolved by a DNS server at my wireless provider.

When migrating from AT&T Wireless (@mmode.com) to Cingular (@mms.mycingular.com), the ability to send emails from my linux box was lost. I'm certain this has to do with the domain that is being passed, since it's not hard to figure out that @linus.PEANUTS is not an actual TLD.

I used to send mail to my web domain (sebatical.com), which would hit a mail forwarder and go to my mobile, but when changed hosting companies, that began rejecting due to the lack of a TLD:

Quote:
host sebatical.com said:
550-Verification failed for <sebatical@linus.PEANUTS> 550-unrouteable mail
domain "linus.peanuts" 550 Sender verify failed (in reply to RCPT TO
command)


My question is whether an originating domain can be passed from mutt using a command line so that these mail servers will put my mail through to the wireless device. I do not see anything in the mutt man page that appears as though it will help.
_________________
"When the gas runs out, just wreck it.. You insured the thing.."
Soul Coughing
Back to top
View user's profile Send private message
simulacrum
Tux's lil' helper
Tux's lil' helper


Joined: 30 Nov 2002
Posts: 128
Location: St Paul, MN

PostPosted: Sat Sep 03, 2005 8:05 pm    Post subject: Reply with quote

Could you not specify your hostname in your mailserver's configuration file to whatever your ISP has your reverse DNS set to? What do you have "myhostname" and "mydomain" set as in your config?
Back to top
View user's profile Send private message
zeek
Guru
Guru


Joined: 16 Nov 2002
Posts: 480
Location: Bantayan Island

PostPosted: Sat Sep 03, 2005 8:28 pm    Post subject: Re: Sending local mail to internet bounces Reply with quote

Sebatical wrote:
I'm certain this has to do with the domain that is being passed, since it's not hard to figure out that @linus.PEANUTS is not an actual TLD.


It looks like the envelope sender is bogus and the remote MTA rejects the message because if it bounces the message has an invalid return path. This is not the From: header in the email.

Look into "masquerading" which is where the MTA rewrites emails and pretends that they came from a different domain.

You could also look into Mutt directly talking to your ISP's MTAs bypassing your local postfix. That should also work.
Back to top
View user's profile Send private message
Sebatical
n00b
n00b


Joined: 07 Feb 2004
Posts: 60
Location: Jacksonville FL

PostPosted: Mon Sep 05, 2005 4:48 am    Post subject: Reply with quote

Quote:
Could you not specify your hostname in your mailserver's configuration file to whatever your ISP has your reverse DNS set to? What do you have "myhostname" and "mydomain" set as in your config?


I don't believe this will work because it will interfere with the MTA's ability to move mail between local users.

Quote:
Look into "masquerading" which is where the MTA rewrites emails and pretends that they came from a different domain.

You could also look into Mutt directly talking to your ISP's MTAs bypassing your local postfix. That should also work.


Perhaps one of these solutions will do the trick. I'll have to see if I can specify a config file for Mutt to masquerade when sending outbound messages, and then allow it to not do this when sending internal ones. If not, I'll explore your second suggestion.

Thank you both for taking time to respond -- that definitely gets me pointed in a possible direction.

Seb-
_________________
"When the gas runs out, just wreck it.. You insured the thing.."
Soul Coughing
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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