On Tue, 29 Sep 2009 20:29:03 -0500
"/dev/rob0" <r...@gmx.co.uk> wrote:

RB> I am sorry about what happened here in this mail-list. I apologize.

> 
> If you do manage to come up with a real Postfix question in the
> future, please see this before posting again:
>     http://www.postfix.org/DEBUG_README.html#mail
> That way, you can give the list a smart question and hope for an
> informed answer.

RB>Err if I may be back to the topic, here's my problem:
1. I use OpenSuSE 11.1 and I created the local user account with YaST2
because I prefer YaST2 better then useradd.
2. This is my current 'main.cf':
"
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
data_directory = /var/lib/postfix
mail_owner = postfix
myhostname =  mail.mygoogle.com
mydomain = mygoogle.com
myorigin = $mydomain
inet_interfaces = all
unknown_local_recipient_reject_code = 550
mynetworks_style = host
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
debug_peer_level = 2
debugger_command =
         PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
         ddd $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = maildrop
html_directory = /usr/share/doc/packages/postfix-doc/html
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/packages/postfix-doc/samples
readme_directory = /usr/share/doc/packages/postfix-doc/README_FILES
inet_protocols = all
biff = no
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_alias_maps =
proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf,
mysql:/etc/postfix/mysql-virtual_email2email.cf virtual_alias_domains =
relocated_maps = hash:/etc/postfix/relocated transport_maps =
proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
sender_canonical_maps = hash:/etc/postfix/sender_canonical

masquerade_domains = mail.mygoogle.com www.mygoogle.com 
masquerade_exceptions = root

masquerade_classes = envelope_sender, header_sender, header_recipient
myhostname = sussy.mygoogle.com
delay_warning_time = 1h
message_strip_characters = \0
program_directory = /usr/lib/postfix
inet_interfaces = all
mydestination = sussy.mygoogle.com, localhost, localhost.localdomain
defer_transports = 
mynetworks_style = subnet
disable_dns_lookups = no
relayhost = 
mailbox_command = 
mailbox_transport = 
strict_8bitmime = no
disable_mime_output_conversion = no
smtpd_sender_restrictions = check_sender_access
mysql:/etc/postfix/mysql-virtual_sender.cf smtpd_client_restrictions =
check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
smtpd_helo_required = no smtpd_helo_restrictions = 
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated, check_recipient_access
mysql:/etc/postfix/mysql-virtual_recipient.cf,
reject_unauth_destination smtp_sasl_auth_enable = no
smtpd_sasl_auth_enable = yes smtpd_use_tls = yes smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000
mynetworks = 127.0.0.0/8
virtual_mailbox_domains =
proxy:mysql:/etc/postfix/mysql-virtual_domains.cf virtual_mailbox_maps
= proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /var/vmail virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_tls_security_level = may
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
virtual_create_maildirsize = yes
virtual_maildir_extended = yes
virtual_mailbox_limit_maps =
proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes virtual_maildir_limit_message =
"The user you are trying to reach is over quota."
virtual_overquota_bounce = yes proxy_read_maps = $local_recipient_maps
$mydestination $virtual_alias_maps $virtual_alias_domains
$virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps
$relay_domains $canonical_maps $sender_canonical_maps
$recipient_canonical_maps $relocated_maps $transport_maps $mynetworks
$virtual_mailbox_limit_maps maildrop_destination_concurrency_limit = 1
maildrop_destination_recipient_limit = 1 virtual_transport = maildrop
header_checks = regexp:/etc/postfix/header_checks mime_header_checks =
regexp:/etc/postfix/mime_header_checks nested_header_checks =
regexp:/etc/postfix/nested_header_checks body_checks =
regexp:/etc/postfix/body_checks content_filter =
amavis:[127.0.0.1]:10024 receive_override_options = no_address_mappings
".
And this is my current 'master.cf':
"
#
# Postfix master process configuration file.  For details on the format
# of the file, see the Postfix master(5) manual page.
#
#
==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100) #
==========================================================================
smtp      inet  n       -       n       -       -       smtpd
#submission inet n      -       n       -       -       smtpd
#       -o smtpd_etrn_restrictions=reject 
#       -o smtpd_client_restrictions=permit_sasl_authenticated,reject 
#smtps inet  n       -       n       -       -       smtpd -o
smtpd_tls_wrappermode=yes 
#  -o smtpd_tls_wrappermode=yes -o
smtpd_sasl_auth_enable=yes 
#submission   inet    n       - n       -       -       smtpd 
#  -o smtpd_etrn_restrictions=reject 
#-o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes 
#628      inet n       -       n       -       -       qmqpd pickup
fifo  n
-       n       60      1       pickup cleanup   unix  n       -
n       -       0       cleanup qmgr      fifo  n       -       n
300     1       qmgr 
#qmgr     fifo  n       -       n       300 1       oqmgr 
#tlsmgr    unix  -       -       n       1000?   1
tlsmgr rewrite   unix  -       -       n       -       -
trivial-rewrite bounce    unix  -       -       n       -       0
bounce defer     unix  -       -       n       -       0       bounce
trace     unix  -       -       n       -       0       bounce
verify    unix  -       -       n       -       1       verify
flush     unix  n       -       n       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
smtp      unix  -       -       n       -       -       smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX
loops relay     unix  -       -       n       -       -       smtp
        -o fallback_relay=
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix  n       -       n       -       -       showq
error     unix  -       -       n       -       -       error
discard   unix  -       -       n       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
anvil     unix  -       -       n       -       1       anvil
#localhost:10025 inet   n       - n     -       -
smtpd -o content_filter= scache unix    -       -
n       -       1       scache 
#
# ====================================================================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent.  See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop  unix  -       n       n       -       -       pipe
  flags=R user=vmail argv=/usr/bin/maildrop -d ${recipient}
${extension} ${recipient} ${user} ${nexthop} ${sender} cyrus
unix    -       n       n       -       -       pipe
user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -r ${sender} -m
${extension} ${user} uucp         unix  -       n
n       -       -       pipe flags=Fqhu user=uucp argv=uux -r -n -z
-a$sender - $nexthop!rmail ($recipient) ifmail    unix  -       n
n       -       -       pipe flags=F user=ftn
argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) bsmtp     unix
-       n       n       -       -       pipe flags=Fq. user=foo
argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient procmail
unix  -       n       n       -       -       pipe flags=R user=nobody
argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient}
retry     unix  -       -       n       -       -
error proxywrite unix   -       -       n       -
1       proxymap

amavis unix - - - - 2 smtp
        -o smtp_data_done_timeout=1200
        -o smtp_send_xforward_command=yes

127.0.0.1:10025 inet n - - - - smtpd
        -o content_filter=
        -o local_recipient_maps=
        -o relay_recipient_maps=
        -o smtpd_restriction_classes=
        -o smtpd_client_restrictions=
        -o smtpd_helo_restrictions=
        -o smtpd_sender_restrictions=
        -o smtpd_recipient_restrictions=permit_mynetworks,reject
        -o mynetworks=127.0.0.0/8
        -o strict_rfc821_envelopes=yes
        -o
receive_override_options=no_unknown_recipient_checks,no_header_body_checks
-o smtpd_bind_address=127.0.0.1
".
And this is my 'cyrus.conf':
"
# standard standalone server implementation

START {
  # do not delete this entry!
  recover       cmd="ctl_cyrusdb -r"

  # this is only necessary if using idled for IMAP IDLE
  idled         cmd="idled"
}

# UNIX sockets start with a slash and are put into /var/lib/imap/socket
SERVICES {
  # add or remove based on preferences
  imap          cmd="imapd" listen="imap" prefork=0
#  imaps                cmd="imapd -s" listen="imaps" prefork=0
  pop3          cmd="pop3d" listen="pop3" prefork=0
#  pop3s                cmd="pop3d -s" listen="pop3s" prefork=0
  sieve         cmd="timsieved" listen="sieve" prefork=0

  # at least one LMTP is required for delivery
#  lmtp         cmd="lmtpd" listen="lmtp" prefork=0
  lmtpunix      cmd="lmtpd" listen="/var/lib/imap/socket/lmtp"
  prefork=0

  # this is only necessary if using notifications
#  notify       cmd="notifyd" listen="/var/lib/imap/socket/notify"
  proto="udp" prefork=1 }

EVENTS {
  # this is required
  checkpoint    cmd="ctl_cyrusdb -c" period=30

  # this is only necessary if using duplicate delivery suppression
  delprune      cmd="cyr_expire -E 3" at=0400

  # this is only necessary if caching TLS sessions
  tlsprune      cmd="tls_prune" at=0400

  # Uncomment the next entry, if you want to automatically remove
  # old messages of EVERY user.
  # This example calls ipurge every 60 minutes and ipurge will delete
  # ALL messages older then 30 days.
  # enter 'man 8 ipurge' for more details

  # cleanup      cmd="ipurge -d 30 -f" period=60
}

".
3. The postfix and cyrus daemon can be launched:
"
sussy:/etc/postfix # rcpostfix status
Checking for service Postfix:                   running 
sussy:/etc/postfix # rccyrus status
Checking for service IMAP/POP3 (cyrus-imapd):   unused 
sussy:/etc/postfix # rccyrus start
Starting IMAP/POP3 service (cyrus-imapd)        done 
sussy:/etc/postfix # rccyrus status
Checking for service IMAP/POP3 (cyrus-imapd):   running 
sussy:/etc/postfix # 
".
4. I've opened TCP Port number 25 and 110 on my SuSEfirewall2:
"
[ri...@mandreev ~]$ nmap -PN mygoogle.com

Starting Nmap 4.76 ( http://nmap.org ) at 2009-09-30 23:31 WIT
Interesting ports on 202-127-97-122.triplegate.net.id (202.127.97.122):
Not shown: 943 filtered ports, 43 closed ports
PORT     STATE SERVICE
22/tcp   open  ssh
25/tcp   open  smtp
80/tcp   open  http
110/tcp  open  pop3
143/tcp  open  imap
389/tcp  open  ldap
3306/tcp open  mysql
5432/tcp open  postgresql
5801/tcp open  vnc-http-1
5802/tcp open  vnc-http-2
5901/tcp open  vnc-1
5902/tcp open  vnc-2
5903/tcp open  vnc-3
5989/tcp open  unknown

Nmap done: 1 IP address (1 host up) scanned in 130.59 seconds
[ri...@mandreev ~]$ 
".
5. In my understanding after I read postfix book, the user mailbox of
an email account is the mailbox of the linux account. So the mailbox of
'mail' uses is the same as which the Postfix access:
"
sussy:/etc/postfix # mail
No mail for root
".
6. But if I try to access the pop3 email account of mail.mygoogle.com
than my email client (evolution) always prompting for password although
I've typed-in the password of linux userlogin where my Postfix and
Cyrus reside. It means automatically the useraccount of linux account
and the Postfix email account are in separated boxes. 
So in my conclusion, Postfix uses separated (another) mailbox for an
email account. CMIIW.

Now my question is: How can I created a user account (or email account)
of Postfix?

Thank you very much in advance.

ps. I am sorry about the incidence where I was involved.

Reply via email to