FC-2 sendmail 8.12.11/8.12.11
"Gliebe Richard (gr)" <[email protected]>
| Newsgroups | gmane.linux.redhat.general.german |
|---|---|
| Message-ID | <D59CE21850A7D0478A8840A0D8A62434035A3D1C@blackbird> |
Hallo, kämpfe gerade mit sendmail 8.12.11/8.12.11 auf Fedora Core-2 herum. Ich möchte, dass die Maschine nur Emails aus meiner Domain (mydomain.at) relayed. Zudem habe ich das file /etc/mail/access wie folgt editiert, und die DB neugebaut: # cat /etc/mail/access localhost.localdomain RELAY localhost RELAY 127.0.0.1 RELAY mydomain.at RELAY # cat /etc/mail/newdbs.sh clear makemap -v hash /etc/mail/access < /etc/mail/access echo -e 'Access.db aktualisiert!\n' makemap -v hash /etc/mail/virtusertable < /etc/mail/virtusertable echo -e 'virtusertable.db aktualisiert! \n' makemap -v hash /etc/mail/mailertable < /etc/mail/mailertable echo -e 'mailertable.db aktualisiert! \n' /etc/rc.d/init.d/sendmail stop /etc/rc.d/init.d/sendmail start ps ax | grep sendmail echo '--------------------------------------------------------- ' echo -e 'Habe Datenbanken aktualisiert und sendmail neu gestartet! \b' echo '--------------------------------------------------------- ' Nur irgendwie scheint's nicht zu funktionieren. [root@glump root]# telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 glump.mydomain.at ESMTP Sendmail 8.12.11/8.12.11; Mon, 31 May 2004 12:38:43 +0200 helo glump 250 glump.mydomain.at Hello localhost.localdomain [127.0.0.1], pleased to meet you mail from: [email protected] 250 2.1.0 [email protected]... Sender ok rcpt to: [email protected] 250 2.1.5 [email protected]... Recipient ok quit 221 2.0.0 hdrfw1.rigledv.at closing connection Connection closed by foreign host. Danke Richard