
3rd September 2007, 03:25
|
|
Member
|
|
Join Date: Jun 2007
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

3rd September 2007, 21:38
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
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.
|

3rd September 2007, 21:58
|
|
Member
|
|
Join Date: Jun 2007
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
duplicates
So do I need to remove all users from the virtualuserstable or leave it as is?
|

4th September 2007, 19:41
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
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).
|

8th September 2007, 20:01
|
|
Member
|
|
Join Date: Jun 2007
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

14th September 2007, 02:49
|
|
Member
|
|
Join Date: Sep 2007
Location: Vancouver, Canada
Posts: 93
Thanks: 3
Thanked 1 Time in 1 Post
|
|
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.
|

14th September 2007, 03:04
|
|
Member
|
|
Join Date: Jun 2007
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

14th September 2007, 03:34
|
|
Member
|
|
Join Date: Sep 2007
Location: Vancouver, Canada
Posts: 93
Thanks: 3
Thanked 1 Time in 1 Post
|
|
Sounds scary. I've been doing everything manually so far, so I might as well keep it that way.
|

14th September 2007, 18:30
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
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?
|

14th September 2007, 20:41
|
|
Member
|
|
Join Date: Sep 2007
Location: Vancouver, Canada
Posts: 93
Thanks: 3
Thanked 1 Time in 1 Post
|
|
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.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 21:33.
|
Recent comments
2 days 12 hours ago
2 days 21 hours ago
3 days 12 min ago
3 days 1 hour ago
3 days 2 hours ago
3 days 4 hours ago
3 days 5 hours ago
3 days 7 hours ago
3 days 23 hours ago
3 days 23 hours ago