Re: Can't send mail from my machine:
On Sun, Dec 27, 1998 at 10:43:53PM -0900, Britton wrote: I would try exim instead of smail, I've found it easier to set up with nice docs. I'm trying to get address re-writing working now, but at least I can send messages (albeit with [EMAIL PROTECTED] for a From: address). The rewrite stuff has fairly good instructions. I think I got errors something like yours also, I think it turned out to be a question of picking the right response when asked for a hostname at some point in there and restarting inetd or some deamon like that (helpful huh?). Anyway, good luck, and let me know if you get rewriting working logically for a ppp connected machine :) I replaced smail with exim, and had basically the same problem. However, exim's error email was formatted slightly better - just enough to point me in a direction that allowed me to get to the point you were. i.e., I can send messages (albeit with [EMAIL PROTECTED] for a From: address. I will let you know if I improve this situation. Thanks, Matt Miller ([EMAIL PROTECTED]) Q: How many Microsoft engineers does it take to change a light bulb? A: None. They just define Darkness(tm) as the new industry standard.
Re: Can't send mail from my machine:
Hi Matt, I have gotten rewriting working correctly now, though I don't understand exactly why what I ended up having to do worked. My rewrite configuration in /etc/exim.conf looks like this: ## # REWRITE CONFIGURATION # ## # There are no rewriting specifications in this default configuration file. # This is an example of a useful rewriting rule---it looks up the real # address of all local users in a file [EMAIL PROTECTED]${lookup{$1}lsearch{/etc/email-addresses}\ {$value}fail} bcfrF # End of Exim configuration file Any the file /etc/email-addresses (which I created) looks like this: gandalf:[EMAIL PROTECTED] where `gandalf' is my username on my home linux box, `fsblk' my username on my isp, and `aurora.alaska.edu' my isp's host name. The $1 in the exim.conf expands to the contents of the first * (username part of addr), which exim then `lookup's via an `lsearch' in `/etc/email-addresses'. $value is then set to the second element in the colon-deliminated list in /etc/email-addresses. The wierd part is that if I use [EMAIL PROTECTED] in exim.conf, the rewrite doesn't happen, even when I send to [EMAIL PROTECTED] Also, I've been told that this [EMAIL PROTECTED] rule is horrible, since it rewrite local mail on my machine with the wrong address. I havn't managed to ferret a solution to this out of the docs though :) __ GNU GPL: The Source will be with you... always. Britton Kerin On Thu, 31 Dec 1998 [EMAIL PROTECTED] wrote: On Sun, Dec 27, 1998 at 10:43:53PM -0900, Britton wrote: I would try exim instead of smail, I've found it easier to set up with nice docs. I'm trying to get address re-writing working now, but at least I can send messages (albeit with [EMAIL PROTECTED] for a From: address). The rewrite stuff has fairly good instructions. I think I got errors something like yours also, I think it turned out to be a question of picking the right response when asked for a hostname at some point in there and restarting inetd or some deamon like that (helpful huh?). Anyway, good luck, and let me know if you get rewriting working logically for a ppp connected machine :) I replaced smail with exim, and had basically the same problem. However, exim's error email was formatted slightly better - just enough to point me in a direction that allowed me to get to the point you were. i.e., I can send messages (albeit with [EMAIL PROTECTED] for a From: address. I will let you know if I improve this situation. Thanks, Matt Miller ([EMAIL PROTECTED]) Q: How many Microsoft engineers does it take to change a light bulb? A: None. They just define Darkness(tm) as the new industry standard. -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: Can't send mail from my machine:
I would try exim instead of smail, I've found it easier to set up with nice docs. I'm trying to get address re-writing working now, but at least I can send messages (albeit with [EMAIL PROTECTED] for a From: address). The rewrite stuff has fairly good instructions. I think I got errors something like yours also, I think it turned out to be a question of picking the right response when asked for a hostname at some point in there and restarting inetd or some deamon like that (helpful huh?). Anyway, good luck, and let me know if you get rewriting working logically for a ppp connected machine :) __ GNU GPL: The Source will be with you... always. Britton Kerin On Mon, 28 Dec 1998, Matt Miller wrote: The following attempt to contact the outside world fails: mail -s test [EMAIL PROTECTED] /dev/null I immediately receive a message that includes the following error: [EMAIL PROTECTED] ... transport smtp: 553 [EMAIL PROTECTED]...unresolvable; rejected. Check your DNS All attempts to get any mail off my machine fail with similar errors. I called my ISP, and they offered some excuse that Linux is designed as a server environment, and it doesn't like routing mail through another machine. They suggested I either switch to Windows or Macintosh, or send all mail by first telnetting into their network, then using my shell account to send mail. The latter is the technique I used to send this posting. I'm using smail on a hamm system, and getting a ppp connection to my ISP. I used to be able to send mail from my machine, and I think I haven't changed any smail configs since then. How do tell smail to route mail through my ISP? /etc/smail/routers is only smart_host: driver=smarthost, transport=smtp; and /etc/smail/config attempts to indicate that mail should be routed through my ISP (netnet.net) via the following line: smart_path=netnet.net Thanks, Matt Miller - Small is beautiful. -- Mark Gancarz, The Unix Philosophy -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null