[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sendmail to send mail only, using MX records



On 6/21/09, Bob Proulx <bob@proulx.com> wrote:
> Kelly Jones wrote:
>> I have sendmail installed on etch,
>
> Is there a reason not to upgrade to Lenny, the current stable?  This
> is outside of your current problem but you really should think about
> keeping current.

I plan to use a cluster of cheap VPS' for redundancy. Many VPS
providers now offer etch; very few offer lenny.

> Using Sendmail is probably okay but IMNHO there are better choices.
> Would you entertain using a different MTA?  If you want a full
> internet site mailer then I recommend that you install and use either
> Postfix or Exim.  I personally prefer Postfix.  But in either case you
> could simply install and it would solve your problem.
>
>   apt-get install postfix
>
> Answer the debconf questions for an internet site and then you are
> set.  No other configuration is needed.

I'm happy to use any MTA that 1) delivers email to anydomain.com using
its MX record, 2) queues mail that it can't send, and 3) doesn't run a
daemon (I don't accept incoming email on these servers).

I had exim4 installed, but it kept telling me "not configured to send
mail to remote hosts" or something.

Postfix will really just work "out of the box"?

>> How can I tell /usr/lib/sendmail to do an MX lookup on bar.com and
>> connect to that server, instead of connecting to localhost?
>
> That question makes me wonder if you really have sendmail installed.
> This is pedantic but please double check.
>
>   dpkg -S /usr/sbin/sendmail
>
> Because the behavior reads to me like a different mta program.

You're right! But I explicitly removed exim4 and exim4-base and
did "apt-get install sendmail". Here's what various commands return:

debian:~# dpkg -S /usr/sbin/sendmail
dpkg: /usr/sbin/sendmail not found.

debian:~# dpkg -l | fgrep -i sendmail
ii  sendmail                          8.13.8-3
    powerful, efficient, and scalable Mail Trans
ii  sendmail-base                     8.13.8-3
    powerful, efficient, and scalable Mail Trans
ii  sendmail-bin                      8.13.8-3
    powerful, efficient, and scalable Mail Trans
ii  sendmail-cf                       8.13.8-3
    powerful, efficient, and scalable Mail Trans

debian:~# sendmail -d0.1
Version 8.13.8
 Compiled with: DNSMAP LDAPMAP LDAP_REFERRALS LOG MAP_REGEX MATCHGECOS
                MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6 NETUNIX
                NEWDB NIS NISPLUS PIPELINING SASLv2 SCANF SOCKETMAP STARTTLS
                TCPWRAPPERS USERDB USE_LDAP_INIT XDEBUG

============ SYSTEM IDENTITY (after readcf) ============
      (short domain name) $w = [removed]
  (canonical domain name) $j = [removed]
         (subdomain name) $m = [removed]
              (node name) $k = [removed]
========================================================

Recipient names must be specified

debian:~# ls -l /usr/sbin/sendmail /usr/lib/sendmail

lrwxrwxrwx 1 root root 30 2009-06-19 16:17 /usr/lib/sendmail -> /etc/alternativ\
es/lib.sendmail*
lrwxrwxrwx 1 root root 26 2009-06-19 16:17 /usr/sbin/sendmail -> /etc/alternati\
ves/sendmail*

Hmmm, what the heck am I running?

-- 
We're just a Bunch Of Regular Guys, a collective group that's trying
to understand and assimilate technology. We feel that resistance to
new ideas and technology is unwise and ultimately futile.


Reply to: