Help answer threads with 0 replies.
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.


  Search this Thread
Old 03-23-2012, 07:31 AM   #1
Registered: Jun 2003
Location: Summit, NJ
Distribution: CentOS 5.4
Posts: 123

Rep: Reputation: 15
Thumbs down postfix rejects virtual user

Hello SolarisQ!

After adding a new virtual user called "request" to the virtual conf
file the user is rejected by the postfix server when you try to perform a telnet SMTP test:

[sysmail01:/data/home/dude] root% telnet localhost 25
Connected to localhost.
Escape character is '^]'.
220 ESMTP Postfix
HELO mail
250 2.1.0 Ok
550 5.1.1 <>: Recipient address rejected: User
unknown in virtual alias table

This is how virtual_maps is set in the main configuration file:

[sysmail01:/data/home/dude] root% grep virtual /etc/postfix/
virtual_maps = dbm:/etc/postfix/virtual
This is how the "request" user entry looks in the postfix virtual conf file:

[sysmail01:/data/home/dude] root% grep request /etc/postfix/virtual
#        owner_request_special
#               Give special treatment to owner-xxx and xxx-request       request
Postfix has been restarted after making the change to the virtual conf file. I'm not sure if 'newaliases' pertains to the virtual file (as well as the aliases file), but I ran that command as well just to be safe.

Here's the full postfix conf -n output:

[sysmail01:/data/home/dude] root% postconf -n
anvil_rate_bene_unit = 60s
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailbox_command = /opt/csw/bin/procmail
mailq_path = /usr/bin/mailq
manpage_directory = /usr/man
milter_default_action = accept
mydomain =
myhostname =
mynetworks =,,,,,,,,,,,
newaliases_path = /usr/bin/newaliases
proxy_interfaces =
queue_directory = /var/spool/postfix
readme_directory = no
sample_directory = /etc/postfix
sendmail_path = /usr/lib/sendmail
setgid_group = postdrop
smtpd_client_connection_count_limit = 50
smtpd_client_connection_rate_limit = 100
smtpd_client_event_limit_exceptions =
smtpd_client_message_rate_limit = 100
smtpd_client_recipient_rate_limit = 0
smtpd_client_restrictions = permit_mynetworks, reject_rbl_client
smtpd_milters = unix:/var/run/clamav/clamav-milter
unknown_local_recipient_reject_code = 550
The Maildir has been created in the home directory:

[sysmail01:/data/home/dude] root% ls -l /export/home/request/Maildir/
total 21
drwxr-xr-x   2 root     root           7 Mar 21 16:58 cur
-rw-r--r--   1 root     root       17408 Mar 21 16:58 dovecot.index.cache
-rw-r--r--   1 root     root        1004 Mar 21 16:58 dovecot.index.log
-rw-r--r--   1 root     root         376 Mar 21 16:58 dovecot-uidlist
-rw-------   1 root     root           8 Mar 21 16:58 dovecot-uidvalidity
-rw-------   1 root     root           0 Mar 21 16:58
drwxr-xr-x   2 root     root           5 Mar 21 16:58 new
-rw-------   1 root     root        1239 Mar 21 16:58 proclog
drwxr-xr-x   2 root     root           2 Mar 21 16:58 tmp
This is a solaris host.

[sysmail01:/data/home/dude] root% uname -a
SunOS sysmail01 5.10 Generic_141415-07 i86pc i386 i86pc
I'm not sure what I'm missing here. I'd appreciate any advice you may have in adding this user account to the postfix system.

Thank you
Old 03-23-2012, 03:04 PM   #2
Registered: Jun 2003
Location: Summit, NJ
Distribution: CentOS 5.4
Posts: 123

Original Poster
Rep: Reputation: 15
Postmap!!!! :d


postfix, solaris 10 x86

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Postfix setup ntl rejects mail linuxmandrake Linux - Server 4 10-22-2007 07:24 AM
how to forward mail to postfix virtual user justkeny2k Linux - Networking 7 12-22-2006 12:43 AM
Postfix and LDAP - Virtual User Question mephitic Linux - Software 0 10-04-2005 09:27 AM
Postfix Virtual User Passwords? jdavidow Linux - Software 1 03-26-2005 10:26 AM
Adding virtual user for Postfix hct224 Linux - Newbie 0 01-22-2004 12:47 PM

All times are GMT -5. The time now is 07:19 AM.

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