I thought i had back ups of the server config files etc but it seems like that did not work as planned. The result is a non working postfix system on a Centos 7 server.
Can anybody assist, I have been on this for hours now
Reinstalling Postfix and Dovecot while in the midst of troubleshooting them won’t fix anything, it just means we need to start over
I would recommend using your previous Postfix main.cf file, as it was nearly correct… the new one is missing a number of things.
As far as the “virtual” file is concerned – if that’s missing entries, that would be a problem… those are added at the time the “Mail for domain” feature is enabled.
If you don’t have a backup of that file, the easiest way to re-generate those entries would be to disable “Mail for Domain”, and then re-enable that.
After removing the features it removed the name from the file, as I did it with the new name I had tested on a domain. But after adding a new user and it adding the name to the virtual file, it still had the relay problem.
I have added some records manually but they also have relay problems
Then has a problem re installing the features, I got an error messgae
Failed to modify server : No outgoing address mapping file (sender_canonical_maps) was found in your Postfix configuration!
Should I try and set up another mail service? as I really need something working soon
Can anybody advise if they see any problems with the above?
Mail is arriving and being put in the user folder, you can view the emails using usermin but you can not see the emails if you look in the Postfix Mail Server / User Mailboxes page /mailboxes/ I just see “No users with email were found.”
Entourage mail client - I have a friend who is able to access his mail by IPhone but not on his Apple Mac using Entourage. I have not been able to visit him yet but any ideas on what has changed to stop the mail colecton from the above
Well, let’s ignore the issue with “No users with email were found.”, that may just be a setting of where Virtualmin is looking for email when performing that test.
Since it’s working in Usermin and iPhone, that’s good, that means your setup is good.
What error is this person seeing in Entourage? And what ports are they connecting to?
Not sure why he is being blocked but it is probably something to do with the increased security settings, just going to see him for a coffee and have a look in person.
Meanwhile… I have added a few more lines to the main.cf withh some comments if it will help others
#Added after#
smtpd_client_restrictions = reject_rbl_client sbl.spamhaus.org # To combat spam
smtp_host_lookup = native # to combat some error I forgot to make note of
#Added later#
transport_maps = hash:/etc/postfix/transport
queue_directory = /var/spool/postfix
data_directory = /var/lib/postfix
mail_owner = postfix #sender_bcc_maps = hash:/etc/postfix/bcc #unavailable. open database /etc/postfix/bcc.db: No such file or directory
home_mailbox = Maildir/
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
mailbox_size_limit = 0
allow_percent_hack = no
milter_default_action = accept
milter_protocol = 2
smtpd_sasl_auth_enable = yes
Some of the above were on another server I have
RESULT!!!
After adding the above, my other problem “No users with email were found” has been corrected
When attempting to send an email from your home PC, make sure that it’s configured to authenticate the outgoing email.
Not all email clients will attempt to authenticate outgoing by default.
If it’s not authenticating, it will generate a “Relay access denied” error when given an email to send.
If you get stuck, and you’re looking for someone to log in and take a look around, we do offer Professional Services here at Virtualmin where we could log in and figure out what’s going awry.
Once logged in, it shouldn’t take too long to sort out the issue you’re seeing there (though we’d probably start with a fresh main.cf file). We charge $125/hour for Professional Services.
If you’d like to go that route, open up a request in the Support Tracker, and we can go over what you’d like for us to do, and we’d give you an estimate.
There are other folks here who provide similar support, including tpnsolutions. He is also cheaper than we are If email isn’t working, you can get ahold of him via Skype.
You did not understand the problem above and then want $125 an hour to fix it…
I posted that I was actually using Virtualmin when I had the problems, so I was logged into the server NOT using my PC to connect
I have a plan to resolve my issues, which involves moving back to CPanel
But it really does leave a sour taste in my mouth that you guys ask $125 ph to fix something that should be so easy to fix.
I would also like to point out that most of your documentation on your site is well out of date and does not relate to current versions of your software.
If I am wrong, please point me in the right direction of resolving my issues, without paying you $125 ph… or would that be why you choose to offer so little help on your product
I am happy to pay a decent amount for support with people that know what they are doing;, but $125 ph for people that cant resolve simple issues by forum support???.
I thought we’ve been trying to help you here in the Forums for free.
I was merely offering that we could log in and fix it for you rather than troubleshooting it here if you didn’t want to continue discussing it in the Forums.
If you don’t want our help though I’ll go help some other folks
You could say that you have been trying to help for free…
But the problem is ongoing after 3 days… And re reading the above posts see very little in the way of help.
It is not a case of not wanting help, unless your referring to the $125 an hour, it is that I am not getting help or I am a sure the problem would be resolved
UPDATE…
Looks like, after 3+ days and many hours studying the pros and cons of a mail server set up using postfix and dovecot, it is all fixed now.
Virtualmin / centos 7 installs dovecot version 2.2.10
Using ssl
Incomming SSL/TLS port 995
Outgoing port STARTLS 587
Would like to say thanks for the help but we all know that would be a lie…