Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
courier-imap won'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
Nealian
n00b
n00b


Joined: 17 Nov 2002
Posts: 8
Location: dead

PostPosted: Thu Jan 09, 2003 10:24 pm    Post subject: courier-imap won't recieve mail Reply with quote

hi

Courier-imap refuses to recieve mail from outside my lan. I can recieve it from with in and sending in and out works. The box that houses the server is behind a router with a firewall. from outside my firewall, i can telnet in at ports 110, 143 and 25.
Here is a copy of my /var/log/mail.err
Code:
Jan  8 17:26:23 server courieresmtpd: error,relay=::ffff:216.136.173.92,from=<hallackoberman72@yahoo.com>,to=<nwadhwa@69.3.107.91>: 513 Relaying denied.
Jan  9 14:57:19 server imapd: DISCONNECTED, ip=[63.109.23.6], headers=0, body=0
Jan  9 14:59:29 server vm-pop3d[6910]: Couldn't bind to socket: Address already in use
Jan  9 15:05:29 server courieresmtpd: error,relay=::ffff:66.218.78.181,from=<nealian@yahoo.com>,to=<nwadhwa@nealian.no-ip.com>: 513 Relaying denied.
Jan  9 15:28:50 server courieresmtpd: error,relay=::ffff:66.218.78.182,from=<nealian@yahoo.com>,to=<nwadhwa@nealian.no-ip.com>: 513 Relaying denied.



Please help me. Thanks in advance
Back to top
View user's profile Send private message
jukka
Apprentice
Apprentice


Joined: 06 Jun 2002
Posts: 249
Location: Zurich, Switzerland

PostPosted: Thu Jan 09, 2003 11:03 pm    Post subject: Re: courier-imap won't recieve mail Reply with quote

hi,
Nealian wrote:
Courier-imap refuses to recieve mail from outside my lan.

it's not courier-imap, it's courier smtpd which is not working as you expect it to.

Quote:
I can recieve it from with in and sending in and out works. The box that houses the server is behind a router with a firewall. from outside my firewall, i can telnet in at ports 110, 143 and 25.

so then the firewall is not a problem. good.

Quote:
Here is a copy of my /var/log/mail.err
[code]Jan 8 17:26:23 server courieresmtpd: error,relay=::ffff:216.136.173.92,from=<hallackoberman72@yahoo.com>,to=<nwadhwa@69.3.107.91>: 513 Relaying denied.

i don't know courier smtpd, but you have to tell him which domains are local, i.e. for which domains relaying is allowed. in your case that's 69.3.107.91.

hth, jukka
Back to top
View user's profile Send private message
Nealian
n00b
n00b


Joined: 17 Nov 2002
Posts: 8
Location: dead

PostPosted: Wed Jan 15, 2003 9:11 pm    Post subject: Reply with quote

Thanks for telling me.

Anyway, I read the documentation of courier. In order to add adresses as relayclients, i edited the /etc/smtpaccess/default file and added a few ip adresses of known mail server. Then i ran "makesmtpaccess" as said in the documentation, but it gave me the error
Code:
Cannot store record for 127.0.0.1 - duplicate or out of disk space.

Thanks
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