Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 22nd February 2009, 18:04
phenner phenner is offline
Member
 
Join Date: Jan 2009
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default Postfix Authentication Issues

Hi,

I have an Ubuntu 8.10 server with ISPConfig 2 installed with Postfix.
I can log in and receive emails fine. However when it comes to sending everything goes pear shaped! I cannot send emails at all from any account on any client on ISPConfig through Outlook, however webmail works fine. Every time I try and send, the Network Password box comes up. I know the passwords and usernames are correct because they are the same as the incoming mail ones. Emails work fine however when authentication is set as off. However I cannot send to hotmail and other addresses when this is the case!

Help!

Thanks,

phenner

Last edited by phenner; 22nd February 2009 at 18:07.
Reply With Quote
Sponsored Links
  #2  
Old 22nd February 2009, 18:21
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,070
Thanks: 697
Thanked 4,248 Times in 3,260 Posts
Default

You have to enable smtp authentication in outlook to send email to users that are not on your server.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 22nd February 2009, 18:39
phenner phenner is offline
Member
 
Join Date: Jan 2009
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Till,

Thanks for your reply.

I am well aware that you need SMTP auth on to send email, however whenever it is on, I cannot send to anyone as the login does not work, EVER! The username and password are definitely correct, but even so the network password box comes up every time i try to send.

Any ideas?

Thanks,

phenner
Reply With Quote
  #4  
Old 22nd February 2009, 18:50
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,070
Thanks: 697
Thanked 4,248 Times in 3,260 Posts
Default

Most likely its a misconfiguration in your sasl setup. Please post the errors from the mail log.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 22nd February 2009, 19:10
phenner phenner is offline
Member
 
