Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » SMS User Support

Post new topic   Reply to topic
new server up and running Goto page 1, 2  Next
View previous topic :: View next topic  
Author Message
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Sun Mar 22, 2009 7:19 pm    Post subject: new server up and running Reply with quote

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
View user's profile Send private message
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Sun Mar 22, 2009 7:20 pm    Post subject: error message Reply with quote

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
View user's profile Send private message
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Sun Mar 22, 2009 7:34 pm    Post subject: Reply with quote

found blacklists in dansguardian but no matches to rejects.
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Sun Mar 22, 2009 7:52 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Sun Mar 22, 2009 8:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Sun Mar 22, 2009 8:56 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Sun Mar 22, 2009 9:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Sun Mar 22, 2009 9:20 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Sun Mar 22, 2009 9:25 pm    Post subject: Reply with quote

dweebman:x:500:100:Daniel Webb:/home/dweebman:/bin/sh
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Sun Mar 22, 2009 9:30 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Sun Mar 22, 2009 9:40 pm    Post subject: Reply with quote

okay, I did all that and tested with 'testsaslauthd -u dweebman -p password'

and it returned 'event not found'
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Sun Mar 22, 2009 9:41 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Sun Mar 22, 2009 9:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Sun Mar 22, 2009 10:10 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Sun Mar 22, 2009 10:14 pm    Post subject: Reply with quote

root
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » SMS User Support All times are GMT + 2 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional