Old 4.2 user, with 6.2 newbie questions
Mikhail Goriachev
mikhailg at webanoide.org
Sat May 12 06:01:44 UTC 2007
Chuck Grimes wrote:
[...]
> My first priority is getting fetchmail running. Here is the
> fetchmailrc dot file:
>
> defaults proto pop3
> user mailname
> poll my.isp.com
> pass xxxxx
> set daemon 840
>
> As user, I can run fetchmail at the command line, without an error
> message, but it also doesn't get and deliver any mail. I can send
> email to myself, but I am sure it never leaves the machine. The
> user at domain.com is correct---so sendmail masquerade is working. For
> example, sendmail does not write: user at hostname.domain.com, as it
> would without masquerade.
Fetchmail (new one that is) now can be ran in daemon mode so the
following has to be added into /etc/rc.conf:
fetchmail_enable="YES"
fetchmail_polling_interval="300"
The fetchmailrc file has to be owned by fetchmail:
# ls -al /usr/local/etc/fetchmailrc
-rw------- 1 fetchmail fetchmail 6614 Feb 27 11:57 fetchmailrc
This is the syntax I use in fetchmailrc:
poll pop3.domain.tld proto pop3 no dns
user "USERNAME1", with password "PASSWORD1", is "USERNAME1" here;
user "USERNAME2", with password "PASSWORD2", is "USERNAME2" here;
user "USERNAME3", with password "PASSWORD3", is "USERNAME3" here;
Some users aren't located on the same server. So I redirect their
correspondence with the help of /etc/mail/aliases:
USERNAME3: user at domain.tld
> I changed the permissions on sendmail back to:
>
> $ ll -r-sr-xr-x 1 root wheel 583680 Jan 11 23:42 sendmail
>
> from 6.2 default:
>
> $ ll -rwsr-xr-x 1 root wheel 583680 Jan 11 23:42 sendmail
>
> I've tried it both ways and niether seems to make any difference.
For all of that, I didn't have to touch sendmail (apart from aliases).
Hopefully this will help you somehow.
Regards,
Mikhail.
--
Mikhail Goriachev
Webanoide
Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: mikhailg at webanoide.org
Web: www.webanoide.org
More information about the freebsd-questions
mailing list