| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		baboo Senior Member
 
  Joined: 04 Sep 2007 Posts: 676
 
  | 
		
			
				 Posted: Sun Mar 22, 2009 7:19 pm    Post subject: new server up and running | 
				     | 
			 
			
				
  | 
			 
			
				I was wondering if you could take a dig @ cliqn.com and let me know if you see any problems.
 
 
Mail is being rejected. I think it might be blacklist? Trying to find where blacklist is stored.
 
 
thanks | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		baboo Senior Member
 
  Joined: 04 Sep 2007 Posts: 676
 
  | 
		
			
				 Posted: Sun Mar 22, 2009 7:20 pm    Post subject: error message | 
				     | 
			 
			
				
  | 
			 
			
				sorry - should have included this.
 
 
Mar 22 10:11:00 ns1 postfix/smtpd[4452]: NOQUEUE: reject: RCPT from wm52.inbox.com[64.135.83.52]: 450 4.3.2 <dweebman@cliqn.com>: Recipient address rejected: Try again later; from=<baboo@inbox.com> to=<dweebman@cliqn.com> proto=SMTP helo=<WM52.inbox.com> | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		baboo Senior Member
 
  Joined: 04 Sep 2007 Posts: 676
 
  | 
		
			
				 Posted: Sun Mar 22, 2009 7:34 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				| found blacklists in dansguardian but no matches to rejects. | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		gerasimos_h Site Admin
 
  Joined: 09 Aug 2007 Posts: 1757 Location: Greece
  | 
		
			
				 Posted: Sun Mar 22, 2009 7:52 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				I did a dig, everything looks OK! also a telnet to mail.cliqn.com no issues.
 
What's the output of 'postconf -n'?
 
 
gerasimos_h _________________ Superb! Mini Server Project Manager
 
http://sms.it-ccs.com | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		baboo Senior Member
 
  Joined: 04 Sep 2007 Posts: 676
 
  | 
		
			
				 Posted: Sun Mar 22, 2009 8:16 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				postconf -n:
 
 
 postconf -n
 
alias_database = hash:/etc/mail/aliases
 
alias_maps = hash:/etc/mail/aliases, nis:mail.aliases
 
broken_sasl_auth_clients = yes
 
command_directory = /usr/sbin/
 
config_directory = /etc/postfix
 
daemon_directory = /usr/libexec/postfix
 
debug_peer_level = 2
 
header_checks = regexp:/etc/postfix/header_checks
 
home_mailbox = Maildir/
 
local_recipient_maps = $alias_maps unix:passwd.byname $virtual_mailbox_maps
 
mail_owner = postfix
 
mail_spool_directory = /var/spool/mail
 
mailq_path = /usr/sbin/mailq
 
manpage_directory = /usr/man
 
milter_default_action = accept
 
mydestination = $mydomain, localhost.$mydomain, $myhostname
 
mydomain = cliqn.com
 
myhostname = ns1.cliqn.com
 
newaliases_path = /usr/sbin/newaliases
 
queue_directory = /var/spool/postfix
 
sample_directory = /etc/postfix/sample
 
sendmail_path = /usr/sbin/sendmail
 
setgid_group = postdrop
 
smtp_use_tls = yes
 
smtpd_milters = unix:/var/run/clamav-milter/milter.sock
 
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, defer
 
smtpd_reject_unlisted_recipient = no
 
smtpd_sasl_auth_enable = yes
 
smtpd_sasl_local_domain = 
 
smtpd_sasl_security_options = noanonymous
 
smtpd_tls_cert_file = /etc/ssl/certs/dovecot.pem
 
smtpd_tls_key_file = /etc/ssl/certs/dovecot.pem
 
smtpd_use_tls = yes
 
unknown_local_recipient_reject_code = 550
 
virtual_alias_maps = hash:/etc/postfix/virtual, $alias_maps
 
 
I did a lookup on Maildir and the only account I could find was administrator. Even though in webmin I added dweebman. It created the user but no /home/dweebman/Maildir. | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		gerasimos_h Site Admin
 
  Joined: 09 Aug 2007 Posts: 1757 Location: Greece
  | 
		
			
				 Posted: Sun Mar 22, 2009 8:56 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				What's the output of 'testsaslauthd -u dweebman -p password'?
 
Try to login to squirrelmail.
 
 
gerasimos_h _________________ Superb! Mini Server Project Manager
 
http://sms.it-ccs.com | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		baboo Senior Member
 
  Joined: 04 Sep 2007 Posts: 676
 
  | 
		
			
				 Posted: Sun Mar 22, 2009 9:10 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				testsaslauthd -u dweebman -p password 
 
 
event not found (that's the message when I use my password)
 
 
I can login to squirrelmail with that id and password. | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		gerasimos_h Site Admin
 
  Joined: 09 Aug 2007 Posts: 1757 Location: Greece
  | 
		
			
				 Posted: Sun Mar 22, 2009 9:20 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				That's the problem...
 
what's the entry of dweebman in /etc/passwd ?
 
 
gerasimos_h _________________ Superb! Mini Server Project Manager
 
http://sms.it-ccs.com | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		baboo Senior Member
 
  Joined: 04 Sep 2007 Posts: 676
 
  | 
		
			
				 Posted: Sun Mar 22, 2009 9:25 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				| dweebman:x:500:100:Daniel Webb:/home/dweebman:/bin/sh | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		gerasimos_h Site Admin
 
  Joined: 09 Aug 2007 Posts: 1757 Location: Greece
  | 
		
			
				 Posted: Sun Mar 22, 2009 9:30 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				I found out the problem, it's a security issue...
 
Just do 'passwd dweebman' and enter your password (twice).
 
Webmin and useradd place the password in /etc/shadow in clear text.
 
You just need to encrypt your password.
 
It's recommended to add a user with adduser script and passwd $USER.
 
 
gerasimos_h _________________ Superb! Mini Server Project Manager
 
http://sms.it-ccs.com | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		baboo Senior Member
 
  Joined: 04 Sep 2007 Posts: 676
 
  | 
		
			
				 Posted: Sun Mar 22, 2009 9:40 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				okay, I did all that and tested with 'testsaslauthd -u dweebman -p password'
 
 
and it returned 'event not found' | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		gerasimos_h Site Admin
 
  Joined: 09 Aug 2007 Posts: 1757 Location: Greece
  | 
		
			
				 Posted: Sun Mar 22, 2009 9:41 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				Have you try to delete your user and recreate him?
 
 
gerasimos_h _________________ Superb! Mini Server Project Manager
 
http://sms.it-ccs.com | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		baboo Senior Member
 
  Joined: 04 Sep 2007 Posts: 676
 
  | 
		
			
				 Posted: Sun Mar 22, 2009 9:44 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				yes - that's what I meant, when I said I did all that.
 
 
adduser dweebman
 
 
passwd dweebman
 
 
new entry /etc/passwd:
 
 
dweebman:x:1006:100:,,,:/home/dweebman:/bin/bash | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		gerasimos_h Site Admin
 
  Joined: 09 Aug 2007 Posts: 1757 Location: Greece
  | 
		
			
				 Posted: Sun Mar 22, 2009 10:10 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				event not found it's bash error...
 
From where you run the command? Which user?
 
 
gerasimos_h _________________ Superb! Mini Server Project Manager
 
http://sms.it-ccs.com | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		baboo Senior Member
 
  Joined: 04 Sep 2007 Posts: 676
 
  | 
		
			
				 Posted: Sun Mar 22, 2009 10:14 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				| root | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		 |