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

Re: Postfix troubles



-----Former message-----
From: S.Salman Ahmed <ssahmed@pathcom.com>
To: <debian-user@lists.debian.org>
Sended: Thursday, 27. June 2000 16:01
Subject: Re: Postfix troubles


> > Yes, I do:
>
> # This is the aliases file - it says who gets mail for whom.
> # It was originally generated by `eximconfig', part of the exim package
> # distributed with Debian, but it may edited by the mail system
administrator.
> # This file originally generated by eximconfig at Mon Jun 26 19:00:46 EDT
2000
> # See exim info section for details of the things that can be configured
here.
>
> postmaster: root
> root: ssahmed
>
> daemon: root
> bin: root
> sys: root
> sync: root
> [snipped]
>
> I still can't understand why email to root@localhost and
> postmaster@localhost is relayed to my ISP. Here is the text of the
> bounced message:
>
>
> The original message was received at Tue, 27 Jun 2000 09:29:09 -0400 (EDT)
> from dial-0625.tor.axxent.ca [216.249.2.117]
>
>    ----- The following addresses had permanent fatal errors -----
> <ssahmed@phoenix.phoenix>
>
>    ----- Transcript of session follows -----
> 550 <ssahmed@phoenix.phoenix>... Host unknown (Name server:
phoenix.phoenix: host not found)
> Reporting-MTA: dns; atlas.pathcom.com
> Received-From-MTA: DNS; dial-0625.tor.axxent.ca
> Arrival-Date: Tue, 27 Jun 2000 09:29:09 -0400 (EDT)
>
> Final-Recipient: RFC822; ssahmed@phoenix.phoenix
> Action: failed
> Status: 5.1.2
> Remote-MTA: DNS; phoenix.phoenix
> Last-Attempt-Date: Tue, 27 Jun 2000 09:29:12 -0400 (EDT)
> Return-Path: <ssahmed@pathcom.com>
> Received: from phoenix (dial-0625.tor.axxent.ca [216.249.2.117])
> by atlas.pathcom.com (8.9.3/8.9.3) with ESMTP id JAA27891
> for <ssahmed@phoenix.phoenix>; Tue, 27 Jun 2000 09:29:09 -0400 (EDT)
> Received: by phoenix (Postfix)
> id C1DAD19EB7; Tue, 27 Jun 2000 09:29:00 -0400 (EDT)
> Delivered-To: root@localhost.phoenix
> Received: from phoenix.pathcom.com (phoenix [127.0.0.1])
> by phoenix (Postfix) with SMTP id A682419EB6
> for <root@localhost>; Tue, 27 Jun 2000 09:29:00 -0400 (EDT)
> Date: Tue, 27 Jun 2000 09:29:00 -0400
> X-Mailer: 21.1 (patch 10) "Capitol Reef" XEmacs Lucid (via feedmail
9-beta-7 I);
> VM 6.75 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid
> MIME-Version: 1.0
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
> Message-ID: <14680.44060.234301.249931@gargle.gargle.HOWL>
> From: "S.Salman Ahmed" <ssahmed@pathcom.com>
> To: root@localhost.phoenix
> Subject: to root
> Reply-To: ssahmed@pathcom.com
> X-No-Archive: Yes
> X-Operating-System: Linux phoenix 2.2.15 i686
>
>
> --
> Salman Ahmed
> ssahmed AT pathcom DOT com
>
>
> /etc/hostname on my system contains "phoenix". Output of "postconf -n"
> is :
>
> @phoenix:[/home/ssahmed] postconf -n
> alias_database = hash:/etc/aliases
> alias_maps = hash:/etc/aliases
> command_directory = /usr/sbin
> daemon_directory = /usr/lib/postfix
> debug_peer_level = 2
> default_destination_concurrency_limit = 10
> defer_transports =
> delay_warning_time = 4
> local_destination_concurrency_limit = 2
> mail_owner = postfix
> myhostname = phoenix
> myorigin = phoenix
> queue_directory = /var/spool/postfix
> relayhost = smtp.pathcom.com
>
>
> Can anyone spot the problem ?
>
> Thanks.
>
> --
> Salman Ahmed
> ssahmed AT pathcom DOT com
>
> http://www.pathcom.com/~ssahmed
> GnuPG Key fingerprint = A6DB 6C85 DE5A 33BB E873  E437 58B2 09CD 977B 900B
>
>
>
> --
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org <
/dev/null
>

I don't know wether that could be the problem, but:
In /etc/hostname you defined your hostname with "phoenix". But "localhost"
is furthermore
the same as "phoenix". Sending a message to root@localhost means sending a
message to
root@phoenix. But "phoenix" means to relay the message to
ssahmed@smpt.pathcom.com.
(see at the last line in  /etc/hostname) That's why your E-Mail is always
relayd to your ISP.
You should check your /etc/aliases and delete the alias to the root. And
also the relayhost.
(smtp.pathcom.com) If you try to send a mail to your own root, you always
will have to
enter following recipint: root@localhost (there mustn't be any aliases to
root or lacalhost)
And if you try to send a message to your ISP-POP-account then you have to
input:
ssahmed@smtp.pathcom.com You could only contruct an alias to these both
(ssahmed
and smpt.pathcom.com). But no aliases to root and localhost.
Perhaps there's the problem.




Reply to: