ispCP - Board - Support
Mail Problem: unknown user: "test" - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Mail Problem: unknown user: "test" (/thread-830.html)

Pages: 1 2


RE: Mail Problem: unknown user: "test" - wb6vpm - 01-04-2008 03:14 AM

what was the resolution to this problem, as i have the same problem, and when i search for "unknown user" this seems to be the only relevant thread.


RE: Mail Problem: unknown user: "test" - wb6vpm - 01-04-2008 03:17 AM

(and please, response in noob terms)

also, the OS is Fedora 7


RE: Mail Problem: unknown user: "test" - joximu - 01-04-2008 07:35 AM

Do you have more infos?
Logfiles?
ispcp version (when/what did you download)

Regards Joximu


RE: Mail Problem: unknown user: "test" - wb6vpm - 01-04-2008 07:46 AM

more info, heres the details.txt file:

Reporting-MTA: dns; ispcp
X-Postfix-Queue-ID: D66CE4B38C4A
X-Postfix-Sender: rfc822; mikeo at blah blah (me)
Arrival-Date: Thu, 3 Jan 2008 16:56:04 +0000 (UTC)

Final-Recipient: rfc822; wb6vpm at blah blah (server)
Original-Recipient: rfc822;wb6vpm at blah blah (server)
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: "wb6vpm"

logfiles: tell me what u want, ill get em for you (sorry i cant be more help, kinda noobish at this)

ispcp ver: sometime in september as i recall

any other questions, please dont hesitate to ask and i will try to provide answers as quickly as possible


RE: Mail Problem: unknown user: "test" - joximu - 01-04-2008 07:52 AM

Hi

ok, please post the output of "postconf -n".

Please also have a lok in /etc/postfix/ispcp/mailboxes and see if your mail address is there.

The logfiles should be in /var/log/mail.info or mail.err or something mail.* - maybe you find som relevant lines there which might help...

/Joximu


RE: Mail Problem: unknown user: "test" - wb6vpm - 01-04-2008 08:10 AM

postconf -n
Quote:alias_database = hash:/etc/aliases
append_at_myorigin = yes
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
inet_interfaces = all
local_destination_recipient_limit = 1
local_recipient_maps = unix:passwd.byname $alias_database
local_transport = local
mail_spool_directory = /var/mail
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = $myhostname, $mydomain
mydomain = dodgeintrepidchat.net
myhostname = ispcp
mynetworks_style = host
myorigin = $mydomain
setgid_group = postdrop
smtpd_banner = $myhostname ISPCP 1.0 Priamos Managed ESMTP 1.0.0 RC3 OMEGA
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
transport_maps = hash:/etc/postfix/ispcp/transport
virtual_alias_maps = hash:/etc/postfix/ispcp/aliases
virtual_gid_maps = static:12
virtual_mailbox_base = /var/mail/virtual
virtual_mailbox_domains = hash:/etc/postfix/ispcp/domains
virtual_mailbox_limit = 0
virtual_mailbox_maps = hash:/etc/postfix/ispcp/mailboxes
virtual_minimum_uid = 3001
virtual_transport = virtual
virtual_uid_maps = static:3001
[root@www ~]#

yes the email address is in /etc/postfix/ispcp/mailboxes

maillog:
Quote:Jan 3 08:56:05 ispcp postfix/local[20788]: D66CE4B38C4A: to=<wb6vpm at blah blah blah server>, relay=local, delay=0.29, delays=0.28/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "wb6vpm")



RE: Mail Problem: unknown user: "test" - joximu - 01-04-2008 08:22 AM

There is another test command:

sendmail -bv email@address.com

with the address which makes problems... then the user root gets an email with more information...

Can you check if /var/mail/virtual/domain/user does exist...

Maybe the "myhostname" should not only be ispcp but maybe mail.yourservername.com or similar... (not the same as mydomain and not a domain name of the customers...)

/J


RE: Mail Problem: unknown user: "test" - wb6vpm - 01-04-2008 08:47 AM

sendmail -bv wb6vpm@blah blah blah server
Quote:[root@www sysconfig]# sendmail -bv wb6vpm@blah blah blah server
wb6vpm@blah blah blah server... User unknown
[root@www sysconfig]#


/var/mail/virtual/blah blah blah server/wb6vpm does exist

changed hostname to mail.blah blah blah server


RE: Mail Problem: unknown user: "test" - wb6vpm - 01-04-2008 08:49 AM

am restarting the entire box, to see if that helps. (cuase even after changing hostname, it still gave same error as above)


RE: Mail Problem: unknown user: "test" - wb6vpm - 01-04-2008 08:57 AM

ok, with reboot, the sendmail -bv wb6vpm@blah blah server i get this:

Quote:[root@mail ~]# sendmail -bv wb6vpm@dodgeintrepidchat.net
wb6vpm@dodgeintrepidchat.net... deliverable: mailer esmtp, host dodgeintrepidchat.net., user wb6vpm@dodgeintrepidchat.net
[root@mail ~]#

but i still get an error when i try to send to it