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 <yourhostnamehere> 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