Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi. i'm quite new to linux but i've managed to read a lot of guidelines and it got me to where I am.
I currently have Postfix/Dovecot installed and so far 90% of it is running correctly.
I can send emails within the local server itself and recieve emails from outter world e.g. from hotmail but when I tried sending email from my server to hotmail using the webmail i don't seem to recieve anything in my hotmail.
I've been trying to read up and find out and adjusted few settings that MIGHT be the cause but still i couldn't fix my problem, so I was wondering if anyone here could give me a hand on it?
Hmm. I looked at a few things u said but I've found out that for some reason none of the stuff I do is actually going to the maillog now. I tried deleting the maillog file hoping it would recreate itself once i start using Postfix but nothing seem to log.
I also tried setting the relay host to my ISP's mail server but it didn't work. I don't have any reverse DNS or so setup.
This is what I got when i used postqueue -p.
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
0833F540081 4565 Tue Mar 11 04:53:16 root@mail.siubeen.com
(lost connection with mail.siubeen.com[125.215.227.121] while receiving the initial server greeting) root@mail.siubeen.com
-- 4 Kbytes in 1 Request.
im not sure what it means hehe but ya I tried sending an email from my server to hotmail and my office email it still doesnt work this is so frustrating coz everything works but sending mail.
Do you know if you mail system is using postfix? Fedora uses sendmail by default, and you need to change with system-switch-mail (or a command similar to that) to set your various environment.
Last edited by billymayday; 03-10-2008 at 10:12 PM.
yes it should be running Postfix because sendmail isnt on and before I ran a command something like 'switch-mail-system' or something to change my default MTA.
ok i tried sending mail using mail command line and i restarted syslog. The logging seems to work again and this is what I got for sending the email at the terminal.
Mar 11 23:01:15 mail postfix/pickup[21121]: 1BD6B540089: uid=504 from=<kary>
Mar 11 23:01:15 mail postfix/cleanup[21178]: 1BD6B540089: message-id=<20080311150115.1BD6B540089@mail.siubeen.com>
Mar 11 23:01:15 mail postfix/qmgr[21122]: 1BD6B540089: from=<kary@mail.siubeen.com>, size=312, nrcpt=1 (queue active)
Mar 11 23:01:16 mail postfix/smtp[21180]: 1BD6B540089: to=<dj_gareth@hotmail.com>, relay=mx2.hotmail.com[65.54.244.168]:25, delay=1.5, delays=0.02/0.01/0.82/0.68, dsn=2.0.0, status=sent (250 <20080311150115.1BD6B540089@mail.siubeen.com> Queued mail for delivery)
Mar 11 23:01:16 mail postfix/qmgr[21122]: 1BD6B540089: removed
Mar 11 23:01:23 mail dovecot: imap-login: Login: user=<kary>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
Mar 11 23:01:23 mail dovecot: IMAP(kary): Disconnected: Logged out
and i didn't recieve any email at the hotmail account wut so ever still. So i tried using the REPLY option again in Squirrel webmail and my hotmail account recieved the email. This is what it shows on the log for the REPLY process. Just pasting it so you could see if there we're something different between the 2 logs.
Mar 11 23:03:47 mail postfix/qmgr[21122]: 7AF01540089: from=<kary@localhost.siubeen.com>, size=994, nrcpt=1 (queue active)
Mar 11 23:03:47 mail dovecot: IMAP(kary): Disconnected: Logged out
Mar 11 23:03:47 mail dovecot: IMAP(kary): Connection closed
Mar 11 23:03:47 mail dovecot: imap-login: Login: user=<kary>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
Mar 11 23:03:47 mail dovecot: IMAP(kary): Disconnected: Logged out
Mar 11 23:03:48 mail postfix/smtp[21235]: 7AF01540089: to=<dj_gareth@hotmail.com>, relay=mx2.hotmail.com[65.54.245.40]:25, delay=1.5,
delays=0.04/0.01/0.79/0.64, dsn=2.0.0, status=sent (250 <26097.125.215.227.123.1205247827.squirrel@www.siubeen.com> Queued mail for delivery)
Mar 11 23:03:48 mail postfix/qmgr[21122]: 7AF01540089: removed
--
ok the difference I only spotted was the email where its FROM is different in the 2. If i use REPLY the email from is : username@localhost.siubeen.com
Sorry, but I just realised I madea mistake in post 3 - I meant to query your setting of myorigin (which whould really be the default unless you have a particular reason for changing it)
okay i got ur email and i sent an email to the address you gave me using squirrel webmail COMPOSE. you probably won't get the email.
this is the log from my end.
Mar 12 00:19:48 mail postfix/qmgr[22092]: 61D00540089: from=<gc@localhost.siubeen.com>, size=707, nrcpt=1 (queue active)
Mar 12 00:19:48 mail dovecot: IMAP(gc): Disconnected: Logged out
Mar 12 00:19:48 mail dovecot: imap-login: Login: user=<gc>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
Mar 12 00:19:48 mail dovecot: IMAP(gc): Disconnected: Logged out
Mar 12 00:19:50 mail dovecot: imap-login: Login: user=<gc>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
Mar 12 00:19:50 mail dovecot: IMAP(gc): Disconnected: Logged out
Mar 12 00:19:54 mail postfix/smtp[22411]: 61D00540089: to=<>, relay=[220.233.177.105]:25, delay=6.1, delays=0.03/0.01/1.5/4.6, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 55A8219A8517)
Mar 12 00:19:54 mail postfix/qmgr[22092]: 61D00540089: removed
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.