From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <9front-bounces@9front.inri.net> X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: * X-Spam-Status: No, score=1.2 required=5.0 tests=DKIM_ADSP_DISCARD,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI autolearn=no autolearn_force=no version=3.4.4 Received: from 9front.inri.net (9front.inri.net [168.235.81.73]) by inbox.vuxu.org (Postfix) with ESMTP id B78782C89D for ; Sat, 28 Sep 2024 05:32:49 +0200 (CEST) Received: from ircnow.org ([198.251.82.194]) by 9front; Fri Sep 27 23:30:16 -0400 2024 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=mail; bh=MWPHCEjjgnZCZJV ZOQLNdfd8B3KlAZA69GkHNh9mwBM=; h=subject:to:from:date; d=ircnow.org; b=kAIPCZpPnksEletdI7YTWdCogswT5YXRkWc1M3gT6L7gTjB5naQJXYL7IagRjRDlqeQP /QCLf4qRMET8n31TBFgaan7IRzul5HrIoPKJZQJY+9vlBuO7mGOxvWr8LD7UMyIPyDY2w/ +UbOOz1pBTVPxk8zxGLi3surV87Oj7rDM= Received: by ircnow.org (OpenSMTPD) with ESMTPSA id 8acaf7a0 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Fri, 27 Sep 2024 23:30:13 -0400 (EDT) Date: Fri, 27 Sep 2024 20:30:11 -0700 From: jrmu To: 9front@9front.org Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: advanced information API Subject: [9front] Unable to relay email with upas/smtpd Reply-To: 9front@9front.org Precedence: bulk Greetings, I am trying to connect to my mail server jrmu9.inter9.org running upas/smtpd using mutt (on IP 104.167.242.140, domain breadofgod.org) to send email. I am able to connect using imap4d but I can't seem to relay any mail. Any suggestions would be greatly appreciated. Here is the error message I see on mutt: [2024-09-27 18:34:48] SMTP session failed: 554 5.7.1 mail refused: from 'jrmu9.inter9.org!jrmu' And here is the error message I see in /sys/log/smtpd: jrmu9.inter9.org Sep 27 18:34:39 ehlo from 104.167.242.140 as jrmu9.inter9.org jrmu9.inter9.org Sep 27 18:34:39 started TLS with jrmu9.inter9.org jrmu9.inter9.org Sep 27 18:34:39 ehlo from 104.167.242.140 as jrmu9.inter9.org jrmu9.inter9.org Sep 27 18:34:39 auth(CRAM-MD5, (protected)) from jrmu9.inter9.org jrmu9.inter9.org Sep 27 18:34:40 ++[jrmu9.inter9.org/104.167.242.140] blocked: mail refused: from 'jrmu9.inter9.org!jrmu' and in /sys/log/mail: jrmu9.inter9.org Sep 27 18:34:40 error ircnow.org!jrmu From jrmu9.inter9.org!jrmu Fri Sep 27 18:34:39 -0700 2024 error+ from 'jrmu9.inter9.org!jrmu' error+ to 'ircnow.org!jrmu' error+ failed with error 'qer: creating data file /mail/queue/none/D.000431: permission denied: '/mail/queue/none' error+ '. error+ The mailer `/mail/lib/qmail 'jrmu9.inter9.org!jrmu' 'net!ircnow.org'' returned error status 71. error+ error+ Here are the relevant files. cpu% cat /bin/service/tcp587 #!/bin/rc user=`{cat /dev/user} exec upas/smtpd -d -c /sys/lib/tls/acmed/jrmu9.inter9.org.crt -e -s -n $3 cpu% cat /mail/lib/blocked # # addresses that we refuse to accept messages from # dial 152.166.0.0/15, 152.168.0.0/14 #aol modems dial 152.172.0.0/15, 152.174.0.0/16 allow 104.167.242.0/24 #host.ircnow.org allow 63.12.0.0/16 #uunet modems (63.0.0.0-63.31.255.255 not 12) dial 63.0.0.0/11 #uunet modems (63.0.0.0-63.31.255.255 not 12) # # sites # *block cyberpromo.com!* block 255.255.255.255/32 # # users # *block *!freeporn* # # accounts # *block aol.com!makemoneyfast *allow cse.psu.edu!owner-9fans #hi scott cpu% cat /mail/lib/smtpd.conf # # sample smtpd configuration options for inside connections # # # replace jrmu9.inter9.org with the name of your domain # replace 10.0.0.0 with the IP address range of your networks defaultdomain jrmu9.inter9.org norelay off #allow relaying verifysenderdom off #disable dns verification of sender domain saveblockedmsg off #save blocked messages # # if norelay is on, you need to set the # networks allowed to relay through # as well as the domains to accept mail for # ournets 104.167.242.0/24 ourdomains *.inter9.org, *.ircnow.org, breadofgod.org cpu% cat /mail/lib/remotemail #!/bin/rc shift sender=$1 shift addr=$1 shift fd=`{/bin/upas/aliasmail -f $sender} switch($fd){ case *.* fd=jrmu9.inter9.org; case * fd=jrmu9.inter9.org } exec /bin/upas/smtp -C -s -h $fd $addr $sender $* I do not have ratfs running. -- jrmu IRCNow (https://ircnow.org)