Recent Questions - Server Fault |
- Force non-empty MAIL FROM for outgoing email
- IIS Send 200 Instead of 405 when POST to a Static File
- What email server/tech to use to secure email history
- Command logging for chroot ssh users
- Named. service is not running on centos7
- How to move PAM from DR to primary machine without any downtime?
- modoboa on ubuntu 20.04 : supervisord exited: policyd (exit status 1; not expected)
- NGNIX enforce HTTPS
- Exchange 2019 refusing attachments within permitted size
- Server works, domain does not with VPS [closed]
- Apple client unable to login with LDAP backend and GSSAPI or PLAIN
- Apache "can't locate API module structure" with php73
- Azure Internal Load Balancer not Working
- rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6]
- Ansible vmware_guest_facts use facts for multple vm's
- What Roles and Features are installed by default on Windows Server 2012 R2?
- add package to WinPE using DISM failes
- Mysql - How to log access from not granted hosts
- NGINX subdomain with proxy_pass
- WSS Load Balancing with SSL Termination at layer 4
- Access OpenVPN connection from local network through WAN IP?
- Virtual Host Forbidden after enabled SSL
- Server 2008 R2 NIC in "Unidentified Network" state after connectivity loss is restored
- How do I make a connection private on Windows Server 2012 R2
- Howto rewrite URLs with two nginx as reverse proxies to gunicorn/Django
- KB2919355 updated not offered
- TLS from Radius for Wifi is rejected by Win7
- Can connect to ubuntu server with PuTTY but can't via WinSCP
- MAC address allocation for channel-bonded interface
- Exchange 2010 send from multiple domains
Force non-empty MAIL FROM for outgoing email Posted: 14 May 2022 05:57 AM PDT I am using postfix on a Debian server, primarily to send outgoing email for websites and notifications, and have run into an issue where outgoing email to a certain mailing list provider is rejected but email to "normal" individual email addresses goes through just fine. I've been informed this is due to an empty MAIL FROM, since that typically indicates a bounce or a spammer, which mailing lists don't accept. However, this isn't a bounce - it's the initial outgoing message. However, it does seem if I debug the SMTP session, MAIL FROM is empty: The mail itself is queued locally on the same sever using the I don't know why postfix isn't sending a MAIL FROM, but I suspect it could be due to this other reason:
https://lists.debian.org/debian-isp/2004/01/msg00259.html However, in this case, indicating that it doesn't want a bounce is breaking outgoing email to certain destinations that require a non-empty MAIL FROM. How can I force it to send a MAIL FROM, such as from a specific address if necessary? |
IIS Send 200 Instead of 405 when POST to a Static File Posted: 14 May 2022 04:00 AM PDT I am trying to deploy a static network speed test application. IIS need to behave like This Nginx Config. Everything working fine, but I need to send 200 instead of 405. When Running Upload Test. (POST request to a Static File) Looking for ISS Equivalent like Nginx "error_page 405 =200" |
What email server/tech to use to secure email history Posted: 14 May 2022 03:10 AM PDT Context:
How to ensure that the history of received emails is not erased by mistake or intentionally ? (i.e. mail server, provider, backup solution, external tool) |
Command logging for chroot ssh users Posted: 14 May 2022 02:40 AM PDT I have a ubuntu server that allows users access via ssh. When they log in they are contained to their chroot directory. I'm looking for a way to log commands used by the users. I've tried using snoopy but it doesn't log commands for users in chroot. It there any possible solution for this ? The only similar resources I've found have been for sftp. Would greatly appreciate any advice, thanks. |
Named. service is not running on centos7 Posted: 14 May 2022 02:51 AM PDT I'm was trying to ceate hostnames but after 48 hours i checked that the nameservers are not pointing towards my server. So i checked the named.service status it returned with this log- please help me- |
How to move PAM from DR to primary machine without any downtime? Posted: 13 May 2022 11:44 PM PDT My environment is : Primary site : 2 MBX and 2 CAS -- fsw \srv01\dag DR Site : 1 MBX and 1 CAS --alternate fsw \srvdr1\dag my question is : I want to move primary mailbox node (pr-mbx-01 )without downtime. is it possible ? It shows WitnessShare InUse: PRIMARY Get-DatabaseAvailabilityGroup -Status | fl : Group Node Status Cluster Group DR-mbx-01 Partially Online Available Storage PR-MBX-02 Offline |
modoboa on ubuntu 20.04 : supervisord exited: policyd (exit status 1; not expected) Posted: 13 May 2022 10:50 PM PDT New modoboa 2.o install on ubuntu 20.04 doesnt work and giving error in syslog. Tried everything no clue |
Posted: 14 May 2022 04:49 AM PDT for my Webapp (Angular App) we are using NGNIX as web server. I have a task where I need to make sure all assets/images are loaded over HTTPS. In the Browser Dev tools, I see the request is sent over HTTPS. However, the response location header is coming back as an HTTP URL (see screenshot below). Here are the current NGNIX Configs: Any help is highly appreciated. Thanks |
Exchange 2019 refusing attachments within permitted size Posted: 14 May 2022 05:40 AM PDT I have external users (different mail host) trying to send messages to internal users on our Exchange 2019 server. The attachments are large (7MB-10MB before Base64 encoding), and the senders are receiving the following error after sending: I checked my settings as show below, and my exchange server should be accepting messages up to 25MB. Can someone explain how to diagnose/resolve this? As well, does this look like an exchange message? I have a proxy (ASSP) in front of Exchange, but the proxy does not report any errors/issues. I can't find this exact message in ASSP so I'm pretty sure its coming from exchange 2019 |
Server works, domain does not with VPS [closed] Posted: 14 May 2022 02:57 AM PDT I have to deal with clear VPS with Ubuntu 16.04; Apache (and domain). The server itself works fine via ip-address. I have successfully installed php via ssh, so now I even have some Linux experience. But the domain doesn't work. Trying to access it just with browser I get In host provider site I set it's nameservers for domain. Via ssh in Apache I created and enabled config for that domain, specifying it in Googling, I found solution, where man wrotes that the ssl should be installed, so I went to Let's encrypt, followed, instruction for certbot, but stuck in command I also tried to install certbot via Is it something in hosting-provider-side, so I need to contact them, or it's me doing wrong something? |
Apple client unable to login with LDAP backend and GSSAPI or PLAIN Posted: 14 May 2022 05:34 AM PDT I have a OpenLDAP server with Kerberos5 for authentication and on Linux/Unix/Windows environments I am able to login without a problem. The LDAP server is configured to use GSSAPI or PLAIN that passes trough SASL2 the password to PAM that authenticates against KERBEROS. This is due some server software do not support GSSAPI directly yet. On macOS (latest Monterey) I am able to get ID of the users and do It seem that the underlying Unix (BSD variant) works fine with LDAP but macOS overlay does something funny. I have disabled all other authentication methods except GSSAPI and PLAIN with: I discovered this discussion did not solve my problem. It seems that Apple LDAP client for LOGIN tries to get Kerberos5 ticket with ldap user info instead of just user info (LOG): Any tips would be highly appreciated! |
Apache "can't locate API module structure" with php73 Posted: 14 May 2022 04:00 AM PDT newbie here. I was working on installing a LAMP environment on Manjaro for testing, trying to use older versions to match the production environment I have to work with (PHP 7.3, MySQL 5.6; got them from the AUR) when I had a freeze and was forced to hard reboot; since then, I've been having a weird error with Apache ; the service now refuses to start. When I start the service with Line 190 and 191 of httpd.conf :
Please, what else should I try ? I'm really new to Linux and very inexperienced in server management in general, so I'm not sure what other info I should be giving ; I'll do my best to answer whatever is needed. |
Azure Internal Load Balancer not Working Posted: 14 May 2022 02:00 AM PDT I'm trying to configure an Azure Internal Load Balancer, I have created in Basic SKU and Standard SKU. I want to use it with a SQL Server VM (TCP 1433), but is not working, when I test it with tcping to the front-end IP and port 1433 does'n respond. I have check the health probe, originally I created to test to 1433 TCP port, but latter change it to TCP 3389, also TCP 445, but it does'nt work eather. I have tested the load balancer from a VM on the same subnet that the Load balancer is on, and also from my onpremise network (via VPN). I have checked the NSG and everything looks good, I have created an incoming rule to allow "Azure Load Balancers" access to my Vnet, and also an Outgoing Rule to allow any traffic from my Vnet to "Azure Load Balancer", but it does'n work. Also, I disabled Windows Firewall on the backend server. Is there a way to check the result from the Health probe? Is there anything else I can check? Regards. |
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6] Posted: 14 May 2022 12:37 AM PDT Recently I have been unable to rsync over ssh. Each time I get the same error I am running Please note the username, IP, and directories have been changed for the purposes of this post. In the past I have ran the exact same command as verified using bash_history. What I have tried:
The only thing that has changed is I've recently installed Virtualbox and Vagrant. Is it possible I may have messed up authentication/ports/etc on my local machine? Any help is greatly appreciated. |
Ansible vmware_guest_facts use facts for multple vm's Posted: 14 May 2022 03:01 AM PDT I am writing a script where I deploy and configure VM's on a vSphere environment. After the deployment I want to gather the IP's of the VM's for DNS registration. Facts can be gathered for 2 or more VM's at the same time. But how do I then use the gathered data to output a VM name with IP address? For a single VM this works to get the IP, but when used with 2 VM's the variable is undefinied: Maybe my approach is wrong, but I am not really sure how else to do it. Results (the hostname and folder is Terraform, but this example only uses Ansible): |
What Roles and Features are installed by default on Windows Server 2012 R2? Posted: 13 May 2022 11:04 PM PDT Is there somewhere that I can get a list of the default Roles and Features that are installed on a Windows Server 2012 R2 server? |
add package to WinPE using DISM failes Posted: 14 May 2022 12:00 AM PDT I'm having trouble with adding a package to a custom WinPe file. I try to add a package (using:
When I look in the dism.log I see this:
However, I checked the path and there is no error in it. Also in the dism.log there is this error:
I have no clue of what that is. Can somebody help me with adding packages to a WinPe custom wim image? Thanks in advance. Jack |
Mysql - How to log access from not granted hosts Posted: 14 May 2022 01:23 AM PDT I have the following scenario: Into MySQL server: Client #1 is granted and Client #2 is NOT granted. Then in Client #1 shell: Into Mysql Server log: Everything is OK: wrong username/password >> access denied >> log recorded Now Client #2 shell: Into Mysql Server log: NOTHING! My my.cnf: MySQL log is not logging "host is not allowed", it only logs "Access denied for user". QUESTION: How to log MySQL "host is not allowed" cases? Thanks! |
NGINX subdomain with proxy_pass Posted: 14 May 2022 12:00 AM PDT I have nginx running as a reverse proxy for a nextcloud server hosted on apache on a different virtual machine. I'd like to be able to access it via cloud.example.com. With my current rules I have to put in cloud.example.com/nextcloud. I have googled, searched, and the closest I got was being able to go to cloud.example.com and it would redirect to cloud.example.com/nextcloud, but I'd like to keep the /nextcloud out of the address bar if possible. Do I need to have a /nextcloud location that does the proxy pass in addition to the /? This is my current nginx.conf: |
WSS Load Balancing with SSL Termination at layer 4 Posted: 14 May 2022 02:00 AM PDT Should it be possible to terminate SSL for wss (secure websockets) at a layer 4 load balancer? Seems to me that wss (and ws) in general would require TCP routing since an HTTP reverse proxy wouldn't be able to make sense of the packets; and, SSL termination would require layer 7 routing since the session is really maintained above layer 4. I feel somewhat confident about the first statement, and much less so about the second. Bonus question. If it is possible, in general, to achieve wss routing and ssl termination in a single load balancer, can it be done specifically with HAProxy? Nginx? Other? |
Access OpenVPN connection from local network through WAN IP? Posted: 14 May 2022 05:01 AM PDT I have 2 machines at home, one is a pine64 running a Debian linux and a desktop PC with windows 8. I successfully installed openVPN server to the pine64 so I have a working setup, the openVPN service is accessible from the local network through the local IP address of the server, I tested the connection with my desktop PC. The VPN is also working from the outside network through my router's WAN IP address, consequently the port 1994 is forwarded correctly to the openVPN host. I also tested the connection from the outside network access with my cellphone (mobile network) and the openVPN connect client, everything went fine. I would like to simulate/test the VPN access as it was an outside network from my desktop PC. For example I want to check whether I could access my other other hosts in the network through SSH if I will be far away from my home network. What I don't quite understand is why I cannot access my VPN server from the local network through the router's public WAN IP. The 2 machines have static IPs on the same network: desktop PC: pine 64 (openVPN server): let the router's public WAN IP be (for the sake of the example): So I'm trying to access the openVPN server with the IP Here's the log I get from the openVPN client application Server side settingsopenVPN config iptables(exported the rules to a file with Output of the |
Virtual Host Forbidden after enabled SSL Posted: 14 May 2022 12:55 AM PDT I enabled SSL for my wamp64 server and it all works fine for http://localhost/ and https://localhost/. But I didn't enable it to look at localhost - I need to activate for 1 of my virtual hosts: And of course it still has this in httpd-vhosts.conf Now, the Any idea what's the problem? |
Server 2008 R2 NIC in "Unidentified Network" state after connectivity loss is restored Posted: 14 May 2022 01:03 AM PDT I am having trouble with 2 servers, both with the same symptoms. When they are reconnected to the switch after losing connectivity, they stay in an "unidentified network" state. Only after cycling the selection of ipv6 in the NIC or rebooting does it then recognize the domain again and allow connection between the servers. My temporary fix involved accessing the server via RDP, accessing the NIC settings, and either enabling or disabling IPv6. It doesn't matter if the NIC has IPv6 enabled or disabled - the problem occurs whichever way. I guess changing the IPv6 settings is more of just resetting the NIC than anything. Rebooting also gets the servers back up though takes longer than the IPv6 trick. Right now all the servers are connected to the same switch, though we're having a problem with it where it still loses power during a generator test despite being connected to a UPS. This is a completely separate issue, but I just want to let you know WHY the servers lose network connectivity. There are close to 10 servers and only these 2 servers seem to have the problem. They are a database and an app server that talk to eachother. They were both purchased and put in place at the same time. They both have Broadcom NIC teaming enabled, however only have a single cable connected to each leading to the switch. The same problem occured with 4 NIC's connected on each server. While the NIC's are in an unidentified state, they are unable to ping other servers, I'm guessing because the state puts them in a firewall class that doesn't allow communication to other domain server, because it remains connected to the internet and can be accessed remotely. The configured DNS server IP's are the same on each: 192.168.X.6, 192.168.X.9 - both internal ADDS servers. Any idea why this is happening? Hopefully this is enough detail for you. Please let me know if you have any questions. |
How do I make a connection private on Windows Server 2012 R2 Posted: 14 May 2022 05:40 AM PDT After a restart of one of our servers (a Windows Server 2012 R2), all private connections become public and vice versa (this user had the same problem). Stuff like pinging and iSCSI stopped working, and after some investigation it turned out this was the cause. The problem is that I don't know how to make them private again. Left-clicking the network icon in the tray shows the "modern" sidebar, but it only shows a list of connections, and right-clicking them doesn't show any options. What could be the problem, and is there a way to change these settings? I have to make one of the connections public (Internet access), and two of them private (backbone). |
Howto rewrite URLs with two nginx as reverse proxies to gunicorn/Django Posted: 14 May 2022 03:01 AM PDT I have a Django application, deployed with gunicorn on port 8000, on a VM with a backend nginx, port 80, on the same VM. The nginx config is: On the frontend side, there is another nginx, port 443, translating the user visible URLs While I can access any URL such as |
Posted: 14 May 2022 01:03 AM PDT On my Windows 8.1 machines, the so-called "April Update" from KB2919355 was installed automatically by Windows Update, as expected. However, on my 2012 R2 server, the update was not automatically installed, and Windows Update says "no updates are available". I know that I can download and apply KB2919355 from the Microsoft Downloads center, but missing this update makes me worried that this machine may be missing other updates as well. The server is updating directly from Microsoft, not from WSUS, and there is nothing else that I know of which could be blocking the update. The machine does have the prerequisite update from KB2919442. How can I find out why this update is missing? What can I do to make sure this doesn't continue to be an issue with other updates? (I wish I had access to another 2012 R2 server to confirm whether this is an issue specific to this machine or not, but my other Windows servers are running 2008 R2 or 2012 original, so this update doesn't apply to them.) |
TLS from Radius for Wifi is rejected by Win7 Posted: 14 May 2022 05:01 AM PDT We do have the following Setup at our company
What we want to have is basically authenticate and authorization to the WiFi based on LDAP via RADIUS We installed a certificate on the Synology which is issued by GlobalSign for the root domain example.com and nas.example.com (We used our wildcard cert here before, which the Synology showed as self signed, maybe the usage extensions were not there, so i bought another one) I configured the APs (WPA2) to connect to the RADIUS (IP based) and the RADIUS to access the LDAP (same machine). Basically everything works except that our Win7 (and some Vista) clients are having problems to do the TLS Handshake with the RADIUS Unforunately the output is not very good, since it only shows
My guess: The supplicant (Win7 machine) is not accepting the certificate which results in failing the authentication to work. If i uncheck the option "Check Server Certificate" everything works. The problem must almost certainly be the certificate used in the Authentication since there are strong requirements to the certificate from Microsoft: http://support.microsoft.com/kb/814394/en-us I already checked the object identifier which is 1.3.6.1.5.5.7.3.1. and is present in the certificate There are two other points i might not fully understand:
There is one intermediate certificate which is present on the radius, the root cert (GloalSign) is trusted by the OS. About the domain name: How does a client check this since it is connecting to a SSID and the AP points to a RADIUS Server by IP? How can i debug this a bit further? I am working on a Win7 Machine, but linux is available if needed |
Can connect to ubuntu server with PuTTY but can't via WinSCP Posted: 14 May 2022 01:33 AM PDT I have just updated from 8.04 to 10.04 after such a long time I am rather excited. But since the update I am now unable to login to my server via WinSCP but a connection with PuTTY is still completely fine. Neither are using private keys. I am just entering a username and password each time. I do however get through to the authentication panel, where i can enter my username and password. This is where it appears to time out. So, is there a reason why one would accept a SSH connection and not the other? |
MAC address allocation for channel-bonded interface Posted: 13 May 2022 11:04 PM PDT I've configured Channel-bonding (on RHEL/CentOS) with with balance-alb (mode=6) option:
which is working fine and according to the (I've replaced the middle bits of the MAC by 00 and 11 intentionally) Now, according to the Does any one know why I'm seeing this or how does it work? Thanks in advance. Cheers!! |
Exchange 2010 send from multiple domains Posted: 14 May 2022 04:00 AM PDT We have a Windows 2008 Enterprise R2 SP1 server with multiple accepted domains configured on our Exchange 2010 console. Configuration of exchange 2010: In exchange console, under organization configuration > hub transport > accepted domains, we have: We are able to RECEIVE e-mails on ALL the above domains. Just to be clear: I can receive emails to userX@domain1.com , userX@domain2.com, userX@domain3.com and userX@domain4.com without any problems. I am able to send email from userX@domain1.com (the default domain). However, when trying to send emails from userX@domain2.com, userX@domain3.com, and userX@domain4.com, I receive the following error: Delivery has failed to these recipients or groups:
If I change the primary email address for userX to userX@domain3.com , I am able to send as userX@domain3.com and only from that mail. The question: How can I enable sending emails from ALL the authoritative domains at any single moment without having to manually change the default email address of the user? |
You are subscribed to email updates from Recent Questions - Server Fault. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment