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
  #11  
Old 8th June 2008, 02:59
flipb18b flipb18b is offline
Member
 
Join Date: Mar 2008
Posts: 33
Thanks: 3
Thanked 2 Times in 1 Post
Default

When I attempt to send email with the server requires authentication enable it keeps asking me for a user name and password and it seems to never take the ones I provide.
As for the Postfix Config

#
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman unix - n n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}

amavis unix - - - - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes

127.0.0.1:10025 inet n - - - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,rej ect
-o mynetworks=127.0.0.1/8
-o strict_rfc821_envelopes=yes
-o receive_override_options=no_unknown_recipient_chec ks,no_header_body_checks
-o smtpd_bind_address=127.0.0.1
Reply With Quote
Sponsored Links
  #12  
Old 8th June 2008, 09:38
thecaoticone thecaoticone is offline
Member
 
Join Date: Nov 2007
Posts: 89
Thanks: 1
Thanked 18 Times in 16 Posts
Default

If I remember correctly, it has been quite a while, I had the same issues with pop3 clients in the 6.06 LTS guide. I keep thinking the relay and server authentication errors are both tied to the saslauthd file. I failed to make a note when I finally figured it out.

You may want to double check the last line of /etc/default/saslauthd


Code:
OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd -r"

I believe my problem was I missed the "-r" at the end.
Reply With Quote
  #13  
Old 8th June 2008, 16:03
flipb18b flipb18b is offline
Member
 
Join Date: Mar 2008
Posts: 33
Thanks: 3
Thanked 2 Times in 1 Post
Default

Still will not authenticate / Send mail
Reply With Quote
  #14  
Old 9th June 2008, 12:11
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

What's in the mail log now when you try to send an email?
__________________
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
  #15  
Old 9th June 2008, 23:22
flipb18b flipb18b is offline
Member
 
Join Date: Mar 2008
Posts: 33
Thanks: 3
Thanked 2 Times in 1 Post
Default

Jun 9 17:21:20 mail pop3d: LOGOUT, user=flip@willthatdo.com, ip=[::ffff:69.37.80.21], port=[17016], top=0, retr=0, rcvd=18, sent=130, time=1
Jun 9 17:21:31 mail postfix/smtpd[11648]: connect from unknown[69.37.80.21]
Jun 9 17:21:31 mail postfix/smtpd[11648]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Jun 9 17:21:31 mail postfix/smtpd[11648]: warning: unknown[69.37.80.21]: SASL LOGIN authentication failed: generic failure
Jun 9 17:21:31 mail postfix/smtpd[11648]: disconnect from unknown[69.37.80.21]
Jun 9 17:21:42 mail postfix/smtpd[11651]: connect from unknown[69.37.80.21]
Jun 9 17:21:43 mail postfix/smtpd[11651]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Jun 9 17:21:43 mail postfix/smtpd[11651]: warning: unknown[69.37.80.21]: SASL LOGIN authentication failed: generic failure
Jun 9 17:21:43 mail postfix/smtpd[11651]: disconnect from unknown[69.37.80.21]
Jun 9 17:21:56 mail postfix/smtpd[11648]: connect from unknown[69.37.80.21]
Jun 9 17:21:56 mail postfix/smtpd[11648]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Jun 9 17:21:56 mail postfix/smtpd[11648]: warning: unknown[69.37.80.21]: SASL LOGIN authentication failed: generic failure
Jun 9 17:21:56 mail postfix/smtpd[11648]: disconnect from unknown[69.37.80.21]
Reply With Quote
  #16  
Old 9th June 2008, 23:30
flipb18b flipb18b is offline
Member
 
Join Date: Mar 2008
Posts: 33
Thanks: 3
Thanked 2 Times in 1 Post
Default

Ok so I figured out from reading that log that I needed to enable to sslauth
Still though mail does not pass through my log now reads when trying to send

tup -- throttling
Jun 9 17:26:46 mail amavis[10749]: (10749-18) (!)FWD via SMTP: <flip@willthatdo.com> -> <flipb18b@gmail.com>, 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting: at (eval 84) line 442, <GEN21> line 599.): id=10749-18
Jun 9 17:26:46 mail amavis[10749]: (10749-18) Blocked MTA-BLOCKED, [69.37.80.21] [69.37.80.21] <flip@willthatdo.com> -> <flipb18b@gmail.com>, Message-ID: <000401c8ca78$c0cd1090$4d00a8c0@ntwrk.net>, mail_id: 7Tmeiw9zhPJC, Hits: -, size: 3843, 1085 ms
Jun 9 17:26:46 mail postfix/smtp[11711]: E158D36C682: to=<flipb18b@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.2, delays=0.12/0/0/1.1, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting: at (eval 84) line 442, <GEN21> line 599.): id=10749-18 (in reply to end of DATA command))
Jun 9 17:26:46 mail postfix/master[18527]: warning: process /usr/lib/postfix/smtpd pid 11716 exit status 1
Jun 9 17:26:46 mail amavis[10741]: (10741-19) (!)FWD via SMTP: <flip@willthatdo.com> -> <flipb18b@gmail.com>, 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting: at (eval 84) line 442, <GEN21> line 590.): id=10741-19
Jun 9 17:26:46 mail amavis[10741]: (10741-19) Blocked MTA-BLOCKED, [69.37.80.21] [69.37.80.21] <flip@willthatdo.com> -> <flipb18b@gmail.com>, Message-ID: <000901c8ca78$c0de0080$4d00a8c0@ntwrk.net>, mail_id: vjPFvx-Gdoco, Hits: -, size: 3826, 1084 ms
Jun 9 17:26:46 mail postfix/smtp[11714]: 466DE36C689: to=<flipb18b@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.2, delays=0.12/0/0/1.1, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting: at (eval 84) line 442, <GEN21> line 590.): id=10741-19 (in reply to end of DATA command)
Reply With Quote
  #17  
Old 10th June 2008, 04:27
thecaoticone thecaoticone is offline
Member
 
Join Date: Nov 2007
Posts: 89
Thanks: 1
Thanked 18 Times in 16 Posts
 
Default

Is there a line in you log files that looks like this?

Code:
fatal: parameter
Also double your /etc/postfix/master.cf for the line:

-o mynetworks=127.0.0.1/8

In mine it reads:


-o mynetworks=127.0.0.0/8

Last edited by thecaoticone; 10th June 2008 at 16:42.
Reply With Quote
The Following User Says Thank You to thecaoticone For This Useful Post:
flipb18b (14th June 2008)
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, MySQL And SquirrelMail -Ubuntu 8.04 c4rdinal HOWTO-Related Questions 112 23rd August 2011 10:49
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail Ubuntu 8.04 paulodani HOWTO-Related Questions 7 4th June 2008 00:46
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.04 mtzcesar HOWTO-Related Questions 3 1st June 2008 10:57
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.04) canardwc HOWTO-Related Questions 12 29th May 2008 18:29
Virtual Users And Domains W/ Postfix, Courier and MySql + Squirrelmail prob nsurge HOWTO-Related Questions 10 23rd October 2006 17:43


All times are GMT +2. The time now is 12:23.


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