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 9th September 2006, 10:06
hdtpsi hdtpsi is offline
Junior Member
 
Join Date: Sep 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs

Cant send test email with amavisd installed
log output /var/log/mail.log

Sep 10 03:38:38 mythserver amavis[17804]: (17804-03) mail_via_smtp: 450 4.4.1 Can't connect to 127.0.0.1 port 10024, Operation now in progress at /usr/sbin/amavisd-new line 2912, <GEN9> line 200., id=17804-03
Sep 10 03:38:38 mythserver amavis[17804]: (17804-03) Not-Delivered, <test@workaround.org> -> <dave@mythtv.net>, Message-ID: <20060909164817.3A58A6F0A6@mythserver.mythtv.net >, Hits: -0.137
Sep 10 03:38:38 mythserver amavis[17806]: (17806-04) Warning: sending SMTP QUIT command failed: 450 4.4.1 Can't connect to 127.0.0.1 port 10024, Operation now in progress at /usr/sbin/amavisd-new line 2912, <GEN9> line 200., id=17804-03\n
Sep 10 03:38:38 mythserver amavis[17806]: (17806-04) mail_via_smtp: 451 4.6.0 Bad SMTP code, id=17806-04, from MTA: "354 End data with <CR><LF>.<CR><LF>"
Sep 10 03:38:38 mythserver amavis[17806]: (17806-04) Not-Delivered, <test@workaround.org> -> <dave@mythtv.net>, Message-ID: <20060909164817.3A58A6F0A6@mythserver.mythtv.net >, Hits: -0.136
Sep 10 03:38:38 mythserver amavis[17805]: (17805-03) Warning: sending SMTP QUIT command failed: 451 4.6.0 Bad SMTP code, id=17806-04, from MTA: "354 End data with <CR><LF>.<CR><LF>"\n
Sep 10 03:38:38 mythserver amavis[17805]: (17805-03) mail_via_smtp: 451 4.6.0 Bad SMTP code, id=17805-03, from MTA: "354 End data with <CR><LF>.<CR><LF>"
Sep 10 03:38:38 mythserver amavis[17805]: (17805-03) Not-Delivered, <test@workaround.org> -> <dave@mythtv.net>, Message-ID: <20060909164817.3A58A6F0A6@mythserver.mythtv.net >, Hits: -0.136
Sep 10 03:38:38 mythserver amavis[17807]: (17807-04) Warning: sending SMTP QUIT command failed: 451 4.6.0 Bad SMTP code, id=17805-03, from MTA: "354 End data with <CR><LF>.<CR><LF>"\n
Sep 10 03:38:38 mythserver amavis[17807]: (17807-04) mail_via_smtp: 451 4.6.0 Bad SMTP code, id=17807-04, from MTA: "354 End data with <CR><LF>.<CR><LF>"
Sep 10 03:38:38 mythserver amavis[17807]: (17807-04) Not-Delivered, <test@workaround.org> -> <dave@mythtv.net>, Message-ID: <20060909164817.3A58A6F0A6@mythserver.mythtv.net >, Hits: -0.135
Sep 10 03:38:38 mythserver postfix/smtp[18829]: 3A58A6F0A6: to=<dave@mythtv.net>, relay=127.0.0.1[127.0.0.1], delay=3021, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.6.0 Bad SMTP code, id=17807-04, from MTA: "354 End data with <CR><LF>.<CR><LF>" (in reply to end of DATA command))
Reply With Quote
Sponsored Links
  #2  
Old 10th September 2006, 19:22
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Quote:
Originally Posted by hdtpsi
Cant send test email with amavisd installed
log output /var/log/mail.log

Sep 10 03:38:38 mythserver amavis[17804]: (17804-03) mail_via_smtp: 450 4.4.1 Can't connect to 127.0.0.1 port 10024, Operation now in progress at /usr/sbin/amavisd-new line 2912, <GEN9> line 200., id=17804-03
What's the output of
Code:
netstat -tap
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 16th September 2006, 05:44
hdtpsi hdtpsi is offline
Junior Member
 
Join Date: Sep 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Pop3 access

Amavis is working Fine now just used apt to remove and reinstall it seems to be fine now i can send and recieve messages with telnet and can forward from client software on the localhost (thunderbird but it doesnt like smtp-auth) but pop3 access is refused all the time with login-refused from server.
Can telnet pop3 it seems to be responding OK but no access.
Reply With Quote
  #4  
Old 17th September 2006, 13:31
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

What's the exact error message? Any errors in your log files?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 18th September 2006, 16:02
hdtpsi hdtpsi is offline
Junior Member
 
Join Date: Sep 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Here is the log /var/log/mail.log

Sep 18 23:53:30 mythserver courierpop3login: Connection, ip=[::ffff:127.0.0.1]
Sep 18 23:53:41 mythserver courierpop3login: LOGIN FAILED, ip=[::ffff:127.0.0.1]
Sep 18 23:54:11 mythserver last message repeated 2 times
Reply With Quote
  #6  
Old 19th September 2006, 15:18
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Are you sure you use the correct username (must be an email address!) and password?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 23rd September 2006, 00:43
Anne_Kleyheeg Anne_Kleyheeg is offline
Junior Member
 
Join Date: Sep 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Maildir

I've compleet the configuration and it works.
But is get 1 error:
chdir ansmeijlink.nl/root/: No such file or directory
This is because the Maildir map doesn't excist.
Must i create it or have i done something wrong.
And where must i create the Maildir
Reply With Quote
  #8  
Old 23rd September 2006, 23:57
hdtpsi hdtpsi is offline
Junior Member
 
Join Date: Sep 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am using email for username and correct password ofcourse but i think mysql is not bind to 127.0.0.1 what are the dissadvantages of running your mysql srcipts with host = localhost or how to fix mysql issue
Reply With Quote
  #9  
Old 24th September 2006, 09:23
hdtpsi hdtpsi is offline
Junior Member
 
Join Date: Sep 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

When i add bind-address = 127.0.0.1 to /etc/mysql/my.cnf the machine crashes
It is a Knoppmyth R5C7 distro of debian sarge
Reply With Quote
  #10  
Old 24th September 2006, 13:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
 
Default

Quote:
Originally Posted by Anne_Kleyheeg
I've compleet the configuration and it works.
But is get 1 error:
chdir ansmeijlink.nl/root/: No such file or directory
This is because the Maildir map doesn't excist.
Must i create it or have i done something wrong.
And where must i create the Maildir
You must send a mail first to that user. The Maildir is created when the first mail arrives.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
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
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs ruskicar HOWTO-Related Questions 26 20th July 2007 16:28
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs mholownych HOWTO-Related Questions 10 29th May 2006 03:39
Another Problem: Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP bluegrass Installation/Configuration 24 8th March 2006 01:41
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs ebbay Installation/Configuration 9 4th March 2006 11:47
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs Rocky Installation/Configuration 24 9th February 2006 11:08


All times are GMT +2. The time now is 20:22.


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