Re: Mailman and Postfix in Debian Unstable
> Ronny Aasen <list@datapart-as.no> [2006-06-16 12:47]:
>
thanks for answering!
> On Wed, 2006-06-14 at 23:13 +0200, Lukas Ruf wrote:
[...]
> >
> > <muttprint@lists.lpr.ch>:
> > 80.254.163.99 does not like recipient.
> > Remote host said: 554 <muttprint@mail2.lpr.ch>: Relay access denied
> > Giving up on 80.254.163.99.
> >
> > I do not understand why! Until recently, it worked....
> >
[...]
>
> do your postdfix accept mail2.lpr.ch as a local address ?
>
> ie is it in your main.cf's
> mydestination = mail2.lpr.ch, whatever.tld, localhost, ...
>
I think so: the 'myhostname' of the mailserver is set to mail2.lpr.ch.
euphrat:mailman!63> postconf | egrep 'my(destination|hostname|domain|origin)'
append_at_myorigin = yes
append_dot_mydomain = yes
local_transport = local:$myhostname
mydestination = $mydomain, $myhostname, localhost.$mydomain, localhost
mydomain = lpr.ch
myhostname = mail2.lpr.ch
myorigin = $mydomain
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks
smtp_helo_name = $myhostname
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_proxy_ehlo = $myhostname
I'm wondering if it has to do anything with my restrictions: if I am
sending emails to the mailing list from within a host in 'mynetworks',
everything works as expected. If from outside it fails.
Here are my smptd_recipient_restrictions
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_invalid_hostname,
reject_non_fqdn_hostname,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unknown_sender_domain,
reject_unknown_recipient_domain,
reject_unauth_pipelining,
reject_unauth_destination,
check_helo_access btree:/etc/postfix/helo_checks.btree,
check_policy_service inet:127.0.0.1:60000,
permit
Any other hint?
wbr,
Lukas
--
Lukas Ruf <http://www.lpr.ch> | Ad Personam
rbacs <http://wiki.lpr.ch> | Restaurants, Bars and Clubs
Raw IP <http://www.rawip.org> | Low Level Network Programming
Style <http://email.rawip.org> | How to write emails
<http://lists.lpr.ch/muttprint> | muttprint mailing list
Reply to: