From: "Прокопьев Евгений" <john@rmts.donpac.ru>
To: community@altlinux.ru
Subject: [Comm] Postfix + Maildrop + /etc/passwd
Date: Thu, 22 May 2003 13:48:10 +0400
Message-ID: <3ECC9CDA.70701@rmts.donpac.ru> (raw)
Здравствуте!
Все не так легко как я думал.
В main.cf написано
local_recipient_maps = $alias_maps, unix:passwd.byname,
hash:/etc/courier-imap/userdb
и
fallback_transport = maildrop
Почта доставляется пользователям, прописанным в только в
/etc/courier-imap/userdb, а вот пользователям из /etc/passwd она не
доставляется. Если на приходит с другого SMTP, то происходит следующее:
May 22 13:21:51 ugtovar postfix/smtpd[30245]: reject: RCPT from
rmts.donpac.ru[195.161.172.86]: 550 <tatiana@ugtovar.ru>: User unknown;
from=<john@rmts.donpac.ru> to=<tatiana@ugtovar.ru>
А приходящая локально просто зависает в очереди:
May 22 13:40:45 ugtovar postfix/pickup[30991]: 9CA5019B8: uid=0 from=<root>
May 22 13:40:45 ugtovar postfix/cleanup[31003]: 9CA5019B8:
message-id=<20030522094045.9CA5019B8@ugtovar.ru>
May 22 13:40:45 ugtovar postfix/qmgr[30992]: 9CA5019B8:
from=<root@ugtovar.ru>, size=275, nrcpt=1 (queue active)
Вот mailq:
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
9CA5019B8 * 275 Thu May 22 13:40:45 root@ugtovar.ru
tatiana@ugtovar.ru
-- 0 Kbytes in 1 Request.
Вот postconf -n:
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
allow_mail_to_commands = alias
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
default_privs = postman
default_transport = smtp
disable_vrfy_command = yes
fallback_transport = maildrop
local_recipient_maps = $alias_maps, unix:passwd.byname,
hash:/etc/courier-imap/userdb
mail_owner = postfix
mailbox_command = /usr/bin/maildrop-userdb -d $LOGNAME
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydestination = localhost, $myhostname, localhost.$mydomain,
$config_directory/mydestination
mynetworks = $config_directory/mynetworks
newaliases_path = /usr/bin/newaliases
notify_classes = policy,protocol,resource,software
queue_directory = /var/spool/postfix
readme_directory = /etc/postfix/README_FILES
sample_directory = /etc/postfix/samples
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_client_restrictions = permit_mynetworks, reject_unknown_client,
reject_invalid_hostname, reject_unknown_hostname,
reject_unknown_sender_domain, reject_non_fqdn_hostname,
reject_non_fqdn_sender
smtpd_etrn_restrictions = permit_mynetworks, reject
smtpd_helo_required = yes
smtpd_sender_restrictions = hash:/etc/postfix/access
Как бороться с пользователями из /etc/passwd, если не хочется
прописывать их в userdb?
--
С уважением, Прокопьев Евгений
next reply other threads:[~2003-05-22 9:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-22 9:48 Прокопьев Евгений [this message]
2003-05-22 10:36 ` Прокопьев Евгений
2003-05-22 12:00 ` Dmitry Lebkov
2003-05-23 4:51 ` Прокопьев Евгений
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3ECC9CDA.70701@rmts.donpac.ru \
--to=john@rmts.donpac.ru \
--cc=community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git