Re: running postifx and qpopper in jail

2002-10-22 Thread Toomas Aas
Hi!

 Well, it should be localhost, but on on the localhost, the jail,
 postifix does not start. Well, fetchmail is running, but without postfix
 i cant use it ;).

The problem of Postfix not starting in jail was discussed recently on 
the list. 

IIRC, you need to remove 'localhost' from inet_interfaces line in 
main.cf. There is no loopback interface in the jail.
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* If Windows sucked, it would be good for something.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: running postifx and qpopper in jail

2002-10-16 Thread Axel Gruner

Hi. 

Here is the error message while trying to fetch my mail from the mail
account via fetchmail:

1 message for USERNAME at pop.provider.de (9014 octets).
reading message [EMAIL PROTECTED]:1 of 1 (9014 octets) fetchmail:
SMTP connect to localhost failed fetchmail: SMTP transaction error while
fetching from pop.puretec.de fetchmail: Query status=10 (SMTP)




On Wed, 16 Oct 2002 09:16:33 +0200
Axel Gruner [EMAIL PROTECTED] wrote:

 Hiho.
 
 I trying to get postfix running in my jail. The jail is setup correct
 (it starts at boot time and i can login via ssh 192.168.0.101). I
 installed postfix and qpopper from the ports (also fetchmail) in the
 jail. So, postfix trys to receive mail from the given pop account on
 my provider. It ends up with an error message, as i remember, i dont
 sit in front of the box right now, it cant find a smtp. So, postfix is
 not running in the jail like i thought. I configured postfix in the
 jail the same way as on the host system (just changed the domain
 name), and on the host system postfix is working perfectly. I stopped
 postfix on the host system and reboot my Box, but postfix is not
 starting in the jail(and also not on the host system). 
 
 So, where are the traps to get a working postifx and qpopper in a
 jail?
 
 Thanks in advance.
 
 asg

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: running postifx and qpopper in jail

2002-10-16 Thread David Lloyd


Acel,

 1 message for USERNAME at pop.provider.de (9014 octets).
 reading message [EMAIL PROTECTED]:1 of 1 (9014 octets) fetchmail:
 SMTP connect to localhost failed fetchmail: SMTP transaction error while
 fetching from pop.puretec.de fetchmail: Query status=10 (SMTP)

You need to have an SMTP server listening on your localhost for fetchmail to
work. Here's what happens:

1) fetchmail uses POP3 to speak to a POP3 server
2) it gets the mail and then uses SMTP to an SMTP server to deliver the mail

Now, the SMTP server by default is localhost. You can configure fetchmail
to talk to another host if that's your fancy.

You probably need to enable a local listening Sendmail on your local host.

Look for sendmail in /etc/defaults/rc.conf -- and choose one that seems to
fit your needs. Make sure you know the implications of starting up an SMTP
server such as sendmail before actually starting it up.


DSL

-- 
The Linux C Programming Lists:
 * http://lists.linux.org.au/listinfo/linuxcprogramming/
The Linux C++ Programming Lists:
 * http://lists.linux.org.au/listinfo/tuxcpprogramming/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: running postifx and qpopper in jail

2002-10-16 Thread Axel Gruner

Hi David.

Thanks for sour answer...

On Wed, 16 Oct 2002 17:33:31 +0930
David Lloyd [EMAIL PROTECTED] wrote:

 You need to have an SMTP server listening on your localhost for
 fetchmail to work. Here's what happens:

Yes, i know. But postfix is not starting in the jail, that is my main
problem. And, i used the same configuration as on the host system (where
postfix worked). So, i stopped postfix on the host system, but on the
jail it wont work... 
 1) fetchmail uses POP3 to speak to a POP3 server
 2) it gets the mail and then uses SMTP to an SMTP server to deliver
 the mail

Ok.
 
 Now, the SMTP server by default is localhost. You can configure
 fetchmail to talk to another host if that's your fancy.

Well, it should be localhost, but on on the localhost, the jail,
postifix does not start. Well, fetchmail is running, but without postfix
i cant use it ;).

asg

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message