Re: sendmail problem - Helo command rejected: Host not found

2005-01-12 Thread Chuck Swiger
Srot BULL wrote:
[ ... ]
  - The following addresses had permanent fatal errors -
<[EMAIL PROTECTED]>
(reason: 554 <[EMAIL PROTECTED]>: Relay access denied)
   - Transcript of session follows -
... while talking to vc.point.ne.jp.:
DATA
<<< 554 <[EMAIL PROTECTED]>: Relay access denied
554 5.0.0 Service unavailable
<<< 554 Error: no valid recipients
It seems that I was not allowed to relay my email so I tried the
archives and then I tried reading the README file
at /usr/share/sendmail/cf/README
and found something about:
Providing SMTP AUTH Data when sendmail acts as Client
-
I read a little and did what I understood:
1) created a /etc/mail/authinfo file with the following
AuthInfo:point.ne.jp "U:myusername" "I:myusername" "P:password"
AuthInfo:me.point.ne.jp "U:myusername" "I:myusername" "P:password"
Your configuration seems to be going in the right direction, so you ought to 
discuss this error with [EMAIL PROTECTED] so they can either change 
things to permit relaying, or figure out what you need to adjust.

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


Re: sendmail problem - Helo command rejected: Host not found

2005-01-12 Thread Eric F Crist
On Jan 12, 2005, at 8:01 AM, Srot BULL wrote:
On Tue, 2005-01-11 at 22:21 -0600, Eric F Crist wrote:
Try editing the /etc/mail/sendmail.cf file and search for a line that
starts with LogLevel.  By default, IIRC, it's set to 9.  Change this 
to
25, and from /etc/mail type make restart. (Don't make/make install as
you're loglevel will be reset.

Try sending an email.  As soon as you're client is done, go to the
server and type:
# tail -n 50 /var/log/maillog
You should see some information regarding the authentication and if
there were any errors or not.
I did what you suggested above...
Well actually I do not know yet how to read log files but it seems that
there was no authentication but I did saw some errors if that is what
they are called like below?
Jan 12 13:45:46 r40e sm-mta[2675]: j0CDjksI002673: --- 050
<[EMAIL PROTECTED]>... Connecting to vc.point.ne.jp. via relay...
Jan 12 13:45:46 r40e sm-mta[2675]: j0CDjksI002673: SMTP outgoing 
connect
on [192.168.0.3]
Jan 12 13:45:47 r40e sm-mta[2675]: j0CDjksI002673: --- 554 5.0.0 
Service
unavailable (hold)
Jan 12 13:45:47 r40e sm-mta[2675]: j0CDjksI002673:
to=<[EMAIL PROTECTED]>, ctladdr=<[EMAIL PROTECTED]>
(1001/1001), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30529,
relay=vc.point.ne.jp. [211.1.103.23], dsn=5.0.0, stat=Service
unavailable
Jan 12 13:45:48 r40e sm-mta[2675]: j0CDjksI002673: ---
050 /home/srotbull/.forward: line 1: forwarding to "|
exec /usr/local/bin/procmail "
Jan 12 13:45:48 r40e sm-mta[2675]: j0CDjksI002673: forward
<[EMAIL PROTECTED]> => "|exec /usr/local/bin/procmail "
Jan 12 13:45:48 r40e sm-mta[2675]: j0CDjksI002673: j0CDjmsI002675: DSN:
Service unavailable
Jan 12 13:45:48 r40e sm-mta[2675]: j0CDjmsI002675: --- 050 "|
exec /usr/local/bin/procmail "... Connecting to prog...
Jan 12 13:45:48 r40e sm-mta[2675]: j0CDjmsI002675: --- 050 "|
exec /usr/local/bin/procmail "... Sent
Jan 12 13:45:48 r40e sm-mta[2675]: j0CDjmsI002675: to="|
exec /usr/local/bin/procmail ", ctladdr=<[EMAIL PROTECTED]>
(1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=31553,
dsn=2.0.0, stat=Sent
Jan 12 13:45:48 r40e sm-mta[2675]: j0CDjmsI002675: done; 
delay=00:00:00,
ntries=1
Jan 12 13:45:48 r40e sm-mta[2675]: j0CDjksI002673: done; 
delay=00:00:02,
ntries=1
Jan 12 13:45:48 r40e sm-mta[2675]: NOQUEUE: --- 050 Closing connection
to vc.point.ne.jp.
It looks like the server upstream, vc.point.ne.jp is unavailable, or 
otherwise not responding.  I would try to ping the IP address of that 
server.  If that succeeds, try to telnet on port 25 (telnet host 25) 
and type ehlo  once connected.  You should see a list 
of features on that server, including whether or not Authentication is 
available.

In regards to the AuthInfo format, that looks right from my sendmail 
knowledge, but I've never used it, as I run a completely separate mail 
server, not a relay.

I've forwarded this message, along with the original to the 
freebsd-questions list for google's sake.

HTH
___
Eric F Crist  "I am so smart, S.M.R.T!"
Secure Computing Networks  -Homer J Simpson


PGP.sig
Description: This is a digitally signed message part


Re: sendmail problem - Helo command rejected: Host not found

2005-01-12 Thread Matthew Seaman
Srot BULL wrote:
Hello again...
On Mon, 2005-01-10 at 23:18 -0500, Chuck Swiger wrote:
Giorgos Keramidas wrote:
On 2005-01-10 19:38, Chuck Swiger <[EMAIL PROTECTED]> wrote:
[ ... ]
Go to /etc/mail.  Edit freebsd.cf (look for SMART_HOST), point it at your
ISP's mail server.  Do "make stop; make install; make start".
FWIW, the file edited should be `freebsd.mc', not `freebsd.cf' otherwise
a subsequent "make install" will overwrite the edited `freebsd.cf' file
with a fresh copy generated from `freebsd.mc'.
Err, yes, that's right.  (I knew which file I meant.  :-)
Note that you can even copy freebsd.mc to hostname.mc, and the system will 
find it for you so you don't have to change the default template file.  The 
Makefile explains this better than I did.

I did edit the file /etc/mail/freebsd.mc and changed the line containing
the SMART_HOST to
define(`SMART_HOST', `me.point.ne.jp')
and
# cd /etc/mail/
# make stop
# make install
# make start
Everything went well...
I now have a r40e.point.ne.jp.mc and the all..
But, when I tried to send an Email to my yahoo.com account to test if it
is working...
Here is what came back to my InBox:
The original message was received at Wed, 12 Jan 2005 12:34:41 GMT
from localhost [127.0.0.1]
   - The following addresses had permanent fatal errors -
<[EMAIL PROTECTED]>
(reason: 554 <[EMAIL PROTECTED]>: Relay access denied)
   - Transcript of session follows -
... while talking to vc.point.ne.jp.:
DATA
<<< 554 <[EMAIL PROTECTED]>: Relay access denied
554 5.0.0 Service unavailable
<<< 554 Error: no valid recipients
It seems that I was not allowed to relay my email so I tried the
archives and then I tried reading the README file
at /usr/share/sendmail/cf/README
and found something about:
Providing SMTP AUTH Data when sendmail acts as Client
-
I read a little and did what I understood:
1) created a /etc/mail/authinfo file with the following
AuthInfo:point.ne.jp "U:myusername" "I:myusername" "P:password"
AuthInfo:me.point.ne.jp "U:myusername" "I:myusername" "P:password"
Did a 
# cd /etc/mail/
# make stop
# make install
# make start
No problems but still I can not send Emails using sendmail...

Any hints...Or am I going the wrong direction here and probably messed
my configuration badly now...?
No -- what you've done so far is fine.  However there are several 
possible ways for your ISP to control access to their mail server and 
you'll need to talk to them to find out exactly what you should do.

How did you manage to send the e-mail I'm replying to? I see from your 
message headers you're using the Evolution mail client, so presumably 
you've configured it to speak SMTP directly to the ISPs mail servers? 
What settings did you have to put into Evolution to make it work?  It 
should be possible to deduce from that how to configure sendmail to work 
similarly, although it may take someone more familiar with Evolution 
than I am to join up all the dots.

Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil.   8 Dane Court Manor
  School Rd
PGP: http://www.infracaninophile.co.uk/pgpkey Tilmanstone
Tel: +44 1304 617253  Kent, CT14 0JL UK


signature.asc
Description: OpenPGP digital signature


Re: sendmail problem - Helo command rejected: Host not found

2005-01-11 Thread Eric F Crist
On Jan 12, 2005, at 6:52 AM, Srot BULL wrote:
I did edit the file /etc/mail/freebsd.mc and changed the line 
containing
the SMART_HOST to
define(`SMART_HOST', `me.point.ne.jp')
and
# cd /etc/mail/
# make stop
# make install
# make start

Everything went well...
I now have a r40e.point.ne.jp.mc and the all..
But, when I tried to send an Email to my yahoo.com account to test if 
it
is working...

Here is what came back to my InBox:
The original message was received at Wed, 12 Jan 2005 12:34:41 GMT
from localhost [127.0.0.1]
   - The following addresses had permanent fatal errors -
<[EMAIL PROTECTED]>
(reason: 554 <[EMAIL PROTECTED]>: Relay access denied)
   - Transcript of session follows -
... while talking to vc.point.ne.jp.:
DATA
<<< 554 <[EMAIL PROTECTED]>: Relay access denied
554 5.0.0 Service unavailable
<<< 554 Error: no valid recipients
It seems that I was not allowed to relay my email so I tried the
archives and then I tried reading the README file
at /usr/share/sendmail/cf/README
and found something about:
Providing SMTP AUTH Data when sendmail acts as Client
-
I read a little and did what I understood:
1) created a /etc/mail/authinfo file with the following
AuthInfo:point.ne.jp "U:myusername" "I:myusername" "P:password"
AuthInfo:me.point.ne.jp "U:myusername" "I:myusername" "P:password"
Did a
# cd /etc/mail/
# make stop
# make install
# make start
No problems but still I can not send Emails using sendmail...
Any hints...Or am I going the wrong direction here and probably messed
my configuration badly now...?
Try editing the /etc/mail/sendmail.cf file and search for a line that 
starts with LogLevel.  By default, IIRC, it's set to 9.  Change this to 
25, and from /etc/mail type make restart. (Don't make/make install as 
you're loglevel will be reset.

Try sending an email.  As soon as you're client is done, go to the 
server and type:

# tail -n 50 /var/log/maillog
You should see some information regarding the authentication and if 
there were any errors or not.

HTH
___
Eric F Crist  "I am so smart, S.M.R.T!"
Secure Computing Networks  -Homer J Simpson


PGP.sig
Description: This is a digitally signed message part


Re: sendmail problem - Helo command rejected: Host not found

2005-01-11 Thread Srot BULL
Hello again...

On Mon, 2005-01-10 at 23:18 -0500, Chuck Swiger wrote:
> Giorgos Keramidas wrote:
> > On 2005-01-10 19:38, Chuck Swiger <[EMAIL PROTECTED]> wrote:
> [ ... ]
> >>Go to /etc/mail.  Edit freebsd.cf (look for SMART_HOST), point it at your
> >>ISP's mail server.  Do "make stop; make install; make start".
> > 
> > FWIW, the file edited should be `freebsd.mc', not `freebsd.cf' otherwise
> > a subsequent "make install" will overwrite the edited `freebsd.cf' file
> > with a fresh copy generated from `freebsd.mc'.
> 
> Err, yes, that's right.  (I knew which file I meant.  :-)
> 
> Note that you can even copy freebsd.mc to hostname.mc, and the system will 
> find it for you so you don't have to change the default template file.  The 
> Makefile explains this better than I did.

I did edit the file /etc/mail/freebsd.mc and changed the line containing
the SMART_HOST to
define(`SMART_HOST', `me.point.ne.jp')
and
# cd /etc/mail/
# make stop
# make install
# make start

Everything went well...
I now have a r40e.point.ne.jp.mc and the all..
But, when I tried to send an Email to my yahoo.com account to test if it
is working...

Here is what came back to my InBox:
The original message was received at Wed, 12 Jan 2005 12:34:41 GMT
from localhost [127.0.0.1]

   - The following addresses had permanent fatal errors -
<[EMAIL PROTECTED]>
(reason: 554 <[EMAIL PROTECTED]>: Relay access denied)

   - Transcript of session follows -
... while talking to vc.point.ne.jp.:
>>> DATA
<<< 554 <[EMAIL PROTECTED]>: Relay access denied
554 5.0.0 Service unavailable
<<< 554 Error: no valid recipients

It seems that I was not allowed to relay my email so I tried the
archives and then I tried reading the README file
at /usr/share/sendmail/cf/README
and found something about:

Providing SMTP AUTH Data when sendmail acts as Client
-

I read a little and did what I understood:
1) created a /etc/mail/authinfo file with the following
AuthInfo:point.ne.jp "U:myusername" "I:myusername" "P:password"
AuthInfo:me.point.ne.jp "U:myusername" "I:myusername" "P:password"

Did a 
# cd /etc/mail/
# make stop
# make install
# make start
No problems but still I can not send Emails using sendmail...

Any hints...Or am I going the wrong direction here and probably messed
my configuration badly now...?

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


Re: sendmail problem - Helo command rejected: Host not found

2005-01-10 Thread Chuck Swiger
Giorgos Keramidas wrote:
On 2005-01-10 19:38, Chuck Swiger <[EMAIL PROTECTED]> wrote:
[ ... ]
Go to /etc/mail.  Edit freebsd.cf (look for SMART_HOST), point it at your
ISP's mail server.  Do "make stop; make install; make start".
FWIW, the file edited should be `freebsd.mc', not `freebsd.cf' otherwise
a subsequent "make install" will overwrite the edited `freebsd.cf' file
with a fresh copy generated from `freebsd.mc'.
Err, yes, that's right.  (I knew which file I meant.  :-)
Note that you can even copy freebsd.mc to hostname.mc, and the system will 
find it for you so you don't have to change the default template file.  The 
Makefile explains this better than I did.

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


Re: sendmail problem - Helo command rejected: Host not found

2005-01-10 Thread Giorgos Keramidas
On 2005-01-10 19:38, Chuck Swiger <[EMAIL PROTECTED]> wrote:
>Srot BULL wrote:
>>> The simple answer is that the name your machine claims to be isn't
>>> registered in the DNS, which is normal for dynamic connections.  You
>>> should either relay all email to the mailserver your ISP should have
>>> available, or you should configure your MTA to masquerade as a valid
>>> domain.  The former is likely to better in terms of passing
>>> spam-sensitive mailers.
>>
>> Can I configure my system's sendmail to the above suggestion that you
>> wrote? Or am I stuck to using Evolution/Thunderbird with an SMTP
>> setting and not sendmail as my smtp server?  [...]
>
> Go to /etc/mail.  Edit freebsd.cf (look for SMART_HOST), point it at your
> ISP's mail server.  Do "make stop; make install; make start".

FWIW, the file edited should be `freebsd.mc', not `freebsd.cf' otherwise
a subsequent "make install" will overwrite the edited `freebsd.cf' file
with a fresh copy generated from `freebsd.mc'.

To the original poster...

The configuration process of Sendmail can be a bit tricky, but it has
been discussed over and over again in this list.  You may also find it
useful to search the mailing list archives:

http://lists.freebsd.org/pipermail/freebsd-questions/

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


Re: sendmail problem - Helo command rejected: Host not found

2005-01-10 Thread Chuck Swiger
Srot BULL wrote:
[ ... ]
The simple answer is that the name your machine claims to be isn't registered 
in the DNS, which is normal for dynamic connections.  You should either relay 
all email to the mailserver your ISP should have available, or you should 
configure your MTA to masquerade as a valid domain.
The former is likely to better in terms of passing spam-sensitive mailers.
Can I configure my system's sendmail to the above suggestion that you
wrote? Or am I stuck to using Evolution/Thunderbird with an SMTP setting
and not sendmail as my smtp server?   [ ... ]
Go to /etc/mail.  Edit freebsd.cf (look for SMART_HOST), point it at your 
ISP's mail server.  Do "make stop; make install; make start".

You may have to twiddle some more, look at the Makefile there and:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail.html
In particular, if your ISP requires your mailer to authenticate, you will need 
to twiddle the things called an access map for SMTP AUTH.  :-)

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


Re: sendmail problem - Helo command rejected: Host not found

2005-01-10 Thread Srot BULL
Again, thank you for the response,
Haaa, I love FreeBSD!

On Mon, 2005-01-10 at 18:50 -0500, Chuck Swiger wrote:
> Srot BULL wrote:
> [ ... ]
> > If I am wrong, then can anyone...give me a simple explanation (simple
> > please - I know that I am asking too much, but I can assure you that I
> > have already bookmarked the sendmail Website and sendmail batbook is
> > already in my list of books that I am planning to purchase...not yet
> > though)
> 
> The simple answer is that the name your machine claims to be isn't registered 
> in the DNS, which is normal for dynamic connections.  You should either relay 
> all email to the mailserver your ISP should have available, or you should 
> configure your MTA to masquerade as a valid domain.
> The former is likely to better in terms of passing spam-sensitive mailers.
Can I configure my system's sendmail to the above suggestion that you
wrote? Or am I stuck to using Evolution/Thunderbird with an SMTP setting
and not sendmail as my smtp server? You know what, I once tried
following an article from the BSD Hack book that I have but because of
my poor knowledge in sendmail I could no longer received emails
then...So, I had to reinstall my system again...that was months
ago...Maybe I should try that one again and post it in the ML if I
encounter problems (I know I will)...
Again, is my system clock wrong or yours?
I thought I have mine as correct...

Once again thank you for the response and hoping for responses from you
in the future...

Srot BULL

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


Re: sendmail problem - Helo command rejected: Host not found

2005-01-10 Thread Chuck Swiger
Srot BULL wrote:
[ ... ]
If I am wrong, then can anyone...give me a simple explanation (simple
please - I know that I am asking too much, but I can assure you that I
have already bookmarked the sendmail Website and sendmail batbook is
already in my list of books that I am planning to purchase...not yet
though)
The simple answer is that the name your machine claims to be isn't registered 
in the DNS, which is normal for dynamic connections.  You should either relay 
all email to the mailserver your ISP should have available, or you should 
configure your MTA to masquerade as a valid domain.

The former is likely to better in terms of passing spam-sensitive mailers.
[ ... ]
<<< 450 : Helo command rejected: Host not found
... Deferred: 450 :
Helo command rejected: Host not found
<<< 554 Error: no valid recipients
Warning: message still undelivered after 4 hours
Will keep trying until message is 5 days old
Yes, see the NXDOMAIN response ("no such domain"):
28-cube% dig r40e.point.ne.jp.
; <<>> DiG 9.2.2 <<>> r40e.point.ne.jp.
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 59233
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
[ ... ]
--
-Chuck
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"