Re: basic sendmail problem

2004-11-18 Thread Gene
David Syphers wrote:
I've previously used sendmail in a very simple configuration - it just 
forwards my mail to another address. I now want to do that again, and find 
that it no longer works. I'm using Sendmail 8.13.1 on 6-CURRENT from 20040905 
(i.e. pretty much FreeBSD 5, but with one crucial fix so it would boot on my 
computer).
 


Really big snip
 

Check /etc/mail for
  relay-domains
and
  local-host-names
I had to put my host.domain.net in each of these as well as access in 
order
to get sendmail 8.13.1 to work.

Best luc\k--
Gene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: basic sendmail problem

2004-11-18 Thread David Syphers
On Thursday 18 November 2004 05:58 pm, Gene wrote:
 Check /etc/mail for
relay-domains
 and
local-host-names

 I had to put my host.domain.net in each of these as well as access in
 order
 to get sendmail 8.13.1 to work.

Thanks, everything works now. So it was either this, or rebooting after 
changing /etc/hosts, or both. Or something  :)

-David
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: basic sendmail problem

2004-11-17 Thread David Syphers
On Wednesday 17 November 2004 08:59 pm, Giorgos Keramidas wrote:
 On 2004-11-17 20:35, David Syphers [EMAIL PROTECTED] wrote:
  I have sendmail_enable=YES in rc.conf, I have my aliases and
  virtusertable files the way I want them, sendmail's running, and
  listening on port 25.  However, one thing has changed since the last
  time I tried this - I'm now on a LAN. The router sends all port 25
  stuff to my server, and that works fine.  But it means that my server
  has an IP that it can't resolve, though its domain name resolves into
  the correct IP and gets to the server even from on the LAN.

 I don't see why the first part of the previous sentence justifies the
 second.  Why can't your IP resolve?

Sorry, I probably didn't say that right. What I meant was, if it tries to 
reverse lookup a name based its own IP, it wouldn't work. If that matters. I 
do see it complaining things like 'gethostbyaddr(192.168.1.103) failed: 1'.

  I've tried adding this local IP to /etc/hosts for kicks.
  Nothing changed.

 Does your /etc/nsswitch.conf point first at /etc/hosts and then at dns?

Yes. Do I need to restart anything after changing hosts? (I haven't used 
Windows in years, but I still get this feeling that I should reboot after 
making any change...)

  Every time I try to send a message to any user on the system, from
  virtusertable, aliases, or a real user, I get the error 550 5.7.1
  relaying denied, followed by 550 5.1.1 user unknown.

 Does Sendmail log anything in /var/log/maillog?  If yes, what is it?

Yes, for example:
Nov 17 19:52:53 bifrost sm-mta[1740]: iAI3qqvn001740: ruleset=check_rcpt, 
arg1=[EMAIL PROTECTED], relay=mxout2.cac.washington.edu [140.142.33.4], 
reject=550 5.7.1 [EMAIL PROTECTED]... Relaying denied

Is it denying mail because it thinks it's not seektruth.org?

-David
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: basic sendmail problem

2004-11-17 Thread David Syphers
On Wednesday 17 November 2004 10:26 pm, Giorgos Keramidas wrote:
 Yes, I got that.  What I didn't understand was why is fixing the DNS
 setup not a priority here?  

Well, that's not what you asked. It wasn't a priority because I didn't know 
this was a problem, and my server is a computer that I got for $25 at 
Boeing surplus to host my little domain that does nothing much. So I don't 
'prioritize' things relating to it.

 You can probably get away with: 

 FEATURE(`accept_unqualified_senders')
 FEATURE(`accept_unresolvable_domains')

 but this is a huge spam proxy waiting to happen.  Instead of 'fixing'
 what isn't broken, you should try to fix DNS resolution of your IP
 addresses.  It's better in the long run.

I totally agree. Have any tips on how to do this? Should what I was doing 
to /etc/hosts work? And _is_ this what is causing the Sendmail problem?

Thanks,

-David
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]