View previous topic :: View next topic |
Author |
Message |
DumbAss Apprentice
Joined: 30 Sep 2003 Posts: 247 Location: 't Steen
|
Posted: Fri Apr 09, 2004 5:15 pm Post subject: Weird "connect from" |
|
|
Hi,
I run postfix, courier-imap & maildrop on a server. Everything gets deliverd nicely but today I was looking in my logs (I was bored ) I found this:
Code: | Apr 9 18:00:11 [postfix/smtpd] starting TLS engine
Apr 9 18:00:11 [postfix/smtpd] connect from localhost.localdomain[127.0.0.1]
Apr 9 18:00:11 [postfix/smtpd] E1AF638A14: client=localhost.localdomain[127.0.0.1]
Apr 9 18:00:11 [postfix/cleanup] E1AF638A14: message-id=<200404091553.i39FrbPg029692@hsbmail.hsbrabant.nl>
Apr 9 18:00:12 [postfix/qmgr] E1AF638A14: from=<webmaster.aim@hsbrabant.nl>, size=53607, nrcpt=1 (queue active)
Apr 9 18:00:12 [postfix/smtpd] disconnect from localhost.localdomain[127.0.0.1]
Apr 9 18:00:15 [postfix/local] E1AF638A14: to=<lbogaert@localhost.vanutsteen.nl>, orig_to=<lbogaert@localhost>, relay=local, delay=4, status=sent ("|/usr/bin/maildrop") |
It says:
Code: |
Apr 9 18:00:12 [postfix/smtpd] disconnect from localhost.localdomain[127.0.0.1]
|
It comes back a few times. Shouldn't it state the hostname from /etc/hostname? |
|
Back to top |
|
|
Lozzer Tux's lil' helper
Joined: 18 Sep 2003 Posts: 84 Location: England
|
Posted: Sat Apr 10, 2004 8:30 pm Post subject: |
|
|
How is mail getting to postfix? That looks like my log entries, but I'm using fetchmail to get my mail. That means that the thing doing the delivery to postifix is running on localhost. If your smtp server is an MX record for your domain, and mail delivery is direct then you from other mail servers then you may have a problem. |
|
Back to top |
|
|
DumbAss Apprentice
Joined: 30 Sep 2003 Posts: 247 Location: 't Steen
|
Posted: Tue Apr 13, 2004 8:18 am Post subject: |
|
|
I know: it's from fetchmail. It sends the mail it retrieves to the smto-server. Any way to adjust the address? |
|
Back to top |
|
|
Lozzer Tux's lil' helper
Joined: 18 Sep 2003 Posts: 84 Location: England
|
Posted: Tue Apr 13, 2004 10:25 pm Post subject: |
|
|
I have Code: | 127.0.0.1 localhost | as a line in my /etc/hosts, which is normal. If you do man fetchmail it explains that it delivers to localhost.
There may be some confusion about hostnames; really hostnames are interface names. If you have more than one network interface on your machine they should have different names. Localhost is the canonical name for the loopback interface, which is a fastpath for things that want to deliver locally. The logging for fetchmail should explain which server the mail really came from (you might have to turn on some verbose options to get a log for each mail, rather than a per server log at the start). |
|
Back to top |
|
|
|