You are not logged in.
Pages: 1
I aim to be able to manage myself my mailserver.
For now i just need help in order to configure postfix so i can send an email from my postfix configured mail to my gmail account.
I've read the following wiki pages :
https://wiki.archlinux.org/index.php/postfix
https://wiki.archlinux.org/index.php/Si … ail_System
Wich are really not informative.
I've my own domain name, wich can be pinged, i will call it : domain.free.fr
Here is what i've done so far :
Install postfix :
sudo pacman -S postfix
Configure myhostname in /etc/postfix/main.cf
myhostname = domain.free.fr
Configure the username in /etc/postfix/aliases
root: glow
Reload aliases and postfix
newaliases
postfix reload
postfix status
postfix/postfix-script: the Postfix mail system is running: PID: 11706
Then i've tried to use sendmail to send an email to my gmail adress :
sendmail name@gmail.com
Test
.
Nothing coming in my mail.
What do i do wrong ?
Ican't find any log about postfix, /var/log/mail.log do not exist, is this normal ?
Last edited by GloW_on_dub (2014-03-31 15:45:54)
Offline
check
mailq
there may be some clues there.
In my case it was an issue with reverse hostname lookup not returning what it should, hence the remote mailserver refusing my message.
Last edited by Void_Walker (2014-03-31 14:37:22)
Offline
mailq
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
CCD29FF253 262 Mon Mar 31 16:58:37 glow@marron.hd.free.fr
(delivery temporarily suspended: connect to alt4.gmail-smtp-in.l.google.com[74.125.25.27]:25: Connection timed out)
mathieu.westphal_at_gmail.com
-- 0 Kbytes in 1 Request.
My mail is in the queue, but cannot be delivered
Last edited by GloW_on_dub (2015-08-28 13:20:26)
Offline
After a little bit of googling, there was a suggestion that the port 25 might be closed by your ISP. You might try to contact them. Or check if there are no rules on your firewall that block it.
Offline
You're right indeed, ISP is blocking port 25 with outgoing packet.
I have another adress provided by my ISP, which i can use to send email.
I will try to use their smtp server as relay.
Thanks for your help
PS :
How to test if your ISP is blocking port 25 :
telnet smtp.gmail.com 25
Offline
My awesome ISP (Free, in France) as an option to unlock outgoing smtp directly from the webpanel !
It is working !
Offline
Pages: 1