Status
Not open for further replies.

feronso

Active Member
208
2009
18
0
Hi,

I have installed Postfix, Dovecot as well SquirrelMail and configure them.

SMTP and POP3 Working fine. i Create a new user in webmin called "test" and change the login to /sbin/nologin

Through this user/password i can login in SquirrelMail but when i try to send email i got this error

Code:
Message not sent. Server replied:  Connection refused
111 Can't open SMTP stream

The /var/log/maillog

Dec 20 22:11:26 sd dovecot: pop3-login: Disconnected: user=<smtptest>, method=PLAIN, rip=::ffff:1.1.1.1, lip=::ffff:1.1.1.1, secured

Dec 20 22:12:42 sd dovecot: imap-login: Login: user=<test>, method=PLAIN, rip=::ffff:1.1.1.1, lip=::ffff:1.1.1.1, secured

Dec 20 22:12:42 sd dovecot: IMAP(test): Disconnected: Logged out
Also, i have created 5 virtualHost, every host have different domain but all have on same server within /home directory. and i installed SquirrelMail in the same /home directory but before all domains directories.

like:

/home/SquirrelMail
/home/domain1.com
/home/domain2.com

I make a another virtualHost for my one domain. and point the same domain subdomain to SquirrelMail directory. so it will load fine when i write "mail.domain1.com"

i would also want to know that how can i make emailID for every domain like test@domain1.com and test@domain2.com ?

Thanks
 
Last edited:
5 comments
in webmin you should be able to set alias-mail-adresses within postfix-config.
here a tutorial how to create users with mail
http://how-to.tcwebadmin.com/linux-server/how-to-setup-a-mail-user-in-webmin-dovecot-and-postfix/

sqirrelmail needs imap to work.
so check if you have imap installed.

to be able to login with multiple mail-accounts change your config of squirrel-mail (there it should be specified which domain is used by default)

after having checked if imap is installed, check if you listen to the imap-port.
if the server does this, it should work.

http://how-to.tcwebadmin.com/linux-server/how-to-setup-a-mail-user-in-webmin-dovecot-and-postfix/
 
Status
Not open for further replies.
Back
Top