Need help configure mail

Hi i need help to setup a mail server on my server (webmin virtualmin ) I'm realy dont understand how to fix this,( internal ) i can read the mail of the users. Example, i have a wordpress account but the problem is that it cant send mail to a new user when a new account is create ., also when i create a new account in virtualmin the mail will not send to the new user account his mailbox self ( i can read only in read user mail ) Who can help me to fix this. a have a handicap and cant concentrate on this how to fix. so i can send and receive mail from the server. i will very thank full if some one can and will help me, to fix this mail problem.

Sprokkel

Status: 
Active

Comments

First thing to check is what is recorded in the system logs at the time of mail delivery attempt. Take a look at /var/log/mail.log, and possibly - should it be a Wordpress problem - at /var/log/virtualmin/DOMAIN_access_log and ..._error_log.

And please tell us what exactly happens when Wordpress tries to send email. Screen output, other behavior, everything. Please be as specific as possible.

Hi Locutus , the problem is that i have setup some accounts in vitualmin, example when i create a other new account the mail will not send outside to the mailbox from the new user. i can read the mail only in,, read user mail (webmin ) im realy dont know how to fix this.
If im look in read usermail (root) i see the message /usr/share/sendmail/sendmail: 899: /usr/share/sendmail/sendmail: /usr/sbin/sendmail-msp: not found. I think i have to configure postfix or send mail ??? but how to do that.. I am hoping someone could give me the steps in how they would set up a e-mail server for a my server at home.

Howdy -- Email normally works out of the box on a Virtualmin server.

The steps you described above to create the accounts are typically all you'd need to perform... since that's not working, that may means you're seeing a problem of some sort, possibly a configuration issue, or maybe something related to your LAN.

The next step is to perform the troubleshooting steps that Locutus mentioned above -- you would need to look in the email logs in /var/log/mail.log to track where the email is going, as well as to verify that WordPress isn't generating any errors in the Apache logs.

The Support area here is for Virtualmin Pro customers though -- you would want to use the Forums in order to obtain support for setting up email on your server. We monitor the Forums, along with lots of wonderful folks in the community!

What I would recommend is to open a new Forum thread, and in there, explain that email isn't being received when sent by WordPress.

Then, in that same message, show what errors you see in the Apache error logs for that domain, $HOME/logs/error_log -- as well as what you see in the email logs in /var/log/mail.log.

If you're having problems accessing either of those logs, let us know what problems you're having specifically when you attempt to access those logs.

Hi, im just find out, that postfix is not good configuration, so where and how to start whit this, or make a installation for postfix ??? i really dont know where to start.

The best way to start would be to open a new Forum thread (using the Forums link above), and in that new Forum thread, provide 3 things --

  1. The exact problem that you're having

  2. Any messages or errors that you see in the email log when sending an email -- that's in /var/log/mail.log

  3. Post your current Postfix configuration -- you can determine that by running "postconf -n".

Since you're using Virtualmin GPL though, you'd want to post that in the Forums. Thanks!

Hi, The problem is that the mail will not send to a owner that have a new account on virtualmin, and have give a mail address to confirm a registration mail, the mail delivery go to intern (user mail ) i can read it in (servers (postfix read user email) the file /var/log/mail.log is empty i see nothing in this file.

this is the Postfix configuration

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 (Ubuntu) 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

readme_directory = no

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:${data_directory}/smtpd_scache smtp_tls_session_cache_database = btree:${data_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.

myhostname = itx-slp alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases mydestination = itx-slp, localhost.localdomain, , localhost, wdds.nl mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 mailbox_size_limit = 0 recipient_delimiter = + virtual_alias_domains = wdds.nl relayhost = mailbox_command = procmail -a "$EXTENSION" inet_interfaces = all inet_protocols = all

As Eric mentioned two times: This is the area for support requests in the Professional version. As a GPL user, you'd want to ask your questions in the FORUM.

And a hint for your FORUM post: Please enclose shell/file listings in [code][/code] tags, otherwise they become unreadable because linebreaks and monospace font gets lost.