Plesk 12.x / Linux :: Postfix Configuration - Error Regarding Host Name And Virtual Domains

May 21, 2015

I run a virtual server (Ubuntu 12.04, Plesk 12, Postfix 2.9.6) using plesk to manage multiple domains. The server address is server.domain1.com. I use plesk to also manage domain1.com regarding all services, including DNS and mail.

What I just found is that postfix sometimes issues the following warning:

server postfix/trivial-rewrite[7397]: warning: do not list domain server.domain1.com in BOTH mydestination and virtual_alias_domains

The essential part of my main.cf is:
myhostname = server.domain1.com
mydestination = localhost.$mydomain, localhost.localdomain, localhost
virtual_mailbox_domains = $virtual_mailbox_maps, hash:/var/spool/postfix/plesk/virtual_domains
virtual_alias_maps = $virtual_maps, hash:/var/spool/postfix/plesk/virtual
virtual_mailbox_maps = , hash:/var/spool/postfix/plesk/vmailbox
virtual_transport = plesk_virtual

And /var/spool/postfix/plesk/virtual_domains contains amongst others:

domain1.com domain1.com/

I do not have any issues with receiving or sending e-mails right now, but would like to get rid of the error message however.

Could it be the problem that postfix automatically sets mydomain to $myhostname with skipping the first part (i.e., mydomain is implicitly set to domain1.com)? Should I manually set mydomain to server.domain1.com instead? Any other recommendations? Since mydomain seems to be used in multiple options [URL] ..., I wonder what I might destroy with changing this? As all mail services run without any further troubles at the moment, I don't want to break this...

As I assume that quite some people use a plesk-based server to manage the domain to which the server itself belongs to, I would assume that there should be a general fix/check to updated mydomain accordingly?

View 3 Replies


ADVERTISEMENT

Plesk 12.x / Linux :: Reset Postfix Configuration?

Apr 23, 2015

Reset postfix configuration in plesk 12? I have some misconfiguration on smtp banner and hostname so I prefer to reset all.

View 6 Replies View Related

Plesk 11.x / Linux :: Spamassassin Is Not Used For Domains In Postfix Transport Maps

Jun 5, 2014

I have one specific domain being to another SMTP server via Postfix transport_maps.

This works great, apart from Spam check not working anymore, Spamassassin is not being called for the domain.

Is there any configuration to have Spamassassin check email before it is routed via transport_maps?

View 3 Replies View Related

Plesk 11.x / Linux :: VPS With Multiple Domains - Mail Loops Back On Itself (postfix)

Nov 12, 2014

The VPS has 16 domains running on it, all with different web addresses and their own email accounts etc.

It's a Linux server and is running postfix for the mail. The main website on this domain has the mail service disabled because we have an exchange service on our own server here in the building where we work. Now when anyone on any of our domains on the VPS try to email us at 'maincompany.com' they get the following error message:

This is the mail system at host <vps address>.

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

<stevew@maincompany.com>: mail for maincompany.com loops back to myself...

View 3 Replies View Related

Plesk 12.x / Linux :: Postfix - Fatal Error Permission Denied

Jan 5, 2015

This is a fresh plesk12 installation on a kvm vps on centos 6.6

We used the migration and transfer tool to copy data from another server. After the full migration without changing any setting from the configuration files, any mail account hosted on this server cannot receive emails.

Here is the error from the log file:

Jan 5 14:58:16 postfix/pipe[10082]: 9B1651C296D: to=<user@mydomain.com>, relay=plesk_virtual, delay=312, delays=312/0.03/0/0.16, dsn=4.3.0, status=deferred (temporary failure. Command output: pipe: fatal: pipe_command: execvp /usr/lib64/plesk-9.0/postfix-local: Permission denied )

Same error using either webmail or mail client. I have also tried to change from postfix to qmail and vice versa but without any success...

View 2 Replies View Related

Plesk 12.x / Linux :: Postfix Apt-get Unmet Dependencies Error During Installation

May 27, 2015

I got and apt-get dependencies error while installing Postfix. At the end the log told me, to ask for free support - thats what I am trying to get here.

My system is Debian Wheezy with Plesk 12.0.18

How can I re-enable my Postfix?

View 5 Replies View Related

Plesk 11.x / Linux :: Postfix / Cleanup Milter Service Error

Jul 9, 2013

I have tried installing Parallels Premium Outbound AntiVirus, but uninstalled it again. The postfix mail server was working before uninstalling. Now I get the following errors:

Code:

Milter reject: 4.7.1 Service unavailable - try again later;
Jul 9 22:17:02 sl1 postfix/cleanup[9308]: warning: connect to Milter service unix:/ctmilter/ctmilter.sock: No such file or directory

This means no mail goes in or out of the system.

When viewing Plesk pannel, everything seems alright.

View 14 Replies View Related

Plesk 12.x / Linux :: Multiple Maillog Error Messages - Postfix

Mar 31, 2015

Plesk 12 is used, latest #MU on CentOS 6.5 final.

Maillog is full of messages like:

Mar 31 14:56:52 hosting plesk sendmail[1177]: _mh_fork(): Error occured during waiting the child process with pid: 1178: No child processes
Mar 31 14:56:52 hosting plesk sendmail[1177]: Error during 'check-quota' handler
Mar 31 14:56:52 hosting plesk sendmail[1177]: Unable to get sender domain by sender mailname

[Code]....

View 1 Replies View Related

Plesk 12.x / Windows :: Error (String Was Provided For Unescaped Parameter Host) In IP Configuration

Jun 27, 2014

I recently upgraded from Plesk 11.5 to 12.0. I also just got an extra IPv4-address for my server (provider is Strato), unfortunately I have some problems with adding it to Plesk.

The IP should be assigned automatically through DHCP, but when I did a Reread IP in Plesk, nothing happened. I tried to manually add the IP, but then Plesk manually configured it and I lost the IPv4-connectivity (IPv6 kept working though).

Now when I want to remove the IP, I get the following error:

Is this a bug or a problem with my specific configuration?

View 3 Replies View Related

Plesk 12.x / Linux :: Upgrade 10.4.4 - Postfix Queue File Write Error

Jan 29, 2015

I just upgraded our Plesk 10.4.4 to 12.0.18 (on Ubuntu 10.04, about to be upgraded to 12.04). Now I get the dreaded 'queue file write error' in postfix on message delivery.

It tries to open /usr/lib/plesk-9.0/postfix-queue (which is not there) in this block in master.cf:

Code:

plesk_virtual unix - n n - - pipe flags=DORhu user=popuser:popuser argv=/usr/lib/plesk-9.0/postfix-local -f ${sender} -d ${recipient} -p /var/qmail/mailnames
127.0.0.1:10025 inet n n n - - spawn user=mhandlers-user argv=/usr/lib/plesk-9.0/postfix-queue 127.0.0.1 10027 before-queue
127.0.0.1:10026 inet n - - - - smtpd -o smtpd_client_restrictions= -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o smtpd_data_restrictions= -o receive_override_options=no_unknown_recipient_checks
127.0.0.1:10027 inet n n n - - spawn user=mhandlers-user argv=/usr/lib/plesk-9.0/postfix-queue 127.0.0.1 10026 before-remote
plesk_saslauthd unix y y y - 1 plesk_saslauthd status=5 listen=6 dbpath=/plesk/passwd.db

And on top of that, If disable all the milters/proxy and just try to deliver to plesk_virtual directly, the e-mail just disappears. Postfix thinks it was delivered, but it is not.

I also tried piping some text through /usr/lib/plesk-9.0/postfix-local with the same parameters postfix gives it, but also then nothing. No error, no exit code, no message in maildir.

There are a bunch of fixes around for the queue file write error, but nothing works because the nature of my problem is different. There is a KB article around for Plesk 9, which can hardly be useful.

I tried restoring postfix-queue from the backups, but if I try to use that, the mail.log eventually says:

Code:

Jan 30 01:20:00 ytechosting /usr/lib/plesk-9.0/psa-pc-remote[6621]: Message aborted.

I also used /usr/local/psa/admin/sbin/mchk to no avail: the only change it makes to my master.cf, is adding an empty line. And, I suspect it uninstalled my psa-courier, because it was gone at some point, and mchk was the only thing I did after knowing courier was still there.

How can the postfix config refer to that postfix-queue when it's not there? Is this even a valid master.cf file for Plesk 12?

View 13 Replies View Related

Plesk 12.x / Linux :: Configuration File Error

Jun 25, 2015

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Parallels Plesk Panel 12.0.18 MU #51 CentOS 6.6 (Final)

PROBLEM DESCRIPTION
The following error has started to appear on our server: New configuration files for the Apache web server were not created due to the errors in configuration templates: Template processing failed: file = /usr/local/psa/admin/conf/templates/default/nginxDomainVhost.php, error = Template_Exception: Empty content was provided for config file /var/www/vhosts/system/domain/conf/nginx.conf file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php line: 47 code: 0. Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files.

STEPS TO REPRODUCE
Appears on the plesk home page

ACTUAL RESULT
Error displaying as above

EXPECTED RESULT
No error should be displaying, I haven't seen this before and we didn't receive an email with error descriptions. Is it safe to regenerate the broken config files / all of them? t

View 2 Replies View Related

Plesk 11.x / Linux :: Error When Changing Nginx Configuration

Jun 5, 2014

I have following problem when I try to cange the configuration file for Nginx in Plesk.

Details:

- Using Wordpress
- vServer
- PHP is handled through Nginx
- Memcached is enabled

To use the caching plugin "Cachify" in combination with memcached, the nginx configuration file must be edited. Following config should be used:

Code:

## GZIP
gzip_static on;
## CHARSET
charset utf-8;
## INDEX LOCATION
location / {
error_page 405 = @nocache;

[Code] ....

When I try to save the new config, following error appears:

Invalid nginx configuration: nginx: [emerg] duplicate location "/" in /var/www/vhosts/systemmydomain/conf/vhost_nginx.conf:8 nginx: configuration file /etc/nginx/nginx.conf test failed

How can I use the necessary configuration? I used google before, but some people said, that the server templated needs to be edited?

View 1 Replies View Related

Plesk 12.x / Linux :: Migration Between Servers - Error With DNS Configuration

Feb 18, 2015

Yesterday I migrated a domain with the migration tool from a Debian 7.6 Plesk 12.0.18 MU35 box to a Debian 7.6 Plesk 12.0.18 MU35 box

This domain have a simple DNS configuration. The A registry for the domain.com was an own IP instead the IP of the server. Rest of the DNS configuration was the same.

After migration the A registry for the domain.com was an own IP too (as expected) but also the A registry for mail.domain.com

Before migration, in the old server:

A domain.com x.x.x.x (own ip)
A mail.domain.com y.y.y.y (server ip)

After migration, in the new server:

A domain.com x.x.x.x
A mail.domain.com x.x.x.x

The migration had changed the IP for mail.domain.com for the IP of the A registry for domain.com

Very strange. I double-checked it (as the domain in the "old" server was suspended)

Client don“t have access to the control panel, so no changes done.

View 4 Replies View Related

Plesk 12.x / Linux :: Postfix CPU Usage Increases Then Postfix Doesn't Answer

Jul 2, 2014

My issue started ince a couple of months seemed to increase with update to Plesk 12.0 (though I can't guarantee it).I am using Centos 6.5, all updated. What happens is that postfix usage starts to increase without any apparent reason (during week-ends for example). Then postfix is not responding anymore.

Code:
top - 13:27:13 up 3 days, 18:44, 0 users, load average: 0.73, 0.33, 0.32
Tasks: 238 total, 2 running, 236 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.3%us, 0.6%sy, 0.1%ni, 98.7%id, 0.3%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 32917292k total, 8982212k used, 23935080k free, 1899416k buffers
Swap: 1046520k total, 0k used, 1046520k free, 4905884k cached

[code]....

View 1 Replies View Related

Plesk 11.x / Linux :: Unable To Generate Web Server Configuration File On Host

Jun 25, 2014

version: Parallels Plesk Panel v11.5.30_build115130819.13
os: centos 6.5 (final)

I recently received this messsage from in my mailbox "Unable to generate the web server configuration file on the host <nsxxxxxxx.ovh.net>" which is coming now every hour for 4 days now.

I first tried to regenerate an apache conf file with the magic on my Centos 6:

# /usr/local/psa/admin/sbin/httpdmng --reconfigure-all

but it gives me this output:

Execution failed.
Command: httpdmng
Arguments: Array
(
[0] => --reconfigure-server
[1] => -no-restart

[Code] .....

At line 10 in my server.conf file I have a bunch of ipv6 address that looks like this:

NameVirtualHost xx.xx.x.xx:80
NameVirtualHost [xxxx:xxxx:8:5b11::1000]:80
NameVirtualHost [xxxx:xxxx:8:5b11::1001]:80
NameVirtualHost [xxxx:xxxx:8:5b11::1002]:80

[Code] ....

View 2 Replies View Related

Plesk 12.x / Linux :: Unable To Generate Web Server Configuration File On Host

Jul 28, 2014

After the last update, I get this error:

Unable to generate the web server configuration file on the host <xxx.de> because of the following errors:

Template_Exception: nginx: [emerg] PEM_read_bio_X509_AUX("/usr/local/psa/var/certificates/certRHXRsQy") failed (SSL: error:0906D064EM routinesEM_read_bio:bad base64 decode)
nginx: configuration file /etc/nginx/nginx.conf test failed

file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0

Please resolve the errors in web server configuration templates and generate the file again.

the websites of my customer are not reachable now....

View 2 Replies View Related

Plesk 12.x / Linux :: Error When Creating Domains?

May 15, 2015

since yesterday I'm receiving this errors on some website: see attachment

View 2 Replies View Related

Apache :: Setting Up Domains And Subdomains - Virtual Host

May 31, 2014

I am trying to set up domains and subdomains, on my webserver, however the domains are resolving, but when accessing a subdomain I get a 500 internal server error, permissions on files are the same on both domain and sub domain level.

My virtual host files looks like this for domains and for the subdomains, and I am using Apache 2.4.7, on an ubuntu 14.04 running on a rackspace cloud server.

Domains:

<virtualhost *:80>
ServerAdmin mail@mail.mail
ServerName domain.com
ServerAlias www.domain.com

[Code] ....

Why it works on domains, and not the subdomains?

View 1 Replies View Related

Plesk 11.x / Linux :: Login Redirects From Other Domains To Host Domain

Aug 1, 2014

My problem is, when I attempt to access a seperate webspace's control panel login through webspace2.com:8443 it automatically redirects me to https://hostname.com:8443.

If however I go to https://webspace2.com:8443 this redirect does not happen and I can log straight in through this domain.

Ideally I need to keep these domains separate and need to remove this non-https redirect that is currently happening.

View 1 Replies View Related

Plesk 12.x / Linux :: Health Monitor Error - Unable To Load Configuration File

Apr 27, 2015

I have a one problem in my server . I use in Parallels Plesk v12.0.18_build1200140606.15 os_CentOS 6 I vps in systemOS CentOS6.6 Final Minimal and installing plesk health monitor show error in :

{"status":"error","statusMessages":[{"status":"error","class":"","content":"Unable to load configuration file.

And I try the command

/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/scripts/setup-health-monitor.php

output problem is :

Error: Unable to read /proc/partitions

View 11 Replies View Related

PostFix Configuration ...

Aug 1, 2008

I recently moved to a VPS and installed Postfix onto it as my mail server. But I have following problems with its consistent working:

1. I experience that every now and then (once in 2 weeks) , it stops sending mails and put them in the mail queue with the following error:

Host or domain name not found. Name service error for name= type=MX: mysite.com not found, try again

I am not sure why it says so. However if I try to restart my mail server /etc/init.d/postfix restart and then try to flush the mails out of queue they are sent successfully. I am not sure where the problem is.

2. Secondly, I see that the header of my mails contains the hostname of my VPS machine "gospel" which is ofcourse not intended. How can I have my domain name in the mail headers?

View 1 Replies View Related

POSTFIX Installation/configuration

Sep 23, 2009

Does anyone know of a good postfix tutorial?

I'm having trouble getting it to work on my server.

I'm using Ubuntu 8.10.

I have a working SMTP but I need POSTFIX for php mail()

View 9 Replies View Related

Includes In Postfix Configuration

Feb 8, 2007

I have my postfix server configured to allow me to send email without authentication whenever my ip matches a value in my config. Only problem is, i have it open to accept anyone in my subnet, and i'm kind of weary of letting anyone in this area send mail through it.

I have a script on my server that gets my ip address whenever i send an http-based request to my winamp now playing script. When it gets my ip address, it updates a file called ip.txt with my ip address. What i'm trying to do is config my postfix main.cf file to grab the ip from ip.txt, and add it onto the mynetworks variable. Then when i try to send the email, i want it to recognize me, and let me send the email.

View 2 Replies View Related

Plesk 12.x / Linux :: Bind SSL To IP In Postfix

Dec 6, 2014

I would like each of my clients who have a dedicated IP address and an SSL certificate to be able to use their own domain name (and own certificate) when sending mail on ports 465 or 587. I have managed to change the default certificate used by Postfix to my own server's certificate, but I want users to use their OWN IP address and SSL certificate when sending, so this is not an option.

I have been able to update Dovecot to use a specific certificate for each IP address, but I can't seem to update Postfix. I was trying to follow these instructions but my postfix master.cf was quite different than the poster's file and I didn't succeed: [URL] ....

I know many people will simply say "it can't be done" or "just get the users to use the shared IP address", but I know there must be some workaround to make this work, even if it means manually updating the config file after every Plesk update. I'm even prepared (if possible) to have Plesk abandon management of Postfix and have me manage it manually, if that's even an option.

View 1 Replies View Related

Plesk 12.x / Linux :: Postfix No Mail

Aug 20, 2014

I can't send any mail from the server. I don't get any log information about errors. Postfix is installed on opensuse 13.1.

View 3 Replies View Related

Plesk 12.x / Linux :: Postfix Wants To Run On Port 587 Even Though This Is Turned OFF

Feb 25, 2015

Each migration in the last years I'm running into this bug that Postfix wants to run on port 587 even though this is turned OFF in the Plesk Panel.

Sometimes it does this after some update.

Because another process is running on port 587 this means that postfix does not start and I have some downtime until I "repair" this.

"Repairing" means going into Plesk panel and turning ON SMTP-Auth.... Wait a moment for it to apply and then turning it OFF again....

This unwanted behaviour can be easily reproduced by having this option turned off in the Plesk panel and then running /usr/local/psa/admin/sbin/mchk --without-spam

This will end up in a non-running postfix if another process is already running on port 587.

This shouldn't be happening. Especially because I reported this behaviour years ago..

View 5 Replies View Related

Plesk 12.x / Linux :: Limit-out - Postfix / Dovecot

Aug 15, 2014

on a fresh debian 7 64bit openvz system we actually have a problem with the new plesk 12 feature of limiting outgoing mails.We migrated about 25 systems to plesk, this is the first that makes problems.If limiting outgoing mails is activated (i double-checked all possible checkboxes in plesk) a fresh mailbox gives us the following error while trying to send via smtp:

Aug 15 13:09:32 2d4 postfix/smtpd[8645]: connect from unknown[XX.XX.XX.XX]
Aug 15 13:09:32 2d4 postfix/smtpd[8645]: E9AF61C58851: client=unknown[XX.XX.XX.XX], sasl_method=PLAIN, sasl_username=XX@XXX.XX
Aug 15 13:09:32 2d4 greylisting filter[8651]: Starting greylisting filter...
Aug 15 13:09:32 2d4 /usr/lib/plesk-9.0/psa-pc-remote[8611]: handlers_stderr: SKIP

[code]....

After deactivating the feature all mail is sent without any problems. We use postfix + dovecot.

View 2 Replies View Related

Plesk 11.x / Linux :: Postfix Rate Limiting

Oct 13, 2014

There are several big domains that frequently defer accepting mail from us causing long delays or rejections. Google, AOL, and Yahoo are examples. I'm considering trying the suggestions found in this online posting regarding rate limiting the sending of messages to those domains. In the below URL, please see the section titled "Different policies for different domains"...URL....

Would these changes be safe to make on a CentOS 6.4 server running Plesk 11.0.9 with Postfix 2.8.4? Would any special modifications for Plesk be necessary?

View 3 Replies View Related

Plesk 11.x / Linux :: Set Global (Smarthost) For Postfix

Jun 17, 2014

At this moment, all mail (no matter what domain) goes out straight to its destination. We want to send the mail trough a antispam firewall before it enters the internet.

What setting to change?

View 1 Replies View Related

Plesk 12.x / Linux :: Can't Switch From Qmail To Postfix

Jul 21, 2015

I am unable to switch from qmail to postfix via the control panel. It opens a new window that just hangs and never loads. While waiting for it to load, I see these 2 processes running..

root 25108 0.1 0.0 133972 20604 ? S 21:58 0:00 /var/cache/parallels_installer/parallels_installer_CentOS_6_x86_64 --service-mode=components --enable-xml-output --ssl-cert /usr/local/psa/admin/conf/httpsd.pem --branch release,stable --web-interface --with-ssl --disable-browser
root 25109 0.0 0.0 104952 3032 ? S 21:58 0:00 /var/cache/parallels_installer/parallels_installer_CentOS_6_x86_64 --service-mode=components --enable-xml-output --ssl-cert /usr/local/psa/admin/conf/httpsd.pem --branch release,stable --web-interface --with-ssl --disable-browser

But after waiting 20 minutes, the browser never loaded and the two proceses remain. So I killed both processes and removed /tmp/psa-installer.lock and started again. The same thing happened.

Is there a way to fix this? If not, is there an easy way to switch MTAs from the command line?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved