Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Weird "connect from"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
DumbAss
Apprentice
Apprentice


Joined: 30 Sep 2003
Posts: 247
Location: 't Steen

PostPosted: Fri Apr 09, 2004 5:15 pm    Post subject: Weird "connect from" Reply with quote

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
View user's profile Send private message
Lozzer
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2003
Posts: 84
Location: England

PostPosted: Sat Apr 10, 2004 8:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
DumbAss
Apprentice
Apprentice


Joined: 30 Sep 2003
Posts: 247
Location: 't Steen

PostPosted: Tue Apr 13, 2004 8:18 am    Post subject: Reply with quote

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
View user's profile Send private message
Lozzer
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2003
Posts: 84
Location: England

PostPosted: Tue Apr 13, 2004 10:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum