Jeg har lige sat en PF op, men den fungerer ikke optimalt
Når man sender post lokalt kommer det fint ned i postkasserne, e.g.
date | mail benny
Men eksternt fra:
Mar 14 00:50:29 Ubuntu-804-hardy-LTS-64-minimal postfix/smtpd[2180]:
NOQUEUE: reject: RCPT from smtp1.cybercity.dk[212.242.43.251]: 554 5.7.1
<x@DOMAIN.dk>: Relay access denied; from=<SENDER@DOMAIN.dk> to=<x@DOMAIN.dk>
proto=ESMTP helo=<smtp1.cybercity.dk>
Jeg har en main.conf [1] og har lagt domænerne i virtual og kørt postmap med
den fil, samt lagt dem i mydestination.
PF er genstartet en hel del gange
Hvad pokker er det jeg misser?
[1]
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
readme_directory = no
# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
myhostname = server01.DOMAIN.dk
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = server01.DOMAIN.dk, localhost.localdomain, , localhost
relayhost =
#mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mynetworks = 127.0.0.0/8 server01.DOMAIN.dk/32
mydestination = /etc/postfix/mydestination
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
virtual_maps = hash:/etc/postfix/virtual