About this list Date view Thread view Subject view Author view Attachment view

From: Stadt Zirndorf, EDV (edv_at_zirndorf.de)
Date: Thu 18 Mar 2004 - 15:09:15 GMT


I installed sendmail on a debian-linux-server running "vserver" several
times,
on each vserver one sendmail. The idea is that the vserver mail2 gets
mail from outside and delivers it to another vserver where the local
users are.

Because vservers are installed, I have to avoid 127.0.0.1, all mails must
pass
through my official internal mailaddresses 10.95.81.xxx

My sendmail.mc looks like this:

==========================================0
LOCAL_CONFIG

dnl # vserver: do not listen to 127.0.0.1, but only to a right IP
DAEMON_OPTIONS(`Port=smtp,Addr=10.95.81.71, Name=MTA')dnl

dnl # vserver: do not listen to Port 587 (Look for "sendmail 587")
dnl # on google if you are interested
FEATURE(`no_default_msa')dnl

FEATURE(`accept_unresolvable_domains')dnl
FEATURE(`access_db')dnl

INPUT_MAIL_FILTER(`mimedefang',
`S=unix:/var/spool/MIMEDefang/mimedefang-multiplexor.sock, F=T,
T=S:1m;R:1m')

dnl # our smarthost
FEATURE(`nullclient', smtp.zdf)dnl

LOCAL_CONFIG
==========================================

When I run these commands...

mail2:/etc/mail# cat /etc/group | mail -s "test" lippmann_at_zirndorf.de
mail2:/etc/mail# sendmail -v lippmann_at_zirndorf.de </dev/null
lippmann_at_zirndorf.de... Connecting to [127.0.0.1] port 587 via relay...
lippmann_at_zirndorf.de... Deferred: Connection refused by [127.0.0.1]

... always the same things happen in /var/log/mail.log:

Mar 18 15:40:01 mail2 sm-msp-queue[15646]: i2IFULeQ015620:
  to=lippmann_at_zirndorf.de, ctladdr=root (0/0),
  delay=00:09:40, xdelay=00:00:00,
  mailer=relay, pri=120040,
  relay=[127.0.0.1] [127.0.0.1],
  dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]

There should be a way to get local mails delivered to smarthost. This
127.0.0.1 seems to be hardcoded somewhere. What can I do?

Help appreciated, thanks!

Greetings,
Richard

--
Stadt Zirndorf, EDV
Richard Lippmann
Tel. 0911/9600-190 
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 18 Mar 2004 - 15:10:24 GMT by hypermail 2.1.3