RE: Postfix Howto Needed and the gaps most of them leave out.

From: Lydiard (no email)
Date: Wed Oct 01 2003 - 04:19:08 EDT


> -----Original Message-----
> From:
> [mailto:] On Behalf Of Peter H. Coffin
> Subject: Re: Postfix Howto Needed and the gaps most of them leave out.
 
> On Tue, Sep 30, 2003 at 10:35:21PM +0200, Lydiard wrote:
> > Hi
> >
> > So here's the background in short form.
> >
> > I am fed up with my ISP
> > I bought a server (running RH8.0) in order to setup a
> web/mail server.
> > I decided on Postfix since it's supposed to be fast and secure.
<SNIP>

> > Reading all the sample-xxx.cf has just confused me.
 
> First step: turn off the chroot options in master.cf, if that
> wasn't the
> fix you had from Ralf's page. It won't add much security, and once
> Postfix is working, THEN you can worry about moving things into the
> chroot environment if you want. If that fixes it, great. If not, then
> get the output of
>
> postconf -n
>
> and a COMPLETE copy of your telnet session, and a COMPLETE copy of the
> mail log entries over the time of your telnet session.
>
> Then we be able to tell what the problem is without telepathy.

Peter

Thanks. I appreciate it's annoying when a newbie doesn't provide solid
info, so thanks for pointing me in the right direction to help you help
me!

Okay, here is the postconf -n with names changed to protect the
innocent.

[root at foobar root]# postconf -n
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 10
in_flow_delay = 10s
inet_interfaces = $myhostname, localhost
local_destination_concurrency_limit = 2
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = barfoo.co.uk, foobar.info, barfoobar.net,
foobarfoo.co.uk
mydomain = foobar.net
myhostname = foobar.net
mynetworks_style = host
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-1.1.11/README_FILES
relay_domains = $mydestination
sample_directory = /usr/share/doc/postfix-1.1.11/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
soft_bounce = yes
[root at foobar root]#

And here is the complete telnet session:

220 foobar.net ESMTP Postfix (1.1.11)
helo test.com
250 foobar.net
MAIL FROM:
250 Ok
RCPT TO: validloginname at localhost
454 <validloginname at localhost>: Recipient address rejected: Relay access
denied

And here is the results from tail /var/log/maillog

Oct 1 09:17:38 foobar postfix/smtpd[15002]: connect from
unknown[62.87.72.121]
Oct 1 09:17:59 foobar postfix/smtpd[15002]: F095F17FE2:
client=unknown[62.87.72.121]
Oct 1 09:18:17 foobar postfix/smtpd[15002]: reject: RCPT from
unknown[62.87.72.121]: 454 <validloginname at localhost>: Recipient address
rejected: Relay access denied; from=<>
to=<validloginname at localhost>

Well, of course, a large part of this is double dutch to me - which is
why I am doing it. Some of it I understand, so I am getting there. I
hope this info will tell you what I am doing wrong, so you can point me
in the right direction.

TIA

Lyd








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD