I'm trying to iron out this huge bug with Postfix. Right now I am stuck in a hole. I am trying to disable Postfix from relaying e-mail sent to my server. When I send e-mail without "relay_domains", I get a "554 Relay Access Denied" error. When I supply a "relay_domains" variable to Postfix, I get "mail for example.com loops back to myself" for an error.
I was skimming over the Postfix docs and it said you can make these errors go away with a "virtual_mailbox_domains" or "virtual_alias_domains" variable. My config has "virtual_mailbox_domains" but still these errors appear.
Is there a way to fix this, or a way to disable Postfix from relaying e-mail?
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.
I found out that once I enable CSF it will automatically enable the virtuozza firewall with the default policy "drop anything".
My provider updated all VPS and they updated virtuozza to "parallels infrastructure manager" ..which is still virtuozza but a little bit different.
I double-checked it and anytime I restart csf to apply the new rules it will add the default policy "drop". I can change it back to default accept but obviously if I restart again it will block me out.
This is pretty strange. Once CSF is disabled and I use Virtuozza FW only everything is working.
I am trying to install Sendmail on my server and I keep getting messages to remove Postfix. My server is running Debian 3.1 (Sarge) and without Sendmail, I cannot use the PHP mail function. The PHP config is set to use Sendmail for the mail function, but I don't know how to correct it. However, without Postfix, my control panel will not function properly.
Here is my control panel's software list (required to run):
how to reconfigure PHP to replace the "sendmail -t -i" command for the mail function or just how to fix it. The problem is to get the mail function in PHP to work. So I'd say the best choice would be to find another mail program to replace Sendmail and to reconfigure PHP. Any help is appreciated.
Please helo me to resole this problem with Serv-U FTP
When Windows Firewall is turn off, i can access to folder. However, Firewall is turn off, i cannot access to folder with error following : The connection with server was reset. I config windows firewall to open port :21,20. OS: windows 2003 server service pack 2.
I recently upgraded my server and it is using Apache 2.2.3. I have all the same server directives as before when I was using an early version of Apache 2. The problem is that when I have RewriteEngine On, my cgi scripts generate a forbidden error. If I comment out that line, they go back to working again.
Im considering Suhosin, in fact i am using it in other plain server were i have 1 or 2 sites. But this is a very high traffic with 300 + sites, lot of sites are using cms apps..
I'm currently having trouble with Postfix. I recently installed some new web hosting software (ispCP) and so some new configs were written for all my software. Postfix was one of them and I can't figure out what's wrong with it.
Whenever I send e-mails to my server, Postfix denies it saying "Unknown address error 554: Relay access denied". The logs say NOTHING about it and I've been trying the old configs on Postfix and still nothing works.
Here are my configs: main.cf
Code: # # Postfix MTA Manager Main Configuration File; # # Please do NOT edit this file manually; #
# # Postfix directory settings; These are critical for normal Postfix MTA functionallity; #
I tried following the directions about 'The Perfect Setup' for SuSE 10.1 for my email server and finally got it to work, but now I am having issues with error messages!
In my /var/log/mail file I get tons of: Jul 6 18:15:17 <server> postfix/qmgr[8226]: warning: connect to transport error: Operation not permitted
and in my /var/log/messages file I get tons of: Jul 6 18:19:17 <server> kernel: audit(1183738757.049:122): REJECTING w access to /var/spool/postfix/private/error (qmgr(8226) profile /usr/lib/postfix /qmgr active /usr/lib/postfix/qmgr)
I can't find anyone having issues with the 'error' part of postfix.
I'm thinking of forcing the install but well maybe I should just post what's going on
After unpacking 0B of additional disk space will be used. Setting up virtualmin-base (1.0-19) ... Setting Webmin theme Setting Usermin theme Configuring Postfix Error: Failed to query Postfix config command to get the current value of parameter virtual_alias_maps: <tt></tt> Error ----- Failed to query Postfix config command to get the current value of parameter virtual_alias_maps: <tt></tt> ----- dpkg: error processing virtualmin-base (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: virtualmin-base E: Sub-process /usr/bin/dpkg returned an error code (1)
I ran a dpkg-reconfigure and well I didn't had any problems The system is Debian 4.0
no mails are sent, without mail i'm lost because my users need confirmation emails to activate their membership, thank you
this is from my mail.log
postfix/smtp[30100]: 597E529C0FE1: to=<d1234@yahoo.com>, relay=none, delay=38985, delays=38985/0.01/0/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=yahoo.com type=MX: Host not found, try again)
postfix/smtp[30098]: 5FCBA29C1032: to=<h1234@yahoo.com>, relay=none, delay=27875, delays=27875/0/0/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=yahoo.com type=MX: Host not found, try again)
postfix/smtp[30099]: 5162829C1053: to=<s1234@ukr.net>, relay=none, delay=22725, delays=22725/0/0/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=ukr.net type=MX: Host not found, try again)
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?
My server's running Debian Etch, Postfix and spamassassin.
Spamassassin works: it flags spam messages correctly.
Currently I have set it to discard messages marked as spam and messages that doesn't have a proper ascii header (Eliminates mail from chinese & japanese spammers). But how do I make postfix to move spam to "Junk" (or such) folder, not to discard it.
I'm having some SMTP server security issues. I am running Postfix on my Debian VPS and I am trying to disable Postfix from being publically used by anybody except those with webmail.
I read Postfix's configuration at Postfix.org, but I couldn't find anything that I thought to be relevent to this situation. Do any of you have suggestions or ways to fix this? Besides disabling e-mail all together?
As another detail, I'm running Postfix on its original config, not through a MySQL database config.
I've got virtualmin installed and configured and working beautifully, and I'm able to add email accounts and have them checked by dovecot. Now I'm trying to work the SMTP side of things, but I'm stuck.
What's happening here is that when I attempt to send an email through Postfix, it replies with 'relay access denied'
I've searched google and tried various things, but none of them have worked so far. I can post any configuration files you need. After I get this working, I get to add another domain and see if the settings work there too
I'm using Postfix as my mail agent. I was wondering how to forward incoming emails to a script.
I did a search in google and couldn't find anything relevant only this.
create a alias like this.
email@example.com: "| php -q /home/user/full/path/to/script.php" But is not working not forward nothing. I have tried everything but nothing works and the logs not show me any errors.
I installed recently Postfix + Dovecot (yum) on a CentOS 5.1 test box. The configuration went OK, I can telnet on port 25, 587 and 465 with no problems.
I have a server which runs suse linux on it. Postfix is already installed on it. But, the problem is i am not able to send mail using root. I mean using mail -v command.
I could see the following in mail logs. I know 2 files main.cf and master.cf are there.
Not, sure what to change and how.
Nov 21 21:17:56 CSIDB3 postfix/smtp[14577]: connect to mx3.domain.com [x.x.x.x]: Connection timed out (port 25) Nov 21 21:17:56 CSIDB3 postfix/smtp[14577]: 61715223EE: to=<sabarish@domain.com>, relay=none, delay=30, status=deferred (connect to mx3.domain.com[x.x.x.x]: Connection timed out)
The same thing happens will Gmail also. I think outgoing mail is not working at all.
Nov 21 20:27:41 CSIDB3 postfix/smtp[13907]: connect to gsmtp183.google.com[64.233.183.27]: Connection timed out (port 25) Nov 21 20:27:41 CSIDB3 postfix/smtp[13907]: 5A177223E1: to=<sabarish@gmail.com>, relay=none, delay=189739, status=deferred (connect to gsmtp183.google.com[64.233.183.27]: Connection timed out)
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.
I have searched the whole forum for help on this but couldnt find anything.
I have postfix running on a backup mx server for a plesk box. The backup mx does a very good job of reducing spam and virus to my plesk box thanks to mailscanner.
The problem i have now is i have to manually update postfix transport and relay_recipients file everytime a new domain is created in plesk. Do any one know how i can create a custom script that will pull domain information from my plesk box and will update postfix on the backup mx server. Maybe a website with information that can help. i can always set a cron to run the postmap command to update the tables but i will need to update the respective files (transport, relay_recipients) first.
I've just finished setting up postfix with mysql virtualdomains, on debian sarge with mysql 5.0. However it refuses to connect to the mysql database and I have found a bug report for courrier-authdeamon
[url]
how can I get around this? I would like to be able to keep mysql 5 but need a stable version so I do not want to install the 5.1 version...
I have been trying to determine if I should use Postfix or Exim for our new SMTP gateway. My biggest obstacle is in trying to determine if Postfix can handle the processing as efficiently as Exim.
Basically we have hundreds of domains that will have email going through the gateway. I need to know if Postfix can be configured to perform different actions based on the recipient domain (i.e. block receipt of message or add a header and deliver). It looks like this functionality is handled by using a 3rd party tool like "amavisd".
The problem is that it looks like I have to wait for the DATA to be received before I can send the mail to the filtering tool rather than just waiting until the last RCPT command. It is also unclear as to whether the message will be denied during delivery with a 550 error being returned or whether the message is accepted and a postmaster message is sent. Obviously I would prefer the 550 error.