CentOS 5 Server :: Postfix Random Delivery ?
Apr 13, 2011
I configured a Postfix Server to relay the messages to an Exchange Server. To keep it simple I configured all my users locally and I setup local .forward files in their home folders, specifying their local Exchange address.
Everything seemed to work fine (for years now), until I upgraded postfix in October, 23rd 2010.
Alas, lately I noticed that, since then, even if I just realized it now, sometimes the server seems not to use the .forward file and tries to use the local delivery using cyrus, which does not find a local mail folder (obviously, since I never created them as I didn�t want to) and replies to the sender with a "550-Mailbox unknown" error. Today I enabled the "-v" mode for "local" in master.cf the debugging the problem a bit better, to see what's the problem.
If I was sure about the problem being the postfix version (2.3.3, which is way too old now!), I'd give it a try and substitute it with the latest 2.8.2 (even if the server is a production server and is almost untouchable).
Following the error and my main.cf and master.cf setup files:
View 10 Replies
ADVERTISEMENT
May 24, 2010
I'm running postfix with virtual domains and want to modify the delivery path. Right now, I have one path for each user that's found with a database lookup.Before mail hits Postfix, it will have an x-spam-header: yes/no/uncertain field. When mail with x-spam-header: yes the lookup for the path would return /var/mail/domain/username/.Inbox/.spam.
What I think I'd like to do is parse the x-spam-header value in postfix, populate a variable, then use the variable to modify the path lookup in the database. header_checks has a FILTER option, but that's just beyond my skillset at the moment.Or, maybe I'm better off modifying the path with a procmail recipe? Currently, my mailbox_command = procmail -a "$EXTENSTION"
View 6 Replies
View Related
Oct 30, 2009
I dont know why, but my postfix dont delivery local users, the virtual users works fine.
This is my main.cf:
When i try echo "Test" | mail -s Test root ; tail -f /var/log/maillog | grep "root" i see this error:
View 1 Replies
View Related
Jun 19, 2010
After upgrading from a working 9.10 system to 10.04 Postfix has stopped delivery email to users. Sending email is fine and IMAP(s) and POP are working fine but receiving messages now get the follwing message
postfix/pipe[14331]: 65B941B61F0: to=<me@fred.com>, relay=dovecot, delay=1081, delays=1081/0.02/0/0.1, dsn=4.3.0, status=deferred (temporary failure) Using Postfix with Dovecot, MySQL & Amavis plus spamassasin
Does anyone have any idea what the upgrade process may of changed in the upgrade none of the conf file were replaced during the upgrade and only one parameter caused a issue for Dovecot after the upgrade "ssl_disable = no" after disabling this dovecot started
View 1 Replies
View Related
Oct 4, 2010
so i set out to change the default smtp port the server uses because my ISP blocks port 25 and i need the email to work in outlook. this morning i could receive email, but not send it. so i did some research and thought that i needed to edit the master.cf file in /etc/postfix/ by commenting out this line: smtp inet n - n - - smtpd -oand replace it with587 inet n - n - - smtpd (587 being the port i want to use)somewhere along the lines postfix server stopped running and now i cannot get it to start.if i try using SSH it crashes immediately and if i restart it in simple control panel nothing happens
View 7 Replies
View Related
Apr 6, 2010
For some reason my mail server (Postfix) seems to have stopped delivering mail.
The error in the mail logs is "status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused) against all mails.
I have researched to try and find an answer, most information on this problem seems to point to a malfunction in the Anti Virus and Spam Filtering solution.
I have checked that Amavisd and Clamd are both operating and have restarted Postfix but all to no avail, squirrelmail is not working either.. ie not even producing a login page.
I have not changed anything in the config and am just wondering if anyone has experienced similar and could point me in the right direction of a solution.
View 5 Replies
View Related
Jan 16, 2010
I have set up a software raid 5 and a software raid 1 on the same 3 disks.
But my problem is, every couple of days the software raid starts automatically resyncing. This resync is always succesful.
I do not know why this happens, any ideas to troubleshoot this further? I can not see an error in /var/log/messages
View 14 Replies
View Related
Apr 24, 2011
i need to configure postfix on centos to relay email from the internet to the Exchange Server and i also need that emails sent from the exchange within the same domain be sent to postfix then resent to exchange because i have spamassassin and clamav installed on centos to filter all incoming and outgoing mails ...
View 1 Replies
View Related
Aug 12, 2009
Recently we are receiving lots of spam email specially ( Viagra). I want to use spamassassen to filter the spams so I need to configure procmail as local mail delivery agent.At the moment I am using prosfix for mail delivery agent and our server is Centos 5. I did google it but couldn't find a good instruction.
View 3 Replies
View Related
Oct 2, 2010
Having my Diploma Final Project on setting up a virtual mail server within Local Area Network (LAN) only.I had follow this how-to http://www.linuxmail.info/squirrelma...o-in-centos-5/ and complete up to squirrealmail web mail. I added two new user to try on sending and receiving mail. It works.I run CentOS on VMplayer. I using my laptop to do all the stuff, the laptop default OS is windows 7, i install VM player on it and run CentOS inside the VM Player.I want to do testing on Windows 7 side by installing Thunderbird email client program, i want to connect to mail server with SMTP, IMAP/POP3 using the email service. I have problem while setting up user account on Thunderbird, Thunderbird seems like cannot detect my CentOS mail server. How ?
Do i have to do any other configuration on CentOS ? any DNS ? port number for IMAP,POP3 or SMTP ?
View 1 Replies
View Related
Dec 22, 2009
I have a webserver that I run myself utilizing CentOS 5.3. I added a postfix server just to send outgoing mail to people who are part of my webpage. I do not do any email exchange so I can actually receive email on the server, only send (if someone can help me out with that I'm willing to listen).Basically I want to add a disclaimer to the bottom of every email that gets sent out, no matter who sends the email, stating the the email is sent from an unmonitored email account so don't reply to the email. I followed the steps listed here [URL].. even though it was for Fedora 8 it seemed to do what I needed it to do. For some reason no matter who I send email with the disclaimer does not show up. I am doing masquerading so when the email gets send it shows it comes from my domain, not localhost.localdomain because most webservers block it assuming it is spam mail.
View 2 Replies
View Related
Jul 12, 2011
I am having problem to collecting email from remote POP3 (all the emails for a domain is stored here) and distribute it after collecting to several users defined to Linux server. I have install postfix in Linux server for email distribution.
View 3 Replies
View Related
Feb 25, 2010
I was having before Redhat mail server which using postfix mail there is some problem of this mail server i need to format and to set up again new mail server in Centos 5.4.how to back up postfix mail server and to restore into Centos 5.4?[/B]
View 1 Replies
View Related
Feb 19, 2009
I'm trying to expand my Courier+MySQL+Postfix+PostfixAdmin server to use SASL logins on Postfix so I can relay on my server. After following several guides I still can't get it to work: Postfix logs show the user transcript and end with "Authentication failure" but it does not tell me what told it that the login failed. The messages log show this:
Feb 19 22:48:55 sportlaan-server saslauthd[7254]: do_auth : auth failure: [user=berend] [service=smtp] [realm=mydomain.com] [mech=pam] [reason=PAM auth error] Which I don't get because I don't think it should be using PAM... I think...
The setup is similar to this one: http://www.howtoforge.org/virtual_users_postfix_courier_mailscanner_clamav_centos_p6
My SASL config has this in it:
/usr/lib/sasl2/smtpd.conf
pwcheck_method: saslauthd
log_level: 3
authdaemond_path: /var/spool/authdaemon/socket
mech_list: plain login
View 2 Replies
View Related
Jul 15, 2009
I tried to setup a Postfix system as VM Guest, in a single file image. So I want to store the mails on another hosts throught NFS mount. I got various errors when Postfix try to write to the NFS share. Anyone knows what's the correct setup for this? like file permission on the NFS?
View 1 Replies
View Related
Jul 23, 2009
I have postfix sort of working correctly. postfix can send email to the internet but it doesn't want to send email to my local exchange server. What I need is for postfix to send emails directed to @xyz.com to my exchange server instead of itself.
My setup
mail.xyz.com - exchange 2003 server
www.xyz.com - centos 5.3 server with postfix
www.xyz.com can send emails to my hotmail.com account so that part works correctly. www.xyz.com can't send email to username@xyz.com. postfix seems to be delivering the email to itself and not the exchange server.
How can I tell postfix to send the @xyz.com emails to my exchange server?
Here is a sample of my /var/log/maillog
Jul 22 15:43:43 list postfix/smtpd[9802]: D63168604A3: client=localhost.localdomain[127.0.0.1]
Jul 22 15:43:53 list postfix/cleanup[9805]: D63168604A3: message-id=<20090722204343.D63168604A3@www.xyz.com>
[Code].....
View 3 Replies
View Related
Jun 7, 2010
Our company is an education training and there are 2 mail servers by used.One is postfix in CentOS,other is WinWebMail in windows2003.
Postfix server has 1 public IP and 1 private IP(192.168.1.224),but WinWebMail only has 1 private IP(192.168.1.253).Bcuz we'll broadcost news of training to students and ourselves,but postfix is cannot do that automaticlly,I guess that that is 2 server are the same domain name in DNS server[URL].The question is Postfix can send all mail but [URL].now I wanna try to used postfix have a routing to WinWebMail server,I mean I add a countant in WinWebMail server,if we wanna send some news to everyone in [URL].The postfix will be tranfor to WinWebMail server,and the WinWebMail broadcost to all of [URL] but now other domain name. how to do that in Postfix server?
View 1 Replies
View Related
Jan 2, 2011
I am running CentOS 5.2 on a server here in my home. It runs Dovecot and Postfix and also serves as a website host for a small website of mine. Everything works fine. POP, SMTP, Webmail, WWW, all works great and has for ages.Here's the issue. I recently reinstalled a clean copy of Windows 7 on a workstation in my home onto a new harddrive(I still have the old drive int he machine so I can boot to it as well). I setup the Windows Live Mail client to send/receive mail with my mail/web server. However, it won't connect to the POP server on my server machine.Here's the kicker. If I boot to the old harddrive that is running Windows 7, it connects fine to my mailserver and can send/receive just fine. I've checked, rechecked and rechecked and all mail settings on the mail clients on both drives are identical.
Note: The installations of Windows 7 on both drives is identical. Same computer name/ same credentials, same IP, etc. However, as I stated, I can send/receive email with my server if I boot to my old drive, but if I boot to my new drive, I cannot send/receive.
View 2 Replies
View Related
Jun 2, 2011
How can I send email outside my LAN using postfix? Actually, I can received email from outside like yahoo. hotmail etc.. But when I am trying to send outside in my mail server here is the error I got..
Jun 2 21:19:51 microtontech postfix/smtp[4434]: connect to k.mx.mail.yahoo.com[98.139.54.60]: Connection timed out (port 25)
Jun 2 21:20:10 microtontech postfix/smtp[4435]: connect to
[code]....
I try to telnet yahoo.com and smtp.pldtdsl.net 25 here are the result, but when I try to telnet smtp.pldtdsl.net its showing trying only.. I checked if my ISP is blocking port 25 isn't. (I forgot what is the website I used to check if my ISP port 25 is block) I try already to used in my relayhost the [URL] but the email I sent still bouncing..But I remember last time when I was installed Hmailserver in my Win2K3 machine I sent email outside but I cannot received..
[code]....
View 3 Replies
View Related
Sep 22, 2011
todo: I have now running sendmail with milters and auth, dovecot as lda configured with virtual domains / Local User, srs. on centos 5.x
I want to migrate to Postfix with:
at first step the same Local User now with Mbox and there Mails
same milter with macros for auth....
dovecot as lda
[Code]...
View 1 Replies
View Related
Nov 4, 2009
How can I setup "reverse dns check" option in Postfix ?
View 1 Replies
View Related
Mar 13, 2009
I am facing problem in postfix. I am using centos5.2.My postfix was running well but some strange problem it failed today.after that I wanted to restart postfix service , it does not restrat. But the postfix process is found in the process list( take memory and cpu ). Then i want to reinstall the postfix.The progress bar show it completed but not showing the completed message. I wait long time for the completion message but not display it and not return to command promt.When I cancel the command( ctrl+c) then the following error message is displayed:error: %post(postfix-2.3.3-2.1.el5_2.x86_64) scriptlet failed, signal 2For your information this is the process of installation:
yum install postfix
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
[code]....
View 1 Replies
View Related
Jan 7, 2010
One of my mailservers running postfix has suddenly stopped sending mail and has been generating the following errors:
Jan 7 12:03:08 postfix/sendmail[3560]: warning: premature end-of-input on /usr/sbin/postdrop -r while reading input attribute name
Jan 7 12:03:08 postfix/sendmail[3560]: fatal: root(0): unable to execute /usr/sbin/postdrop -r: Success
[Code].....
Things I have tried to fix this problem, but didn't work.
1) Stopped postfix, uninstalled and reinstalled.
2) Did a complete filesystem relabel with a touch /.autorelabel and reboot.
3) Did a restorecon -F -R on /etc/postfix, /var/spool/postfix and /usr/sbin/post*
Nothing above has worked and have no idea why with selinux disabled postfix works and with it on it fails.
View 6 Replies
View Related
Feb 16, 2010
I'm trying to change some configurations but when I change it from the default options in main.cf, it doesn't actually update the running configuration. I've even restarted the server all together but it still doesn't update it.In main.cf, here is the configuration I've added:
bounce_template_file = /etc/postfix/bounce.cf
bounce_queue_lifetime = 4h
maximal_queue_lifetime = 4h
delay_warning_time = 1h
View 1 Replies
View Related
Jun 2, 2010
I am currently running a apache/postfix email service on my server. I am using aliases for two addresses for example:
trscookie@serverone.com
trscookie@secondserver.com
so the emails no matter which domain receives the email trscookie always will receive the email.
However I am unable to work out how to 'reverse' this process, for example.
If i was to go to secondserver.com/webmail I would like the emails to get sent from trscookie@secondserver.com however they are currently all coming from serverone.com. Is it possible to configure this so that it is sent from the correct domain?
Here is my main.cf:
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
[Code].....
View 2 Replies
View Related
Mar 22, 2011
why no matter what email I send to a user I get this error relay1 postfix/local[4023]: 75941291D4: to=<username@domainname.com>, relay=local, delay=0.14, delays=0.07/0.02/0/0.05, dsn=5.1.1, status=bounced (unknown user: "username")
View 2 Replies
View Related
Aug 7, 2011
On my virtual server I had the same issue within the last three month. The postfix daemon stopped working suddenly and I don't know why. I can restart postfix normally and it's working normally for a couple of weeks until the next crash. Does anyone have the same problems with CentOS 5.6 and postfix?
View 4 Replies
View Related
Dec 12, 2008
I have isntalled a server with Centos 5.2 OS, now I would like to switch from the default sendmail to postfix doing a yum install postfix I've noticed there is already available an rpm version for the OS but I would like to compile my own 2.5 version, I've noticed compiling from source does not allow me to use the mail switcher to tell to the system I'm gonna use Postfix instead of Sendmail as the default MTA while this is possible when I use the "official" rpm version of the package. Now my question is this, would this be a problem? There is some specific procedure/best practice I should follow? Or once compiled and configured Postfix I can safely disable/uninstall sendmail?
View 6 Replies
View Related
Jun 29, 2011
We're building an Email Marketing web site for internal staff who needs to send emails to thousands of customers.but we're wondering if it's possible to control the MTA delivery rate, such as:
1. for @xxxx.com, only allows 5 con-current smtp connections and 100 emails/minutes?
2. how to bind multiple IPs and send emails in round-robin mechanism?
3. how to pause (such as: 10ms) between every delivery?
if you are familiar with Ironport's product, you may already know what we want to achieve.
View 1 Replies
View Related
Apr 16, 2011
I'm new here and I'm sure this question has been thrown around a lot but I just couldn't find a solution. I have a networking website I've setup and we need to send notification mails to our members depending on activity related to their profiles(messages, comments etc).We are hosting the site on Centos5.6 with VirtualMin and are using Postfix as our MTA. We also use google apps for email on the site. Heres the problem, the mails go through for some gmail users but more often than not, they end up in gmail,hotmail and yahoo spam.We've setup the appropriate SPF codes on the server, DKIM and rDNS works fine.v=spf1 ip4:xx.xx.xx.xx a mx include:_spf.google.com ~all Below is a sample email that goes directly into gmail spam. I've replaced the actual values with dummy text (Ip, Domain etc)
Delivered-To: my.email@gmail.com
Received: by 10.143.165.5 with SMTP id s5cs223598wfo;
Fri, 15 Apr 2011 08:38:22 -0700 (PDT)
[code]...
View 1 Replies
View Related