CurlyFri3s21
asked on
Linux and email.
I have a default debian installation. I can send mail using the "mail email@email.com" command. The problem is that any major email company will mark it as spam. The email's address shows up as "root@". I know this is probably because I don't have a hostname or something of that effect set. I have a domain, and mail.freepalaces.com points to my IP address that is running the mail server, so how can I send emails so they can correctly bypass the spam filter?
you would need to do the following after you edit the lines
make
m4 sendmail.mc > sendmail.cf
service sendmail restart
make
m4 sendmail.mc > sendmail.cf
service sendmail restart
Might be a good idea to configure your mail to show a proper user instead of "root". My guess is that some spam filters react to a generic username like that. In addition to previous suggestion, of course.
/RID
/RID
ASKER
Okay, I am running into troubles, first off I think you assumed I had sendmail installed, but instead I had mutt or something. Anyways I installed sendmail but it first gave em some kind of error saying I needed to report it or something. I then did apt-get install sendmail-bin and it installed, then I did apt-get install sendmail and it installed, I went to the /etc/mail/sendmail.mc and I changed it from
FEATURE(`msp', `[127.0.0.1', `MSA')dnl
to
FEATURE(`msp', `[smtpout.secureserver.net ]', `MSA')dnl
This is the smtp server that godaddy said I can use. as stated by this: "Your outgoing mail server will be "smtpout.secureserver.net" I also had to set a username and password to it, but no where did I find a place to put the username in password.
None the less I did make it and m4 sendmail.mc > sendmail.cf,
I dont have service commands but I used /etc/init.d/sendmail restart.
I then tried mail -s "testsubject" paroxsitic@gmail.com </dev/null and it basically froze on me, Putty wouldnt cancel with CTRL C or q or anything.
FEATURE(`msp', `[127.0.0.1', `MSA')dnl
to
FEATURE(`msp', `[smtpout.secureserver.net
This is the smtp server that godaddy said I can use. as stated by this: "Your outgoing mail server will be "smtpout.secureserver.net"
None the less I did make it and m4 sendmail.mc > sendmail.cf,
I dont have service commands but I used /etc/init.d/sendmail restart.
I then tried mail -s "testsubject" paroxsitic@gmail.com </dev/null and it basically froze on me, Putty wouldnt cancel with CTRL C or q or anything.
it is not a feature that you need to change, but a definition of the smtp that needs change. what distro are you using? sendmail version? more info pls...
ASKER
As stated eariler, I am using debian 3.1 and sendmail version: 8.13.4
I dont really care if I have a correct domain or not, All i want to do is send non-spam emails
I dont really care if I have a correct domain or not, All i want to do is send non-spam emails
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks, I got it working for mail.freepalaces.com, which goes back to my IP and marks as not spam.
change line "dnl # define(`SMART_HOST', `smtp.your.provider') dnl"
to read something like
define(`SMART_HOST', `1.2.3.4') dnl
you can use your mail server ip instead of "1.2.3.4". this would make it look like mail appearing out of mail.freepalaces.com