Re: [CentOS] Infiniband

2021-10-08 Thread Gordon Messmer

On 10/8/21 10:51, Mark Woolfson wrote:

I have a large server cluster running CentOS 6.4 and CentOS 6.6 using 10GbE.
I want to upgrade to Infiniband.



CentOS 6 hasn't received any feature updates since May 2017, so any 
compatible hardware would have had to be released and supported before 
that date (possibly substantially before then).


CentOS 6 has been EOL for almost a year, and isn't receiving any 
security updates.  You *really* should upgrade.


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Postfix and virtual mail boxes.[SOLVED - kinda]

2021-10-08 Thread Rob Kampen

On 7/10/21 6:18 pm, Rob Kampen wrote:
Hi, not sure this is the best place to go for my problem, but hoping 
someone can point me to the correct or better place.


I have two currently working CentOS 7 based email servers that host a 
number of virtual domains and users and delivers mail just fine - for 
correctly addressed vmail inboxes AND for alias addressed emails and 
domains.


These all use postfix, dovecot, amavisd, clamAV, spamassassin, mysql 
(mariadb) and roundcubemail


I use port 25 for the world email delivery - no auth needed as only 
accepts hosted virtual domain addressed email.


and

port 587 for user client MUA to send mail - smtp with STARTTLS auth 
needed


port 993 for MUA IMAP access to account mail boxes

A couple of weeks ago I rolled up a new minimal virtual server (also 
CentOS 7) and basically copied the same setup as the other two and 
have now spent far too long trying to get it going.


My initial problem was that I  set up mydestination to include 
$mydomain - this has the consequence of seeing any mail@$mydomain as 
local email and trying to deliver to the local machine rather than the 
vmail inboxes.


So after setting up a new domain just for the MX we moved on.

All three installations use mysql (mariadb) as the data store for 
domains, alias domains, user vmail accounts, and forwardings (virtual 
alias mapping)


The mysql bits work just fine as I can send mail from an MUA client 
and they deliver correctly via an authenticated session on port 587 - 
i.e to any world email address AND to local vmail boxes, including 
those addressed via an alias and/or alias domain.


What fails to work on the new installation, but works fine on my two 
legacy servers, is mail addressed via an alias. Specifically an alias 
domain. Even adding the complete alias email address to the 
forwardings table doesn't work.


e.g. let's say we have an email domain '@example.com' and an alias 
domain '@example.org'.
Needed so I can migrate my clients from one server to the other in a 
staged manner.


Thus the new server is set up to operate as the MX for @example.org 
and @example.com but needs to alias redirect the incoming emails being 
sent to f...@example.org and deliver them to the vmail location for 
f...@example.com (i.e. we have no vmail locations for @example.org 
only for @example.com


So if I send a test email via my MUA (using port 587 and hence 
authenticated) it does the alias lookups and translations needed and 
correctly delivers the mail.


However if I send an email to f...@example.org from say a gmail 
account, it arrives at my new server and promptly gets bounced with a 
550 5.7.1 error - no such email address.


After doing diff on the main.cf and master.cf from all three servers 
the only differences are the myhostname, mynetworks (new one is dual 
stack IP4/IPv6 and thus includes [::1]/128), smtpd_tls certificate 
names, and the virtual_uid_maps - all expected and accounted for.


master.cf are identical

Many dozens of google searches and reading far too many pages, has 
left me with no idea why my new server doesn't accept alias directed 
emails via port 25.


All the documentation indicates that alias lookups and translations 
are performed by postfix - all the time.


receive_override_options is not set.

So, after many dozens of hours and sending test emails I have found a 
solution (work around) that appears to work okay. It is now different to 
the original two MX servers I cloned from, in that the maillog shows a 
different cycle of processing, and it now fails a truly unknown mailbox 
much later in the process - thus higher workload on my MX. But the key 
thing is that it does now do the virtual_alias checks on incoming emails 
on port 25 before rejecting.


No idea why this third MX is behaving differently. It has a dual stack 
IP, so I disabled IPv6 access and tried again, but that certainly wasn't 
the cause of the difference in processing.


It should be noted that the two initial MX machines have an extra line 
in the maillog that is the second logged step in the process, and goes 
something like:


Oct  8 19:00:58 mx policyd-spf[16055]: prepend Received-SPF: None 
(mailfrom) identity=mailfrom; client-ip=209.85.210.180; 
helo=mail-pf1-f180.google.com; envelope-from=r...@example.com; 
receiver=


After that processing steps are identical.

My work around makes the steps a little more different.

So the work around is changing master.cf

From

# ==
# service type  private unpriv  chroot  wakeup  maxproc command + args
#   (yes)   (yes)   (yes)   (never) (100)
# ==
smtp  inet  n   -   n   -   -   smtpd
 -o content_filter=spamassassin

TO

# ==
# service type  private unpriv  chroot  wakeup  maxproc command + args

Re: [CentOS] Infiniband

2021-10-08 Thread Mark Woolfson
Hello,

 

Please can someone help.

 

I have a large server cluster running CentOS 6.4 and CentOS 6.6 using 10GbE.

I want to upgrade to Infiniband.

What Mellanox ConnectX VPI is supported natively on these OS's?

What Mellanox ConnectX VPI is supported using an additional device driver on
these OS's?

 

Mark

 



-- 
This email has been checked for viruses by AVG.
https://www.avg.com
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Postfix and virtual mail boxes.

2021-10-08 Thread Gionatan Danti

Il 2021-10-07 23:24 Alexander Dalloz ha scritto:

Am 07.10.2021 um 15:06 schrieb Gionatan Danti:

Il 2021-10-07 12:40 Rob Kampen ha scritto:

mydestination = localhost localhost.localdomain
mydomain = example.org
myhostname = mx.example.org
mynetworks = 127.0.0.0/8, [::1]/128


Not that I expect it to be the cause, but you need a coma between 
"localhost" and "localhost.localdomain" in mydestination.


That's simply wrong!

http://www.postfix.org/postconf.5.html#mydestination

"Specify a list of host or domain names, "/file/name" or "type:table"
patterns, separated by commas and/or whitespace."


Oh, I missed the last part ("or whitespace") and I always used comas.
Thanks for pointing it out.

--
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: g.da...@assyoma.it - i...@assyoma.it
GPG public key ID: FF5F32A8
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos