FW: Postfix, not receiving mail
Kurt Wall
kwall
Sat Jan 15 08:53:10 PST 2005
On Fri, Jan 14, 2005 at 09:35:39AM +0200, Dirk Moolman took 175 lines to write:
> Ok, let's try again ....
>
>
> > No, I don't want to relay through this box, I just want to receive mail
> > on this box (for a local user) - I am just trying what my NT Admin tells
> > me to do. When it comes to mail, I am out of my depth - still trying to
> > understand the whole thing.
> >
> > I know that port 25 is open, and that I can connect to it, but something
> > is blocking me on the Linux server (rejecting the e-mail)
>
> queue_directory = /var/spool/postfix
> command_directory = /usr/sbin
> daemon_directory = /usr/lib/postfix
> mail_owner = postfix
> inet_interfaces = all
> debug_peer_level = 2
> debugger_command =
> sendmail_path = /usr/sbin/sendmail
> newaliases_path = /usr/sbin/sendmail
> mailq_path = /usr/bin/mailq
> setgid_group = maildrop
> manpage_directory = /usr/share/man
> sample_directory = /usr/share/doc/packages/postfix/samples
> readme_directory = /usr/share/doc/packages/postfix/README_FILES
> mail_spool_directory = /var/mail
> canonical_maps = hash:/etc/postfix/canonical
> virtual_maps = hash:/etc/postfix/virtual
> relocated_maps = hash:/etc/postfix/relocated
> transport_maps = hash:/etc/postfix/transport
> sender_canonical_maps = hash:/etc/postfix/sender_canonical
> masquerade_exceptions = root
> masquerade_classes = envelope_sender, header_sender, header_recipient
> myhostname = mxteledev.mxgroup.co.za
> masquerade_domains =
> mydestination = $myhostname, localhost.$mydomain
> defer_transports =
> disable_dns_lookups = no
> relayhost = [.............] this is the ip of this host (not the
> loopback) just took it out for security reasons
If this box isn't using another mail server to send its mail, you don't
need relayhost defined.
> content_filter =
> mailbox_command =
> mailbox_transport =
> smtpd_sender_restrictions = hash:/etc/postfix/access
> smtpd_client_restrictions =
> smtpd_helo_required = no
> smtpd_helo_restrictions =
> strict_rfc821_envelopes = no
> smtpd_recipient_restrictions = permit_mynetworks,check_relay_domains
> alias_maps = hash:/etc/aliases
You need to add the names, IP addresses, or subnets of hosts for which you
are willing to relay to the relay_domains variable. For example, on my mail
server, I have the following:
relay_domains = $mydestination, luther.kurtwerks.com
Kurt
--
A day for firm decisions!!!!! Or is it?
More information about the Linux-users
mailing list