Jeff Weinberger: > > > > Jeff Weinberger: > > [ Charset UTF-8 unsupported, converting... ] > > > --- In postfix-us...@yahoogroups.com, mouss <mouss@> wrote: > > > > > > > > Jeff Weinberger a ?crit : > > > > > I am hoping that this is something fairly simple that I am > missing.... > > > > > > > > > > I have a few lists on a mailman server that I run. Until recently, > only > > > > > authenticated users (those who have actual accounts on my > IMAP/Virtual > > > > > mailboxes server and can authenticate via SASL). Now I want to allow > > > > > certain users who are not authenticated (i. e. they are outside my > > > > > server and domains) to send mail to those lists. > > > > > > > > > > as far as I can tell, mailman would allow this (I've made them list > > > > > owners). But when they try, I'm getting this in my mail log: > > > > > > > > > > Jan 25 15:18:18 s postfix/smtpd[46331]: NOQUEUE: reject: RCPT from > > > > > ns1.siteground235.com <http://ns1.siteground235.com/>[75.125.60.15]: > 554 > > > > > 5.7.1 <mylist@ > > > > > <mailto:mylist@>>: Relay access denied; > > > > You have not listed the domain in relay_domains, virtual_alias_domains, > > virtual_mailbox_domains or mydestination. > > > > Convince yourself and examine the output from: > > > > # postconf relay_domains > > # postconf virtual_alias_domains > > # postconf mailbox_domains > > # postconf mydestination > > > > Wietse > > > > I did this test prior to posting. You'll see in my postconf -n output that: > > relay_domains = $mydestination, mysql:/etc/postfix/ > mysql_relay_domain_maps.cf > > I then checked with `postmap -q "maill...@lists.mylistserver.com" > mysql:/etc/postfix/mysql_relay_domain_maps.cf` and it showed up fine.
Sorry, that is incorrect. As documented, Postfix searches relay_domains for the DOMAIN NAME not the email address. http://www.postfix.org/postconf.5.html#relay_domains Also, as documented, relay_domains lookup ignores the result value, it only cares about existence. http://www.postfix.org/postconf.5.html#relay_domains Finally, as documented, don't use MySQL databases BEFORE you have things working with simple main.cf lists or hash tables. http://www.postfix.org/DATABASE_README.html Wietse