From: Wietse Venema (no email)
Date: Fri Feb 01 2002 - 16:43:09 EST
You must list myhostname under mydestination:
mydestination = $myhostname localhost.$mydomain ...
Otherwise you will have a mail loop.
Wietse
Guy Durand:
> Ralf Hildebrandt wrote:
>
> >
> > > warning: host pob11n.mydomain.com[10.0.0.25] greeted me with my own hostname pob11n
> > > warning: host pob11n.mydomain.com[10.0.0.25] replied to HELO/EHLO with my own hostname pob11n
> >
> > Try giving the two machines different names (myhostname)
> >
>
> The machines have different names.
>
> My local machine has a postfix server and an Imap server. The postfix on my machine uses pob11n
> as a relay for any mail it sends out and pob11n sends all mail it receives to my local machine.
> What I did yesterday, was to set the smtp server on the netscape client on my machines to pob11n.
> Then I sent a message to an account on the imap server on my box. So the mail goes out to pob11n
> which supposedly, sends it back to my box. And that's when all of this started and wouldn't
> stop. There is mail being sent to postmaster which doesn't exist on pob11n but does on my box but
> doesn' t have an account on the imap; I have set the aliases map.
>
> Here are postconf from pob11n
> append_at_myorigin = yes
> biff = no
> body_checks = regexp:/etc/postfix/body_checks.regexp
> command_directory = /usr/sbin
> daemon_directory = /usr/lib/postfix
> debug_peer_level = 2
> default_destination_concurrency_limit = 100
> disable_vrfy_command = yes
> header_checks = regexp:/etc/postfix/header_checks.regexp
> local_destination_concurrency_limit = 2
> mail_owner = postfix
> maps_rbl_domains = relays.ordb.org, inputs.orbz.org, bl.spamcop.net, dialups.relays.osirusoft.com,
> spews.relays.osirusoft.com
> maximal_queue_lifetime = 1d
> mydomain = mydomain.com
> myhostname = pob11n
> mynetworks = 127.0.0.0/8, 192.9.200.0/24, 10.0.0.0/24
> myorigin = $myhostname
> notify_classes = resource, software, bounce, 2bounce, delay, policy, protocol
> program_directory = /usr/lib/postfix
> queue_directory = /var/spool/postfix
> relay_domains = $mynetworks, hash:/etc/postfix/transport.map
> smtp_always_send_ehlo = yes
> smtpd_banner = $myhostname - ESMTP - $mail_name - ATTN: UCE trespassers will beprosecuted to the
> full extent of the law
> smtpd_client_restrictions = permit_mynetworks, hash:/etc/postfix/access_ok.map,
> hash:/etc/postfix/myspamlist.map, hash:/etc/postfix/spamlist.map,
> check_sender_access, hash:/etc/postfix/no_send.map,
> reject_non_fqdn_sender,
> reject_non_fqdn_recipient, reject_unknown_sender_domain,
> reject_unknown_recipient_domain, check_client_access,
> hash:/etc/postfix/maps_ok.map, reject_maps_rbl,
> reject_unauth_pipelining
> smtpd_helo_required = yes
> smtpd_helo_restrictions = permit_mynetworks, reject_invalid_hostname, reject_maps_rbl
> smtpd_recipient_restrictions = permit_mynetworks, hash:/etc/postfix/unkn_users.map,
> check_relay_domains
> smtpd_sender_restrictions = reject_maps_rbl, reject_unknown_sender_domain
> strict_rfc821_envelopes = yes
> transport_maps = hash:/etc/postfix/transport.map
> unknown_address_reject_code = 554
> unknown_client_reject_code = 554
> unknown_hostname_reject_code = 554
>
> and this is the local box
> alias_database = hash:/etc/aliases
> alias_maps = hash:/etc/aliases
> command_directory = /usr/sbin
> daemon_directory = /usr/lib/postfix
> mailbox_size_limit = 0
> mailbox_transport = cyrus
> mydestination = mydomain.com, tmc230
> myhostname = tmc230
> mynetworks = 127.0.0.0/8, 192.9.200.0/24, 10.0.0.0/24
> myorigin = /etc/mailname
> program_directory = /usr/lib/postfix
> relay_domains = $mydestination, yahoo.com
> smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
>
>
> Badiane
>
>
> -
> To unsubscribe, send mail to with content
> (not subject): unsubscribe postfix-users
>
>
-
To unsubscribe, send mail to with content
(not subject): unsubscribe postfix-users
|
|
|