postfix : User unknown in virtual alias table

What happens if you type:

postmap /etc/postfix/virtual

And then restart Postfix:

/etc/init.d/postfix restart

[root@fife postfix]# /usr/sbin/postmap /etc/postfix/virtual
[root@fife postfix]# /etc/init.d/postfix restart
Shutting down postfix: [ OK ]
Starting postfix: [ OK ]
[root@fife postfix]#

but mail is still not sending.

thanks

OH, hang on, let me test further

it appears I can send through webmail locally on the server

but not from Thunderbird on my PC
though strangely I can send to abuse@maryleishmanfoundation.com

cheers

what I can send to is an alias through webmail

but not an email account

cancel that, ;o(

thunderbird sent email but mail server bounced it back

his message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

abuse@maryleishmanfoundation.com

Apr 28 00:38:41 srv126 postfix/smtp[8998]: 381F416180B3: to=<brian@dafc.net>, orig_to=<bd@maryleishmanfoundation.com>, relay=mail.dafc.net[84.234.16.109]:25, delay=0.1, delays=0.06/0.01/0.02/0.01, dsn=5.0.0, status=bounced (host mail.dafc.net[84.234.16.109] said: 550-Verification failed for <brian.maryleishmanfoundation@maryleishmanfoundation.com> 550 Sender verify failed (in reply to RCPT TO command))
Apr 28 00:38:41 srv126 postfix/cleanup[8960]: 4E91B161834F: message-id=<20090427233841.4E91B161834F@fife.biz>

ther was a SMTP optin "disable SMFT verify command’ so I disabled that, but again no difference

I wonde rif it would work if I deleted the domain and reinstalled it ?

think I’m going nowhere fast with this :o(
any idea if this is a virtualmin or usermin problem ?

cheers Brian

any idea if this is a virtualmin or usermin problem ?

Neither. It’s a Postfix problem.

Also, this is a completely different problem than this thread was started to address. Starting a new one for your particular problem would make it easier for us to know what’s going on (I just tried going back to the start of the thread so I could figure out what’s happening, and found I was reading about completely different issues from completely different users).

thanks Joe.

sorry about the thread. the title is the same error (but i guess different solution)

ok, I’ll concentrate on looking into postfix

hello i am e newbie for linux server.

i ave a problem with postfix virtualname.
i use debian/postfix/procmail/dovecot/spamassassin/clamav

(i ave now read the topic of clamav and killed it… not work correctly)
today i receive the email not correctly.

[code:1]
Received: from FBCMMI01B05.fbc.local ([192.168.69.34]) by FBCMST11V02.fbc.local with Microsoft SMTPSVC(6.0.3790.3959);
Sun, 16 Nov 2008 17:01:36 +0100
Received: from FBCMMX01B02.fbc.local ([192.168.69.31]) by FBCMMI01B05.fbc.local with Microsoft SMTPSVC(6.0.3790.1830);
Sun, 16 Nov 2008 17:05:01 +0100
Received: from mail.serverkreos.com ([62.141.50.233]) by FBCMMX01B02.fbc.local with Microsoft SMTPSVC(6.0.3790.3959);
Sun, 16 Nov 2008 17:05:04 +0100
Received: by mail.serverkreos.com (Postfix, from userid 1009)
id D183966C6C5; Sun, 16 Nov 2008 17:05:01 +0100 (CET)
From: "Informazioni" <info.giocamper-eu@serverkreos.com>
Subject: test
To: grananni@alice.it
Cc:
X-Originating-IP: 87.3.190.43
X-Mailer: Usermin 1.360
Message-Id: <1226851501.5020@serverkreos.com>
Date: Sun, 16 Nov 2008 17:05:01 +0100 (CET)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="bound1226851501"
Return-Path: info.giocamper-eu@serverkreos.com
X-OriginalArrivalTime: 16 Nov 2008 16:05:04.0675 (UTC) FILETIME=[1686F730:01C94805][/code:1]

info.giocamper-eu@serverkreos.com
(info@giocamper.eu)

info.sayen@serverkreos.com
(info@planetgate.org)

info.difesatributaria@serverkreos.com
(info@difesatributaria.it)

ecc… that’s for all virtual client

this is my main.cf

[code:1]

See /usr/share/postfix/main.cf.dist for a commented, more complete version

Debian specific: Specifying a file name will cause the first

line of that file to be used as the name. The Debian default

is /etc/mailname.

#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
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/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.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.

alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myhostname= mail.serverkreos.com
mydomain = serverkreos.com
#myorigin = $mydomain
mydestination = $mydomain, localhost.$mydomain, localhost, mail.serverkreos.com

mynetworks = 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
virtual_alias_maps = hash:/etc/postfix/virtual
smtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination
unknown_local_recipient_reject_code = 450
#myhostname = www.serverkreos.com
[/code:1]

this my /etc/postfix/master.cf

[code:1]

Postfix master process configuration file. For details on the format

of the file, see the master(5) manual page (command: "man 5 master"«»).

==========================================================================

service type private unpriv chroot wakeup maxproc command + args

(yes) (yes) (yes) (never) (100)

==========================================================================

smtp inet n - - - - smtpd
#submission inet n - - - - smtpd

-o smtpd_enforce_tls=yes

-o smtpd_sasl_auth_enable=yes

-o smtpd_client_restrictions=permit_sasl_authenticated,reject

#smtps inet n - - - - smtpd

-o smtpd_tls_wrappermode=yes

-o smtpd_sasl_auth_enable=yes

-o smtpd_client_restrictions=permit_sasl_authenticated,reject

#628 inet n - - - - qmqpd
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - - 300 1 oqmgr
tlsmgr unix - - - 1000? 1 tlsmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
trace unix - - - - 0 bounce
verify unix - - - - 1 verify
flush unix n - - 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - - - - smtp

When relaying mail as backup MX, disable fallback_relay to avoid MX loops

relay unix - - - - - smtp
-o fallback_relay=

-o smtp_helo_timeout=5 -o smtp_connect_timeout=5

showq unix n - - - - showq
error unix - - - - - error
discard unix - - - - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - - - - lmtp
anvil unix - - - - 1 anvil
scache unix - - - - 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=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}

See the Postfix UUCP_README file for configuration details.

uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)

Other external delivery methods.

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=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman unix - n n - - pipe flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop} ${user}
[/code:1]
please help me.
grananni@alice.it