[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

setting the sender field (was Re: Smail Configuration)



I did a similar thing to get my smail working.  
I use exmh/mh for email.  My problem is that the sender field is set to 
USER@FULLY_QUALIFIED_HOSTNAME(FQDN).  The user is jmb (or whoever I'm logged 
in as) and the hostname is achimota.  The network I'm on (from my dial-up ISP) 
is ziplink.net.  My FQDN ends up as achimota.ziplink.net, which does not 
resolve when a DNS lookup is done on it.  As a result of this mail to some 
domains gets rejected.   If the FQDN does not resolve it is rejected because 
maybe they think it is spam or something.  Am I making any sense?  I hope I 
have explained the problem clearly.  For example this is being sent from user 
jmb on host nsx.rd.usr.com so the sender field in this message is going to 
read as jmb@nsx.rd.usr.com, which is ok because nsx.rd.usr.com is a real host.
>From what I've been reading, the sender field is set by smail.  Is there a 
part in the smail config files where I can set the sender field to a real 
value - one with a hostname that will resolve.
Thanks for any help

jmb


>On Fri, Jul 10, 1998 at 12:52:52AM +0200, Marcus Brinkmann wrote:
>> On Thu, Jul 09, 1998 at 12:20:53PM -0600, vaidhy@wwdg.com wrote:
>> > Hi ,
>> >  I have a mail account at my ISP which is SMTP. Can somebody please
>> > explain to me how to set up smail so that I can send and receive mails
>> > from my machine...Right now, I am using netscape mail, but not very
>> > comfy with that. (I did look at the HOWTO, but can not make head or tail out of it)
>> 
>> Hello Vaidhy,
>> 
>> please press return evry 80 characters or so, netscape puts whole
>> paragraphs in a single line, thank you.
>> 
>> Start smailconfig (maybe you need to provide option "--force") as root.
>> 
>> Then choose option (1) Internet host. Answer the questions, it should be
>> pretty straightforward, but feel free to ask questions (I use exim, and
>> don't rmember the exact questions). The important thing is "smarthost",
>> which should be YES and set to your SMTP host name.
>> 
>> You are done.
>> 
>
>I ran into a slight problem using that config with smail. Perhaps I
>just didn't answer the questions properly?  My config file ended up
>with a visible host name of worldnetla.net (my ISP domain), which was
>ok. The hosts line ended up "worldnetla.net, sales.mmi.bus" which was
>not ok. (sales.mmi.bus is local host name, not registered). The
>line for additional (more?) hostnames had "localhost".  Result was
>I could send email to anybody as long as they were not in my ISP
>domain.  Smail tried to deliver mail to my ISP domain locally.
>
>Solution (maybe not politically correct, but it works): deleted the
>line for more hostnames, changed line for hosts to "localhost", and
>it started working correctly.  I don't remember the actual config
>tags for these lines (running sendmail now) but they are at the top
>of the generated config file.
>
>Mike



--  
Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null


Reply to: