email problem

7 posts / 0 new
Last post
#1 Fri, 02/27/2009 - 21:37
cbajomo@gmail.com

email problem

Hello every one

I was keep getting about email

i saw posting from joe but some thing i am not very clear how to fix

i am getting error when i try to add admin user

for admin@domain.com

Undefined subroutine & postfix::rebuild_map_cmd called at /usr/libexec/webmin/postfix/aliases

i love the fact virtualmin professional never gave me any problem but this is some thing i need to fix asap

I am also getting error on the forward email account the following error

his is the mail system at host ns2.domain.com.

I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can delete your own text from the attached returned message.

               The mail system

<webmin@ns2.domain.com>: unknown user: "webmin"

now my email can not send and received from my server

here configration check for postfix

Configuration Check
Postfix Version: 2.3.3

Hostname ns2.domain.com.com System Linux ns2.pcpluscomputing.com 2.6.18-92.1.18.el5 #1 SMP Wed Nov 12 09:30:27 EST 2008 i686 i686 i386 GNU/Linux

main.cf

non-default parameters alias_maps hash:/etc/aliases broken_sasl_auth_clients yes home_mailbox Maildir/ mailbox_command /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME mailq_path /usr/bin/mailq.postfix manpage_directory /usr/share/man mydestination $myhostname, localhost.$mydomain, localhost, ns2.pcpluscomputing.com newaliases_path /usr/bin/newaliases.postfix readme_directory /usr/share/doc/postfix-2.3.3/README_FILES sample_directory /usr/share/doc/postfix-2.3.3/samples sender_bcc_maps hash:/etc/postfix/bcc sendmail_path /usr/sbin/sendmail.postfix smtpd_recipient_restrictions permit_mynetworks permit_sasl_authenticated reject_unauth_destination smtpd_sasl_auth_enable yes virtual_alias_maps hash:/etc/postfix/virtual

main.cf

parameters defined as per defaults alias_database hash:/etc/aliases command_directory /usr/sbin config_directory /etc/postfix daemon_directory /usr/libexec/postfix debug_peer_level 2 html_directory no inet_interfaces all mail_owner postfix queue_directory /var/spool/postfix setgid_group postdrop smtpd_sasl_security_options noanonymous unknown_local_recipient_reject_code 550

master.cf

service type private unpriv chroot wakeup maxproc command + args inet pickup
fifo

n

-

n

60

1 pickup cleanup unix

n

-

n

-

0 cleanup qmgr
fifo

n

-

n

300

1 qmgr 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 relay
unix

-

-

n

-

- smtp -o 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 scache
unix

-

-

n

-

1 scache maildrop
unix

-

n

n

-

- pipe

old-cyrus
unix

-

n

n

-

- pipe

cyrus
unix

-

n

n

-

- pipe

uucp
unix

-

n

n

-

- pipe

ifmail
unix

-

n

n

-

- pipe

bsmtp
unix

-

n

n

-

- pipe

please advise

Post edited by: paulfromsurrey, at: 2009/02/27 21:52<br><br>Post edited by: paulfromsurrey, at: 2009/02/27 21:56

Sat, 09/01/2007 - 04:49
FilipeLacerda

Hello There :)

Have you tried to use SMTP Authentication ?

On the Outlook program, go to Tools &gt;Accounts &gt; Select account &gt; change properties... and in the Server's tab Select, My Server Requires Authentication.

that should help.

Filipe

Sat, 09/01/2007 - 07:54
cbajomo@gmail.com

I have checked it and changed the settings but now it doesn't accept my password. Also when I try and send an email to any of the users I created in my virtual server, I ger an email back with the following error &quot;User unknown in virtual alias table&quot;.

I have checked the virtual domain file for postfix and all the users are there. it also mapps the emails correctly for example charles@gamezgecko.co.uk is mapped to charles.gamezgecko@gamezgecko.co.uk. where &quot;charles&quot; is the user name, &quot;gamezgecko&quot; is the group and &quot;gamezgecko.co.uk&quot; is the domain.

Any one have any ideas?

Wed, 12/17/2008 - 05:07
andreychek

Hi there,

In cases where it doesn't work, what error are you seeing? What does it show in the mail logs -- either /var/log/maillog or /var/log/mail.log?
-Eric

Wed, 12/17/2008 - 05:54
neojordan

I have seen something strange. My website should send an email to contact@mydomain.com but it sends the email to apache@contact@mydomain.com or root@contact@mydomain.com

This only happens with de &quot;contact&quot; email. With others I have the next error:

postfix/error[31386]: 822B9158C59C: to=&lt;other@mydomain.com&gt;, relay=none, delay=0.19, delays=0.15/0.02/0/0.02, dsn=5.0.0, status=bounced (User unknown in virtual alias table).

I don't understand why I have errors from postfix and dovecot while I'm using google apps for my emails accounts and the emails are being sent using php. Dovecto, postfix, webmail, sendmail, qmail or others shouldn't show any error because I'm not using this services...

Fri, 02/27/2009 - 22:46
ronald
ronald's picture

when there is a problem with email, then first is to check DNS

MX A request returns CNAME
WARNING: MX records points to a CNAME.
CNAMEs are not allowed in MX records, according to RFC974, RFC1034 3.6.2, RFC1912 2.4, and RFC2181 10.3.
The problem MX record(s) are:
smtp.pcpluscomputing.com points to ['pcpluscomputing.com']
pop.pcpluscomputing.com points to ['pcpluscomputing.com']
This can cause problems

Error
MX is not IP
ERROR: Some of your MX records returned by your nameservers are IP addresses. This is not ok per the RFCs and you should change them.
The problem records are:
142.179.95.177
This can cause problems !

Sat, 02/28/2009 - 06:12 (Reply to #6)
andreychek

Yeah, that &quot;Undefined subroutine &amp;postfix::rebuild_map_cmd&quot; is a Webmin bug that shows up for a handful of folks. It's correctable with an update from webmin.com.

You can get more details on that here:

http://www.virtualmin.com/index.php?option=com_flyspray&amp;Itemid=82&am...

Topic locked