Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17763

Some help understanding postfix

$
0
0

So I need to run a postfix server that relays mail to a users personal email account (i.e. user@domain.com -> user@gmail.com). I think I have it set up correctly, but want to double check a few things before I make it completely live.

First, I ran a quick test of it (let it run for a few hours) and had a question about some log entries. Basically does this look normal, or is this server becoming a spam gateway:

Jun 15 04:21:40 tachikoma postfix/qmgr[31621]: 260F1E2991: from=<wxtfktqygtpb@ouhnh.com>, size=12065, nrcpt=1 (queue active) Jun 15 04:21:40 tachikoma postfix/qmgr[31621]: 4EAB5E2941: from=<>, size=3950, nrcpt=1 (queue active) Jun 15 04:21:40 tachikoma postfix/qmgr[31621]: 460D6E297B: from= <cto@crumbgite.com>, size=10036, nrcpt=1 (queue active) Jun 15 04:21:40 tachikoma postfix/qmgr[31621]: 6F984E29B6: from=<Tommy_Kloss@shortstorm.com>, size=9018, nrcpt=1 (queue active) Jun 15 04:21:40 tachikoma postfix/qmgr[31621]: 6D6D5E2912: from=<rajahszv@ricciconsultants.com>, size=12931, nrcpt=3 (queue active) Jun 15 04:21:40 tachikoma postfix/qmgr[31621]: E46CCE294A: from=<>, size=4753, nrcpt=1 (queue active) Jun 15 04:21:40 tachikoma postfix/qmgr[31621]: CEB13E28E3: from=<>, size=9450, nrcpt=1 (queue active) Jun 15 04:21:40 tachikoma postfix/qmgr[31621]: C43FFE0D56: from=<fytakahashi@gmail.com>, size=3095372, nrcpt=1 (queue active) Jun 15 04:21:40 tachikoma postfix/qmgr[31621]: 16994E2900: from=<ExecutiveListings@networkingleaders.eu>, size=3762, nrcpt=1 (queue active) Jun 15 04:21:40 tachikoma postfix/qmgr[31621]: F169FE29A9: from=<FlyaPrivateJet@linesnomore.eu>, size=3222, nrcpt=1 (queue active) Jun 15 04:21:40 tachikoma postfix/qmgr[31621]: 37EA3E2921: from=<admin@ihosting.pl>, size=2681, nrcpt=1 (queue active) Jun 15 04:21:40 tachikoma postfix/qmgr[31621]: 81E78E29D2: from=<Trevor_Bates@developmentfind.com>, size=17087, nrcpt=1 (queue active) Jun 15 04:21:40 tachikoma postfix/qmgr[31621]: 50AFCE29A7: from=<>, size=18361, nrcpt=1 (queue active) 

Considering these entries say "From" I am guessing these are the messages that are being sent to recipents on my domain, but just want to double check.

Second, just want to double check my config options that this is only accepting messages for the domain that I specify:

main.cf:

myhostname = mail.domain.com mydomain = domain.com inet_interfaces = all mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain 

Lastly, above I have the myhostname set to mail.domain.com but this is not the actual hostname of the machine itself (but mail.domain.com does resolve to the hosts ip address). Is this an issue? Should I just set it to domain.com which is the actual hostname of the box?

Thanks in advance for the help!

submitted by INeverEffinSleep
[link][comment]

Viewing all articles
Browse latest Browse all 17763

Trending Articles