Search results

  1. blunix

    Cant disable in-built display - POP OS 22.04

    xrandr for the win, yes, thats what I would use as well.
  2. blunix

    Today's article is a file management article...

    yes, but thats pretty slow if you have large files
  3. blunix

    Today's article is a file management article...

    yeah I noticed :D I took it for granted and then started to question things xD
  4. blunix

    Today's article is a file management article...

    btw what you can do that with tee but a bit differently. This way isn't super efficient for large files but will do the trick for your common small textfile: user@host:~/tmp$ echo foobar > foo user@host:~/tmp$ mkdir one two user@host:~/tmp$ cat foo | tee one/foo two/bar foobar user@host:~/tmp$...
  5. blunix

    Today's article is a file management article...

    Heres another weird version I found on some blog: xargs -n 1 cp -v filename<<<"/dir1/ /dir2/ /dir3/" I knew about the xargs one, which I would stick with I think. In bash scripts I commonly just use loops with an array to improve readability.
  6. blunix

    Today's article is a file management article...

    actually you are wrong: user@host:~/tmp$ echo foobar > foo user@host:~/tmp$ mkdir one two three user@host:~/tmp$ tee ./one/foo ./two/foo ./three/foo & [4] 3126578 [4]+ Stopped tee ./one/foo ./two/foo ./three/foo user@host:~/tmp$ cat one/foo user@host:~/tmp$ # one/foo is empty...
  7. blunix

    Today's article is a file management article...

    well heres one I didnt know oO tee ./one/foo ./two/foo ./three/foo & How does tee know to copy the file ./foo ..? As this felt a bit hacky to me, heres chatgpt's answer to the problem (more characters to type though, however no backgrounding processes) echo dir1 dir2 dir3 | xargs -n 1 cp...
  8. blunix

    Local POSTFIX cannot send to Gmail

    Some ISPs and VPNs block port 25 outgoing as well, so you might get the same result (I just tried and my VPN provider does). Just complain to aws. I'm extremely sure its that. I used to host with AWS but "banned" them for being a crappy IaaS provider about 2 years ago. I'm very sure I remember...
  9. blunix

    Local POSTFIX cannot send to Gmail

    You struck a topic that I love to hate ;) Ask anything, I can write a book about SMTP xD I'm 99% sure that this is blocked by aws ec2 by default. Don't waste your time, just directly complain to the aws support. If you don't have a support plan with aws it will take them forever to answer. My...
  10. blunix

    Local POSTFIX cannot send to Gmail

    Now that I re-read the ops question.. @dcbrown73 , do you want to RELAY mails via gmail, as in you have a gmail account that you want to connect to in order to RELAY mails to [email protected], or do you want to send mails DIRECTLY from your server to [email protected]? If its the latter you will...
  11. blunix

    Local POSTFIX cannot send to Gmail

    @dos2unix If you are behind nat, you can not directly have a PTR record (at least not a public one, a private network one yes, but that is irrelevant for mail routed over the public internet). Yet you can connect to gmail via smtp-auth and send mails. The same goes for a mailrelay server. It...
  12. blunix

    Local POSTFIX cannot send to Gmail

    Regardless of that being unrelated to the OPs actual inquery, yes, that is a correct statement. You have to configure an array of DNS-based authentication systems to be able to deliver email to pretty much any mail server, not just the large ones. But that is SMTP delivery, not SMTP relay.
  13. blunix

    Local POSTFIX cannot send to Gmail

    The OP wants to RELAY emails from servers to gmail, which then delivers to the actual recipeint. like this: op's server -> smtp auth -> gmail -> mail.example.com -> mail-client of mail.example.com user This is "the same" as: thunderbird -> smtp auth -> gmail -> mail.example.com -> mail-client...
  14. blunix

    Local POSTFIX cannot send to Gmail

    About this: "some" large mail providers (I'm looking at you o365) setup blacklists with IP addresses from hetzner, AWS and alike. If you try to relay from such an IP you will get an error message that contains a link to o365, where you have to apply to whitelist your IP. I'm not sure about...
  15. blunix

    Local POSTFIX cannot send to Gmail

    PS: Very very cool signature xD
  16. blunix

    Local POSTFIX cannot send to Gmail

    PS: About security. I'll throw in a small rant. It doesnt matter if you use postfix, opensmtpd or a python library to connect to gmail as that connection is TLS encrypted anyways. The problem with mail security arises when gmail delivers the mail to "mail.example.com". Sadly a large percentage...
  17. blunix

    Local POSTFIX cannot send to Gmail

    The configuration language for post-fix (yes, its named fix-after) is extremely complex and split up into multiple config files. This is not required for a task as simple as a mailrelay. Having complex configuration is bad practice, not only in the python coding guidelines but in general Linux...
  18. blunix

    Local POSTFIX cannot send to Gmail

    This kind of behavior (timeout or connection refused) is pretty much always a firewall or network problem. I am assuming that you login via SSH to the instance, which suggests that the instance itself has a functional "internet connection". It has nothing to do with the machine having a DNS...
  19. blunix

    Local POSTFIX cannot send to Gmail

    As to your port 25 problem: That means that packets you send to 142.250.153.26 port 25 are never answered. This most likely is unrelated to postfix but a network configuration. I have ditched aws for similar reasons I didtched postfix a few years back (because its horrible lol) but I do...
  20. blunix

    Local POSTFIX cannot send to Gmail

    PS: On gmail you will have to flip some settings - which I don't know - in order to be able to relay via smtp. I remember that before you can send the first mail you need to do some kind of authentication, but the last time I did that was about 2 years ago. I just remember that it was bouncing...
Top