LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-03-2013, 02:51 AM   #1
xdaxdb
LQ Newbie
 
Registered: May 2013
Posts: 3

Rep: Reputation: Disabled
Postfix can't send to self


I have been using Postfix for a while now to forward mail from my own domains to gmail accounts.

I can't figure out why if I send an email from my gmail account to my @mydomain account it doesn't come back to my gmail account.

Also I have some groups set up, and if a user sends mail to the group, and they are in that group, the message goes out to everyone in the group but them.

I looked all through the main.cf file and can't find a related setting.
 
Old 05-03-2013, 11:58 AM   #2
siremaxus
Member
 
Registered: May 2013
Posts: 75

Rep: Reputation: Disabled
Hello,

The answer doesn't lie in the config file, but in the log files. Maybe there something in the config but you have to check the log files first to learn the kind of error you are getting and why you can't deliver mail to those gmail accounts.

Have you checked the log files at the moment you send an e-mail to your gmail account?

Regards,

Sire Maxus
 
Old 05-05-2013, 02:20 AM   #3
xdaxdb
LQ Newbie
 
Registered: May 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Here is everything after the key exchange. I'm not sure if this is correct or not. I see the IPv6 failure but that shouldn't matter should it? If I send it from another gmail account (one that isn't configured to receive email for my domain) it woeks fine and the logs look virtually identical. I even get the same IPv6 "network is unreachable" log message.

May 5 06:51:44 mail postfix/cleanup[6191]: C84C812A00FF: message-id=<CAPkW28rr+cQzeGYtdErVvw=hzx2UuFPLfR2Xs0RHjJ3g-0F3Bg@mail.gmail.com>
May 5 06:51:44 mail postfix/qmgr[1863]: C84C812A00FF: from=<fxxxxx@gmail.com>, size=1785, nrcpt=1 (queue active)
May 5 06:51:44 mail postfix/smtp[6192]: connect to gmail-smtp-in.l.google.com[2607:f8b0:4002:c02::1a]:25: Network is unreachable
May 5 06:51:44 mail postfix/smtp[6192]: C84C812A00FF: to=<fxxxxx@gmail.com>, orig_to=<fxx@xxxxxxx.org>, relay=gmail-smtp-in.l.google.com[74.125.130.27]:25
, delay=1.2, delays=0.51/0/0.24/0.49, dsn=2.0.0, status=sent (250 2.0.0 OK 1367737716 d68si2686535yhe.40 - gsmtp)
May 5 06:51:44 mail postfix/qmgr[1863]: C84C812A00FF: removed
 
Old 05-05-2013, 02:34 AM   #4
xdaxdb
LQ Newbie
 
Registered: May 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Also in regards to the logs. One thing that I find confusing I have phplist mass mailing server installed on a separate web server and it is configured to send mail out through my mail server ( the same one I am having the other issue with ) I find it strange that when I send out an email blast I'm not seeing anything in the logs at all. I don't see outgoing mail in the /var/log/maillog. But, the messages get delivered. I checked my phplist config and it is configured not to use the internal PHPMAILER class. So I am suspecting that outgoing mail isn't being logged at all by default.

# If you want to use the PHPMailer class from phpmailer.sourceforge.net, set the following
# to 1. If you tend to send out html emails, it is recommended to do so.
define("PHPMAILER",0);

# To use a SMTP please give your server hostname here, leave it blank to use the standard
# PHP mail() command.
define("PHPMAILERHOST",'mail.xxxxxxxxxxx.net');
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix send mail problem(In RH9, kernal 2.4.20, postfix 2.1.5) minor Linux - General 6 09-23-2019 10:09 PM
how to make postfix send email to another postfix in local network (LAN)? h4k33m Linux - Server 9 06-04-2015 04:33 PM
[SOLVED] Postfix - I can send mail from my computer; but others can't send to me... djuhl30 Linux - Server 8 10-12-2009 02:34 PM
Postfix : mail cannot send to send outside ( can send/receive locally) bobbinsupport Linux - Networking 3 12-15-2007 10:40 PM
Postfix won't send send to outside LAN kotori Linux - Server 11 11-13-2006 06:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration