Re: root acount unable to mail gmail.com - vers. 4.3
Hi I found the issue. I had to add a route like Route -q add 127.0.0.1 -netmask 255.0.0.0 localhost => and after this, the box is able to send mails !!! Next issue if someone has an idea: Interface1 = dmz one with the mail server of the company Interface2 = Public IP, which is also the IP of my MX server => I can send mails locally, but not to my mail server. I'm using sendmail (I don't need more) I try to change the host IP via the /etc/hosts file (with the DMZ IP Address) but the system still try to reach the real IP, means to go out of the interface2; and this is not working. Regards > -Message d'origine- > De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > De la part de Christophe Rioux > Envoyi : vendredi 10 octobre 2008 17:15 > @ : misc@openbsd.org > Objet : Re: root acount unable to mail gmail.com - vers. 4.3 > > HI > > I have more or less the same issue. I try to send a > monitoring mail via > root, and if I do a tcpdump I see: > > pass out on em2: public_ip.17782 > 127.0.0.1.25: > > What means, the firewall try to send a mail to outside. > > I try the same thing with the command: > mail [EMAIL PROTECTED] > subject: toto > . > And I see exactly the same result. What is wrong ? > > Regards
Re: root acount unable to mail gmail.com - vers. 4.3
/var/spool/clientmqueue is not empty. There are all the mails waiting and there are spooled every 15 minutes. What I don't also understand is that the command "mailq" returns after 30-40 secondes the result: 0 Mail -v takes the same result. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Jesus Sanchez Envoyi : vendredi 10 octobre 2008 19:47 @ : misc@openbsd.org Objet : Re: root acount unable to mail gmail.com - vers. 4.3 Christophe Rioux escribis: > HI > > I have more or less the same issue. I try to send a monitoring mail > via root, and if I do a tcpdump I see: > > pass out on em2: public_ip.17782 > 127.0.0.1.25: > pf activated? it may be a rule. Try looking your pf.conf > What means, the firewall try to send a mail to outside. > > I try the same thing with the command: > mail [EMAIL PROTECTED] > subject: toto > . > are /var/spool/mqueue or /var/spool/clientmqueue empty?? try using # mail -v [EMAIL PROTECTED] > And I see exactly the same result. What is wrong ? > > Regards
Re: root acount unable to mail gmail.com - vers. 4.3
Christophe Rioux escribis: HI I have more or less the same issue. I try to send a monitoring mail via root, and if I do a tcpdump I see: pass out on em2: public_ip.17782 > 127.0.0.1.25: pf activated? it may be a rule. Try looking your pf.conf What means, the firewall try to send a mail to outside. I try the same thing with the command: mail [EMAIL PROTECTED] subject: toto . are /var/spool/mqueue or /var/spool/clientmqueue empty?? try using # mail -v [EMAIL PROTECTED] And I see exactly the same result. What is wrong ? Regards
Re: root acount unable to mail gmail.com - vers. 4.3
HI I have more or less the same issue. I try to send a monitoring mail via root, and if I do a tcpdump I see: pass out on em2: public_ip.17782 > 127.0.0.1.25: What means, the firewall try to send a mail to outside. I try the same thing with the command: mail [EMAIL PROTECTED] subject: toto . And I see exactly the same result. What is wrong ? Regards