System lief damals mit sendmal, alles funktionierte, leider wurde das System komplett gelöscht.
Alle mails laufen über einen smtpgate.domain.com (Lotus Notes) Mailserver und sollen dann per smtp vom
otrs system geholt werden, als MTA wurde postfix gewält.
Auf dem smtpgate ist eine Regel, das alle Mials an @otrs.intern -> weiterleitet werden an den otrs Server (de-hv1-iv-otrs1)
---> Konfig ist ok !
Die Mails von otrs lsollen auch wieder zurück (relayhost) über den smtpgate.domain.com laufen
TEst.
testmail lokal von Linux/centos zum otrs auf gleichem Server
cat /opt/otrs/doc/sample_mails/test-email-1.box | ./PostMaster.pl -> ok
TT wird lokal im otrs system erstellt
testmail vom System an meine MailAdresse im Unternehmen -> ok
echo "Dies ist eine Testmail von `hostname`" | mail -s "Test von `hostname`" ich@domain.com
Problem: Mails sollen alns System gehen und TT erstellen.
Mail vom Notes an otrs@otrs.intern bringt folgende Fehler.
Error transferring to 172.21.81.61; SMTP Protocol Returned a Permanent Error 554 5.7.1 <otrs@otrs.intern>: Relay access denied
und im log
Dec 1 09:12:02 de-hv1-iv-otrs1 postfix/smtpd[7373]: connect from smtpgate.domain[IP]
Dec 1 09:12:02 de-hv1-iv-otrs1 postfix/smtpd[7373]: NOQUEUE: reject: RCPT from smtpgate.domain[IP]: 554 5.7.1 <otrs@otrs.intern>: Relay access denied; from=<ich@domain.com> to=<otrs@otrs.intern> proto=ESMTP helo=<smtpgate.domain.com>
Dec 1 09:12:02 de-hv1-iv-otrs1 postfix/smtpd[7373]: disconnect from smtpgate.domain.com[IP]
Was läuft den verkehrt, kann auch geren die postfix main/master.cf zu verfügung stellen.
[root@de-hv1-iv-otrs1 postfix]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
inet_protocols = all
mail_owner = postfix
mailbox_command = procmail -a "$EXTENSION"
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost
mynetworks_style = host
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
relayhost = [smtpgate.de.tuv.com]
sample_directory = /usr/share/doc/postfix-2.6.6/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
unknown_local_recipient_reject_code = 550
[root@de-hv1-iv-otrs1 postfix]# netstat -an | grep LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
Umgebung:
OTRS 3.0.10 auf centos/scientific 6
tausche sendmail gegen postfix - nach Systemcrash
-
- Znuny wizard
- Posts: 477
- Joined: 20 Nov 2011, 16:08
- Znuny Version: 6.5.11
- Real Name: Schulmann
Re: tausche sendmail gegen postfix - nach Systemcrash
Hallo clite,
füge die IP-Adresse von Lotus Notes zu "mynetworks" in Postfix dazu.
Claus-Dieter
füge die IP-Adresse von Lotus Notes zu "mynetworks" in Postfix dazu.
Claus-Dieter
Znuny6/Debian/ESXi