Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Postfix doesn't recieve mail
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
wg
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jan 2008
Posts: 88

PostPosted: Wed Apr 08, 2009 3:57 pm    Post subject: Postfix doesn't recieve mail Reply with quote

Hi!
I have been trying to setup a mail server for a while, for now it's only sending mail, but not correctly.
When I send mail to some other email server I recieve mail from 'user@' (no domain) and when send back a mail - mail simply doesn't come.
First it took me a lot of time to figure out why it wasn't sending any mail at all, but that was because of my ISP and needed to add relayhost.
http://pastebin.ca/1386124
This my main.cf!
What I'm trying to do is make a simple mail server that will store mail in /home/user/.maildir and using MUTT could send a mail back.
I have tried many tutorials and many mail servers, postfix is the only one who was able to send mail, even changed the hostname of gentoo box to mail.domain.com, so maybe that could help, but guess not.
And should mail sending take over 10minutes, because I nevar had a mail that would have came fast?
_________________
Give me a cookie ^^
Back to top
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Wed Apr 08, 2009 5:30 pm    Post subject: Reply with quote

If you don't like the From: address then configure your mail client correctly.
Back to top
View user's profile Send private message
wg
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jan 2008
Posts: 88

PostPosted: Wed Apr 08, 2009 5:36 pm    Post subject: Reply with quote

Well... that would be the least problem, but look at this, just came out in log:
Code:
Apr  8 19:00:51 mail postfix/smtp[11027]: connect to smtp.isp.com[ip....]:25: Connection timed out
Apr  8 19:00:53 mail postfix/qmgr[10975]: 0465F354167: removed
Apr  8 19:00:53 mail postfix/smtp[11027]: 0465F354167: to=<me@gmail.com>, relay=smtp.isp.com[ip....]:25, delay=32, delays=0.14/0/30/2.1, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 0EC2D90521)


I'm not sure if those hostname and hosts and dns for my domain are configured right!
_________________
Give me a cookie ^^


Last edited by wg on Wed Apr 08, 2009 8:13 pm; edited 1 time in total
Back to top
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Wed Apr 08, 2009 5:51 pm    Post subject: Reply with quote

If you are just sending mail via ISP's servers then none of that matters.

Looks like the connection to your ISP's mailserver timed out then worked.
Back to top
View user's profile Send private message
wg
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jan 2008
Posts: 88

PostPosted: Wed Apr 08, 2009 6:36 pm    Post subject: Reply with quote

Log file doesn't give anything about recieving...
This could be because domain name?
And I'm not sure about aliases either, not less then hostname and hosts!

Got the domain name in the from name... but still can't recieve mail!
_________________
Give me a cookie ^^
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