LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-08-2007, 08:08 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Failure on Test Virtual Mailbox Setup


Hi folks,


Ubuntu 7.04 server amd64
postfix 2.3.8


Following;
PostfixBasicSetupHowto
https://help.ubuntu.com/community/Po...asicSetupHowto

building a mail server which is now working.


Then I followed;
PostfixVirtualMailBoxClamSmtpHowto
https://help.ubuntu.com/community/Po...xClamSmtpHowto

continue to build Postfix virtual mailboxes. No complaint was found on each step performed.

domain1 = satimis.com
domain2 = satimis.changeip.net


$ cat /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

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

# 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

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = localhost
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = $myhostname
mydestination = mail.satimis.com, ubuntu.satimis.com, satimis.com, localhost.satimis.com, localhost.localdomain, localhost
relayhost = 
mynetworks = 127.0.0.0/8, 192.168.1.0/24
mailbox_command = 
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_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
home_mailbox = Maildir/
virtual_alias_maps = hash:/etc/postfix/virtual
# Specify your NAT/proxy EXTERNAL address here.
#proxy_interfaces = 220.232.213.178
proxy_interfaces = 1.2.3.4
virtual_alias_domains = satimis.com satimis.changeip.net

virtual_mailbox_domains = /etc/postfix/vhosts
virtual_mailbox_base = /home/vmail
virtual_mailbox_maps = hash:/etc/postfix/vmaps
virtual_minimum_uid = 1000
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
here I changed;
Code:
myhostname = localhost
from:
Code:
myhostname = ubuntu.satimis.com
I haven't made any change on /etc/hosts
Code:
$ cat /etc/hosts
127.0.0.1       localhost.localdomain   localhost
127.0.1.1       ubuntu.satimis.com      ubuntu

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

Re: Test Virtual Mailbox Setup

$ mail info@satimis.com
Code:
Subject: Test

Hi

satimis
.
Cc: stephen@satimis.com
user, stephen@satimis.com, receives the mail.

But I can't find /home/vmail/satimis.com
directory.

$ ls -al /home/vmail/
Code:
total 20
drwxr-xr-x  2 vmail vmail 4096 2007-11-08 18:56 .
drwxr-xr-x 11 root  root  4096 2007-11-08 18:56 ..
-rw-r--r--  1 vmail vmail  220 2007-11-08 18:56 .bash_logout
-rw-r--r--  1 vmail vmail 2298 2007-11-08 18:56 .bashrc
-rw-r--r--  1 vmail vmail  566 2007-11-08 18:56 .profile

$ sudo find / -name satimis.com -type d
No printout


Please advise where I have to check and how to fix the problem. TIA


B.R.
satimis
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Recipient address rejected: User unknown in virtual mailbox table Sleen Linux - Server 5 08-25-2007 01:09 AM
virtual mailbox with postfix shafey Linux - Networking 0 07-19-2006 02:16 AM
Courier-imap and Postfix Virtual Mailbox Domains ahSyd Slackware 0 05-26-2006 07:04 AM
postfix virtual mailbox namit Debian 1 12-16-2005 02:06 AM
Software Raid Setup Ok - Reboot fails on disk failure test ikke Linux - General 2 05-11-2003 06:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration