
16th July 2009, 14:20
|
|
Junior Member
|
|
Join Date: Jul 2009
Location: India
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Domainkey with postfix in fedora-8 OS
HI !
I am using dk-milter and Postfix in fedora-8 to implement domainkey.
But when I putting following to statement in /postfix/main.cf
smtpd_milters = unix:/var/run/dk-milter/dk.sock unix:/var/run/dk-milter/dk.sock
non_smtpd_milters = unix:/var/run/dk-milter/dk.sock unix:/var/run/dk-milter/dk.sock
I am getting ERROR :: =======>> stat=Deferred:
================
Jul 16 17:02:31 time2travelindia postfix/smtpd[5280]: NOQUEUE: milter-reject: EHLO from localhost.localdomain[127.0.0.1]: 451 4.7.1 Service unavailable - try again later; proto=SMTP
Jul 16 17:02:31 time2travelindia postfix/smtpd[5280]: NOQUEUE: milter-reject: MAIL from localhost.localdomain[127.0.0.1]: 451 4.7.1 Service unavailable - try again later; proto=ESMTP helo=<time2travelindia.com>
Jul 16 17:02:31 time2travelindia sendmail[5279]: n6GBWVlX005279: to=rajibsaha@addate.com, ctladdr=addate@localhost (501/501), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30556, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.7.1 Service unavailable - try again later
Jul 16 17:02:31 time2travelindia postfix/smtpd[5280]: disconnect from localhost.localdomain[127.0.0.1]
Jul 16 17:02:32 time2travelindia dovecot: imap-login: Login: user=<addate>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
Jul 16 17:02:32 time2travelindia dovecot: IMAP(addate): Disconnected: Logged out
Jul 16 17:02:32 time2travelindia dovecot: imap-login: Login: user=<addate>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
Jul 16 17:02:32 time2travelindia dovecot: IMAP(addate): Disconnected: Logged out
Jul 16 17:06:17 time2travelindia dovecot: imap-login: Login: user=<addate>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
Jul 16 17:06:17 time2travelindia dovecot: IMAP(addate): Disconnected: Logged out
If I do not put those two statement , mail is going from my mail fedora-8 server.
I would like to know how this problem will be solve ???????
Any help regarding this will be appreciated.
|

17th July 2009, 09:42
|
|
Senior Member
|
|
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 148 Times in 145 Posts
|
|
Either postfix cannot access the milter socket or the milter is not running. Check that, you can also try running the milter on a tcp port instead.
|

17th July 2009, 10:16
|
|
Junior Member
|
|
Join Date: Jul 2009
Location: India
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Domainkey with postfix in fedora-8 OS
HI,
dk-milter is ruining successfully.
only when I placing these two statements in /postfix/main.cf
smtpd_milters = unix:/var/run/dk-milter/dk.sock
non_smtpd_milters = unix:/var/run/dk-milter/dk.sock
on that time showing mail stat=Deferred.
If I do not put these two state ment in /postfix/main.cf mail is going successfully.
Mail stat=Deferred ERROR ::
=====================
Jul 17 01:04:26 time2travelindia postfix/smtpd[4049]: warning: connect to Milter service unix:/var/run/dk-milter/dk.sock: Permission denied
Jul 17 01:04:26 time2travelindia postfix/smtpd[4049]: NOQUEUE: milter-reject: CONNECT from localhost.localdomain[127.0.0.1]: 451 4.7.1 Service unavailable - try again later; proto=SMTP
Jul 17 01:04:26 time2travelindia postfix/smtpd[4049]: NOQUEUE: milter-reject: EHLO from localhost.localdomain[127.0.0.1]: 451 4.7.1 Service unavailable - try again later; proto=SMTP
Jul 17 01:04:26 time2travelindia postfix/smtpd[4049]: NOQUEUE: milter-reject: MAIL from localhost.localdomain[127.0.0.1]: 451 4.7.1 Service unavailable - try again later; proto=ESMTP helo=<time2travelindia.com>
Jul 17 01:04:26 time2travelindia sendmail[4048]: n6GJYQWc004048: to=rajibsaha@addate.com, ctladdr=addate@localhost (501/501), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30535, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.7.1 Service unavailable - try again later
Jul 17 01:04:26 time2travelindia postfix/smtpd[4049]: disconnect from localhost.localdomain[127.0.0.1]
Jul 17 01:04:26 time2travelindia dovecot: imap-login: Login: user=<addate>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
Jul 17 01:04:26 time2travelindia dovecot: IMAP(addate): Disconnected: Logged out
Jul 17 01:04:26 time2travelindia dovecot: imap-login: Login: user=<addate>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
Jul 17 01:04:26 time2travelindia dovecot: IMAP(addate): Disconnected: Logged out
Jul 17 01:05:19 time2travelindia dovecot: imap-login: Login: user=<addate>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
Jul 17 01:05:19 time2travelindia dovecot: IMAP(addate): Disconnected: Logged out
I would like to know who to solve this problem.
|

17th July 2009, 10:19
|
|
Senior Member
|
|
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 148 Times in 145 Posts
|
|
Can you not see that postfix is clearly telling you that i cannot access the milter socket ?
Jul 17 01:04:26 time2travelindia postfix/smtpd[4049]: warning: connect to Milter service unix:/var/run/dk-milter/dk.sock: Permission denied
|

17th July 2009, 10:20
|
|
Junior Member
|
|
Join Date: Jul 2009
Location: India
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
HI,
What exactly doing these following two statements in /postfix/main.cf ??
smtpd_milters = unix:/var/run/dk-milter/dk.sock
non_smtpd_milters = unix:/var/run/dk-milter/dk.sock
only create socket ??
what is exact function of smtpd_milters, non_smtpd_milters in main.cf .
Any help regarding this will be appreciated.
Thanks for response.
|

17th July 2009, 10:22
|
|
Senior Member
|
|
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 148 Times in 145 Posts
|
|
That is how postfix sends the message to the milter application.
|

17th July 2009, 10:29
|
|
Junior Member
|
|
Join Date: Jul 2009
Location: India
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by topdog
Can you not see that postfix is clearly telling you that i cannot access the milter socket ?
Jul 17 01:04:26 time2travelindia postfix/smtpd[4049]: warning: connect to Milter service unix:/var/run/dk-milter/dk.sock: Permission denied
|
HI,
how to connect
connect to Milter service unix:/var/run/dk-milter/dk.sock: ?????
Thanks.
|

17th July 2009, 10:31
|
|
Senior Member
|
|
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 148 Times in 145 Posts
|
|
what is the output of
Code:
ls -l /var/run/dk-milter/dk.sock
The postfix user or group needs to be able to read and write to that socket
|

17th July 2009, 10:33
|
|
Junior Member
|
|
Join Date: Jul 2009
Location: India
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by topdog
what is the output of
Code:
ls -l /var/run/dk-milter/dk.sock
The postfix user or group needs to be able to read and write to that socket
|
Getting this is it right ???
[root@PSC ~]# ls -l /var/run/dk-milter/dk.sock
srwxrwx--- 1 dk-milt mail 0 2009-07-17 01:04 /var/run/dk-milter/dk.sock
Thanks.
|

17th July 2009, 10:35
|
|
Senior Member
|
|
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 148 Times in 145 Posts
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 05:47.
|
|
Recent comments
1 day 5 hours ago
1 day 8 hours ago
1 day 9 hours ago
1 day 11 hours ago
1 day 12 hours ago
1 day 14 hours ago
1 day 15 hours ago
2 days 7 hours ago
2 days 8 hours ago
2 days 11 hours ago