Ben,

My guess is that something is getting prepended to ".byu.edu" as your
entire hostname, and that name does not resolve.  Many DHCP
environments do give you a hostname, whether you realize it or not.

Since your environment is dynamic, you should probably consider always
sending mail through the lo interface.  Try this kind of set up:
1. edit your hostfile so that my.laptop points to 127.0.0.1.  Yes, the
domain is bogus.
2. open up main.cf and set myhostname = my.laptop
3. set mydomain = laptop
4. make sure mydestination includes $myhostnamne, localhost.$mydomain,
$mydomain (that should be default).

In your mail client, set your smtp to my.laptop.  One catch is that
anything mailed out from a user that does not specify
"@somedomain.com" will appear to come from [EMAIL PROTECTED]  Also,
having never tried this myself, I don't know other gateways will act
when they see the non-resolving hostname.  But hey, it's worth a try.

Gary



On Thu, 09 Sep 2004 12:46:42 -0600, Ben Crowder <[EMAIL PROTECTED]> wrote:
> I've tried to figure this out for several days now but it's just not
> working.  Okay, I replaced sendmail with postfix on my laptop.  I
> want to be able to deliver the mail (i.e. be an SMTP server), which
> I had my old laptop doing before my mission.  I set "mydomain" to
> byu.edu, since that's the POP3 account I'm using for incoming mail
> and that's what I want the receiving server to see (I think, because
> my IP address is dynamic and I don't have a hostname).  Whenever I
> try to send mail to non-BYU address, however, the message never
> leaves the queue, showing up with a "Connection timed out" error
> message after a few minutes.  I tried changing a few settings in
> /etc/postfix/main.cf but it's still not working.  Any help will be
> much appreciated.
> 
> Thanks,
> Ben
> 
> --
> Ben Crowder <[EMAIL PROTECTED]>
> MSN: crowderben
> http://www.blankslate.net/
> 
> ____________________
> BYU Unix Users Group
> http://uug.byu.edu/
> ___________________________________________________________________
> List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
>

____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to