257 reputation
214
bio website
location Australia
age
visits member for 5 years, 4 months
seen Oct 16 at 5:13

Hello, hows it going? I'm just stumbling my way through the code.


Nov
12
comment I added some options to stop spam with Postfix, but now won't send email to remote domains
Actually, I'm not sure this was the issue, but perhaps a network issue. I removed "reject_unknown_recipient_domain" which then revealed the following in my logs when sending to my test gmail account " connect to gmail-smtp-in.l.google.com[2a00:1450:400c:c05::1b]:25: Network is unreachable" - it then appears to keep trying, and then relays a few seconds later. That looks like an ipv6 there, but then the relay that works appears to be via regular old ip. To be honest, I have no idea what is going on.
Nov
12
comment I added some options to stop spam with Postfix, but now won't send email to remote domains
@zhenech thanks for the tip though. Makes sense what you said. I'm going to try running with just spamhaus for a while because I am a super newb, configuring more difficult things is harder, and i'm getting rained on with spam.
Nov
12
comment I added some options to stop spam with Postfix, but now won't send email to remote domains
Thanks for that tip Nick. I've changed the order of the rules now.
Nov
12
comment I added some options to stop spam with Postfix, but now won't send email to remote domains
@zhenech Thanks for explaining all that. But this wouldn't be the reason why I can't send an outgoing mail would it?
Nov
12
comment I added some options to stop spam with Postfix, but now won't send email to remote domains
@michaelhampton It just has my nameserver Ip's 'nameserver 77.235.33.38 nameserver 77.235.33.116'
Nov
12
comment I added some options to stop spam with Postfix, but now won't send email to remote domains
@zhenech ok - I thought these would just block spam emails that have been added to these spam databases - are you saying good domains get added to these lists?
Nov
12
comment I added some options to stop spam with Postfix, but now won't send email to remote domains
@MadHatter I added the dig mx of gmail.com into the question. It seems like it is ok, isn't it?
Sep
23
comment Nginx with www and without www
thanks again - seemed I could only find rewrite examples everywhere.
Sep
22
comment Nginx with www and without www
unbelievably simple.
Sep
22
comment I have setup mail.mydomain.org, but now for another virtual domain, i'd like mail.thatdomain.org as well - how?
I see. That has helped a bit. I've added my 2 domains to this directive. But when I use the alias domain as a mail server, what comes up in the output returned from postfix is that it using whatever I list under the directive for myhostname. e.g. bounces are not returned by the alias domain, but by the myhostname. So if you send with mail.thisdomain.org (the virtual alias) it bounces with mail.myhostname.org - which isn't great. Any ideas?
Sep
22
comment Creating a new system user didn't create a folder in /var/mail for the user - why not?
Anyways, as a quick fix, I changed chmod to 777 and the user.name folder was created in /var/mail. So it is clearly a permissions issue.
Sep
22
comment Creating a new system user didn't create a folder in /var/mail for the user - why not?
I thought I would change the owner and group of the folder to dovecot, and then changed chmod to 644. This gave me permission denied for every use trying to access inbox. I appreciate your help - even though you feel rusty you sound like an expert compared to me.
Sep
22
comment Creating a new system user didn't create a folder in /var/mail for the user - why not?
Is it that postfix or dovecot doesn't have permissions?
Sep
22
comment Creating a new system user didn't create a folder in /var/mail for the user - why not?
I gathered it might be something like that. But do you know why the other users I have added which have got the same permissions as this new user have had no trouble creating the folder?
Sep
22
comment My postfix is letting me send emails through it without a username password - how to disable?
I had no idea. I was only trying to send to my own domain! But you are correct - on trying to send to another domain I was prompted for password. Well done!
Sep
22
comment My postfix is letting me send emails through it without a username password - how to disable?
postconf mail_version: output = mail_version = 2.6.6
Sep
22
comment My postfix is letting me send emails through it without a username password - how to disable?
@ALex_hha Do you know where is this directive set?
Sep
22
comment My postfix is letting me send emails through it without a username password - how to disable?
I hoped the above would work. I removed permit_mynetworks from that directive, and also added the smtpd_relay_restrictions directive, and rebooted. Unfortunately I can still send without authentication.
Sep
21
comment My postfix is letting me send emails through it without a username password - how to disable?
@ALex_hha mynetworks = 127.0.0.0/8 77.0.0.0/8 [::1]/128 [fe80::%eth0]/64
Sep
21
comment My postfix is letting me send emails through it without a username password - how to disable?
Does the smtpd_client_restrictions setting permit_mynetworks allow emails that are listed in mydomain to send through the mail server without a password?