View previous topic :: View next topic |
Author |
Message |
Sebatical n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/12048703034205679cec811.gif)
Joined: 07 Feb 2004 Posts: 60 Location: Jacksonville FL
|
Posted: Sat Sep 03, 2005 6:09 pm Post subject: Sending local mail to internet bounces |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
simulacrum Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 30 Nov 2002 Posts: 128 Location: St Paul, MN
|
Posted: Sat Sep 03, 2005 8:05 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
zeek Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_c-3p0.gif)
Joined: 16 Nov 2002 Posts: 480 Location: Bantayan Island
|
Posted: Sat Sep 03, 2005 8:28 pm Post subject: Re: Sending local mail to internet bounces |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Sebatical n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/12048703034205679cec811.gif)
Joined: 07 Feb 2004 Posts: 60 Location: Jacksonville FL
|
Posted: Mon Sep 05, 2005 4:48 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|