[opensuse] mailman & postfix
![](https://seccdn.libravatar.org/avatar/7527ff019b7a5078cb8647683a49d303.jpg?s=120&d=mm&r=g)
Hi, For some years I run my own mailserver. I just added a mailing-list service. I'm testing it and it seems to run fine, except I can't send anything to external users. External means email-addresses not on my mail-server. The postfix log shows this : Aug 20 13:37:36 neptunus postfix/qmgr[4431]: E6987101699: from=<someone@somewhere.com>, size=1686, nrcpt=1 (queue active) Aug 20 13:37:36 neptunus postfix/pipe[4571]: E6987101699: to=<testlist-request@lists.example.com>, relay=mailman, delay=0.78, delays=0.21/0.02/0/0.55, dsn=2.0.0, status=sent (delivered via mailman service) Aug 20 13:37:36 neptunus postfix/qmgr[4431]: E6987101699: removed Aug 20 13:37:38 neptunus postfix/smtpd[4574]: connect from localhost[::1] Aug 20 13:37:38 neptunus postfix/smtpd[4574]: NOQUEUE: reject: RCPT from localhost[::1]: 554 5.7.1 <someone@somewhere.com>: Relay access denied; from=<testlist-bounces@lists.example.com> to=<someone@somewhere.com> proto=ESMTP helo=<[127.0.1.1]> Aug 20 13:37:38 neptunus postfix/smtpd[4574]: disconnect from localhost[::1] Postfix gets it's domains and users from a MySQL database (postfixadmin). In the postfix config I have : myhostname = mailbox.example.com mydestination = $myhostname, localhost.$mydomain relay_domains = $mydestination, lists.$mydomain I hope my name-mangling has not destroyed "evidence". Can anyone point me to the parameters I should look at ? I seem unable to find what relay-option I have to set/modify. I tried modifying mydestination by adding lists.$mydomain after $myhostname but that does not work. I also added an alias-domain in postfixadmin. Both did not work : the addresses in lists.example.com became unknown. Thanks for any help. Koenraad lelong -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/7891b1b1a5767f4b9ac1cc0723cebdac.jpg?s=120&d=mm&r=g)
Koenraad Lelong wrote:
Hi,
For some years I run my own mailserver. I just added a mailing-list service. I'm testing it and it seems to run fine, except I can't send anything to external users. External means email-addresses not on my mail-server. The postfix log shows this :
Aug 20 13:37:36 neptunus postfix/qmgr[4431]: E6987101699: from=<someone@somewhere.com>, size=1686, nrcpt=1 (queue active) Aug 20 13:37:36 neptunus postfix/pipe[4571]: E6987101699: to=<testlist-request@lists.example.com>, relay=mailman, delay=0.78, delays=0.21/0.02/0/0.55, dsn=2.0.0, status=sent (delivered via mailman service) Aug 20 13:37:36 neptunus postfix/qmgr[4431]: E6987101699: removed Aug 20 13:37:38 neptunus postfix/smtpd[4574]: connect from localhost[::1] Aug 20 13:37:38 neptunus postfix/smtpd[4574]: NOQUEUE: reject: RCPT from localhost[::1]: 554 5.7.1 <someone@somewhere.com>: Relay access denied; from=<testlist-bounces@lists.example.com> to=<someone@somewhere.com> proto=ESMTP helo=<[127.0.1.1]> Aug 20 13:37:38 neptunus postfix/smtpd[4574]: disconnect from localhost[::1]
Postfix gets it's domains and users from a MySQL database (postfixadmin). In the postfix config I have : myhostname = mailbox.example.com mydestination = $myhostname, localhost.$mydomain relay_domains = $mydestination, lists.$mydomain
I hope my name-mangling has not destroyed "evidence". Can anyone point me to the parameters I should look at ? I seem unable to find what relay-option I have to set/modify. I tried modifying mydestination by adding lists.$mydomain after $myhostname but that does not work. I also added an alias-domain in postfixadmin. Both did not work : the addresses in lists.example.com became unknown.
Check your smtpd_*_restrictions. -- Per Jessen, Zürich (20.7°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/7527ff019b7a5078cb8647683a49d303.jpg?s=120&d=mm&r=g)
Op 20-08-13 14:49, Per Jessen schreef:
Check your smtpd_*_restrictions.
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_rbl_client zen.spamhaus.org, reject_unauth_destination mynetworks was 192.168.185.0/24, 127.0.0.0/8, [2xxx:xxxx:xxxx:xxxx::]/64 now : mynetworks = 192.168.185.0/24, 127.0.0.0/8, [::1], [2xxx:xxxx:xxxx:xxxx::]/64 Modifying mynetworks to include ipv6 localhost solves my problem. I should have seen this before :-/ Thanks all. Koenraad Lelong -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/b4047644c59f2d63b88e9464c02743fd.jpg?s=120&d=mm&r=g)
On 8/20/2013 5:17 AM, Koenraad Lelong wrote:
Hi,
For some years I run my own mailserver. I just added a mailing-list service. I'm testing it and it seems to run fine, except I can't send anything to external users. External means email-addresses not on my mail-server. The postfix log shows this :
Aug 20 13:37:36 neptunus postfix/qmgr[4431]: E6987101699: from=<someone@somewhere.com>, size=1686, nrcpt=1 (queue active) Aug 20 13:37:36 neptunus postfix/pipe[4571]: E6987101699: to=<testlist-request@lists.example.com>, relay=mailman, delay=0.78, delays=0.21/0.02/0/0.55, dsn=2.0.0, status=sent (delivered via mailman service) Aug 20 13:37:36 neptunus postfix/qmgr[4431]: E6987101699: removed Aug 20 13:37:38 neptunus postfix/smtpd[4574]: connect from localhost[::1] Aug 20 13:37:38 neptunus postfix/smtpd[4574]: NOQUEUE: reject: RCPT from localhost[::1]: 554 5.7.1 <someone@somewhere.com>: Relay access denied; from=<testlist-bounces@lists.example.com> to=<someone@somewhere.com> proto=ESMTP helo=<[127.0.1.1]> Aug 20 13:37:38 neptunus postfix/smtpd[4574]: disconnect from localhost[::1]
Postfix gets it's domains and users from a MySQL database (postfixadmin). In the postfix config I have : myhostname = mailbox.example.com mydestination = $myhostname, localhost.$mydomain relay_domains = $mydestination, lists.$mydomain
I hope my name-mangling has not destroyed "evidence". Can anyone point me to the parameters I should look at ? I seem unable to find what relay-option I have to set/modify. I tried modifying mydestination by adding lists.$mydomain after $myhostname but that does not work. I also added an alias-domain in postfixadmin. Both did not work : the addresses in lists.example.com became unknown.
Thanks for any help.
Koenraad lelong
The bit about Relay access denied; from=<testlist-bounces@lists.example.com> means essentially that your SMTP server will not allow sending from what ever is really in lists.example.com Might be controlled by your postfix main.cf in a number of different settings, such as mynetworks smtp_sender-restrictions-->access.db, etc. But it looks to me like postfix does not want to send from that domain. I had the same problem back when I was running a mailing list. There is a bit of a rats nest of config files to get just so. -- _____________________________________ ---This space for rent--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
John Andersen
-
Koenraad Lelong
-
Per Jessen