Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th July 2009, 14:20
rajib rajib is offline
Junior Member
 
Join Date: Jul 2009
Location: India
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
Reply With Quote
Sponsored Links
  #2  
Old 17th July 2009, 09:42
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

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.
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #3  
Old 17th July 2009, 10:16
rajib rajib is offline
Junior Member
 
Join Date: Jul 2009
Location: India
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
Reply With Quote
  #4  
Old 17th July 2009, 10:19
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

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
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #5  
Old 17th July 2009, 10:20
rajib rajib is offline
Junior Member
 
Join Date: Jul 2009
Location: India
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #6  
Old 17th July 2009, 10:22
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

That is how postfix sends the message to the milter application.
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #7  
Old 17th July 2009, 10:29
rajib rajib is offline
Junior Member
 
Join Date: Jul 2009
Location: India
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by topdog View Post
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.
Reply With Quote
  #8  
Old 17th July 2009, 10:31
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

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
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #9  
Old 17th July 2009, 10:33
rajib rajib is offline
Junior Member
 
Join Date: Jul 2009
Location: India
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by topdog View Post
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.
Reply With Quote
  #10  
Old 17th July 2009, 10:35
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
 
Default

what is the output of
Code:
sestatus
?
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix not responding to telnet CarbonCopy Server Operation 6 8th May 2009 05:39
Undelivered Mail Returned to Sender Error202 General 5 7th May 2009 11:14
localhost postfix/master: fatal: bind 127.0.0.1 port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 17:39
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36


All times are GMT +2. The time now is 18:08.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.