Settings,

[root@vuwunicomailmp1 postfix]# postconf -n
alias_maps = hash:/etc/aliases, hash:/etc/mailman/aliases, 
hash:/etc/mailman/split-aliases
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd 
$daemon_directory/$process_name $process_id & sleep 5
header_checks = regexp:/etc/postfix/header_checks_1458230
html_directory = no
inet_interfaces = all
inet_protocols = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
message_size_limit = 30720000
mydestination = $myhostname, localhost.$mydomain, localhost, lists.xxx.ac.nz
myhostname = lists.xxx.ac.nz
mynetworks = 127.0.0.0/8
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
relayhost = [smtp.vuw.ac.nz]
sample_directory = /usr/share/doc/postfix-2.6.6/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_sender_restrictions = permit_mynetworks,check_sender_access 
hash:/etc/postfix/not_from_me,reject
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
[root@vuwunicomailmp1 postfix]#




regards

Steven

________________________________
From: owner-postfix-us...@postfix.org <owner-postfix-us...@postfix.org> on 
behalf of Steven Jones <steven.jo...@vuw.ac.nz>
Sent: Monday, 14 September 2020 9:41 AM
Cc: postfix-us...@cloud9.net <postfix-us...@cloud9.net>
Subject: Re: postfix rejecting local email.

Trying to but I dont understand what I am missing.


regards

Steven


________________________________
From: Pau Amma <paua...@gundo.com>
Sent: Monday, 14 September 2020 9:40 AM
To: Steven Jones <steven.jo...@vuw.ac.nz>
Cc: postfix-us...@cloud9.net <postfix-us...@cloud9.net>
Subject: Re: postfix rejecting local email.

On 2020-09-13 21:22, Steven Jones wrote:
> I am trying to setup a mailman server but it has a different
> domainname to the hostname and its FQDN.  When I try and create a list
> and Mailman tries to send it I get,
>
> I get this error,
>
> 8><---
> Sep 14 09:12:49 vuwunicomailmp1 postfix/smtpd[66783]: fatal: in
> parameter smtpd_relay_restrictions or smtpd_recipient_restrictions,
> specify at least one working instance of: reject_unauth_destination,
> defer_unauth_destination, reject, defer, defer_if_permit or
> check_relay_domains

Have you tried doing what it tells you to?

[...]

> Sep 14 09:13:50 vuwunicomailmp1 postfix/smtpd[66792]: warning:
> database /etc/postfix/not_from_me.db is older than source file
> /etc/postfix/not_from_me

You may want to check that too.

[...]

> I have set,
>
> mynetworks = 127.0.0.0/8, [::1]/128
>
> myhostname = lists.xxx.ac.nz
>
> mydestination = $myhostname, localhost.$mydomain, localhost,
> lists.xxx.ac.nz, xxx.ac.nz

https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.postfix.org%2FDEBUG_README.html%23mail&amp;data=02%7C01%7Csteven.jones%40vuw.ac.nz%7C2eba32c9adc24ba6479d08d8582d9d0a%7Ccfe63e236951427e8683bb84dcf1d20c%7C0%7C1%7C637356300238850650&amp;sdata=GWJokOKq7%2Bj3mBryWLD1nuIP%2F8oWHDZ6OqTQri%2FnLA0%3D&amp;reserved=0<https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.postfix.org%2FDEBUG_README.html%23mail&data=02%7C01%7Csteven.jones%40vuw.ac.nz%7Cfa9461d1416b4163edde08d8582df37f%7Ccfe63e236951427e8683bb84dcf1d20c%7C0%7C0%7C637356301687117083&sdata=qsR1%2FHalT9%2F9302fah%2BHhovGLSKutDvU%2FZkPY7ltWNM%3D&reserved=0>

Reply via email to