<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0">
<TITLE>Mail for localhost.localdomain loops back to myself??</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Hello Postfix List!</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I'm searchin in google the hole day, but i can't fix my Problem.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">My System is a Fedory Core 3 Server with postfix/cyrus-imapd/saslauthd/pam_mysql and amavisd-new, etc.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">All Domains are Virtual in the mysql Database. I use the Howto from Luc De Louw, to install it. All works fine for me.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">But i have one error that i can't solve…</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">root Mails are not delivered from syslog since a few weeks!</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I try out with alias to my adress and without a alias!!!</FONT>
<BR><FONT SIZE=2 FACE="Arial">But if root takes mutt to read his mails, there are no mails in his inbox, AAAARRRGGGG!</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I have try out a alias in /etc/aliases with contains this _> root: myprivatemail@dom.tld</FONT>
<BR><FONT SIZE=2 FACE="Arial">I made newaliases and the new alias is counted in the output from newaliases.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">To test the behaviours, i use this -> less /var/log/maillog | mail -s "test to root" root</FONT>
<BR><FONT SIZE=2 FACE="Arial">i only post my maillog in a mail to root ;)</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">But in the maillog this happens:</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Feb 16 15:49:45 localhost postfix/smtpd[29230]: connect from localhost[127.0.0.1]</FONT>
<BR><FONT SIZE=2 FACE="Arial">Feb 16 15:49:45 localhost postfix/smtpd[29230]: setting up TLS connection from localhost[127.0.0.1]</FONT>
<BR><FONT SIZE=2 FACE="Arial">Feb 16 15:49:45 localhost postfix/smtpd[29230]: TLS connection established from localhost[127.0.0.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Feb 16 15:49:45 localhost sendmail[29229]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Feb 16 15:49:45 localhost postfix/smtpd[29230]: 19C65508320: client=localhost[127.0.0.1], sasl_sender=root@localhost.localdomain</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Feb 16 15:49:45 localhost postfix/cleanup[29237]: 19C65508320: message-id=<200502161449.j1GEniFA029229@localhost.localdomain></FONT></P>
<P><FONT SIZE=2 FACE="Arial">Feb 16 15:49:45 localhost sendmail[29229]: j1GEniFA029229: to=root, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=1341830, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 19C65508320)</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Feb 16 15:49:45 localhost postfix/qmgr[29156]: 19C65508320: from=<root@localhost.localdomain>, size=1326917, nrcpt=1 (queue active)</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Feb 16 15:49:45 localhost postfix/smtpd[29230]: disconnect from localhost[127.0.0.1]</FONT>
<BR><FONT SIZE=2 FACE="Arial">Feb 16 15:49:50 localhost postfix/smtp[29241]: 19C65508320: to=<root@localhost.localdomain>, relay=none, delay=5, status=bounced (mail for localhost.localdomain loops back to myself)</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Feb 16 15:49:50 localhost postfix/cleanup[29237]: A5AE8508324: message-id=<20050216144950.A5AE8508324@mailrelay.snitch.de></FONT></P>
<P><FONT SIZE=2 FACE="Arial">Feb 16 15:49:50 localhost postfix/qmgr[29156]: A5AE8508324: from=<>, size=51936, nrcpt=1 (queue active)</FONT>
<BR><FONT SIZE=2 FACE="Arial">Feb 16 15:49:50 localhost postfix/qmgr[29156]: 19C65508320: removed</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">…and if i send the mail to root@snitch.de or root@localhost or the virtuall adress of the virtual domains root@mailrelay.snitch.de all take the same error in maillog. ;(</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Here are my config Parameters:</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">main.cf -></FONT>
<BR><FONT SIZE=2 FACE="Arial">myhostname = mailrelay.snitch.de</FONT>
<BR><FONT SIZE=2 FACE="Arial">mydomain = snitch.de</FONT>
<BR><FONT SIZE=2 FACE="Arial">mydestination = $myhostname, $mydomain, mysql:/etc/postfix/mysql-mydestination.cf (virtual domains etc. in mysql Database!!)</FONT></P>
<P><FONT SIZE=2 FACE="Arial">inet_interfaces = all</FONT>
<BR><FONT SIZE=2 FACE="Arial">alias_maps = hash:/etc/aliases</FONT>
<BR><FONT SIZE=2 FACE="Arial">alias_database = hash:/etc/aliases</FONT>
<BR><FONT SIZE=2 FACE="Arial">newaliases_path = /usr/bin/newaliases.postfix</FONT>
<BR><FONT SIZE=2 FACE="Arial">virtual_alias_maps = hash:/etc/postfix/virtual, mysql:/etc/postfix/mysql-virtual.cf <. i use mysql AND the old config for the local user mailboxes i think!?!</FONT></P>
<P><FONT SIZE=2 FACE="Arial">sender_canonical_maps = mysql:/etc/postfix/mysql-canonical.cf</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Arial">Why there are no mails delivered to the standard inbox to root? Should i put the root User in mysql to the sntch.de domain? If i use mutt i can only see mails</FONT></P>
<P><FONT SIZE=2 FACE="Arial">as there is the last from the 02.02.2005! What i made wrong here? I use the localhost etc. in mydestination, but he say's Mail for * loops bacl to myself.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">All other features are working correctly, but i need my syslog mails to my private adress ;(</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Greets from Germany,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Marcel Hartmann</FONT>
</P>
</BODY>
</HTML>