Ok, so I am held back from dropping my paid hosting entirely by the fact that my sendmail is not working correctly. I’ve been researching and tinkering with this problem for months now and it’s high time I asked for help. I’m including all the relevant information I can think of in this post and will be checking it often as I need to resolve this. Please help!
I am running Ubuntu 8.0.4 LTS with Webmin, Usermin, and Virtualmin and multiple domains.
Sendmail was working for sending mail out but not receiving mail. Trying to get incoming mail working, I installed procmail and spamassassin both. I also installed the Webmin module for relaying domains (not that I needed it, but I did anyway.) As a sidenote, I also install pear modules, including mail. Now I have the opposite problem. I am able to receive mail perfectly, but unable to send mail out.
In Webmin’s sendmail configuration, under “Local Domains Cw” I have:
[code:1]
localhost
junkroomserver
junkroomserver.hsd33.az.comcast.net
domain1.com
domain2.com
domain3.com
192.168.1.99[/code:1]
Under Webmin’s sendmail “Outgoing Domains CG” I have:
[code:1]
localhost
junkroomserver.hsd33.az.comcast.net
domain1.com
domain2.com
domain3.com[/code:1]
I have all blanks, nothing entered for domain masquerading. I have not setup any address mappings, domain routing, outgoing addresses, domain mapping, or relay domains… other than what VirtualMin did for me when I added the virtual server for each domain using Virtualmin.
Here is the relevant part of my sendmail.cf file:
[code:1]
Other dnl # Masquerading options
Feature FEATURE(always_add_domain')dnl Other MASQUERADE_AS(
junkroomserver.hsd33.az.comcast.net’)dnl
Feature FEATURE(allmasquerade')dnl Feature FEATURE(
masquerade_envelope’)dnl
Feature FEATURE(virtusertable') Feature FEATURE(
genericstable’)
Feature FEATURE(mailertable') Feature FEATURE(
domaintable’)
Other dnl # Default Mailer setup
Other MAILER_DEFINITIONS
Mailer MAILER(local')dnl Mailer MAILER(
smtp’)dnl
Mailer MAILER(`procmail’)
[/code:1]
Here is my /etc/hosts file:
[code:1]
127.0.0.1 localhost
192.168.1.99 junkroomserver.hsd33.az.comcast.net junkroomserver
The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts[/code:1]
Here is the mail.log entry for a mail that was sent successfully:
and here is a log entry from mail which was not sent successfully:
(note: sensitive information has been obfuscated above)
Can anyone please help me? I’ve been trying for days and weeks to get this running right and still clueless. It seems like sendmail can’t connect to 127.0.0.1 ever since I installed the Webmin relay domains module, procmail, and spamassassin, but like I say, until I did this, I could not receive mail. Now I can receive mail to any domain or user but I just can’t send it at all.<br><br>Post edited by: VyouFinder, at: 2008/10/30 03:37