PDA

View Full Version : Mail problem


mturillo
25th September 2007, 08:27
Hi guys,

what does this message mean?

<web13_staff@server1.example.com>... Domain of sender address
web13_staff@server1.example.com does not exist (in reply to MAIL FROM
command)

Thanks

till
25th September 2007, 10:16
Please replace server1.example.com with the (existing) hostname of your server in the file /etc/postfix/main.cf and /etc/mailname

mturillo
25th September 2007, 10:24
Have I replace with the real registered domain name?

The file /etc/mailname doesn't exist.

Thanks

till
25th September 2007, 14:26
Yes, it must be a real registered domain name, but it should be a subdomain like server1.yourdomain.com.

mturillo
15th October 2007, 18:10
The file /etc/mailname doesn't exist.

thanks

falko
16th October 2007, 12:37
Simply run
postconf -e 'myorigin = server1.yourdomain.com'
and restart Postfix.

mturillo
17th October 2007, 10:09
When I am sending an email to myemail@mywebsite.com hosted on the server the returned email has these parameters:


Return-Path: <myexternalemail@gmail.com>
X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on
server1.example.com
X-Spam-Level:
X-Spam-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_00,TVD_SPACE_RATIO
autolearn=no version=3.2.1
X-Original-To: myemail@mywebsite.com
Delivered-To: web13_staff@server1.mycorrectdomain.com
Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180])
by server1.mycorrectdomain.com (Postfix) with ESMTP id E7C7D1430936
for <myemail@mywebsite.com>; Wed, 17 Oct 2007 09:01:28 +0200 (CEST)
Received: by wa-out-1112.google.com with SMTP id v27so2678537wah
for <staff@eurocv.eu>; Wed, 17 Oct 2007 00:01:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=beta;
h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
bh=g3zLYH4xKxcPrHOD18z9YfpQcnk/GaJedfustWU5uGs=;
b=EKFh3MRAbpFOnWn5KL78BULYzszaOLSQH/htaGDEmqzOUVJ5p7L96Yo3Blm9disD3Ub8k4dqRTFvZa4Z4gKr nyCc26AI5q+xjkYMibmcsLKgL7v01D16Pc3wbyiGZQpUuBweHj 66rwysIqdDjYvb9zeuFKuVoDyqK7ZbrZRYQeE=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=beta;
h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
b=tZU08p4Ym0cHq18oiuQNr0KQifqIXe9VNeBYINP2SLaTqi48 1ww5aP9q+pN3oP4v+j8USMBGiwyF+Yjx1xxxHfKhd4ovrGe6jk 3tQXDOX4nvFlWxTtBlLPXuskq61d3X9Gt4WNL7rLufRyPJ55pZ vziwyrTYrYCdku3kpj0aqIk=
Received: by 10.115.58.1 with SMTP id l1mr5752121wak.1192604482919;
Wed, 17 Oct 2007 00:01:22 -0700 (PDT)
Received: by 10.114.137.17 with HTTP; Wed, 17 Oct 2007 00:01:22 -0700 (PDT)
Message-ID: <2505fbdb0710170001j70000550hb2014343069b8ba8@mail. gmail.com>
Date: Wed, 17 Oct 2007 09:01:22 +0200
From: "Test" <myexternalemail@gmail.com>
To: myemail@mywebsite.com
Subject: test
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Virus-Status: No
X-Virus-Checker-Version: clamassassin 1.2.4 with clamscan / ClamAV 0.91.1/4542/Tue Oct 16 22:31:56 2007
X-Antivirus: AVG for E-mail 7.5.488 [269.14.13/1074]


SpamAssassin 3.2.1 reads the old value (server1.example.com).

Thanks

till
17th October 2007, 11:16
Please post the output of:

hostname

and

hostname -f

mturillo
17th October 2007, 11:21
The Output is:

# hostname
server1.example.com

# hostname -f
server1.example.com

Thanks