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
  #21  
Old 3rd September 2007, 03:25
Happy Happy is offline
Member
 
Join Date: Jun 2007
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Default duplicates

Quote:
Originally Posted by falko
Do you have duplicates in /etc/postfix/virtusertable?
There are no duplicates in the virtusertable. However, I entered them in webmin first so I am not sure why I got the warning
Reply With Quote
Sponsored Links
  #22  
Old 3rd September 2007, 21:38
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

I think the problem is that you use Webmin AND configure email addresses manually. Webmin has a different way to set up email addresses in Postfix than the method described here.
__________________
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
  #23  
Old 3rd September 2007, 21:58
Happy Happy is offline
Member
 
Join Date: Jun 2007
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Default duplicates

So do I need to remove all users from the virtualuserstable or leave it as is?
Reply With Quote
  #24  
Old 4th September 2007, 19:41
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

I don't know what Webmin has done, so I think it's best to reinstall the system and then opt for just one way of managing your system (either by hand or with a control panel like Webmin).
__________________
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
  #25  
Old 8th September 2007, 20:01
Happy Happy is offline
Member
 
Join Date: Jun 2007
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Default webmin

I just removed all users from virtualuserstable via webmin (no more duplicate warnings)and all is good, the mail server is up and running like a champ now. I want to thankyou for all your help. Another question ? I want to diasble root from telnet and also from acessing via webmin (https). I know I can turn root account to //bin/false to prevent this account from logging in via SSH on port 22. Now I need to figure out how to disable it in webmin (so it can not ;log in via the web interface). To me this is an open door as I have created another account that I use to administer the mail server with-any help would be great


Thanks

Happy
Reply With Quote
  #26  
Old 14th September 2007, 02:49
v2k v2k is offline
Member
 
Join Date: Sep 2007
Location: Vancouver, Canada
Posts: 93
Thanks: 3
Thanked 1 Time in 1 Post
Default

Is it necessary to create the user:

Code:
useradd -d /home/sample_user -g users sample_user
passwd sample_user
I skipped that step, and tried to use an already existing user?

No matter who I send mail to, mail returns no mail.

thanks,
Vince.
Reply With Quote
  #27  
Old 14th September 2007, 03:04
Happy Happy is offline
Member
 
Join Date: Jun 2007
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Default email woes

I would just use webmin to admin users add/remove/reset passwords check their mailbox etc

If you like to install and update Webmin via APT, edit the /etc/apt/sources.list file on your system and add the line : deb http://download.webmin.com/download/repository sarge contrib You will now be able to install with the commands : apt-get update
apt-get install webmin All dependencies should be resolved automatically.

Reply With Quote
  #28  
Old 14th September 2007, 03:34
v2k v2k is offline
Member
 
Join Date: Sep 2007
Location: Vancouver, Canada
Posts: 93
Thanks: 3
Thanked 1 Time in 1 Post
Default

Sounds scary. I've been doing everything manually so far, so I might as well keep it that way.
Reply With Quote
  #29  
Old 14th September 2007, 18:30
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
Originally Posted by v2k
Is it necessary to create the user:

Code:
useradd -d /home/sample_user -g users sample_user
passwd sample_user
I skipped that step, and tried to use an already existing user?
No, you don'T have to do that if the user's already existing.
Quote:
Originally Posted by v2k
No matter who I send mail to, mail returns no mail.
Any errors in your mail log?
__________________
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
  #30  
Old 14th September 2007, 20:41
v2k v2k is offline
Member
 
Join Date: Sep 2007
Location: Vancouver, Canada
Posts: 93
Thanks: 3
Thanked 1 Time in 1 Post
 
Default

right, I had a domain error in postconf, but that didn't fix it:

I ran some DNS tests on the mail server, and it seems to pass all the standard mail tests.

(i replaced my actual domain with MYDOMAIN)

Sep 14 11:30:41 MYDOMAIN sendmail[27225]: l8EIUfT1027225: from=root, size=41, class=0, nrcpts=1, msgid=<200709141830.l8EIUfT1027225@MYDOMAIN.com>, relay=root@localhost
Sep 14 11:30:41 MYDOMAIN postfix/smtpd[27226]: connect from localhost.localdomain[127.0.0.1]
Sep 14 11:30:41 MYDOMAIN postfix/smtpd[27226]: setting up TLS connection from localhost.localdomain[127.0.0.1]
Sep 14 11:30:41 MYDOMAIN postfix/smtpd[27226]: TLS connection established from localhost.localdomain[127.0.0.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
Sep 14 11:30:41 MYDOMAIN sendmail[27225]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
Sep 14 11:30:41 MYDOMAIN postfix/smtpd[27226]: 7E3EA31B02E3: client=localhost.localdomain[127.0.0.1], sasl_sender=root@MYDOMAIN.com
Sep 14 11:30:41 MYDOMAIN postfix/cleanup[27229]: 7E3EA31B02E3: message-id=<200709141830.l8EIUfT1027225@MYDOMAIN.com>
Sep 14 11:30:41 MYDOMAIN postfix/qmgr[28376]: 7E3EA31B02E3: from=<root@MYDOMAIN.com>, size=609, nrcpt=1 (queue active)
Sep 14 11:30:41 MYDOMAIN sendmail[27225]: l8EIUfT1027225: to=v2k@MYDOMAIN.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30041, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 7E3EA31B02E3)
Sep 14 11:30:41 MYDOMAIN postfix/local[27230]: 7E3EA31B02E3: to=<v2k@MYDOMAIN.com>, relay=local, delay=0.43, delays=0.2/0.01/0/0.23, dsn=2.0.0, status=sent (delivered to maildir)
Sep 14 11:30:41 MYDOMAIN postfix/qmgr[28376]: 7E3EA31B02E3: removed
Sep 14 11:30:42 MYDOMAIN postfix/smtpd[27226]: disconnect from localhost.localdomain[127.0.0.1]

Note, there are files in Maildir/new, but "mail" says I have no mail.
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


All times are GMT +2. The time now is 14:37.


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