Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #31  
Old 18th December 2006, 03:21
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
Default

Hi falko,

Quote:
I was thinking you had Postfix installed all the time...
Yes, except at the time I installed "sendmail". postfix was removed automatically because Ubuntu only allows one MTA. After testing I removed "sendmail" and reinstall "postfix". It came to the present situation.

Quote:
Any errors in your mail log?
$ tail -f /var/log/mail.err
Code:
Dec 18 09:04:49 #mail postfix/cleanup[5990]: fatal: open database /etc/postfix/virtusertable.db: No such file or directory
Dec 18 09:05:50 #mail postfix/cleanup[5996]: fatal: open database /etc/postfix/virtusertable.db: No such file or directory
Dec 18 09:06:51 #mail postfix/cleanup[5997]: fatal: open database /etc/postfix/virtusertable.db: No such file or directory
Dec 18 09:07:52 #mail postfix/cleanup[5998]: fatal: open database /etc/postfix/virtusertable.db: No such file or directory
Dec 18 09:08:53 #mail postfix/cleanup[5999]: fatal: open database /etc/postfix/virtusertable.db: No such file or directory
Dec 18 09:09:54 #mail postfix/cleanup[6010]: fatal: open database /etc/postfix/virtusertable.db: No such file or directory
Dec 18 09:10:39 #mail postfix/pickup[5953]: fatal: watchdog timeout
Dec 18 09:10:55 #mail postfix/cleanup[6011]: fatal: open database /etc/postfix/virtusertable.db: No such file or directory
Dec 18 09:11:56 #mail postfix/cleanup[6018]: fatal: open database /etc/postfix/virtusertable.db: No such file or directory
Dec 18 09:12:57 #mail postfix/cleanup[6019]: fatal: open database /etc/postfix/virtusertable.db: No such file or directory
$ tail -f /var/log/mail.log
Code:
Dec 18 09:10:40 #mail postfix/master[5000]: warning: /usr/lib/postfix/pickup: bad command startup -- throttling
Dec 18 09:10:55 #mail postfix/cleanup[6011]: fatal: open database /etc/postfix/virtusertable.db: No such file or directory
Dec 18 09:10:56 #mail postfix/master[5000]: warning: process /usr/lib/postfix/cleanup pid 6011 exit status 1
Dec 18 09:10:56 #mail postfix/master[5000]: warning: /usr/lib/postfix/cleanup: bad command startup -- throttling
Dec 18 09:11:56 #mail postfix/cleanup[6018]: fatal: open database /etc/postfix/virtusertable.db: No such file or directory
Dec 18 09:11:57 #mail postfix/master[5000]: warning: process /usr/lib/postfix/cleanup pid 6018 exit status 1
Dec 18 09:11:57 #mail postfix/master[5000]: warning: /usr/lib/postfix/cleanup: bad command startup -- throttling
Dec 18 09:12:57 #mail postfix/cleanup[6019]: fatal: open database /etc/postfix/virtusertable.db: No such file or directory
Dec 18 09:12:58 #mail postfix/master[5000]: warning: process /usr/lib/postfix/cleanup pid 6019 exit status 1
Dec 18 09:12:58 #mail postfix/master[5000]: warning: /usr/lib/postfix/cleanup: bad command startup -- throttling
Quote:
What's the output of
Code:
postfix check
?
# postfix check
No output

# ps aux | grep postfix
Code:
root      5000  0.0  0.1  19552  2020 ?        Ss   08:36   0:00 /usr/lib/postfix/master
postfix   5019  0.0  0.1  20588  1960 ?        S    08:36   0:00 pickup -l -t fifo -u -c
root      5028  0.0  0.1  29248  1164 ?        Ss   08:36   0:00 /usr/sbin/saslauthd -m /var/spool/postfix/var/run/saslauthd -r -a pam
root      5041  0.0  0.0  29248   744 ?        S    08:36   0:00 /usr/sbin/saslauthd -m /var/spool/postfix/var/run/saslauthd -r -a pam
root      5042  0.0  0.0  29248   676 ?        S    08:36   0:00 /usr/sbin/saslauthd -m /var/spool/postfix/var/run/saslauthd -r -a pam
root      5043  0.0  0.0  29248   676 ?        S    08:36   0:00 /usr/sbin/saslauthd -m /var/spool/postfix/var/run/saslauthd -r -a pam
root      5044  0.0  0.0  29248   676 ?        S    08:36   0:00 /usr/sbin/saslauthd -m /var/spool/postfix/var/run/saslauthd -r -a pam
postfix   5435  0.0  0.1  20624  1972 ?        S    08:37   0:00 qmgr -l -t fifo -u
root      5929  0.0  0.0   3944   900 pts/0    R+   08:44   0:00 grep postfix
Quote:
Do you have ISPConfig installed?
No.

# apt-cache show ispconfig
W: Unable to locate package ispconfig
E: No packages found

# dpkg -l | grep ispconfig
No printout.

Tks


B.R.
satimis
Reply With Quote
Sponsored Links
  #32  
Old 19th December 2006, 21:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

Please run
Code:
postmap hash:/etc/postfix/virtusertable
/etc/init.d/postfix restart
__________________
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
  #33  
Old 21st December 2006, 04:51
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
 
Default

Hi falko,

I have my problem solved. Mails can be sent arriving their destination as well.

/etc/postfix/main.cf
Code:
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache

myhostname = satimis.homelinux.com
mydomain = satimis.homelinux.com
alias_maps = hash:/etc/aliases
myorigin = $myhostname
mydestination = $myhostname, localhost.$mydomain, localhost
relayhost = [ndsmtp.netvigator.com]
mynetworks = 127.0.0.0/8, 192.168.0.0/24
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_type = cyrus

smtp_tls_note_starttls_offer = yes
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
mailbox_command =
home_mailbox = Maildir/
#virtual_maps = hash:/etc/postfix/virtusertable
Ubuntu allows only one MTA.

My ISP adds "nd" infront of "smtp.netvigator.com" made me suffered wating lot of time.

satimis.homelinux.com registered with dyndns.org/com also works without problem. It concludes my test on dynamic IP. Tks.

My next test will be on static IP. I'm now negotiating a plan with my ISP and I'm prepared to register a domain for further test. Tks again.


B.R.
satimis

Last edited by satimis; 21st December 2006 at 04:54.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Interface for installing SSL Intermediate Certificate LumpyOne Feature Requests 3 20th November 2006 21:28
errors on the end of the installing process tom Installation/Configuration 1 8th April 2006 02:56
Problems Installing in CentOS 4.2 fresh JLChafardet Installation/Configuration 3 31st March 2006 22:36
DDClient won't start deezone Installation/Configuration 1 1st February 2006 21:22
error while installing..... securitywonks Installation/Configuration 1 23rd December 2005 13:07


All times are GMT +2. The time now is 10:09.


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