Join Date: Jan 2009
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Code:
Feb 22 16:59:18 phennerweb postfix/qmgr[16462]: 58A38D7B71: removed
Feb 22 16:59:42 phennerweb pop3d: Connection, ip=[::ffff:90.212.111.26]
Feb 22 16:59:42 phennerweb postfix/smtpd[16494]: connect from 5ad46f1a.bb.sky.com[90.212.111.26]
Feb 22 16:59:42 phennerweb postfix/smtpd[16716]: connect from 5ad46f1a.bb.sky.com[90.212.111.26]
Feb 22 16:59:43 phennerweb pop3d: LOGIN, user=web4_john, ip=[::ffff:90.212.111.26], port=[52824]
Feb 22 16:59:43 phennerweb postfix/smtpd[16494]: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied
Feb 22 16:59:43 phennerweb postfix/smtpd[16494]: warning: 5ad46f1a.bb.sky.com[90.212.111.26]: SASL LOGIN authentication failed: generic failure
Feb 22 16:59:43 phennerweb postfix/smtpd[16716]: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied
Feb 22 16:59:43 phennerweb postfix/smtpd[16716]: warning: 5ad46f1a.bb.sky.com[90.212.111.26]: SASL LOGIN authentication failed: generic failure
Feb 22 16:59:43 phennerweb postfix/smtpd[16494]: lost connection after AUTH from 5ad46f1a.bb.sky.com[90.212.111.26]
Feb 22 16:59:43 phennerweb postfix/smtpd[16494]: disconnect from 5ad46f1a.bb.sky.com[90.212.111.26]
Feb 22 16:59:43 phennerweb postfix/smtpd[16716]: lost connection after AUTH from 5ad46f1a.bb.sky.com[90.212.111.26]
Feb 22 16:59:43 phennerweb postfix/smtpd[16716]: disconnect from 5ad46f1a.bb.sky.com[90.212.111.26]
Feb 22 16:59:44 phennerweb pop3d: LOGOUT, user=web4_john, ip=[::ffff:90.212.111.26], port=[52824], top=0, retr=5160, rcvd=40, sent=5520, time=1
Feb 22 16:59:45 phennerweb pop3d: Connection, ip=[::ffff:90.212.111.26]
Feb 22 16:59:45 phennerweb pop3d: LOGIN, user=web4_joe, ip=[::ffff:90.212.111.26], port=[52827]
Feb 22 16:59:46 phennerweb pop3d: LOGOUT, user=web4_joe, ip=[::ffff:90.212.111.26], port=[52827], top=0, retr=0, rcvd=12, sent=39, time=1
Feb 22 17:00:44 phennerweb postfix/anvil[16468]: statistics: max connection rate 8/60s for (smtp:90.212.111.26) at Feb 22 16:59:14
Feb 22 17:00:44 phennerweb postfix/anvil[16468]: statistics: max connection count 2 for (smtp:90.202.33.47) at Feb 22 16:52:07
Feb 22 17:00:44 phennerweb postfix/anvil[16468]: statistics: max cache size 2 at Feb 22 16:59:06
Feb 22 17:00:51 phennerweb postfix/smtpd[16494]: connect from 5ad46f1a.bb.sky.com[90.212.111.26]
Feb 22 17:00:51 phennerweb postfix/smtpd[16716]: connect from 5ad46f1a.bb.sky.com[90.212.111.26]
Feb 22 17:00:51 phennerweb postfix/smtpd[16494]: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied
Feb 22 17:00:51 phennerweb postfix/smtpd[16494]: warning: 5ad46f1a.bb.sky.com[90.212.111.26]: SASL LOGIN authentication failed: generic failure
Feb 22 17:00:52 phennerweb postfix/smtpd[16716]: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied
Feb 22 17:00:52 phennerweb postfix/smtpd[16716]: warning: 5ad46f1a.bb.sky.com[90.212.111.26]: SASL LOGIN authentication failed: generic failure
Feb 22 17:00:52 phennerweb postfix/smtpd[16494]: lost connection after AUTH from 5ad46f1a.bb.sky.com[90.212.111.26]
Feb 22 17:00:52 phennerweb postfix/smtpd[16494]: disconnect from 5ad46f1a.bb.sky.com[90.212.111.26]
Feb 22 17:00:52 phennerweb postfix/smtpd[16716]: lost connection after AUTH from 5ad46f1a.bb.sky.com[90.212.111.26]
Feb 22 17:00:52 phennerweb postfix/smtpd[16716]: disconnect from 5ad46f1a.bb.sky.com[90.212.111.26]
Feb 22 17:01:14 phennerweb pop3d: Connection, ip=[::ffff:92.12.85.160]
Feb 22 17:01:14 phennerweb pop3d: LOGIN, user=web4_rmiller, ip=[::ffff:92.12.85.160], port=[61401]
Feb 22 17:01:14 phennerweb pop3d: LOGOUT, user=web4_rmiller, ip=[::ffff:92.12.85.160], port=[61401], top=0, retr=0, rcvd=12, sent=39, time=0
Feb 22 17:01:55 phennerweb postfix/smtpd[16494]: connect from 5ad46f1a.bb.sky.com[90.212.111.26]
Feb 22 17:01:55 phennerweb postfix/smtpd[16716]: connect from 5ad46f1a.bb.sky.com[90.212.111.26]
Feb 22 17:01:55 phennerweb postfix/smtpd[16494]: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied
Feb 22 17:01:55 phennerweb postfix/smtpd[16494]: warning: 5ad46f1a.bb.sky.com[90.212.111.26]: SASL LOGIN authentication failed: generic failure
Feb 22 17:01:55 phennerweb postfix/smtpd[16716]: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied
Feb 22 17:01:55 phennerweb postfix/smtpd[16716]: warning: 5ad46f1a.bb.sky.com[90.212.111.26]: SASL LOGIN authentication failed: generic failure
Feb 22 17:01:55 phennerweb postfix/smtpd[16494]: lost connection after AUTH from 5ad46f1a.bb.sky.com[90.212.111.26]
Feb 22 17:01:55 phennerweb postfix/smtpd[16494]: disconnect from 5ad46f1a.bb.sky.com[90.212.111.26]
Feb 22 17:01:55 phennerweb postfix/smtpd[16716]: lost connection after AUTH from 5ad46f1a.bb.sky.com[90.212.111.26]
Feb 22 17:01:55 phennerweb postfix/smtpd[16716]: disconnect from 5ad46f1a.bb.sky.com[90.212.111.26]
Feb 22 17:02:33 phennerweb pop3d: Connection, ip=[::ffff:90.212.111.26]
Feb 22 17:02:33 phennerweb postfix/smtpd[16494]: connect from 5ad46f1a.bb.sky.com[90.212.111.26]
Feb 22 17:02:33 phennerweb postfix/smtpd[16716]: connect from 5ad46f1a.bb.sky.com[90.212.111.26]
Feb 22 17:02:34 phennerweb pop3d: LOGIN, user=web4_john, ip=[::ffff:90.212.111.26], port=[52840]
Feb 22 17:02:34 phennerweb postfix/smtpd[16494]: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied
Feb 22 17:02:34 phennerweb postfix/smtpd[16494]: warning: 5ad46f1a.bb.sky.com[90.212.111.26]: SASL LOGIN authentication failed: generic failure
Feb 22 17:02:34 phennerweb postfix/smtpd[16716]: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied
Feb 22 17:02:34 phennerweb postfix/smtpd[16716]: warning: 5ad46f1a.bb.sky.com[90.212.111.26]: SASL LOGIN authentication failed: generic failure
Feb 22 17:02:34 phennerweb postfix/smtpd[16494]: lost connection after AUTH from 5ad46f1a.bb.sky.com[90.212.111.26]
Feb 22 17:02:34 phennerweb postfix/smtpd[16494]: disconnect from 5ad46f1a.bb.sky.com[90.212.111.26]
Feb 22 17:02:34 phennerweb postfix/smtpd[16716]: lost connection after AUTH from 5ad46f1a.bb.sky.com[90.212.111.26]
Reply With Quote
  #6  
Old 23rd February 2009, 10:55
phenner phenner is offline
Member
 
Join Date: Jan 2009
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Anyone got any ideas as to how to fix the SASL for Postfix?

Thanks,

phenner
Reply With Quote
  #7  
Old 23rd February 2009, 10:58
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,070
Thanks: 697
Thanked 4,248 Times in 3,260 Posts
Default

Please redo the postfix and sasl configuration steps from the perfect setup for ubuntu 8.10
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 23rd February 2009, 11:07
phenner phenner is offline
Member
 
Join Date: Jan 2009
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Should I remove Postfix first?

Thanks,

phenner
Reply With Quote
  #9  
Old 24th February 2009, 08:47
phenner phenner is offline
Member
 
Join Date: Jan 2009
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Anyone know if Postfix needs removing first?

Thanks,

Rich
Reply With Quote
  #10  
Old 24th February 2009, 09:40
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,070
Thanks: 697
Thanked 4,248 Times in 3,260 Posts
 
Default

You dont have to remove postfix first. Just redo the configuration steps.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
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
Mail System Error - Returned Mail tristanlee85 General 16 16th March 2008 09:40
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 14:58.


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