Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

i know this question has been asked before, but i really need a step by step guide to configure sendmail. The problem is that mail sent from a server (let's call it comarp.nicola.it) is not received by some recipients. I'm sending the mail through a php scripts that uses joomla Jmail class.

This is what i get from my mail log:

    Apr 18 10:38:20 lamp sm-mta[8046]: STARTTLS=client, relay=comarp.it., version=TLSv1/SSLv3, verify=FAIL, cipher=AES256-SHA, bits=256/256
Apr 18 10:38:20 lamp sm-mta[8046]: p3IAcHeM008044: to=<eleonora@comarp.it>, ctladdr=<www-data@lamp> (33/33), delay=00:00:03, xdelay=00:00:02, mailer=esmtp, pri=150573, relay=comarp.it. [], dsn=5.1.1, stat=User unknown

This is the log from the server that is refusing the mail:

2011-04-18 12:38:18 H=(lamp) [] sender verify fail for <www-data@lamp>: The mail server could not deliver mail to www-data@lamp. The account or domain may not exist, they may be blacklisted, or missing the proper dns entries.
2011-04-18 12:38:18 H=(lamp) [] F=<www-data@lamp> rejected RCPT <eleonora@comarp.it>: Sender verify failed

I think i have to configure something so that the sender is not www-data@lamp (maybe that should be something @nicola.it to make it work), but i'v lost the last four hours without finding a solution.

When sendmail starts it also says this message:

local host name (localhost) is not qualified; see cf/README: WHO AM I?

Thx in advance

share|improve this question
Do you have a strong emotional connection to sendmail, or could Postfix, which is in my experience is much easier to configure, be a solution? –  pehrs Apr 19 '11 at 16:12
i don't know...usually i didn't have this problem, i just run apt-get install sendmail and that was it. And as i stated here i only have this problem with some recipients...and i should configure joomla to use postfix, so i'd rather stick with sendmail (unless doing what i need to do is a real nightmare) –  Nicola Peluchetti Apr 19 '11 at 16:21
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.