Dears I can't send to any email I received only and i can send and received internal wen i out my domain on mxtoolbox It give error like photos I have local server on my network and published real IP on it by Por forwarding Any help PLZ
Not sure what the error in the screenshots should be. The 2nd is only a webmail screenshot. The 1st looks to be missing mx -records. When I do the same here I do get a mx-record. You should look in your postfix logs to find errors on why you can't send mail.
first I fix the MX recorded. second when I send any email it's look like is already sent but the fact I didn't find it in the end ex: the email server I have is mail-travel.com and I create [email protected] when I send from george @mail-travel.com to [email protected] or any email like [email protected] it's look like it sent but I can't received in the next side on mailbox geoadly or george.nabil. can you give me the steps how can troubleshot postfix
Sorry to ask but did you check in junk / spam folder? Anyway, if I were you, I'd follow @Taleman's tutorial for email and its troubleshooting: https://www.howtoforge.com/how-to-i...-with-ispconfig-on-debian-10/#troubleshooting
Oct 30 09:23:15 mail postfix/smtps/smtpd[140213]: connect from unknown[197.44.213.242] Oct 30 09:23:15 mail postfix/smtps/smtpd[140213]: D9ABD44062A: client=unknown[197.44.213.242], sasl_method=LOGIN, [email protected] Oct 30 09:23:16 mail postfix/cleanup[140217]: D9ABD44062A: message-id=<[email protected]> Oct 30 09:23:16 mail postfix/qmgr[2772]: D9ABD44062A: from=<[email protected]>, size=4227, nrcpt=1 (queue active) Oct 30 09:23:16 mail postfix/smtp[140218]: D9ABD44062A: lost connection with mailsrv2.xlab-group.com[178.79.179.57] while receiving the initial server greeting Oct 30 09:23:16 mail postfix/smtp[140218]: D9ABD44062A: to=<[email protected]>, relay=mailsrv2.xlab-group.com[109.74.199.134]:25, delay=0.86, delays=0.55/0.04/0.27/0, dsn=4.4.2, status=deferred (lost connection with mailsrv2.xlab-group.com[109.74.199.134] while receiving the initial server greeting) Oct 30 09:23:18 mail postfix/smtps/smtpd[140213]: disconnect from unknown[197.44.213.242] ehlo=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=6 Oct 30 09:23:22 mail dovecot: imap([email protected])<140185><GF7mk+sICw7FLNXy>: Disconnected: Logged out in=935 out=8172 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Oct 30 09:23:31 mail dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=197.44.213.242, lip=192.168.7.10, mpid=140222, TLS, session=<sqB3l+sI1zjFLNXy> Oct 30 09:23:31 mail dovecot: pop3-login: Login: user=<[email protected]>, method=PLAIN, rip=197.44.213.242, lip=192.168.7.10, mpid=140223, TLS, session=<ZRZ4l+sIBozFLNXy> I wanna know why I am lost connection with mailsrv2.xlab-group.com there any missing I don't do it
Seems you're sending mails directly to it's destination. Do you have proper rDNS and SPF in place? Post your /etc/postfix/main.cf and master.cf here so we can see if there's any misconfiguration.
I would check port 25 first, especially the outgoing, as your problem is connecting to outside host. Telnet between mail servers via port 25 is very useful in troubleshooting. See the comments especially by @Talemen in that tutorial.
I have Domain On Godaddy and I created DNS Records like photo and I am waiting my ISP to create PTR Record But SPF I am till now not create it. should I create it by my self on Godaddy or it should tell ISP to create it. And should i add any smtp for gmail or any domain on server or not. thanks
At first glance I don't see anything out of the ordinary in your main.cf and master.cf The logs you send earlier aren't clear on why the connection is lost. It could be the remote server doesn't accept connections from servers without proper rDNS. But only the admin of the remote server would know if that's the case. Or it could be something completely different. Anything domain related (like SPF) you do in DNS yourself, at Godaddy. rDNS is IP related and needs to be created by the IP's owner, you're ISP. On a side note. To make your mail more trustworthy you should also install DKIM on your server and configure it for your domain(s). Accompanying TXT record(s) need to be created in your DNS.