Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
You will need to make some changes to the sendmail.cf file, this file is probably stored in /etc/mail
You may need to add values to the Dj (Domain name entry) and DS (Relay host entry)
Append the fully qualified domain of your local host to the Dj directive
Append the hostname (not the ip-address) of the mail server to the DS directive, with version 10 there
seems to be a problem with putting the ip-address directly in the sendmail.cf file. Ensure that the
mailserver hostname resolves correctly.
Also ensure that the fully qualified domain name of your local host is in /etc/hosts and that it is the first
entry with any aliases following it.
Version AIX5.3/8.13.4
The $m entry should be correct if the fully qualified domain name was entered into /etc/hosts
sendmail -v "email-address"
Then type some text and on a new line insert a dot (period).
test
Then there is a problem, in my case it was because the ip-address was in the sendmail.cf file instead
of a resolvable name
If you suspect the mail relay host (the DS entry in sendmail.cf) then you can do the following to check
it
You should get a response like the following, (your input is displayed in bold)
Trying...
Connected to mail-relay-host.
Escape character is '^]'.
220 mail-relay-host.com ESMTP Service (Lotus Domino Release 7.0.2FP1) ready at Tue,
11 Sep 2007 17:04:08 +0100
helo mail-relay-host
250 mail-relay-host Hello mail-relay-host ([10.252.56.9]), please to meet you
mail from: root@hostname.com
250 root@hostname.com... Sender OK
rcpt to: destination-email-address
250 destination-email-address... Recipient OK
data
354 Enter message, end with "." on a line by itself
subject: test
test
.
250 Message accepted for delivery
quit
The destination email address should receive your test email, if not there is a problem with the mail
relay host and you should investigate there.
Both these credentials are Base64 encrypted. You can use the tool located at
http://ostermiller.org/calc/encode.html to encode your username and password to Base64.
telnet mailrelay 25
Trying...
Connected to mailrelay.
Escape character is '^]'.
220 example.co.uk VPOP3 ESMTP Server Ready
helo
auth login
334 VXNlvm5hfWU6
Y19ufnVjdC3kZXJ2ZXI=
334 UGFkc3dvcpQ6
YdBunjNhdA==
data
test1
250 2.0.0 OK
quit