Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cyrus, Postfix and Dracd out of sync .... help needed
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
prodigy7
n00b
n00b


Joined: 02 Jul 2004
Posts: 30

PostPosted: Sat Jul 03, 2004 9:59 am    Post subject: Cyrus, Postfix and Dracd out of sync .... help needed Reply with quote

Hi everybody,

i fighting now since 2 days with this problem and be at a loss ...
I've follwing problem:

I want realize POP-before-SMTP with drac but drac doesn't realize logins and write them to
/var/lib/drac/drac.db.
When i want send a mail (mail client is configured with POP-before-SMTP) i got this message:

Jul 2 23:29:51 c159 postfix/smtpd[27373]: NOQUEUE: reject: RCPT from pD9EAA0F9.dip.t-dialin.net[217.234.160.249]: 554 <myaddresse@domain.de>: Relay access denied; from=<from@addresse.de> to=<myaddresse@domain.de> proto=ESMTP helo=<[127.0.0.1]>

Following i'd attend:
- before i compile, i use the drac flag with USE
- i set mynetworks = 127.0.0.0/8, btree:/var/lib/drac/drac in postfix main.cf
- drachost:localhost and dracinterval:0 are set in imapd.conf in /etc

I watched the /var/lib/drac/drac.db file with ls, but i can't see any thange (filetime for example).
Furthermore i'd set the right for directorys and files temporarily with full access to everyone but
without success.
I see

Jul 2 23:38:21 c159 postfix/smtpd[27529]: table btree:/var/lib/drac/drac(0,100) has changed -- restarting

when i restarting dracd during postfix running what show me that postfix must be configured correctly.
But what i wasn't see is an entry by cyrus in syslog, that cyrus notify an login what else should be
i think.
Anyway, sending mails localy (for ex. with squerrilmail) works fine and show me, that postfix should be
configured correct.
I think, the problem is only that dracd doesn't write any logins in her file.

I'd checked too that cyrus is compiled with dracd support and it shows that it compiled in:

c159 cyrus # strings -f * |grep drac
arbitron: dracinterval
arbitron: drachost
chk_cyrus: dracinterval
chk_cyrus: drachost
ctl_cyrusdb: dracinterval
ctl_cyrusdb: drachost
ctl_deliver: dracinterval
ctl_deliver: drachost
ctl_mboxlist: dracinterval
ctl_mboxlist: drachost
cvt_cyrusdb: dracinterval
cvt_cyrusdb: drachost
cyr_expire: dracinterval
cyr_expire: drachost
cyrdump: dracinterval
cyrdump: drachost
cyrusmaster: dracinterval
cyrusmaster: drachost
deliver: dracinterval
deliver: drachost
fud: dracinterval
fud: drachost
imapd: dracinterval
imapd: drachost
ipurge: dracinterval
ipurge: drachost
lmtpd: dracinterval
lmtpd: drachost
lmtpproxyd: dracinterval
lmtpproxyd: drachost
master: dracinterval
master: drachost
mbexamine: dracinterval
mbexamine: drachost
mbpath: dracinterval
mbpath: drachost
mupdate: dracinterval
mupdate: drachost
notifyd: dracinterval
notifyd: drachost
pop3d: dracinterval
pop3d: drachost
pop3proxyd: dracinterval
pop3proxyd: drachost
proxyd: dracinterval
proxyd: drachost
quota: dracinterval
quota: drachost
reconstruct: dracinterval
reconstruct: drachost
smmapd: dracinterval
smmapd: drachost
squatter: dracinterval
squatter: drachost
timsieved: dracinterval
timsieved: drachost
tls_prune: dracinterval
tls_prune: drachost

Now, is there everyone with an idea and can help me? I would deeply grateful !

Gruß, prodigy7
Back to top
View user's profile Send private message
tuxmin
l33t
l33t


Joined: 24 Apr 2004
Posts: 838
Location: Heidelberg

PostPosted: Sat Jul 03, 2004 3:23 pm    Post subject: Reply with quote

Hi,

It looks as if the cyrus daemon does not communicate with dracd.
Is portmap running?


Alex!!!
Back to top
View user's profile Send private message
prodigy7
n00b
n00b


Joined: 02 Jul 2004
Posts: 30

PostPosted: Sun Jul 04, 2004 11:17 am    Post subject: Reply with quote

Yes ... Portmap is running
Back to top
View user's profile Send private message
tuxmin
l33t
l33t


Joined: 24 Apr 2004
Posts: 838
Location: Heidelberg

PostPosted: Tue Jul 06, 2004 7:50 am    Post subject: Reply with quote

Hum,

well then, is dracd registered with portmap? What tells you "rpcinfo -p"?
Did you check file permissions? Maybe dracd cannot write to /var/lib/drac?
Btw, if I remember right (it's about 2 years ago that I setup drac) the communication is only between the cyrusd and dracd. Postfix simply evaluates the DB dracd maintains and is not at least aware of the daemon itself.


Alex!!!
_________________
ALT-F4
Back to top
View user's profile Send private message
prodigy7
n00b
n00b


Joined: 02 Jul 2004
Posts: 30

PostPosted: Mon Jul 12, 2004 7:10 pm    Post subject: Reply with quote

I changed now to "exact", an other pop-before-smtp daemon. It works in 5 Minutes and do the same work.

Greetz, prodigy7
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