/ Forside / Teknologi / Operativsystemer / Linux / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
Linux
#NavnPoint
o.v.n. 11177
peque 7911
dk 4814
e.c 2359
Uranus 1334
emesen 1334
stone47 1307
linuxrules 1214
Octon 1100
10  BjarneD 875
Sendmail redirect.
Fra : Heine Laursen


Dato : 02-01-01 21:35

Jeg har sat fgl på i sendmail via linuxconf

Configure complex (user) routing
This roule is active. Yep der er kryds i feltet
to:hostmaster@linux.bogus
rewriten to:root@linux.dk
forward to server(opt):
Mailer:esmtp
comment:

linux.bogus domainet er sat op med en dns server og har en A og MX record:
A   mail
MX   10 mail

Linux.dk domainet er konfigureret i /etc/hosts
efter at have restartet sendmail har jeg så prøvet at sende en mail til
hostmaster@linux.bogus

Jeg får så denne mail tilbage:

<Mail Start>

From MAILER-DAEMON Tue Jan 2 21:30:18 2001
Date: 02 Jan 2001 21:30:18 +0100
From: Mail System Internal Data <MAILER-DAEMON@Linux.dk>
Subject: DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA
X-IMAP: 0978467418 0000000000
Status: RO

This text is part of the internal format of your mail folder, and is not
a real message. It is created automatically by the mail system software.
If deleted, important folder data will be lost, and it will be re-created
with the data reset to initial values.

From gozar@Linux.dk Tue Jan 2 21:14:49 2001 +0100
Status: R
X-Status:
X-Keywords:
Return-Path: <MAILER-DAEMON>
Received: from localhost (localhost)
   by Linux.dk (8.9.3/8.8.7) with internal id VAA01279;
   Tue, 2 Jan 2001 21:14:49 +0100
Date: Tue, 2 Jan 2001 21:14:49 +0100
From: Mail Delivery Subsystem <MAILER-DAEMON@Linux.dk>
Message-Id: <200101022014.VAA01279@Linux.dk>
To: <gozar@Linux.dk>
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
   boundary="VAA01279.978466489/Linux.dk"
Subject: Returned mail: User unknown
Auto-Submitted: auto-generated (failure)

This is a MIME-encapsulated message

--VAA01279.978466489/Linux.dk

The original message was received at Tue, 2 Jan 2001 16:10:19 +0100
from IDENT:gozar@Localhost [127.0.0.1]

----- The following addresses had permanent fatal errors -----
<hostmaster@linux.bogus>

----- Transcript of session follows -----
.... while talking to mail.linux.dk.:
>>> RCPT To:<root@linux.dk>
<<< 550 relaying to <root@linux.dk> prohibited by administrator
550 <hostmaster@linux.bogus>... User unknown

--VAA01279.978466489/Linux.dk
Content-Type: message/delivery-status

Reporting-MTA: dns; Linux.dk
Arrival-Date: Tue, 2 Jan 2001 16:10:19 +0100

Final-Recipient: RFC822; root@linux.dk
Action: failed
Status: 5.1.1
Remote-MTA: DNS; mail.linux.dk
Diagnostic-Code: SMTP; 550 relaying to <root@linux.dk> prohibited by administrator
Last-Attempt-Date: Tue, 2 Jan 2001 21:14:49 +0100

--VAA01279.978466489/Linux.dk
Content-Type: message/rfc822

Return-Path: <gozar@Linux.dk>
Received: from localhost (IDENT:gozar@Localhost [127.0.0.1])
   by Linux.dk (8.9.3/8.8.7) with ESMTP id QAA02015
   for <hostmaster@linux.bogus>; Tue, 2 Jan 2001 16:10:19 +0100
Date: Tue, 2 Jan 2001 16:10:19 +0100 (CET)
From: Heine Laursen <gozar@Linux.dk>
X-Sender: gozar@Linux
To: hostmaster@linux.bogus
Subject: Test(5)
Message-ID: <Pine.LNX.4.21.0101021610000.1896-100000@Linux>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Testing

--
Mvh
Heine Laursen

Replace @Linux.dk with @pokerface.dk to mail


--VAA01279.978466489/Linux.dk--

<Mail Stop>

--
Mvh
Heine Laursen

Replace @Linux.dk with @pokerface.dk to mail



 
 
Søg
Reklame
Statistik
Spørgsmål : 177558
Tips : 31968
Nyheder : 719565
Indlæg : 6408897
Brugere : 218888

Månedens bedste
Årets bedste
Sidste års bedste