I was following the above guide to get a mail server up and running. The major difference in it all is the fact that my server is running i686, but I compensated for that easily, just a difference in folder/RPM names. [URL]. Otherwise I followed it to a "T." Everything seemed to go smoothly, no trips or falls until the very end.
After installing squirrelmail and trying to login on firstname.lastname@example.org returns ERROR: Connection dropped by IMAP server. Uncle google tells me to run this command because SELinux is overzealous: setsebool -P httpd_can_network_connect=1
And that works, and I thought I was home free. However, after that, I'm presented with a new error. However, google told me to send an email to create the mailbox because it wasn't there, yet. So I send a test email on over, but that fails, and so does mailx. Next I created /home/vmail/withfrosted.com/admin while logged into the vmail user for proper permissions. Squirrelmail now logs into the mail box but gives me yet another new error, in which I am now stuck on: ERROR: ERROR: Could not complete request. Query: SELECT "INBOX" Reason Given: Unable to open this mailbox.
As a summary, because I'm all over the place, here: 1. Can't view the mailbox via Squirrelmail. 2. Can't receive email, tried with mailx and a test email from gmail.
Regarding #2, the gmail test email, from the maillog: May 9 07:25:45 withfrosted postfix/smtpd: connect from mail-qy0-f177.google.com[126.96.36.199] May 9 07:25:45 withfrosted postfix/smtpd: 26CE516241D: client=mail-qy0-f177.google.com[188.8.131.52] May 9 07:25:45 withfrosted postfix/cleanup: 26CE516241D: message-id=<email@example.com> May 9 07:25:45 withfrosted postfix/qmgr: 26CE516241D: from=<firstname.lastname@example.org>, size=1866, nrcpt=1 (queue active) May 9 07:25:45 withfrosted amavis: (21024-01) (!)connect_to_sql: unable to connect to DSN 'DBI:mysql:database=mail;host=127.0.0.1;port=3306': Can't connect to MySQL server on '127.0.0.1' (13) May 9 07:25:45 withfrosted amavis: (21024-01) (!!)TROUBLE in process_request: connect_to_sql: unable to connect to any dataset at (eval 98) line 241, <GEN15> line 5. May 9 07:25:45 withfrosted amavis: (21024-01) (!)Requesting process rundown after fatal error May 9 07:25:45 withfrosted postfix/smtp: 26CE516241D: to=<email@example.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.2, delays=0.11/0.01/0.01/0.07, dsn=4.3.2, status=deferred (host 127.0.0.1[127.0.0.1] said: 421 4.3.2 Service shutting down, closing channel (in reply to RCPT TO command)) May 9 07:26:15 withfrosted postfix/smtpd: disconnect from mail-qy0-f177.google.com[184.108.40.206]
I have configured dns, postfix, dovecot, https, squirrel mail on fedora11 everything working very well. While configuring out look the same domain users getting mails the virtual users not receiving mails it showing pop3 error. But he can able to receive mails in his home directory.
I run a few virtual servers at home behind a NAT, including an e-mail server, with dynamically updated dns records pointing to each of the servers. Consequently, I suffer from the loopback problem when working with these servers from my desktop PC. (E.g., I ping one of the dns hostnames and the ping goes to my router instead of the server). I fixed this problem by manually adding the in-home IP addresses and name pairs to my /etc/hosts, and then setting /etc/host.conf to a "hosts, bind" order.
This seems to work for every application on my desktop except for one: the postfix installation on my desktop PC (used for mailing smartctl messages and so forth) cannot communicate with my in-home e-mail server (times out). I checked the logs, and it looks like it is trying to use the IP address from the actual A-RECORD, rather than the address in my hosts file.
So I'm not quite sure what to do. There seems to be a "proxy_interfaces" parameter in main.conf which might be relevant, but I think it only deals with received mail. I'd prefer to have the mail going to that e-mail server, rather than also having to check the spool on my local desktop accounts.
make install then i got this error: postfix: fatal: chdir(/usr/libexec/postfix): No such file or directory make: *** [install] Error 1 I don't understand why it's checking the usr/libexec folder for the daemons although I've set the folder to /opt/product/postfix-2.6.5/libexec in the makefile. Here is also the cat of my makedefs.out:
I would like to setup postfix to act as a relay for the outgoing mails of a couple of servers each serving it's own domain.The mails we are talking about are standard administrative emails like user registration, password reset request. The volume of those mails will naturally grow as the site grows. Which for me poses the problem that depending on the growth of the site you will sooner or later hit the quotas imposed by (my otherwise preferred) providers like GMail or smtp.com.
So what I need is a mail relay that will only accept mails from authenticated clients from hosts in its access list and relay their mail without restrictions. Is that possible with postfix? What has to be changed in the config and what are the pitfalls?
I've got a working Virtual Postfix server running with mysql doing user authentication. I have a support email address set as firstname.lastname@example.org, which has 5 aliases associated; user1, user2, user3, user4, and user5. When an email is sent to email@example.com, all 5 users receive the email, just as planned. What I'm looking to do is when an email is sent to firstname.lastname@example.org to have it rotate through the members of the alias group. That way all members of the group get support emails evenly and not everybody all at once. Is this possible?
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
I recently moved over user from an old box running postfix(v 2.0.16) over to rhel 6 running postfix (v mail_version = 2.6.6). ive tried to make sure all the files are of correct permissions and that the main.cf file is configured corectly. However there is something wrong as when i run postfix: service postfix server i get no error but when checking the status:service postfix status i get: master dead but pid file exists Looking into /var/log/mailog i find this line being the issue:
I'm trying to configure Postfix with a mail server that I programmed in C. The main.cf is set in this way :
Code: relayhost = [myMailServer.localhost] smtp_sasl_auth_enable = no smtp_use_tls = no disable_dns_lookups=yes smtp_never_send_ehlo = yes code....
I don't know why it doesn't receive response after HELO. In fact if I debug my mail server with gdb, I can see it sends a 250 response code. Moreover, I've tested my server both with traditional mail clients, as Thunderbird, and through telnet session and it works very well.
I have a postfix mail server up and running. I've added more than one domains to recive mail by adding them to the :/etc/postfix/virtual and poiting to a UNIX user account. That works fine. But when users send out mails (From squirrelmail) all users send from the same domain. How do I add a $myorgin to a virtual domain?
I got a Debian 6 Server running and it uses Postfix as MTA. I have set up 3 Domains and a catch all rule. My virtual file looks like this:email@example.com firstname.lastname@example.org email@example.com firstname.lastname@example.org email@example.com bobIt works fine so far. Now I tried to add this line on top:firstname.lastname@example.org aliceand it did not work (mail gets delivered to the catch all address). It seems, it works ONLY if the part before the domain and the local recipient are equal. Does that make sense to anyone? What did I missconfigure
I'm looking for a Postfix Management Web interface for user, domains, etc... The problem is I'm not using mysql for domains/users, so I can't use postfixadmin. I use virtual mailboxes as described here: [URL]
Basically all mappings are saved inside an /etc/postfix/vmaps file. The users/passwords files are in /home/vmail/passwd and /home/vmail/shadow. Users are in /home/vmail/$domain/$user
I searched for a web management tool that supports my config for weeks now, and can't seem to find any...
I am setting up a Postfix MTA that will be only sending mail for 10 different domains. We have other servers that will be receiving the mail for the domains so I only need to set up for sending on Postfix.
What my issue is I am trying to configure Postfix so that when it sends mail the header shows what domain the mail came from and not the domain the Postfix server is set to. For example....
When I send mail from domain2.com I want it to show in the header it was sent from domain2.com and not from domain1.com. What do I need to set in postfix so that this happens? Right now no matter what domain the mail is from the header always shows the server domain and I can't have that.
I set-up his mail server for him with Postfix but what he wants I have no idea how to do.
Essentially he wants it so that the mail gateway IP corresponds with the dedicated IP of the domain and I have no idea how to accomplish this.
I found some documentation on the web saying that the fix for this was to run multiple instances of Postfix which I tried doing but each time I try to start the second instance I get the error that postfix is already running.
There has to be an elegant way to make this happen, I really hate to tell a client something can't be done even though the concept is a bit pointless, IMHO. I am hoping I can get some feedback here on if this can be done and if it can the easiest way for me to accomplish doing it.
Here is some of the config files (example.com has been put in place of the actual domain names and the ip of 220.127.116.11 is in place of the actual IPs
I have set up a SSL site for my default Apache server. But I want to set up multiple SSL sites for multiple IP based as well as Name based Virtual hosts. Is there a way where in I can include definitions for SSL certificates and keys within the Virtual Host directive in the httpd.conf, so that I can specify separate key and cert file for every Virtual Host.
I'm using postfix and the always_bcc option to backup the emails which are passed through my MTA. The problem is that (with spamassassin and clamav running as virtual-smtp agents) I get three copies bcc-ed through to the backup account. Is there something I can do to stop the bcc from being carried out on the internal filters and only work on the final send or mailbox delivery?
I have configured postfix to send/receive mail from/to for two domains we manage. [URL] and [URL] Most of the cases there is no issue sending out or receiving emails. However, a few users of domainY.com complained that their senders were not able to sent them email. after much investigation, we started thinking that the mailserver failed to send us email may the failing on doing a SMTP Banner issue.
Is there anyone who knows how to deal with this SMTP banner issue with multiple domain. We want different SMTP banner when doing EHLO on different server.
I'm running a server with two sites which both need to be able to send emails. Currently I have Postfix set up to send email via Google Apps. This works fine, but Google's servers ignore the From: address I specify and substitute the one I logged in with. Is there a way to make Postfix log into Google Apps with a different username based on what site the email is coming from? The server does not recieve any mail itself; Google recieves it and we have it set to forward it to the appropriate person's real email address. I'm only worried about sending mail.
(Postfix is not a requirement here, so if there's another mailer that can do this better, I'm open to ideas. However, sending email directly from the server isn't an option as it's a residential IP address and blocked by most of the big email providers.)
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 email@example.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?
From the posts relevant to postfix I could not find the particular combination of issues I'm facing. Any pointers or references to posts will be greatly helpful. I have CentOS server running Postfix which was recently moved into my house running over TW cable (Austin RoadRunner). In Webmin -> Postfix Mail Server -> General Options - Other General Options - 'Send outgoing mail via host' (which is the relayhost) is set to:
I expected the relay to reflect this in the log but it doesn't When I send an email I see this in /var/log/maillog
Jul 21 17:17:04 cromagnon sendmail: p6LMAjlu014853: firstname.lastname@example.org, ctladdr=root (0/0), delay=00:06:19, xdelay=00:06:18, mailer=relay, pri=30049, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection timed out with [127.0.0.1] I basically *all* mail from all domains on this server to go through the relayhost. I understand there are a million caveats but I wish someone could help me with the basics.
BTW I've also tried to set the relayhost to
however the log still shows . . .relay=root@localhost . .
I have a mail server taking care of mail for my 4 domains; the first is used for virtually all mail, the second rarely used anymore, the third is virtually 100% spam the past year(?), and the fourth isn't in use (and never has been, so no spam). What I'd like to do is to reject all mail to the third domain. Right now this is what I get (I tried to send to a nonexistent address from gmail):
Since my username (xyz@) is the same for all domains, I could (or so I hope) change the reject message to give a hint to replace [URL] with [URL] and try again.
I've setup my server by following a ton of goods, and it seems to work ok, but I need to start using my server for email in order to receive orders placed via my website. I've followed this guide - [URL] I followed the steps above, and tested the mail server via telnet, and all seemed to be ok. I tried sending an email via Squirrelmail, from email@example.com TO my working email firstname.lastname@example.org, but the server returned with the following message:
<email@example.com>: host mail.c1systems.co.uk[18.104.22.168] said: 550-Verification failed for <firstname.lastname@example.org> 550-The mail server could not deliver mail to email@example.com. The account or domain may not exist, they may be blacklisted, or missing the proper dns entries. 550 Sender verify failed (in reply to RCPT TO command)
I've setup postfix using mysql tables and all works except for sending to an alias. The mysql logs show that postfix is only looking at the mailbox table for where to deliver the mail for the alias. However it is not looking in the virtual alias maps table. There are no complaints from postfix on startup to indicate that there is anything wrong, and if I send to a virtual domain listed as a relay on the server it does look up the virtual alias table... even though the domain is not hosted on the server....
So the question I have is where to look next? The mysql log shows the expected lookups from postfix EXCEPT for the virtual alias map queries.... why would it not be checking the table? Since it is not looking up the virtual alias it bounces the addresses back to sender complaining that the user doesn't exist... It does deliver to a virtal mailbox, however again it never checks the vitual alias table.... so it only delivers since there's a mailbox for it rather than needing an alias...